<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mx-20250311.xsd" xlink:type="simple"/>
    <context id="duration_2025-03-11_to_2025-03-11">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001325702</identifier>
        </entity>
        <period>
            <startDate>2025-03-11</startDate>
            <endDate>2025-03-11</endDate>
        </period>
    </context>
    <dei:EntityAddressAddressLine1
      contextRef="duration_2025-03-11_to_2025-03-11"
      id="Hidden_dei_EntityAddressAddressLine1">c/o Magnachip Semiconductor, Ltd.</dei:EntityAddressAddressLine1>
    <dei:EntityCentralIndexKey
      contextRef="duration_2025-03-11_to_2025-03-11"
      id="Hidden_dei_EntityCentralIndexKey_duration_2025-03-11_to_2025-03-11">0001325702</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_1">8-K/A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_3">true</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_0">2025-03-11</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-306">Magnachip Semiconductor Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-307">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-308">001-34791</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-309">83-0406195</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine2 contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_11">15F, 76 Jikji-daero 436beon-gil,&#160;Heungdeok-gu</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3 contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_12">Cheongju-si</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_5">Chungcheongbuk-do</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_6">28581</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCountry contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_7">KR</dei:EntityAddressCountry>
    <dei:CountryRegion contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-314">82</dei:CountryRegion>
    <dei:CityAreaCode contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-315">2</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-316">6903-3000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-317">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-318">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-319">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-320">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-321">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-322">MX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-323">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2025-03-11_to_2025-03-11" id="ixv-324">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="duration_2025-03-11_to_2025-03-11" id="Fact_2">This Current Report on Form 8-K/A (this &#x201c;Form 8-K/A&#x201d;) amends the Current Report on Form 8-K, dated March&#160;11, 2025, that was filed with the Securities and Exchange Commission (the &#x201c;SEC&#x201d;) on March&#160;14, 2025 (the &#x201c;Initial Form 8-K&#x201d;) by Magnachip Semiconductor Corporation (the &#x201c;Company&#x201d;) concerning the decision of the Audit Committee of the Board of Directors (the &#x201c;Audit Committee&#x201d;) of the Company to engage Ernst&#160;&amp; Young Han Young (&#x201c;E&amp;Y&#x201d;) to serve as the Company&#x2019;s independent registered public accounting firm for the fiscal year ending December&#160;31, 2025 following the completion of the audit of the Company&#x2019;s consolidated financial statements as of and for the fiscal years ended December&#160;31, 2024 by Samil PricewaterhouseCoopers (&#x201c;Samil PWC&#x201d;) and the issuance of Samil PWC&#x2019;s reports thereon.&#160;</dei:AmendmentDescription>
</xbrl>
