XML 88 R42.htm IDEA: XBRL DOCUMENT
v3.26.1

Investments - Net Gains (Losses) On Investments and Other Financial Instruments (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2026 | Jun. 30, 2025 | Jun. 30, 2026 | Jun. 30, 2025
Fixed income securities: |  |  |  |
Gross realized gains on sales of fixed income securities | $ 497 | $ 575 | $ 707 | $ 924
Gross realized losses on sales of fixed income securities | (2,460) | (2,520) | (2,470) | (2,549)
Equity securities gains (losses): |  |  |  |
Equity securities, gains (losses), market adjustment | 46 | 89 | (122) | 209
Change in embedded derivative on Home Re Transactions(1) | (309) | 430 | (510) | 731
Net gains (losses) on investments and other financial instruments | (2,226) | (1,426) | (2,395) | (685)
Proceeds from sales of fixed income securities | $ 57,432 | $ 20,280 | $ 58,437 | $ 41,017

X
- Definition Fixed Income Securities + References No definition available. + Details
Name: | mtg_FixedIncomeSecuritiesAbstract
Namespace Prefix: | mtg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) on investments and other financial instruments, including the changes in fair value of embedded derivatives related to Home Re Transactions. + References No definition available. + Details
Name: | mtg_NetGainsLossesOnInvestmentsAndOtherFinancialInstruments
Namespace Prefix: | mtg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Net Increase or Decrease in the fair value of the embedded derivative or group of embedded derivatives included in earnings in the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 15 -Name Accounting Standards Codification -Section 25 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481116/815-15-25-1 + Details
Name: | us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479536/321-10-50-4 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-9 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-12 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-11 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration