XML 189 R82.htm IDEA: XBRL DOCUMENT
v3.24.1

Income Taxes - Summary of Changes in Gross Unrecognized Tax Benefits (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Income Tax Disclosure [Abstract] |  |
Balance, beginning of year | $ 142 | $ 142
Increase based on tax positions related to current year | 28 | 52
Decrease based on tax positions of prior years | 0 | (17)
Settlements | 1 | (10)
Foreign currency translation | 5 | (4)
Statute expirations | (14) | (21)
Acquisitions | 58 | 0
Balance, ending of year | $ 220 | $ 142

X
- Definition Unrecognized tax benefits, decrease increase resulting from prior period tax positions. + References No definition available. + Details
Name: | mga_UnrecognizedTaxBenefitsDecreaseIncreaseResultingFromPriorPeriodTaxPositions
Namespace Prefix: | mga_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unrecognized tax benefits foreign currency translation. + References No definition available. + Details
Name: | mga_UnrecognizedTaxBenefitsForeignCurrencyTranslation
Namespace Prefix: | mga_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Unrecognized tax benefits settlements. + References No definition available. + Details
Name: | mga_UnrecognizedTaxBenefitsSettlements
Namespace Prefix: | mga_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org//1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase in unrecognized tax benefits resulting from acquisitions. + References No definition available. + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromAcquisition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration