<?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-20250521.xsd" xlink:type="simple"/>
    <context id="duration_2025-05-21_to_2025-05-21">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001325702</identifier>
        </entity>
        <period>
            <startDate>2025-05-21</startDate>
            <endDate>2025-05-21</endDate>
        </period>
    </context>
    <dei:EntityAddressAddressLine1
      contextRef="duration_2025-05-21_to_2025-05-21"
      id="Hidden_dei_EntityAddressAddressLine1">c/o Magnachip Semiconductor, Ltd.</dei:EntityAddressAddressLine1>
    <dei:EntityCentralIndexKey
      contextRef="duration_2025-05-21_to_2025-05-21"
      id="Hidden_dei_EntityCentralIndexKey_duration_2025-05-21_to_2025-05-21">0001325702</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_1">8-K/A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_3">true</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_0">2025-05-21</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-280">Magnachip Semiconductor Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-281">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-282">001-34791</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-283">83-0406195</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine2 contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_9">15F, 76 Jikji-daero 436beon-gil,&#160;Heungdeok-gu</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3 contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_10">Cheongju-si</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_5">Chungcheongbuk-do</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_6">28581</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCountry contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_7">KR</dei:EntityAddressCountry>
    <dei:CountryRegion contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-288">82</dei:CountryRegion>
    <dei:CityAreaCode contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-289">2</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-290">6903-3000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-291">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-292">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-293">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-294">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_8">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-296">MX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-297">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2025-05-21_to_2025-05-21" id="ixv-298">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="duration_2025-05-21_to_2025-05-21" id="Fact_2">On May 23, 2025, Magnachip Semiconductor Corporation (the &#x201c;Company&#x201d;) filed a Current Report on Form 8-K (the &#x201c;Original Form 8-K&#x201d;) to report that Theodore S. Kim will depart from his employment and executive officer roles with the Company, effective October&#160;22, 2025. This Amendment No.1 on Form 8-K/A is being filed to supplement the disclosure contained in Item 5.02 of the Original Form 8-K, including the date of departure and the provision of the executed Separation Agreement entered into by and among the Company, Magnachip Semiconductor, Ltd. (&#x201c;MSK&#x201d;), which is the Company&#x2019;s Korean operating subsidiary, and Mr.&#160;Theodore Kim, and to file the Separation Agreement as Exhibit 10.1 hereto. The remainder of the Original Form 8-K is unchanged.</dei:AmendmentDescription>
</xbrl>
