XML 54 R43.htm IDEA: XBRL DOCUMENT
v3.22.2

Litigation and Contingencies (Details) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2022 | Dec. 31, 2021
Commitments and Contingencies Disclosure [Abstract] |  |
Average paid claim reduction due to curtailments (as a percent) | 5.30% | 4.40%

X
- Definition Average paid claim reduction due to curtailments. + References No definition available. + Details
Name: | mtg_AveragePaidClaimsReductionDueToCurtailments
Namespace Prefix: | mtg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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