<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:15542fda-05f4-46bb-a741-9bb2900a4c21,g:42abe8dc-8bcc-43e7-b875-30e09af15c9c-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:mtg="http://www.mgic.com/20201231" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.mgic.com/20201231">
  <xs:import namespace="http://fasb.org/srt/2019-01-31" schemaLocation="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2019-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2020-01-31" schemaLocation="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtg-20201231_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtg-20201231_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtg-20201231_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtg-20201231_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="DocumentandEntityInformation" roleURI="http://www.mgic.com/role/DocumentandEntityInformation">
        <link:definition>0001001 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDBALANCESHEETS" roleURI="http://www.mgic.com/role/CONSOLIDATEDBALANCESHEETS">
        <link:definition>1001002 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://www.mgic.com/role/CONSOLIDATEDBALANCESHEETSParenthetical">
        <link:definition>1002003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFOPERATIONS" roleURI="http://www.mgic.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS">
        <link:definition>1003004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" roleURI="http://www.mgic.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME">
        <link:definition>1004005 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY" roleURI="http://www.mgic.com/role/CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY">
        <link:definition>1005006 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://www.mgic.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS">
        <link:definition>1006007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NatureofBusiness" roleURI="http://www.mgic.com/role/NatureofBusiness">
        <link:definition>2101101 - Disclosure - Nature of Business</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NatureofBusinessDetails" roleURI="http://www.mgic.com/role/NatureofBusinessDetails">
        <link:definition>2402401 - Disclosure - Nature of Business (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisofPresentation" roleURI="http://www.mgic.com/role/BasisofPresentation">
        <link:definition>2103102 - Disclosure - Basis of Presentation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantAccountingPolicies" roleURI="http://www.mgic.com/role/SignificantAccountingPolicies">
        <link:definition>2104103 - Disclosure - Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantAccountingPoliciesPolicies" roleURI="http://www.mgic.com/role/SignificantAccountingPoliciesPolicies">
        <link:definition>2205201 - Disclosure - Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantAccountingPoliciesTables" roleURI="http://www.mgic.com/role/SignificantAccountingPoliciesTables">
        <link:definition>2306301 - Disclosure - Significant Accounting Policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantAccountingPoliciesDetails" roleURI="http://www.mgic.com/role/SignificantAccountingPoliciesDetails">
        <link:definition>2407402 - Disclosure - Significant Accounting Policies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsperShare" roleURI="http://www.mgic.com/role/EarningsperShare">
        <link:definition>2108104 - Disclosure - Earnings per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsperShareTables" roleURI="http://www.mgic.com/role/EarningsperShareTables">
        <link:definition>2309302 - Disclosure - Earnings per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsperShareDetails" roleURI="http://www.mgic.com/role/EarningsperShareDetails">
        <link:definition>2410403 - Disclosure - Earnings per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Investments" roleURI="http://www.mgic.com/role/Investments">
        <link:definition>2111105 - Disclosure - Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsTables" roleURI="http://www.mgic.com/role/InvestmentsTables">
        <link:definition>2312303 - Disclosure - Investments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsDetails" roleURI="http://www.mgic.com/role/InvestmentsDetails">
        <link:definition>2413404 - Disclosure - Investments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsInvestmentIncomeByCategoryDetails" roleURI="http://www.mgic.com/role/InvestmentsInvestmentIncomeByCategoryDetails">
        <link:definition>2414405 - Disclosure - Investments, Investment Income By Category (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsGainLossonInvestmentsDetails" roleURI="http://www.mgic.com/role/InvestmentsGainLossonInvestmentsDetails">
        <link:definition>2415406 - Disclosure - Investments, Gain (Loss) on Investments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurements" roleURI="http://www.mgic.com/role/FairValueMeasurements">
        <link:definition>2116106 - Disclosure - Fair Value Measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsTables" roleURI="http://www.mgic.com/role/FairValueMeasurementsTables">
        <link:definition>2317304 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsDetails" roleURI="http://www.mgic.com/role/FairValueMeasurementsDetails">
        <link:definition>2418407 - Disclosure - Fair Value Measurements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsUnobservableInputReconciliationDetails" roleURI="http://www.mgic.com/role/FairValueMeasurementsUnobservableInputReconciliationDetails">
        <link:definition>2419408 - Disclosure - Fair Value Measurements - Unobservable Input Reconciliation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsAssetsandLiabilitiesNotMeasuredatFairValueDetails" roleURI="http://www.mgic.com/role/FairValueMeasurementsAssetsandLiabilitiesNotMeasuredatFairValueDetails">
        <link:definition>2420409 - Disclosure - Fair Value Measurements - Assets and Liabilities Not Measured at Fair Value (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Debt" roleURI="http://www.mgic.com/role/Debt">
        <link:definition>2121107 - Disclosure - Debt</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtTables" roleURI="http://www.mgic.com/role/DebtTables">
        <link:definition>2322305 - Disclosure - Debt (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtSummaryofObligationsDetails" roleURI="http://www.mgic.com/role/DebtSummaryofObligationsDetails">
        <link:definition>2423410 - Disclosure - Debt Summary of Obligations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtDetails" roleURI="http://www.mgic.com/role/DebtDetails">
        <link:definition>2424411 - Disclosure - Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LossReserves" roleURI="http://www.mgic.com/role/LossReserves">
        <link:definition>2125108 - Disclosure - Loss Reserves</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LossReservesTables" roleURI="http://www.mgic.com/role/LossReservesTables">
        <link:definition>2326306 - Disclosure - Loss Reserves (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LossReservesNarrativeDetails" roleURI="http://www.mgic.com/role/LossReservesNarrativeDetails">
        <link:definition>2427412 - Disclosure - Loss Reserves - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LossReservesReconciliationofChangesinLossReservesDetails" roleURI="http://www.mgic.com/role/LossReservesReconciliationofChangesinLossReservesDetails">
        <link:definition>2428413 - Disclosure - Loss Reserves - Reconciliation of Changes in Loss Reserves (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LossReservesPriorYearLossReservesDetails" roleURI="http://www.mgic.com/role/LossReservesPriorYearLossReservesDetails">
        <link:definition>2429414 - Disclosure - Loss Reserves - Prior Year Loss Reserves (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LossReservesDefaultInventoryReconciliationDetails" roleURI="http://www.mgic.com/role/LossReservesDefaultInventoryReconciliationDetails">
        <link:definition>2430415 - Disclosure - Loss Reserves - Default Inventory Reconciliation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LossReservesAgingofPrimaryDefaultInventoryDetails" roleURI="http://www.mgic.com/role/LossReservesAgingofPrimaryDefaultInventoryDetails">
        <link:definition>2431416 - Disclosure - Loss Reserves - Aging of Primary Default Inventory (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Reinsurance" roleURI="http://www.mgic.com/role/Reinsurance">
        <link:definition>2132109 - Disclosure - Reinsurance</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ReinsuranceTables" roleURI="http://www.mgic.com/role/ReinsuranceTables">
        <link:definition>2333307 - Disclosure - Reinsurance (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ReinsuranceSummaryofReinsuranceAgreementsDetails" roleURI="http://www.mgic.com/role/ReinsuranceSummaryofReinsuranceAgreementsDetails">
        <link:definition>2434417 - Disclosure - Reinsurance - Summary of Reinsurance Agreements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ReinsuranceNarrativeDetails" roleURI="http://www.mgic.com/role/ReinsuranceNarrativeDetails">
        <link:definition>2435418 - Disclosure - Reinsurance - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ReinsuranceQuotaShareAgreementTermsDetails" roleURI="http://www.mgic.com/role/ReinsuranceQuotaShareAgreementTermsDetails">
        <link:definition>2436419 - Disclosure - Reinsurance - Quota Share Agreement Terms (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ReinsuranceQuotaShareReinsuranceDetails" roleURI="http://www.mgic.com/role/ReinsuranceQuotaShareReinsuranceDetails">
        <link:definition>2437420 - Disclosure - Reinsurance - Quota Share Reinsurance (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ReinsuranceExcessofLossReinsuranceDetails" roleURI="http://www.mgic.com/role/ReinsuranceExcessofLossReinsuranceDetails">
        <link:definition>2438421 - Disclosure - Reinsurance - Excess of Loss Reinsurance (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ReinsuranceHomeReEntitiesTotalAssetsDetails" roleURI="http://www.mgic.com/role/ReinsuranceHomeReEntitiesTotalAssetsDetails">
        <link:definition>2439422 - Disclosure - Reinsurance - Home Re Entities Total Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherComprehensiveIncomeLoss" roleURI="http://www.mgic.com/role/OtherComprehensiveIncomeLoss">
        <link:definition>2140110 - Disclosure - Other Comprehensive Income (Loss)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherComprehensiveIncomeLossTables" roleURI="http://www.mgic.com/role/OtherComprehensiveIncomeLossTables">
        <link:definition>2341308 - Disclosure - Other Comprehensive Income (Loss) (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherComprehensiveIncomeLossDetails" roleURI="http://www.mgic.com/role/OtherComprehensiveIncomeLossDetails">
        <link:definition>2442423 - Disclosure - Other Comprehensive Income (Loss) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlans" roleURI="http://www.mgic.com/role/BenefitPlans">
        <link:definition>2143111 - Disclosure - Benefit Plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansTables" roleURI="http://www.mgic.com/role/BenefitPlansTables">
        <link:definition>2344309 - Disclosure - Benefit Plans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansComponentsofNetPeriodicBenefitCostsDetails" roleURI="http://www.mgic.com/role/BenefitPlansComponentsofNetPeriodicBenefitCostsDetails">
        <link:definition>2445424 - Disclosure - Benefit Plans - Components of Net Periodic Benefit Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansDevelopmentofFundedStatusDetails" roleURI="http://www.mgic.com/role/BenefitPlansDevelopmentofFundedStatusDetails">
        <link:definition>2446425 - Disclosure - Benefit Plans - Development of Funded Status (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansAccumulatedOtherComprehensiveIncomeDetails" roleURI="http://www.mgic.com/role/BenefitPlansAccumulatedOtherComprehensiveIncomeDetails">
        <link:definition>2447426 - Disclosure - Benefit Plans - Accumulated Other Comprehensive Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansChangeinProjectBenefitAccumulatedBenefitObligationsDetails" roleURI="http://www.mgic.com/role/BenefitPlansChangeinProjectBenefitAccumulatedBenefitObligationsDetails">
        <link:definition>2448427 - Disclosure - Benefit Plans - Change in Project Benefit/Accumulated Benefit Obligations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansChangeinPlanAssetsDetails" roleURI="http://www.mgic.com/role/BenefitPlansChangeinPlanAssetsDetails">
        <link:definition>2449428 - Disclosure - Benefit Plans - Change in Plan Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansChangeinAccumulatedOtherComprehensiveIncomeAOCIandExpectedAmortizationDetails" roleURI="http://www.mgic.com/role/BenefitPlansChangeinAccumulatedOtherComprehensiveIncomeAOCIandExpectedAmortizationDetails">
        <link:definition>2450429 - Disclosure - Benefit Plans - Change in Accumulated Other Comprehensive Income (AOCI) and Expected Amortization (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansActuarialAssumptionsandYearEndAssetAllocationsDetails" roleURI="http://www.mgic.com/role/BenefitPlansActuarialAssumptionsandYearEndAssetAllocationsDetails">
        <link:definition>2451430 - Disclosure - Benefit Plans - Actuarial Assumptions and Year-End Asset Allocations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansFairValueofPlanAssetsDetails" roleURI="http://www.mgic.com/role/BenefitPlansFairValueofPlanAssetsDetails">
        <link:definition>2452431 - Disclosure - Benefit Plans - Fair Value of Plan Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansAdditionalDisclosuresDetails" roleURI="http://www.mgic.com/role/BenefitPlansAdditionalDisclosuresDetails">
        <link:definition>2453432 - Disclosure - Benefit Plans - Additional Disclosures (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BenefitPlansNarrativeDetails" roleURI="http://www.mgic.com/role/BenefitPlansNarrativeDetails">
        <link:definition>2454433 - Disclosure - Benefit Plans - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxes" roleURI="http://www.mgic.com/role/IncomeTaxes">
        <link:definition>2155112 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesTables" roleURI="http://www.mgic.com/role/IncomeTaxesTables">
        <link:definition>2356310 - Disclosure - Income Taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesDetails" roleURI="http://www.mgic.com/role/IncomeTaxesDetails">
        <link:definition>2457434 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesDetails_1" roleURI="http://www.mgic.com/role/IncomeTaxesDetails_1">
        <link:definition>2457434 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersEquity" roleURI="http://www.mgic.com/role/ShareholdersEquity">
        <link:definition>2158113 - Disclosure - Shareholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersEquityDetails" roleURI="http://www.mgic.com/role/ShareholdersEquityDetails">
        <link:definition>2459435 - Disclosure - Shareholders' Equity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StatutoryInformation" roleURI="http://www.mgic.com/role/StatutoryInformation">
        <link:definition>2160114 - Disclosure - Statutory Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StatutoryInformationTables" roleURI="http://www.mgic.com/role/StatutoryInformationTables">
        <link:definition>2361311 - Disclosure - Statutory Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StatutoryInformationNarrativeDetails" roleURI="http://www.mgic.com/role/StatutoryInformationNarrativeDetails">
        <link:definition>2462436 - Disclosure - Statutory Information - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StatutoryInformationStatutoryfinancialinformationofinsurancesubsidiariesDetails" roleURI="http://www.mgic.com/role/StatutoryInformationStatutoryfinancialinformationofinsurancesubsidiariesDetails">
        <link:definition>2463437 - Disclosure - Statutory Information - Statutory financial information of insurance subsidiaries (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StatutoryInformationSurpluscontributionsanddividendsofinsurancesubsidiariesDetails" roleURI="http://www.mgic.com/role/StatutoryInformationSurpluscontributionsanddividendsofinsurancesubsidiariesDetails">
        <link:definition>2464438 - Disclosure - Statutory Information - Surplus contributions and dividends of insurance subsidiaries (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SharebasedCompensationPlans" roleURI="http://www.mgic.com/role/SharebasedCompensationPlans">
        <link:definition>2165115 - Disclosure - Share-based Compensation Plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SharebasedCompensationPlansTables" roleURI="http://www.mgic.com/role/SharebasedCompensationPlansTables">
        <link:definition>2366312 - Disclosure - Share-based Compensation Plans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SharebasedCompensationPlansDetails" roleURI="http://www.mgic.com/role/SharebasedCompensationPlansDetails">
        <link:definition>2467439 - Disclosure - Share-based Compensation Plans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Leases" roleURI="http://www.mgic.com/role/Leases">
        <link:definition>2168116 - Disclosure - Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesTables" roleURI="http://www.mgic.com/role/LeasesTables">
        <link:definition>2369313 - Disclosure - Leases (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesDetails" roleURI="http://www.mgic.com/role/LeasesDetails">
        <link:definition>2470440 - Disclosure - Leases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LitigationandContingencies" roleURI="http://www.mgic.com/role/LitigationandContingencies">
        <link:definition>2171117 - Disclosure - Litigation and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LitigationandContingenciesDetails" roleURI="http://www.mgic.com/role/LitigationandContingenciesDetails">
        <link:definition>2472441 - Disclosure - Litigation and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="UnauditedQuarterlyFinancialData" roleURI="http://www.mgic.com/role/UnauditedQuarterlyFinancialData">
        <link:definition>2173118 - Disclosure - Unaudited Quarterly Financial Data</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="UnauditedQuarterlyFinancialDataTables" roleURI="http://www.mgic.com/role/UnauditedQuarterlyFinancialDataTables">
        <link:definition>2374314 - Disclosure - Unaudited Quarterly Financial Data (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="UnauditedQuarterlyFinancialDataDetails" roleURI="http://www.mgic.com/role/UnauditedQuarterlyFinancialDataDetails">
        <link:definition>2475442 - Disclosure - Unaudited Quarterly Financial Data (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIES" roleURI="http://www.mgic.com/role/SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIES">
        <link:definition>2176119 - Disclosure - SCHEDULE I - SUMMARY OF INVESTMENTS - OTHER THAN INVESTMENTS IN RELATED PARTIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIESDetails" roleURI="http://www.mgic.com/role/SCHEDULEISUMMARYOFINVESTMENTSOTHERTHANINVESTMENTSINRELATEDPARTIESDetails">
        <link:definition>2477443 - Disclosure - SCHEDULE I - SUMMARY OF INVESTMENTS - OTHER THAN INVESTMENTS IN RELATED PARTIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SCHEDULEIICONDENSEDFINANCIALINFORMATIONOFREGISTRANT" roleURI="http://www.mgic.com/role/SCHEDULEIICONDENSEDFINANCIALINFORMATIONOFREGISTRANT">
        <link:definition>2178120 - Disclosure - SCHEDULE II - CONDENSED FINANCIAL INFORMATION OF REGISTRANT</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SCHEDULEIICONDENSEDFINANCIALINFORMATIONOFREGISTRANTDetails" roleURI="http://www.mgic.com/role/SCHEDULEIICONDENSEDFINANCIALINFORMATIONOFREGISTRANTDetails">
        <link:definition>2479444 - Disclosure - SCHEDULE II - CONDENSED FINANCIAL INFORMATION OF REGISTRANT (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SCHEDULEIICONDENSEDFINANCIALINFORMATIONOFREGISTRANTSUPPLEMENTARYNOTESDetails" roleURI="http://www.mgic.com/role/SCHEDULEIICONDENSEDFINANCIALINFORMATIONOFREGISTRANTSUPPLEMENTARYNOTESDetails">
        <link:definition>2480445 - Disclosure - SCHEDULE II - CONDENSED FINANCIAL INFORMATION OF REGISTRANT - SUPPLEMENTARY NOTES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SCHEDULEIVREINSURANCE" roleURI="http://www.mgic.com/role/SCHEDULEIVREINSURANCE">
        <link:definition>2181121 - Disclosure - SCHEDULE IV - REINSURANCE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SCHEDULEIVREINSURANCEDetails" roleURI="http://www.mgic.com/role/SCHEDULEIVREINSURANCEDetails">
        <link:definition>2482446 - Disclosure - SCHEDULE IV - REINSURANCE (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="mtg_DefinedBenefitPlanTotalAmortization" abstract="false" name="DefinedBenefitPlanTotalAmortization" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_ActualAndEstimatedFutureContributionsAndActualAndEstimatedFutureBenefitPaymentsTableTextBlock" abstract="false" name="ActualAndEstimatedFutureContributionsAndActualAndEstimatedFutureBenefitPaymentsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryTwelveMonthsOrMorePercentage" abstract="false" name="PrimaryDefaultInventoryTwelveMonthsOrMorePercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryNewNotices" abstract="false" name="PrimaryDefaultInventoryNewNotices" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_UnvestedRestrictedStockUnitsMember" abstract="true" name="UnvestedRestrictedStockUnitsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_EffectOfQuotaShareReinsuranceAgreementsOnPremiumsEarnedAndLossesIncurredTableTextBlock" abstract="false" name="EffectOfQuotaShareReinsuranceAgreementsOnPremiumsEarnedAndLossesIncurredTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_DefinedBenefitPlanMaximuminvestmentininternationalmutualfunds" abstract="false" name="DefinedBenefitPlanMaximuminvestmentininternationalmutualfunds" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryRollForward" abstract="true" name="PrimaryDefaultInventoryRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_TaxAndInterestPaymentsForIRSSettlement" abstract="false" name="TaxAndInterestPaymentsForIRSSettlement" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_NetProceedsCap" abstract="false" name="NetProceedsCap" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_ReinsuranceRetentionPolicyDebtIssuedToCoverInsuranceTerm" abstract="false" name="ReinsuranceRetentionPolicyDebtIssuedToCoverInsuranceTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_MinimumAndMaximumAllocationRangesForFixedIncomeSecuritiesAndEquitySecuritiesTableTextBlock" abstract="false" name="MinimumAndMaximumAllocationRangesForFixedIncomeSecuritiesAndEquitySecuritiesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_MaximumPercentageOfAggregatePrincipalAmountOfDebentures" abstract="false" name="MaximumPercentageOfAggregatePrincipalAmountOfDebentures" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_IncreaseDecreaseRelatedToPoolReservesLAEReservesAndReinsuranceMember" abstract="true" name="IncreaseDecreaseRelatedToPoolReservesLAEReservesAndReinsuranceMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_NumberOfJurisdictionsWithRiskToCapitalRequirements" abstract="false" name="NumberOfJurisdictionsWithRiskToCapitalRequirements" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryTwelveMonthsOrMorePercentOfPrimaryDefaultInventoryInDefaultForTwelveMonthsOrMoreInDefaultForMoreThanThirtySixConsecutiveMonths" abstract="false" name="PrimaryDefaultInventoryTwelveMonthsOrMorePercentOfPrimaryDefaultInventoryInDefaultForTwelveMonthsOrMoreInDefaultForMoreThanThirtySixConsecutiveMonths" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_DevelopmentOfFundedStatusTableTextBlock" abstract="false" name="DevelopmentOfFundedStatusTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_IncreaseDecreaseInReinsuranceRecoverableOnPaidLosses" abstract="false" name="IncreaseDecreaseInReinsuranceRecoverableOnPaidLosses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_DeferredTaxAssetsLiabilitiesNetOtherComprehensiveIncome" abstract="false" name="DeferredTaxAssetsLiabilitiesNetOtherComprehensiveIncome" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_AnniversarypaymentreleaseofthestartoftheinterestdeferraltotheAlternativePaymentMechanisminlieuofthefinalmaturityofthedebentures" abstract="false" name="AnniversarypaymentreleaseofthestartoftheinterestdeferraltotheAlternativePaymentMechanisminlieuofthefinalmaturityofthedebentures" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_SettlementsForCommutationsOfCoveragePoolsOfNonperformingLoansMember" abstract="true" name="SettlementsForCommutationsOfCoveragePoolsOfNonperformingLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_MaximumPeriodForWhichInterestPaymentsMayBeDeferredWithoutGivingRiseToEventOfDefault" abstract="false" name="MaximumPeriodForWhichInterestPaymentsMayBeDeferredWithoutGivingRiseToEventOfDefault" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_IncreaseDecreaseInProfitCommissionReceivable" abstract="false" name="IncreaseDecreaseInProfitCommissionReceivable" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryPaids" abstract="false" name="PrimaryDefaultInventoryPaids" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_PeriodInWhichReasonableCommercialEffortsMustBeginMaximum" abstract="false" name="PeriodInWhichReasonableCommercialEffortsMustBeginMaximum" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryThreeMonthsOrLess" abstract="false" name="PrimaryDefaultInventoryThreeMonthsOrLess" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_FivePointSevenFivePercentSeniorNotesMember" abstract="true" name="FivePointSevenFivePercentSeniorNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_MinimumPercentageReturnShouldExceedGrowthInConsumerPriceIndexAnnually" abstract="false" name="MinimumPercentageReturnShouldExceedGrowthInConsumerPriceIndexAnnually" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_AvailableForSaleSecuritiesDebtMaturitiesWithSingleMaturityDateFairValue" abstract="false" name="AvailableForSaleSecuritiesDebtMaturitiesWithSingleMaturityDateFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_StatutoryAccountingPracticesStatutoryNetIncomeAdjustment" abstract="false" name="StatutoryAccountingPracticesStatutoryNetIncomeAdjustment" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsThresholdForPrivateMortgageInsurerEligibilityRequirementsForTerminationElection" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsThresholdForPrivateMortgageInsurerEligibilityRequirementsForTerminationElection" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreement2021Member" abstract="true" name="QuotaShareReinsuranceAgreement2021Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_MinimumNumberOfConsecutiveInterestPeriodsForWhichInterestPaymentsMayBeDeferred" abstract="false" name="MinimumNumberOfConsecutiveInterestPeriodsForWhichInterestPaymentsMayBeDeferred" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_PeriodThatContingencyLossReservesMustBeHeldInYears" abstract="false" name="PeriodThatContingencyLossReservesMustBeHeldInYears" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_DirectDomesticPrimaryInsuranceInForce" abstract="false" name="DirectDomesticPrimaryInsuranceInForce" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_LossReserveRollForward" abstract="true" name="LossReserveRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreementsMember" abstract="true" name="QuotaShareReinsuranceAgreementsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsCedingRatePercentOptionTwo" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsCedingRatePercentOptionTwo" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_PercentageOfStatutoryPolicyholdersSurplusUsedToDetermineMaximumAllowableDividends" abstract="false" name="PercentageOfStatutoryPolicyholdersSurplusUsedToDetermineMaximumAllowableDividends" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreement2018Member" abstract="true" name="QuotaShareReinsuranceAgreement2018Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_PrincipalAmountOfNotesUsedInDeterminingConversionRate" abstract="false" name="PrincipalAmountOfNotesUsedInDeterminingConversionRate" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_Risktocapitalratioatendofperiod" abstract="false" name="Risktocapitalratioatendofperiod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_ExcessofLossReinsuranceAgreementsHomeReEntitiesMember" abstract="true" name="ExcessofLossReinsuranceAgreementsHomeReEntitiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_InternationalMutualFundsMember" abstract="true" name="InternationalMutualFundsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_ScheduleOfQuotaShareReinsuranceAgreementsTableTextBlock" abstract="false" name="ScheduleOfQuotaShareReinsuranceAgreementsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_DefinedBenefitPlanNetPeriodicBenefitCostBeforeCostOfSettlementsAndCurtailments" abstract="false" name="DefinedBenefitPlanNetPeriodicBenefitCostBeforeCostOfSettlementsAndCurtailments" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_ReinsuranceProfitCommission" abstract="false" name="ReinsuranceProfitCommission" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_AdditionalDisclosuresAbstract" abstract="true" name="AdditionalDisclosuresAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_FinancialAssetEqualToOrGreaterThan60DaysPastDueMember" abstract="true" name="FinancialAssetEqualToOrGreaterThan60DaysPastDueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_ReinsuranceCedingCommissionEarned" abstract="false" name="ReinsuranceCedingCommissionEarned" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryOtherItemsRemoved" abstract="false" name="PrimaryDefaultInventoryOtherItemsRemoved" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsCedingCommissionPercent" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsCedingCommissionPercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_StatutoryCapitalAbstract" abstract="true" name="StatutoryCapitalAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_OtherInvestedAssetsFairValueDisclosure" abstract="false" name="OtherInvestedAssetsFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_StatutoryCapitalRequirementsRiskToCapitalRatio" abstract="false" name="StatutoryCapitalRequirementsRiskToCapitalRatio" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:pureItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryThreeMonthsOrLessPercentage" abstract="false" name="PrimaryDefaultInventoryThreeMonthsOrLessPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_A1000IncreaseDecreaseInAverageSeverityReserveFactorMember" abstract="true" name="A1000IncreaseDecreaseInAverageSeverityReserveFactorMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_PaymentOfOriginalIssueDiscountSeniorNotes" abstract="false" name="PaymentOfOriginalIssueDiscountSeniorNotes" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_FederalHomeLoanBankAdvancesCollateralMarketValueOfPrincipalPercent" abstract="false" name="FederalHomeLoanBankAdvancesCollateralMarketValueOfPrincipalPercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_DeferredTaxAssetsLiabilitiesNetOther" abstract="false" name="DeferredTaxAssetsLiabilitiesNetOther" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_StatutoryAccountingPracticesTextBlock" abstract="false" name="StatutoryAccountingPracticesTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryFourToElevenMonthsPercentage" abstract="false" name="PrimaryDefaultInventoryFourToElevenMonthsPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryCures" abstract="false" name="PrimaryDefaultInventoryCures" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_ContingencyReserveWithdrawal" abstract="false" name="ContingencyReserveWithdrawal" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_AmountOfPolicyholdersPositionAboveOrBelowRequiredRegulatoryMinimum" abstract="false" name="AmountOfPolicyholdersPositionAboveOrBelowRequiredRegulatoryMinimum" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_LossesIncurredAbstract" abstract="true" name="LossesIncurredAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_DeferredTaxLiabilitiesTaxDeferredExpenseCompensationandBenefitsEmployeeBenefits" abstract="false" name="DeferredTaxLiabilitiesTaxDeferredExpenseCompensationandBenefitsEmployeeBenefits" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_TotalRealizedUnrealizedGainsLossesAbstract" abstract="true" name="TotalRealizedUnrealizedGainsLossesAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsLifetimeLossRatioCap" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsLifetimeLossRatioCap" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_GainLossOnDebtExtinghuishmentCashPortion" abstract="false" name="GainLossOnDebtExtinghuishmentCashPortion" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_InvestmentInSubsidiariesAtEquityInNetAssets" abstract="false" name="InvestmentInSubsidiariesAtEquityInNetAssets" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreement2019Member" abstract="true" name="QuotaShareReinsuranceAgreement2019Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_MinimumNumberOfPaymentsPastDueToBeInDefault" abstract="false" name="MinimumNumberOfPaymentsPastDueToBeInDefault" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_StockIssuedDuringPeriodValueTreasuryStockReissuedForShareBasedCompensation" abstract="false" name="StockIssuedDuringPeriodValueTreasuryStockReissuedForShareBasedCompensation" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_DebtInstrumentOwnershipPercentageThresholdDeclarationOfDueAndPayable" abstract="false" name="DebtInstrumentOwnershipPercentageThresholdDeclarationOfDueAndPayable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_ConvertibleJuniorDebenturesat9perannumDue2063Member" abstract="true" name="ConvertibleJuniorDebenturesat9perannumDue2063Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_SettlementsForClaimsPayingPracticesAndNonperformingLoanSaleMember" abstract="true" name="SettlementsForClaimsPayingPracticesAndNonperformingLoanSaleMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsAnnualLossRatioCap" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsAnnualLossRatioCap" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_Percentofinternationalmutualfundsequityallocationinemergingmarkets" abstract="false" name="Percentofinternationalmutualfundsequityallocationinemergingmarkets" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_StatutoryAccountingPracticesStatutoryAmountAvailableforDividendPaymentswithoutRegulatoryApprovalMeasurementDividendPaymentPeriod" abstract="false" name="StatutoryAccountingPracticesStatutoryAmountAvailableforDividendPaymentswithoutRegulatoryApprovalMeasurementDividendPaymentPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreement2017Member" abstract="true" name="QuotaShareReinsuranceAgreement2017Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_OnePercentagePointIncreaseDecreaseInAverageClaimRateReserveFactorMember" abstract="true" name="OnePercentagePointIncreaseDecreaseInAverageClaimRateReserveFactorMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_A2020PlanMember" abstract="true" name="A2020PlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_PoolInsuranceNoticeInventory" abstract="false" name="PoolInsuranceNoticeInventory" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_DebtInstrumentConvertibleNumberOfEquityInstrumentsIfDebtConverted" abstract="false" name="DebtInstrumentConvertibleNumberOfEquityInstrumentsIfDebtConverted" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mtg_ReinsuranceRetentionPolicyPercentOfTotalTrustAssetsInvestedInCashOrDirectU.S.FederalGovernmentObligations" abstract="false" name="ReinsuranceRetentionPolicyPercentOfTotalTrustAssetsInvestedInCashOrDirectU.S.FederalGovernmentObligations" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_ContingencyReserve" abstract="false" name="ContingencyReserve" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PremiumDeficiencyReservesPolicyTextBlock" abstract="false" name="PremiumDeficiencyReservesPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_PercentageOfFairValueToAmortizedCostSecuritiesinUnrealizedLossPosition" abstract="false" name="PercentageOfFairValueToAmortizedCostSecuritiesinUnrealizedLossPosition" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_AveragePaidClaimsReductionDueToCurtailments" abstract="false" name="AveragePaidClaimsReductionDueToCurtailments" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_StatutoryAccountingPracticesStatutoryAmountAvailableForDividendPaymentsWithoutRegulatoryApprovalMeasurementMeasurementPeriod" abstract="false" name="StatutoryAccountingPracticesStatutoryAmountAvailableForDividendPaymentsWithoutRegulatoryApprovalMeasurementMeasurementPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryClaimsReceivedInventory" abstract="false" name="PrimaryDefaultInventoryClaimsReceivedInventory" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_AvailableForSaleSecuritiesDebtMaturitiesWithSingleMaturityDateAmortizedCost" abstract="false" name="AvailableForSaleSecuritiesDebtMaturitiesWithSingleMaturityDateAmortizedCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetSettlementGainLossArisingDuringPeriodBeforeTax" abstract="false" name="OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansNetSettlementGainLossArisingDuringPeriodBeforeTax" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_SeniorNotesFairValueDisclosure" abstract="false" name="SeniorNotesFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PercentofinternationalmutualfundsequityallocationincompaniesprimarilybasedinEuropeandPacificBasin" abstract="false" name="PercentofinternationalmutualfundsequityallocationincompaniesprimarilybasedinEuropeandPacificBasin" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_DefinedBenefitPlanBenefitsPaidFromFundLumpSum" abstract="false" name="DefinedBenefitPlanBenefitsPaidFromFundLumpSum" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_MaximumExposureAssociatedWithOtherDiscussionsLegalProceedings" abstract="false" name="MaximumExposureAssociatedWithOtherDiscussionsLegalProceedings" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PremiumRefundLiabilityExpectedClaimPayments" abstract="false" name="PremiumRefundLiabilityExpectedClaimPayments" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_LossesPaidAbstract" abstract="true" name="LossesPaidAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_PercentageOfPremiumsEarnedRequiredToBeMaintainedAsContingencyLossReserves" abstract="false" name="PercentageOfPremiumsEarnedRequiredToBeMaintainedAsContingencyLossReserves" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_AmountOfRequiredMpp" abstract="false" name="AmountOfRequiredMpp" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_DeferredTaxAssetsMortgageRelatedInvestments" abstract="false" name="DeferredTaxAssetsMortgageRelatedInvestments" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_DirectDomesticPrimaryRiskInForce" abstract="false" name="DirectDomesticPrimaryRiskInForce" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PercentageOfNetPremiumsEarnedThatIncurredLossesMustExceedToEnableEarlyWithdrawalsFromContingencyLossReserves" abstract="false" name="PercentageOfNetPremiumsEarnedThatIncurredLossesMustExceedToEnableEarlyWithdrawalsFromContingencyLossReserves" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryTwelveMonthsOrMore" abstract="false" name="PrimaryDefaultInventoryTwelveMonthsOrMore" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_StatutoryCapitalRequirementsRiskToCapitalRatioForCombinedInsuranceOperations" abstract="false" name="StatutoryCapitalRequirementsRiskToCapitalRatioForCombinedInsuranceOperations" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:pureItemType"/>
  <xs:element id="mtg_ReinsuranceTerminations" abstract="false" name="ReinsuranceTerminations" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_HomeRe20201Member" abstract="true" name="HomeRe20201Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_RealEstateAcquiredMember" abstract="true" name="RealEstateAcquiredMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_DefinedBenefitPlanMinimumValueOfOutstandingNoncallableBondsUsedInHypotheticalCashFlowBondMatchingExercise" abstract="false" name="DefinedBenefitPlanMinimumValueOfOutstandingNoncallableBondsUsedInHypotheticalCashFlowBondMatchingExercise" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_CededPremiumsWrittenandEarnedNetofProfitCommission" abstract="false" name="CededPremiumsWrittenandEarnedNetofProfitCommission" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_ScheduleofInvestmentAllocationStrategiesTableTextBlock" abstract="false" name="ScheduleofInvestmentAllocationStrategiesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_UnderwritingAndOtherExpensesNet" abstract="false" name="UnderwritingAndOtherExpensesNet" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_AmortizationPeriodExcessofLossReinsuranceCoverage" abstract="false" name="AmortizationPeriodExcessofLossReinsuranceCoverage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_DebtInstrumentConvertibleConversionPrice2" abstract="false" name="DebtInstrumentConvertibleConversionPrice2" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:perShareItemType"/>
  <xs:element id="mtg_HomeRe20191Member" abstract="true" name="HomeRe20191Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_MaximumNumberOfSharesOfCommonStockIssuableUnderAlternativePaymentMechanism" abstract="false" name="MaximumNumberOfSharesOfCommonStockIssuableUnderAlternativePaymentMechanism" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mtg_PeriodPrecedingElectionToConvert" abstract="false" name="PeriodPrecedingElectionToConvert" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_EquitySecuritiesTableTextBlock" abstract="false" name="EquitySecuritiesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_Risktocapitalratioofcombinedinsuranceoperationsatendofperiod" abstract="false" name="Risktocapitalratioofcombinedinsuranceoperationsatendofperiod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_IncreaseDecreaseInExpectedClaimRateMember" abstract="true" name="IncreaseDecreaseInExpectedClaimRateMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_MortgageGuarantyInsuranceCorporationMember" abstract="true" name="MortgageGuarantyInsuranceCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_RealizedStatutoryLossFromAffiliate" abstract="false" name="RealizedStatutoryLossFromAffiliate" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_CumulativeEffectofAdoptinganAccountingStandardUpdateDomain" abstract="true" name="CumulativeEffectofAdoptinganAccountingStandardUpdateDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_PaymentOfOriginalIssueDiscountConvertibleJuniorSubordinatedDebentures" abstract="false" name="PaymentOfOriginalIssueDiscountConvertibleJuniorSubordinatedDebentures" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreement2015Member" abstract="true" name="QuotaShareReinsuranceAgreement2015Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_DomesticMutualFundsMember" abstract="true" name="DomesticMutualFundsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsCedingRatePercentOptionOne" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsCedingRatePercentOptionOne" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_CumulativeEffectofAdoptinganAccountingStandardUpdateAxis" abstract="true" name="CumulativeEffectofAdoptinganAccountingStandardUpdateAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="mtg_MinimumPercentagesOfGainLossConsiderForAmortization" abstract="false" name="MinimumPercentagesOfGainLossConsiderForAmortization" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_NatureOfBusinessAbstract" abstract="true" name="NatureOfBusinessAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_PooledEquityAccountsMember" abstract="true" name="PooledEquityAccountsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_PostretirementBenefitsLiabilityMaximumAgeForQualifiedEmployees" abstract="false" name="PostretirementBenefitsLiabilityMaximumAgeForQualifiedEmployees" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_SummaryOfRestrictedStockOrRestrictedStockUnitActivityAbstract" abstract="true" name="SummaryOfRestrictedStockOrRestrictedStockUnitActivityAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_AgingOfPrimaryDefaultInventoryTableTextBlock" abstract="false" name="AgingOfPrimaryDefaultInventoryTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_ProceedsFromSaleOfEquitySecurities" abstract="false" name="ProceedsFromSaleOfEquitySecurities" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_DefinedBenefitPlanFutureEarningsPeriodUsedInDeterminingExpectedAverageRateOfEarnings" abstract="false" name="DefinedBenefitPlanFutureEarningsPeriodUsedInDeterminingExpectedAverageRateOfEarnings" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_DiscretionaryProfitSharingContributionAsPercentageOfParticipantsEligibleCompensation" abstract="false" name="DiscretionaryProfitSharingContributionAsPercentageOfParticipantsEligibleCompensation" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_BenefitPlanPaymentsTotalPlanPayments" abstract="false" name="BenefitPlanPaymentsTotalPlanPayments" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_CreditUnionQuotaShareReinsuranceAgreementMember" abstract="true" name="CreditUnionQuotaShareReinsuranceAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_DividendDistributionOfInterestOfConvertibleJuniorSubordinatedDebentures" abstract="false" name="DividendDistributionOfInterestOfConvertibleJuniorSubordinatedDebentures" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_TaxAndLossBondsHeld" abstract="false" name="TaxAndLossBondsHeld" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryFourToElevenMonths" abstract="false" name="PrimaryDefaultInventoryFourToElevenMonths" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_HomeRe20181Member" abstract="true" name="HomeRe20181Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_InvestmentInHoldingCompanyDebt" abstract="false" name="InvestmentInHoldingCompanyDebt" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_FivePointTwoFivePercentSeniorNotesMember" abstract="true" name="FivePointTwoFivePercentSeniorNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_MaximumNumberOfTradingDays" abstract="false" name="MaximumNumberOfTradingDays" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_ParentheticalInformationAbstract" abstract="true" name="ParentheticalInformationAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_ForeignDebtSecuritiesMember" abstract="true" name="ForeignDebtSecuritiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_HomeRespecialpurposeinsurersMember" abstract="true" name="HomeRespecialpurposeinsurersMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventory" abstract="false" name="PrimaryDefaultInventory" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryRescissionsAndDenials" abstract="false" name="PrimaryDefaultInventoryRescissionsAndDenials" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtg_PercentOfDelinquentReinsuredLoanstoTotalReinsuredLoans" abstract="false" name="PercentOfDelinquentReinsuredLoanstoTotalReinsuredLoans" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_AgingOfPrimaryDefaultInventoryAbstract" abstract="true" name="AgingOfPrimaryDefaultInventoryAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_IncreaseDecreaseInEstimatedSeverityPrimaryDefaultsMember" abstract="true" name="IncreaseDecreaseInEstimatedSeverityPrimaryDefaultsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_ReinsuranceRetentionPolicyRemainingExcessOfLossReinsuranceCoverages" abstract="false" name="ReinsuranceRetentionPolicyRemainingExcessOfLossReinsuranceCoverages" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_RestrictedStockAndRestrictedStockUnitsMember" abstract="true" name="RestrictedStockAndRestrictedStockUnitsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_DilutiveSecuritiesReductionInPotentiallyDilutiveSharesDueToDebtExtinguishment" abstract="false" name="DilutiveSecuritiesReductionInPotentiallyDilutiveSharesDueToDebtExtinguishment" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mtg_NetdeferredtaxassetliabilityTableTextBlock" abstract="false" name="NetdeferredtaxassetliabilityTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_DefinedBenefitPlanBenefitsPaidDirectlyByCompany" abstract="false" name="DefinedBenefitPlanBenefitsPaidDirectlyByCompany" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsQuotaSharePercent" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsQuotaSharePercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_PrimaryDefaultInventoryPercentage" abstract="false" name="PrimaryDefaultInventoryPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_PercentageBackedByUsGovernment" abstract="false" name="PercentageBackedByUsGovernment" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_DefinedBenefitPlanSubtotal" abstract="false" name="DefinedBenefitPlanSubtotal" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_RealEstateAssetsAcquiredFairValueDisclosure" abstract="false" name="RealEstateAssetsAcquiredFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_MinimumNumberOfTradingDays" abstract="false" name="MinimumNumberOfTradingDays" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtg_DebtSecuritiesAvailableforSaleImpairmentChargesIntentToSellNoAllowancePreviouslyRecordedRecognizedinNetRealizedInvestmentGainsLosses" abstract="false" name="DebtSecuritiesAvailableforSaleImpairmentChargesIntentToSellNoAllowancePreviouslyRecordedRecognizedinNetRealizedInvestmentGainsLosses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtg_PercentageOfPriorYearDefaultInventoryResolved" abstract="false" name="PercentageOfPriorYearDefaultInventoryResolved" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="num:percentItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreement2020TwoYearMember" abstract="true" name="QuotaShareReinsuranceAgreement2020TwoYearMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_RollforwardOfPrimaryDefaultInventoryTableTextBlock" abstract="false" name="RollforwardOfPrimaryDefaultInventoryTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType"/>
  <xs:element id="mtg_QuotaShareReinsuranceAgreement2020OneYearMember" abstract="true" name="QuotaShareReinsuranceAgreement2020OneYearMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="nonnum:domainItemType"/>
  <xs:element id="mtg_StatutoryCapitalRequirementsAbstract" abstract="true" name="StatutoryCapitalRequirementsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtg_ReinsuranceQuotaShareReinsuranceAgreementTermsContingentTerminationFee" abstract="false" name="ReinsuranceQuotaShareReinsuranceAgreementTermsContingentTerminationFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
</xs:schema>
