XML 105 R81.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Benefit Plans - Fair Value of Plan Assets (Details) - USD ($) $ in Thousands | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Pension Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | $ 240,216 | $ 235,612 |
Pension Plan | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 25,834 | 13,137 |
Pension Plan | Significant Other Observable Inputs (Level 2) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 214,382 | 222,475 |
Pension Plan | Domestic Mutual Funds |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 3,479 | 2,836 |
Pension Plan | Domestic Mutual Funds | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 3,479 | 2,836 |
Pension Plan | Domestic Mutual Funds | Significant Other Observable Inputs (Level 2) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 0 | 0 |
Pension Plan | U.S. government securities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 22,355 | 10,301 |
Pension Plan | U.S. government securities | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 22,355 | 10,301 |
Pension Plan | U.S. government securities | Significant Other Observable Inputs (Level 2) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 0 | 0 |
Pension Plan | Corporate debt securities and other |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 135,739 | 145,908 |
Pension Plan | Corporate debt securities and other | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 0 | 0 |
Pension Plan | Corporate debt securities and other | Significant Other Observable Inputs (Level 2) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 135,739 | 145,908 |
Pension Plan | Non-government foreign debt securities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 20,665 | 21,843 |
Pension Plan | Non-government foreign debt securities | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 0 | 0 |
Pension Plan | Non-government foreign debt securities | Significant Other Observable Inputs (Level 2) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 20,665 | 21,843 |
Pension Plan | Municipal bonds |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 11,607 | 9,220 |
Pension Plan | Municipal bonds | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 0 | 0 |
Pension Plan | Municipal bonds | Significant Other Observable Inputs (Level 2) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 11,607 | 9,220 |
Pension Plan | Pooled Equity Accounts |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 46,371 | 45,504 |
Pension Plan | Pooled Equity Accounts | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 0 | 0 |
Pension Plan | Pooled Equity Accounts | Significant Other Observable Inputs (Level 2) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 46,371 | 45,504 |
Other Postretirement Benefit Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 156,604 | 134,371 | $ 111,154
Other Postretirement Benefit Plan | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 156,604 | 134,371 |
Other Postretirement Benefit Plan | Domestic Mutual Funds | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | 130,586 | 109,575 |
Other Postretirement Benefit Plan | International mutual funds | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Plan Assets at Fair Value | $ 26,018 | $ 24,796 |

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFairValueOfPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=mtg_DomesticMutualFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_USTreasuryAndGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_DomesticCorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_ForeignCorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=mtg_PooledEquityAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=mtg_InternationalMutualFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |