<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mx-20260428.xsd" xlink:type="simple"/>
    <context id="C_a4a66671-9530-4552-aef0-d870ddbdd710">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001325702</identifier>
        </entity>
        <period>
            <startDate>2026-04-28</startDate>
            <endDate>2026-04-28</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_2232c0f9-f3dd-44b3-ae6e-1f8cd6c854d2">0001325702</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_3bb5f562-e8d7-459c-9747-9d06f2771431">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_270233d7-0412-4e89-afb6-6b209e8309b7">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_bea05b4f-623e-4dc1-b791-f29f5b3948b1">2026-04-28</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_d0ebf65c-ca1e-4983-a55d-0e2f1dde2bcd">Magnachip Semiconductor Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_cd3eef7c-9782-41cf-8877-97473cc9c32a">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_71341097-d0e2-4c78-bdae-77e80eb325b2">001-34791</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_ae65fecb-db83-41df-af64-2f523ea11614">83-0406195</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_29b79ea0-870e-4ea7-9210-9e1f97532965">c/o Magnachip Semiconductor, Ltd.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_fa9eb57c-2006-45b7-aa72-93db1bb6a79f">15F, 76 Jikji-daero 436beon-gil, Heungdeok-gu</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_ab5898c1-a7ee-4c8e-8bd4-7162e5551d36">Cheongju-si</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_158347ef-8321-4edd-ad47-a15db4d4ebe4">Chungcheongbuk-do</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_ad8ad6b4-7b81-4c0e-a51f-847997c93bd5">28581</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCountry
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_d5510cc1-2111-4ad5-88d3-2adee0597463">KR</dei:EntityAddressCountry>
    <dei:CountryRegion
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_912fa3c9-cb8e-4ad2-b9d1-af32e2dc1119">82</dei:CountryRegion>
    <dei:CityAreaCode
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_22fd8db5-1d84-400a-9901-76e3dfa52922">2</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_cf272610-7b77-481f-ac34-e6765d30f9ae">6903-3000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_0c081dcc-82b5-40a4-953d-e1082cc4a417">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_953b2440-2417-4739-811b-c0ff1d7b8316">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_013d6788-0d55-4df3-8627-6001cc2c2725">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_c32902c1-8db7-4abc-b557-a9436717f682">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_29d00c70-e97a-471f-a2f7-ee3c7e2ab31f">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_99528fd4-6e8d-4913-89fa-2bd72023227f">MX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_accd6572-4ce5-4c61-aeb2-e87e755c377a">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_a4a66671-9530-4552-aef0-d870ddbdd710"
      id="F_2699a118-d605-454e-9e6e-8e19da3912bb">false</dei:EntityEmergingGrowthCompany>
</xbrl>
