XML 109 R86.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Statutory Information - Surplus contributions and dividends of insurance subsidiaries (Details) - Mortgage Guaranty Insurance Corporation - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Related Party Transaction [Line Items] |  |  |
Proceeds from contribution from holding company | $ 0 | $ 0 | $ 0
Dividends paid to the holding company | $ 600,000,000 | $ 800,000,000 | 400,000,000
Dividend to holding company, distribution of investment in subsidiary |  |  | $ 8,900,000

X
- Definition Amount of distribution, in form of a dividend, to holding company of investment in subsidiary. + References No definition available. + Details
Name: | mtg_DividendDistributionOfInvestmentInSubsidiary
Namespace Prefix: | mtg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents disclosure of the total aggregate cash dividends paid to the entity by consolidated subsidiaries, by unconsolidated subsidiaries, and by 50 percent or less owned persons accounted for using the equity method. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-3 + Details
Name: | us-gaap_CashDividendsPaidToParentCompany
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from parent as a source of financing that is recorded as additional paid in capital. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromContributionsFromParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=mtg_MortgageGuarantyInsuranceCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |