<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>1017</ContextCount>
  <ElementCount>675</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>273</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>1001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1003 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1004 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1005 - Statement - Consolidated Statements of Changes in Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ConsolidatedStatementsOfChangesInEquity</Role>
      <ShortName>Consolidated Statements of Changes in Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1006 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>999002 - Disclosure - History and Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/HistoryAndOrganization</Role>
      <ShortName>History and Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>999003 - Disclosure - Date and Procedures of Authorization of Financial Statements for Issue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/DateAndProceduresOfAuthorizationOfFinancialStatementsForIssue</Role>
      <ShortName>Date and Procedures of Authorization of Financial Statements for Issue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>999004 - Disclosure - New Accounting Pronouncement under IFRS Accounting Standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/NewAccountingPronouncementUnderIfrsAccountingStandards</Role>
      <ShortName>New Accounting Pronouncement under IFRS Accounting Standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>999005 - Disclosure - Summary of Material Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SummaryOfMaterialAccountingPolicies</Role>
      <ShortName>Summary of Material Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>999006 - Disclosure - Significant Accounting Judgments, Estimates and Assumptions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantAccountingJudgmentsEstimatesAndAssumptions</Role>
      <ShortName>Significant Accounting Judgments, Estimates and Assumptions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>999007 - Disclosure - Contents of Significant Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccounts</Role>
      <ShortName>Contents of Significant Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>999008 - Disclosure - Significant Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantRelatedPartyTransactions</Role>
      <ShortName>Significant Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>999009 - Disclosure - Assets Pledged as Collateral</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/AssetsPledgedAsCollateral</Role>
      <ShortName>Assets Pledged as Collateral</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>999010 - Disclosure - Significant Contingencies and Unrecognized Contract Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantContingenciesAndUnrecognizedContractCommitments</Role>
      <ShortName>Significant Contingencies and Unrecognized Contract Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>999011 - Disclosure - Significant Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantSubsequentEvents</Role>
      <ShortName>Significant Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>999012 - Disclosure - Financial Risk and Fair Value Disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosures</Role>
      <ShortName>Financial Risk and Fair Value Disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>999013 - Disclosure - Operating Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/OperatingSegmentInformation</Role>
      <ShortName>Operating Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>999014 - Disclosure - Capital Management</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/CapitalManagement</Role>
      <ShortName>Capital Management</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>999015 - Disclosure - Summary of Material Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SummaryOfMaterialAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Material Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.umc.com/role/NewAccountingPronouncementUnderIfrsAccountingStandards</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>999016 - Disclosure - Summary of Material Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SummaryOfMaterialAccountingPoliciesTables</Role>
      <ShortName>Summary of Material Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.umc.com/role/SummaryOfMaterialAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>999017 - Disclosure - Contents of Significant Accounts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsTables</Role>
      <ShortName>Contents of Significant Accounts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.umc.com/role/ContentsOfSignificantAccounts</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>999018 - Disclosure - Significant Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantRelatedPartyTransactionsTables</Role>
      <ShortName>Significant Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.umc.com/role/SignificantRelatedPartyTransactions</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>999019 - Disclosure - Assets Pledged as Collateral (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/AssetsPledgedAsCollateralTables</Role>
      <ShortName>Assets Pledged as Collateral (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.umc.com/role/AssetsPledgedAsCollateral</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>999020 - Disclosure - Financial Risk and Fair Value Disclosures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresTables</Role>
      <ShortName>Financial Risk and Fair Value Disclosures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.umc.com/role/FinancialRiskAndFairValueDisclosures</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>999021 - Disclosure - Operating Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/OperatingSegmentInformationTables</Role>
      <ShortName>Operating Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.umc.com/role/OperatingSegmentInformation</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>999022 - Disclosure - Capital Management (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/CapitalManagementTables</Role>
      <ShortName>Capital Management (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.umc.com/role/CapitalManagement</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>999023 - Disclosure - Summary of Material Accounting Policies - Consolidated Entities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SummaryOfMaterialAccountingPoliciesConsolidatedEntitiesDetail</Role>
      <ShortName>Summary of Material Accounting Policies - Consolidated Entities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>999024 - Disclosure - Summary of Material Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SummaryOfMaterialAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Material Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>999025 - Disclosure - Summary of Material Accounting Policies - Estimated Useful Lives of Property, Plant and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SummaryOfMaterialAccountingPoliciesEstimatedUsefulLivesOfPropertyPlantAndEquipmentDetail</Role>
      <ShortName>Summary of Material Accounting Policies - Estimated Useful Lives of Property, Plant and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>999026 - Disclosure - Summary of Material Accounting Policies - Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SummaryOfMaterialAccountingPoliciesIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Summary of Material Accounting Policies - Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>999027 - Disclosure - Contents of Significant Accounts - Cash and Cash Equivalents (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsCashAndCashEquivalentsDetail</Role>
      <ShortName>Contents of Significant Accounts - Cash and Cash Equivalents (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>999028 - Disclosure - Contents of Significant Accounts - Financial Assets at Fair Value through Profit or Loss (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsFinancialAssetsAtFairValueThroughProfitOrLossDetail</Role>
      <ShortName>Contents of Significant Accounts - Financial Assets at Fair Value through Profit or Loss (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>999029 - Disclosure - Contents of Significant Accounts - Financial Assets at Fair Value through Other Comprehensive Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail</Role>
      <ShortName>Contents of Significant Accounts - Financial Assets at Fair Value through Other Comprehensive Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>999030 - Disclosure - Contents of Significant Accounts - Summary of Fair Value of Each Investment in Equity Instrument (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfFairValueOfEachInvestmentInEquityInstrumentDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Fair Value of Each Investment in Equity Instrument (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>999031 - Disclosure - Contents of Significant Accounts - Summary of Income Recognized in Profit or Loss from Equity Instruments Designated as Fair Value Through Other Comprehensive Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfIncomeRecognizedInProfitOrLossFromEquityInstrumentsDesignatedAsFairValueThroughOtherComprehensiveIncomeDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Income Recognized in Profit or Loss from Equity Instruments Designated as Fair Value Through Other Comprehensive Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>999032 - Disclosure - Contents of Significant Accounts - Summary of Details on Derecognition of Such Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfDetailsOnDerecognitionOfSuchInvestmentsDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Details on Derecognition of Such Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>999033 - Disclosure - Contents of Significant Accounts - Financial Assets Measured at Amortized Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsFinancialAssetsMeasuredAtAmortizedCostDetail</Role>
      <ShortName>Contents of Significant Accounts - Financial Assets Measured at Amortized Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>999034 - Disclosure - Contents of Significant Accounts - Accounts Receivable, Net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsAccountsReceivableNetDetail</Role>
      <ShortName>Contents of Significant Accounts - Accounts Receivable, Net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>999035 - Disclosure - Contents of Significant Accounts - Aging Analysis of Accounts Receivable (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsAgingAnalysisOfAccountsReceivableDetail</Role>
      <ShortName>Contents of Significant Accounts - Aging Analysis of Accounts Receivable (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>999036 - Disclosure - Contents of Significant Accounts - Movement of Loss Allowance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsMovementOfLossAllowanceDetail</Role>
      <ShortName>Contents of Significant Accounts - Movement of Loss Allowance (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>999037 - Disclosure - Contents of Significant Accounts - Accounts Receivable, Net - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsAccountsReceivableNetAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Accounts Receivable, Net - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>999038 - Disclosure - Contents of Significant Accounts - Inventories, Net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsInventoriesNetDetail</Role>
      <ShortName>Contents of Significant Accounts - Inventories, Net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>999039 - Disclosure - Contents of Significant Accounts - Inventories, Net - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsInventoriesNetAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Inventories, Net - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>999040 - Disclosure - Contents of Significant Accounts - Details of Investments Accounted for Under the Equity Method (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsDetailsOfInvestmentsAccountedForUnderTheEquityMethodDetail</Role>
      <ShortName>Contents of Significant Accounts - Details of Investments Accounted for Under the Equity Method (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>999041 - Disclosure - Contents of Significant Accounts - Investments Accounted For Under the Equity Method - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsInvestmentsAccountedForUnderTheEquityMethodAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Investments Accounted For Under the Equity Method - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>999042 - Disclosure - Contents of Significant Accounts - Aggregate Amount of the Company's Share of its Individually Immaterial Associates (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsAggregateAmountOfTheCompanysShareOfItsIndividuallyImmaterialAssociatesDetail</Role>
      <ShortName>Contents of Significant Accounts - Aggregate Amount of the Company's Share of its Individually Immaterial Associates (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>999043 - Disclosure - Contents of Significant Accounts - Property, Plant and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsPropertyPlantAndEquipmentDetail</Role>
      <ShortName>Contents of Significant Accounts - Property, Plant and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>999044 - Disclosure - Contents of Significant Accounts - Summary of Interest Expense Capitalized (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfInterestExpenseCapitalizedDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Interest Expense Capitalized (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>999045 - Disclosure - Contents of Significant Accounts - Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsLeasesDetail</Role>
      <ShortName>Contents of Significant Accounts - Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>999046 - Disclosure - Contents of Significant Accounts - Leases - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsLeasesAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Leases - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>999047 - Disclosure - Contents of Significant Accounts - Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsIntangibleAssetsDetail</Role>
      <ShortName>Contents of Significant Accounts - Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>999048 - Disclosure - Contents of Significant Accounts - Amortization Amounts of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsAmortizationAmountsOfIntangibleAssetsDetail</Role>
      <ShortName>Contents of Significant Accounts - Amortization Amounts of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>999049 - Disclosure - Contents of Significant Accounts - Short-Term Loans (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsShortTermLoansDetail</Role>
      <ShortName>Contents of Significant Accounts - Short-Term Loans (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>999050 - Disclosure - Contents of Significant Accounts - Financial Liabilities at Fair Value through Profit or Loss, Current (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsFinancialLiabilitiesAtFairValueThroughProfitOrLossCurrentDetail</Role>
      <ShortName>Contents of Significant Accounts - Financial Liabilities at Fair Value through Profit or Loss, Current (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>999051 - Disclosure - Contents of Significant Accounts - Bonds Payable (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsBondsPayableDetail</Role>
      <ShortName>Contents of Significant Accounts - Bonds Payable (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>999052 - Disclosure - Contents of Significant Accounts - Summary of Terms and Conditions of Bonds (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfTermsAndConditionsOfBondsDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Terms and Conditions of Bonds (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>999053 - Disclosure - Contents of Significant Accounts - Bonds Payable - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsBondsPayableAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Bonds Payable - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>999054 - Disclosure - Contents of Significant Accounts - Details of Long-term Loans (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsDetailsOfLongTermLoansDetail</Role>
      <ShortName>Contents of Significant Accounts - Details of Long-term Loans (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>999055 - Disclosure - Contents of Significant Accounts - Long-Term Loans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsLongTermLoansAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Long-Term Loans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>999056 - Disclosure - Contents of Significant Accounts - Post-Employment Benefits - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsPostEmploymentBenefitsAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Post-Employment Benefits - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>999057 - Disclosure - Contents of Significant Accounts - Movements in Present Value of Defined Benefit Obligation and Fair Value of Plan Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsMovementsInPresentValueOfDefinedBenefitObligationAndFairValueOfPlanAssetsDetail</Role>
      <ShortName>Contents of Significant Accounts - Movements in Present Value of Defined Benefit Obligation and Fair Value of Plan Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>999058 - Disclosure - Contents of Significant Accounts - Defined Benefit Plan Recognized on the Consolidated Balance Sheets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsDefinedBenefitPlanRecognizedOnTheConsolidatedBalanceSheetsDetail</Role>
      <ShortName>Contents of Significant Accounts - Defined Benefit Plan Recognized on the Consolidated Balance Sheets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>999059 - Disclosure - Contents of Significant Accounts - Major Categories of Plan Assets as a Percentage of Fair Value of the Total Plan Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsMajorCategoriesOfPlanAssetsAsAPercentageOfFairValueOfTheTotalPlanAssetsDetail</Role>
      <ShortName>Contents of Significant Accounts - Major Categories of Plan Assets as a Percentage of Fair Value of the Total Plan Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>999060 - Disclosure - Contents of Significant Accounts - Principal Underlying Actuarial Assumptions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsPrincipalUnderlyingActuarialAssumptionsDetail</Role>
      <ShortName>Contents of Significant Accounts - Principal Underlying Actuarial Assumptions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>999061 - Disclosure - Contents of Significant Accounts - Expected Future Benefit Payments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsExpectedFutureBenefitPaymentsDetail</Role>
      <ShortName>Contents of Significant Accounts - Expected Future Benefit Payments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>999062 - Disclosure - Contents of Significant Accounts - Sensitivity Analysis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSensitivityAnalysisDetail</Role>
      <ShortName>Contents of Significant Accounts - Sensitivity Analysis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>999063 - Disclosure - Contents of Significant Accounts - Deferred Government Grants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsDeferredGovernmentGrantsDetail</Role>
      <ShortName>Contents of Significant Accounts - Deferred Government Grants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>999064 - Disclosure - Contents of Significant Accounts - Refund Liabilities - Summary of Refund Liabilities (classified under other current liabilities) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsRefundLiabilitiesSummaryOfRefundLiabilitiesClassifiedUnderOtherCurrentLiabilitiesDetail</Role>
      <ShortName>Contents of Significant Accounts - Refund Liabilities - Summary of Refund Liabilities (classified under other current liabilities) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>999065 - Disclosure - Contents of Significant Accounts - Summary of Provisions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfProvisionsDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Provisions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>999066 - Disclosure - Contents of Significant Accounts - Summary of Information about Provisions of Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfInformationAboutProvisionsOfLiabilitiesDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Information about Provisions of Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>999067 - Disclosure - Contents of Significant Accounts - Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsEquityAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>999068 - Disclosure - Contents of Significant Accounts - Summary of Stock Held by Associates (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfStockHeldByAssociatesDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Stock Held by Associates (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>999069 - Disclosure - Contents of Significant Accounts - Details of Distribution (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsDetailsOfDistributionDetail</Role>
      <ShortName>Contents of Significant Accounts - Details of Distribution (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>999070 - Disclosure - Contents of Significant Accounts - Non-controlling Interests (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsNonControllingInterestsDetail</Role>
      <ShortName>Contents of Significant Accounts - Non-controlling Interests (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>999071 - Disclosure - Contents Of Significant Accounts - Equity Settled Share Based Payment Of Restricted Stock Plans For Employees (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsEquitySettledShareBasedPaymentOfRestrictedStockPlansForEmployeesDetail</Role>
      <ShortName>Contents Of Significant Accounts - Equity Settled Share Based Payment Of Restricted Stock Plans For Employees (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>999072 - Disclosure - Contents of Significant Accounts - Share-Based Payment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsShareBasedPaymentAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Share-Based Payment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>999073 - Disclosure - Contents Of Significant Accounts - Summary of Assumptions Used for Compensation Cost for These Market Conditions Was Measured at Fair Value Initially by Using Monte Carlo Simulation on The Grant Date (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfAssumptionsUsedForCompensationCostForTheseMarketConditionsWasMeasuredAtFairValueInitiallyByUsingMonteCarloSimulationOnTheGrantDateDetail</Role>
      <ShortName>Contents Of Significant Accounts - Summary of Assumptions Used for Compensation Cost for These Market Conditions Was Measured at Fair Value Initially by Using Monte Carlo Simulation on The Grant Date (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>999074 - Disclosure - Contents of Significant Accounts - Summary of Disaggregation of Revenue by Geography (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfDisaggregationOfRevenueByGeographyDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Disaggregation of Revenue by Geography (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>999075 - Disclosure - Contents of Significant Accounts - Summary of Disaggregation of Revenue by Product (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfDisaggregationOfRevenueByProductDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Disaggregation of Revenue by Product (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>999076 - Disclosure - Contents of Significant Accounts - Summary of Disaggregation of Revenue by The Timing of Revenue Recognition (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfDisaggregationOfRevenueByTheTimingOfRevenueRecognitionDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Disaggregation of Revenue by The Timing of Revenue Recognition (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>999077 - Disclosure - Contents of Significant Accounts - Summary of Balances of Contract Assets and Contract Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSummaryOfBalancesOfContractAssetsAndContractLiabilitiesDetail</Role>
      <ShortName>Contents of Significant Accounts - Summary of Balances of Contract Assets and Contract Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>999078 - Disclosure - Contents of Significant Accounts - Operating Revenues - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsOperatingRevenuesAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Operating Revenues - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>999079 - Disclosure - Contents of Significant Accounts - Operating Costs and Expenses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsOperatingCostsAndExpensesDetail</Role>
      <ShortName>Contents of Significant Accounts - Operating Costs and Expenses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>999080 - Disclosure - Contents of Significant Accounts - Operating Costs and Expenses - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsOperatingCostsAndExpensesAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Operating Costs and Expenses - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>999081 - Disclosure - Contents of Significant Accounts - Details of Distribution of Employees' Compensation and Directors' Compensation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsDetailsOfDistributionOfEmployeesCompensationAndDirectorsCompensationDetail</Role>
      <ShortName>Contents of Significant Accounts - Details of Distribution of Employees' Compensation and Directors' Compensation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>999082 - Disclosure - Contents of Significant Accounts - Net Other Operating Income and Expenses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsNetOtherOperatingIncomeAndExpensesDetail</Role>
      <ShortName>Contents of Significant Accounts - Net Other Operating Income and Expenses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>999083 - Disclosure - Contents of Significant Accounts - Non-Operating Income and Expenses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsNonOperatingIncomeAndExpensesDetail</Role>
      <ShortName>Contents of Significant Accounts - Non-Operating Income and Expenses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>999084 - Disclosure - Contents of Significant Accounts - Components of Other Comprehensive Income (Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsComponentsOfOtherComprehensiveIncomeLossDetail</Role>
      <ShortName>Contents of Significant Accounts - Components of Other Comprehensive Income (Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>999085 - Disclosure - Contents of Significant Accounts - Major Components of Income Tax Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsMajorComponentsOfIncomeTaxExpenseDetail</Role>
      <ShortName>Contents of Significant Accounts - Major Components of Income Tax Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>999086 - Disclosure - Contents of Significant Accounts - Reconciliation Between Income Tax Expense and Income Before Tax At UMC's Applicable Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsReconciliationBetweenIncomeTaxExpenseAndIncomeBeforeTaxAtUmcsApplicableTaxRateDetail</Role>
      <ShortName>Contents of Significant Accounts - Reconciliation Between Income Tax Expense and Income Before Tax At UMC's Applicable Tax Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>999087 - Disclosure - Contents of Significant Accounts - Significant Components of Deferred Income Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsSignificantComponentsOfDeferredIncomeTaxAssetsAndLiabilitiesDetail</Role>
      <ShortName>Contents of Significant Accounts - Significant Components of Deferred Income Tax Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>999088 - Disclosure - Contents of Significant Accounts - Movement of Deferred Tax (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsMovementOfDeferredTaxDetail</Role>
      <ShortName>Contents of Significant Accounts - Movement of Deferred Tax (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>999089 - Disclosure - Contents of Significant Accounts - Unused Tax Loss Carry-forward for Which No Deferred Income Tax Assets have been Recognized (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsUnusedTaxLossCarryForwardForWhichNoDeferredIncomeTaxAssetsHaveBeenRecognizedDetail</Role>
      <ShortName>Contents of Significant Accounts - Unused Tax Loss Carry-forward for Which No Deferred Income Tax Assets have been Recognized (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>999090 - Disclosure - Contents of Significant Accounts - Income Tax - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsIncomeTaxAdditionalInformationDetail</Role>
      <ShortName>Contents of Significant Accounts - Income Tax - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>999091 - Disclosure - Contents of Significant Accounts - Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsEarningsPerShareDetail</Role>
      <ShortName>Contents of Significant Accounts - Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>999092 - Disclosure - Contents of Significant Accounts - Reconciliation of Liabilities Arising from Financing Activities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/ContentsOfSignificantAccountsReconciliationOfLiabilitiesArisingFromFinancingActivitiesDetail</Role>
      <ShortName>Contents of Significant Accounts - Reconciliation of Liabilities Arising from Financing Activities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>999093 - Disclosure - Significant Related Party Transactions - Significant Intercompany Transactions Between Consolidated Entities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantRelatedPartyTransactionsSignificantIntercompanyTransactionsBetweenConsolidatedEntitiesDetail</Role>
      <ShortName>Significant Related Party Transactions - Significant Intercompany Transactions Between Consolidated Entities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>999094 - Disclosure - Significant Related Party Transactions - Significant Transactions between Company and Other Related Parties (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantRelatedPartyTransactionsSignificantTransactionsBetweenCompanyAndOtherRelatedPartiesDetail</Role>
      <ShortName>Significant Related Party Transactions - Significant Transactions between Company and Other Related Parties (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>999095 - Disclosure - Significant Related Party Transactions - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantRelatedPartyTransactionsAdditionalInformationDetail</Role>
      <ShortName>Significant Related Party Transactions - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>999096 - Disclosure - Significant Related Party Transactions - Key Management Personnel Compensation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantRelatedPartyTransactionsKeyManagementPersonnelCompensationDetail</Role>
      <ShortName>Significant Related Party Transactions - Key Management Personnel Compensation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>999097 - Disclosure - Assets Pledged as Collateral - Summary of Assets Pledged as Collateral (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/AssetsPledgedAsCollateralSummaryOfAssetsPledgedAsCollateralDetail</Role>
      <ShortName>Assets Pledged as Collateral - Summary of Assets Pledged as Collateral (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>999098 - Disclosure - Significant Contingencies and Unrecognized Contract Commitments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantContingenciesAndUnrecognizedContractCommitmentsAdditionalInformationDetail</Role>
      <ShortName>Significant Contingencies and Unrecognized Contract Commitments - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>999099 - Disclosure - Significant Subsequent Events - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/SignificantSubsequentEventsAdditionalInformationDetail</Role>
      <ShortName>Significant Subsequent Events - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>999100 - Disclosure - Financial Risk and Fair Value Disclosures - Categories of Financial Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresCategoriesOfFinancialInstrumentsDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Categories of Financial Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>999101 - Disclosure - Financial Risk and Fair Value Disclosures - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresAdditionalInformationDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>999102 - Disclosure - Financial Risk and Fair Value Disclosures - Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments and Contractual Maturity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsAndContractualMaturityDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments and Contractual Maturity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>999103 - Disclosure - Financial Risk and Fair Value Disclosures - Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments and Contractual Maturity (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsAndContractualMaturityParentheticalDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments and Contractual Maturity (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>999104 - Disclosure - Financial Risk and Fair Value Disclosures - Details of Forward Exchange Contracts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresDetailsOfForwardExchangeContractsDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Details of Forward Exchange Contracts (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>999105 - Disclosure - Financial Risk and Fair Value Disclosures - Assets and Liabilities Measured and Recorded at Fair Value on a Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresAssetsAndLiabilitiesMeasuredAndRecordedAtFairValueOnARecurringBasisDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Assets and Liabilities Measured and Recorded at Fair Value on a Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>999106 - Disclosure - Financial Risk and Fair Value Disclosures - Reconciliation for Fair Value Measurement in Level 3 Fair Value Hierarchy (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresReconciliationForFairValueMeasurementInLevel3FairValueHierarchyDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Reconciliation for Fair Value Measurement in Level 3 Fair Value Hierarchy (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>999107 - Disclosure - Financial Risk and Fair Value Disclosures - Reconciliation for Fair Value Measurement in Level 3 Derivatives Financial Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresReconciliationForFairValueMeasurementInLevel3DerivativesFinancialLiabilitiesDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Reconciliation for Fair Value Measurement in Level 3 Derivatives Financial Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>999108 - Disclosure - Financial Risk and Fair Value Disclosures - Summary of Significant Unobservable Inputs of Fair Value Measurement in Level 3 Fair Value Hierarchy (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresSummaryOfSignificantUnobservableInputsOfFairValueMeasurementInLevel3FairValueHierarchyDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Summary of Significant Unobservable Inputs of Fair Value Measurement in Level 3 Fair Value Hierarchy (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>999109 - Disclosure - Financial Risk and Fair Value Disclosures - Summary of Significant Unobservable Inputs of Fair Value Measurement in Level 3 Fair Value Hierarchy (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresSummaryOfSignificantUnobservableInputsOfFairValueMeasurementInLevel3FairValueHierarchyParentheticalDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Summary of Significant Unobservable Inputs of Fair Value Measurement in Level 3 Fair Value Hierarchy (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>999110 - Disclosure - Financial Risk and Fair Value Disclosures - Assets and Liabilities Not Recorded at Fair Value on a Recurring Basis But for Which Fair Value is Disclosed (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/FinancialRiskAndFairValueDisclosuresAssetsAndLiabilitiesNotRecordedAtFairValueOnARecurringBasisButForWhichFairValueIsDisclosedDetail</Role>
      <ShortName>Financial Risk and Fair Value Disclosures - Assets and Liabilities Not Recorded at Fair Value on a Recurring Basis But for Which Fair Value is Disclosed (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>999111 - Disclosure - Operating Segment Information - Geographic Non-current Assets Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/OperatingSegmentInformationGeographicNonCurrentAssetsInformationDetail</Role>
      <ShortName>Operating Segment Information - Geographic Non-current Assets Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>999112 - Disclosure - Operating Segment Information - Individual Customers Accounting for at least 10% of Operating Revenues (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/OperatingSegmentInformationIndividualCustomersAccountingForAtLeast10OfOperatingRevenuesDetail</Role>
      <ShortName>Operating Segment Information - Individual Customers Accounting for at least 10% of Operating Revenues (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="d91630d20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>999113 - Disclosure - Capital Management - Debt to Capital Ratios (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.umc.com/role/CapitalManagementDebtToCapitalRatiosDetail</Role>
      <ShortName>Capital Management - Debt to Capital Ratios (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="20-F" isDefinitelyFs="true" isIfrs="true" isUsgaap="true" original="d91630d20f.htm">d91630d20f.htm</File>
    <File>umc-20251231.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="46">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="1">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
    <BaseTaxonomy items="2584">https://xbrl.ifrs.org/taxonomy/2025-03-27/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
