{
  "cik": 876437,
  "cik_padded": "0000876437",
  "entityName": "MGIC INVESTMENT CORP",
  "fiscal_years": [
    {
      "accn": "0000876437-26-000010",
      "filed": "2026-02-25",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 788645000.0,
        "capex": 1025000.0,
        "cash": 368989000.0,
        "dividends_paid": 132491000.0,
        "eps_diluted": 3.14,
        "free_cash_flow": 851773000.0,
        "net_income": 738347000.0,
        "operating_cash_flow": 852798000.0,
        "revenue": 1213636000.0,
        "stockholders_equity": 5147551000.0,
        "total_assets": 6639486000.0,
        "total_liabilities": 1491935000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.28983394239318855,
        "net_margin": 0.6083759875283857,
        "payout_ratio": 0.17944272814814716,
        "revenue_growth_yoy": 0.004889333800324741,
        "roa_avg2y": 0.11198341119069706,
        "roa_period_end": 0.11120544572275624,
        "roe_avg2y": 0.14309152991988508,
        "roe_period_end": 0.14343655847217443
      }
    },
    {
      "accn": "0000876437-26-000010",
      "filed": "2026-02-25",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 569478000.0,
        "capex": 1174000.0,
        "cash": 229485000.0,
        "dividends_paid": 130500000.0,
        "eps_diluted": 2.89,
        "free_cash_flow": 723858000.0,
        "net_income": 762994000.0,
        "operating_cash_flow": 725032000.0,
        "revenue": 1207731000.0,
        "stockholders_equity": 5172375000.0,
        "total_assets": 6547235000.0,
        "total_liabilities": 1374860000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.26580826022861836,
        "net_margin": 0.6317582309305632,
        "payout_ratio": 0.17103673161256838,
        "revenue_growth_yoy": 0.04556221009053746,
        "roa_avg2y": 0.11661568829588827,
        "roa_period_end": 0.11653682814195611,
        "roe_avg2y": 0.14895837644635232,
        "roe_period_end": 0.14751327968293096
      }
    },
    {
      "accn": "0000876437-26-000010",
      "filed": "2026-02-25",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 337182000.0,
        "capex": 1999000.0,
        "cash": 363666000.0,
        "dividends_paid": 122965000.0,
        "eps_diluted": 2.49,
        "free_cash_flow": 710963000.0,
        "net_income": 712949000.0,
        "operating_cash_flow": 712962000.0,
        "revenue": 1155102000.0,
        "stockholders_equity": 5072017000.0,
        "total_assets": 6538380000.0,
        "total_liabilities": 1466363000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.28910845527528795,
        "net_margin": 0.6172173539652775,
        "payout_ratio": 0.17247376740832795,
        "revenue_growth_yoy": -0.01507778493074178,
        "roa_avg2y": 0.11181608028686561,
        "roa_period_end": 0.1090406186241852,
        "roe_avg2y": 0.14677649682848476,
        "roe_period_end": 0.14056518343688518
      }
    },
    {
      "accn": "0000876437-25-000036",
      "filed": "2025-02-26",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 385573000.0,
        "capex": 3254000.0,
        "cash": 327384000.0,
        "dividends_paid": 110947000.0,
        "eps_diluted": 2.79,
        "free_cash_flow": 646758000.0,
        "net_income": 865349000.0,
        "operating_cash_flow": 650012000.0,
        "revenue": 1172785000.0,
        "stockholders_equity": 4642740000.0,
        "total_assets": 6213793000.0,
        "total_liabilities": 1571053000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.3383891839732572,
        "net_margin": 0.7378581751983526,
        "payout_ratio": 0.1282106988047597,
        "revenue_growth_yoy": -0.010871444535812933,
        "roa_avg2y": 0.12783244247404182,
        "roa_period_end": 0.13926260498217433,
        "roe_avg2y": 0.18209972472996452,
        "roe_period_end": 0.1863875642400824
      }
    },
    {
      "accn": "0000876437-24-000024",
      "filed": "2024-02-21",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 290818000.0,
        "capex": 4115000.0,
        "cash": 284690000.0,
        "dividends_paid": 94219000.0,
        "eps_diluted": 1.85,
        "free_cash_flow": 692202000.0,
        "net_income": 634983000.0,
        "operating_cash_flow": 696317000.0,
        "revenue": 1185675000.0,
        "stockholders_equity": 4861382000.0,
        "total_assets": 7325008000.0,
        "total_liabilities": 2463626000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.5067748224681788,
        "net_margin": 0.5355455753052059,
        "payout_ratio": 0.14838035034008784,
        "revenue_growth_yoy": -0.011233828074312885,
        "roa_avg2y": 0.08651269175165914,
        "roa_period_end": 0.08668700430088268,
        "roe_avg2y": 0.13283651842690575,
        "roe_period_end": 0.13061779551576075
      }
    },
    {
      "accn": "0000876437-23-000013",
      "filed": "2023-02-22",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 119997000.0,
        "capex": 3311000.0,
        "cash": 287953000.0,
        "dividends_paid": 82061000.0,
        "eps_diluted": 1.29,
        "free_cash_flow": 728998000.0,
        "net_income": 446093000.0,
        "operating_cash_flow": 732309000.0,
        "revenue": 1199146000.0,
        "stockholders_equity": 4698986000.0,
        "total_assets": 7354526000.0,
        "total_liabilities": 2655540000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.5651304345235334,
        "net_margin": 0.37200891300975863,
        "payout_ratio": 0.1839549152306806,
        "revenue_growth_yoy": -0.012216870665589217,
        "roa_avg2y": 0.06567871239435348,
        "roa_period_end": 0.06065557454008594,
        "roe_avg2y": 0.099041320038809,
        "roe_period_end": 0.09493388573619925
      }
    },
    {
      "accn": "0000876437-22-000013",
      "filed": "2022-02-23",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 125766000.0,
        "capex": 5636000.0,
        "cash": 161847000.0,
        "dividends_paid": 41914000.0,
        "eps_diluted": 1.85,
        "free_cash_flow": 603896000.0,
        "net_income": 673763000.0,
        "operating_cash_flow": 609532000.0,
        "revenue": 1213977000.0,
        "stockholders_equity": 4309234000.0,
        "total_assets": 6229571000.0,
        "total_liabilities": 1920337000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.4456330289791643,
        "net_margin": 0.5550047488543852,
        "payout_ratio": 0.06220881823430494,
        "revenue_growth_yoy": 0.0801967881777607,
        "roa_avg2y": 0.11316736277598761,
        "roa_period_end": 0.10815560172602576,
        "roe_avg2y": 0.17076475154049645,
        "roe_period_end": 0.15635331012425874
      }
    },
    {
      "accn": "0000876437-21-000012",
      "filed": "2021-02-23",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 163419000.0,
        "capex": 14238000.0,
        "cash": 151892000.0,
        "dividends_paid": 0.0,
        "eps_diluted": 1.78,
        "free_cash_flow": 530279000.0,
        "net_income": 670097000.0,
        "operating_cash_flow": 544517000.0,
        "revenue": 1123848000.0,
        "stockholders_equity": 3581891000.0,
        "total_assets": 5677802000.0,
        "total_liabilities": 2095911000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.5851409213736543,
        "net_margin": 0.5962523401741161,
        "payout_ratio": 0.0,
        "revenue_growth_yoy": 0.05421301359968632,
        "roa_avg2y": 0.11862957355920675,
        "roa_period_end": 0.11802049455053205,
        "roe_avg2y": 0.1989476007794648,
        "roe_period_end": 0.18707911547280476
      }
    },
    {
      "accn": "0000876437-20-000007",
      "filed": "2020-02-24",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 16066000.0,
        "cash": 99851000.0,
        "dividends_paid": 0.0,
        "eps_diluted": 0.95,
        "free_cash_flow": 390591000.0,
        "net_income": 355761000.0,
        "operating_cash_flow": 406657000.0,
        "revenue": 1066054000.0,
        "stockholders_equity": 3154526000.0,
        "total_assets": 5619499000.0,
        "total_liabilities": 2464973000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.7814083637288137,
        "net_margin": 0.33371761655600934,
        "payout_ratio": 0.0,
        "revenue_growth_yoy": 0.0033609949523898267,
        "roa_avg2y": 0.0626669231395237,
        "roa_period_end": 0.06330831271613359,
        "roe_avg2y": 0.1247547063419369,
        "roe_period_end": 0.1127779577660796
      }
    },
    {
      "accn": "0000876437-19-000006",
      "filed": "2019-02-22",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 147127000.0,
        "capex": 10552000.0,
        "cash": 155410000.0,
        "eps_diluted": 0.86,
        "free_cash_flow": 214208000.0,
        "net_income": 342517000.0,
        "operating_cash_flow": 224760000.0,
        "revenue": 1062483000.0,
        "stockholders_equity": 2548842000.0,
        "total_assets": 5734529000.0,
        "total_liabilities": 3185687000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.2498566015468986,
        "net_margin": 0.3223740991620572,
        "roa_period_end": 0.059728880959534776,
        "roe_period_end": 0.13438141712981816
      }
    },
    {
      "accn": "0001140361-11-013074",
      "filed": "2011-03-01",
      "fiscal_year": 2010,
      "form": "10-K",
      "fundamental_units": {
        "dividends_paid": "USD"
      },
      "fundamentals": {
        "dividends_paid": 0.0
      },
      "period_end": "2010-12-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0000876437-26-000010",
    "filed": "2026-02-25",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "6351",
  "sic_description": "Surety Insurance",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000876437.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000876437.json"
  },
  "ticker": "MTG"
}
