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