<?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-20220808.xsd" xlink:type="simple"/>
    <context id="duration_2022-08-08_to_2022-08-08">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001325702</identifier>
        </entity>
        <period>
            <startDate>2022-08-08</startDate>
            <endDate>2022-08-08</endDate>
        </period>
    </context>
    <context id="duration_2022-08-08_to_2022-08-08_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-08-08</startDate>
            <endDate>2022-08-08</endDate>
        </period>
    </context>
    <context id="duration_2022-08-08_to_2022-08-08_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-08-08</startDate>
            <endDate>2022-08-08</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2022-08-08_to_2022-08-08"
      id="Hidden_dei_EntityRegistrantName">MAGNACHIP SEMICONDUCTOR Corp</dei:EntityRegistrantName>
    <dei:EntityAddressCountry
      contextRef="duration_2022-08-08_to_2022-08-08"
      id="Hidden_dei_EntityAddressCountry">LU</dei:EntityAddressCountry>
    <dei:AmendmentFlag contextRef="duration_2022-08-08_to_2022-08-08">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-08-08_to_2022-08-08"
      id="Hidden_dei_EntityCentralIndexKey">0001325702</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2022-08-08_to_2022-08-08">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-08-08_to_2022-08-08">2022-08-08</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-08-08_to_2022-08-08">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-08-08_to_2022-08-08">001-34791</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2022-08-08_to_2022-08-08">83-0406195</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-08-08_to_2022-08-08">c/o MagnaChip Semiconductor S.A.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2022-08-08_to_2022-08-08">1, All&#xe9;e Scheffer</dei:EntityAddressAddressLine2>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-08-08_to_2022-08-08">L-2520</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-08-08_to_2022-08-08">Grand Duchy of Luxembourg</dei:EntityAddressCityOrTown>
    <dei:CityAreaCode contextRef="duration_2022-08-08_to_2022-08-08">352</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-08-08_to_2022-08-08">45-62-62</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-08-08_to_2022-08-08">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-08-08_to_2022-08-08">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-08-08_to_2022-08-08">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-08-08_to_2022-08-08">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-08-08_to_2022-08-08_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-08-08_to_2022-08-08_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">MX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-08-08_to_2022-08-08_us-gaap-StatementClassOfStockAxis_us-gaap-CommonStockMember">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="duration_2022-08-08_to_2022-08-08_us-gaap-StatementClassOfStockAxis_us-gaap-PreferredStockMember">Preferred Stock Purchase Rights</dei:Security12bTitle>
    <dei:SecurityExchangeName contextRef="duration_2022-08-08_to_2022-08-08_us-gaap-StatementClassOfStockAxis_us-gaap-PreferredStockMember">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-08-08_to_2022-08-08">false</dei:EntityEmergingGrowthCompany>
</xbrl>
