<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2021-01-31"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mx-20221102.xsd" xlink:type="simple"/>
    <context id="duration_2022-11-02_to_2022-11-02">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001325702</identifier>
        </entity>
        <period>
            <startDate>2022-11-02</startDate>
            <endDate>2022-11-02</endDate>
        </period>
    </context>
    <context id="duration_2022-11-02_to_2022-11-02_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001325702</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-11-02</startDate>
            <endDate>2022-11-02</endDate>
        </period>
    </context>
    <context id="duration_2022-11-02_to_2022-11-02_us-gaap-StatementClassOfStockAxis_us-gaap-PreferredStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001325702</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:PreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-11-02</startDate>
            <endDate>2022-11-02</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2022-11-02_to_2022-11-02"
      id="Hidden_dei_EntityRegistrantName">MAGNACHIP SEMICONDUCTOR Corp</dei:EntityRegistrantName>
    <dei:EntityAddressCountry
      contextRef="duration_2022-11-02_to_2022-11-02"
      id="Hidden_dei_EntityAddressCountry">LU</dei:EntityAddressCountry>
    <dei:AmendmentFlag contextRef="duration_2022-11-02_to_2022-11-02">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-11-02_to_2022-11-02"
      id="Hidden_dei_EntityCentralIndexKey">0001325702</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2022-11-02_to_2022-11-02">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-11-02_to_2022-11-02">2022-11-02</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-11-02_to_2022-11-02">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-11-02_to_2022-11-02">001-34791</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2022-11-02_to_2022-11-02">83-0406195</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-11-02_to_2022-11-02">c/o MagnaChip Semiconductor S.A.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2022-11-02_to_2022-11-02">1, All&#xe9;e Scheffer</dei:EntityAddressAddressLine2>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-11-02_to_2022-11-02">L-2520</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-11-02_to_2022-11-02">Luxembourg</dei:EntityAddressCityOrTown>
    <dei:CityAreaCode contextRef="duration_2022-11-02_to_2022-11-02">352</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-11-02_to_2022-11-02">45-62-62</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-11-02_to_2022-11-02">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-11-02_to_2022-11-02">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-11-02_to_2022-11-02">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-11-02_to_2022-11-02">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-11-02_to_2022-11-02_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-11-02_to_2022-11-02_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">MX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-11-02_to_2022-11-02_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="duration_2022-11-02_to_2022-11-02_us-gaap-StatementClassOfStockAxis_us-gaap-PreferredStockMember">Preferred Stock Purchase Rights</dei:Security12bTitle>
    <dei:SecurityExchangeName contextRef="duration_2022-11-02_to_2022-11-02_us-gaap-StatementClassOfStockAxis_us-gaap-PreferredStockMember">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-11-02_to_2022-11-02">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="duration_2022-11-02_to_2022-11-02">On November&#160;2, 2022, Magnachip Semiconductor Corporation (the &#x201c;Company&#x201d;) filed a Current Report on Form 8-K (the &#x201c;Original Form 8-K&#x201d;), under Items 2.02 and 9.01, related to financial information for the Company and its consolidated subsidiaries for the third quarter ended September&#160;30, 2022, as presented in a press release dated November&#160;2, 2022. Subsequent to the furnishing of the press release on the Original Form 8-K, the Company identified a scrivener&#x2019;s error in the Non-GAAP reconciliation tables attached to the press release for Adjusted Net Income per common share (basic and diluted) for the nine month period ended September&#160;30, 2021, which should have been $0.82 and $0.78 per share, respectively, consistent with the Company&#x2019;s prior reports for that historical period. No other amounts or information reported in the Original Form 8-K and press release were changed. The Company issued a revised version of the press release on November&#160;4, 2022 to correct such information. Accordingly, the Company is filing this Form 8-K/A to furnish a copy of the corrected version of the press release as Exhibit 99.1 hereto. </dei:AmendmentDescription>
</xbrl>
