<SEC-DOCUMENT>0001562180-23-002031.txt : 20230301
<SEC-HEADER>0001562180-23-002031.hdr.sgml : 20230301
<ACCEPTANCE-DATETIME>20230301124251
ACCESSION NUMBER:		0001562180-23-002031
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		2
CONFORMED PERIOD OF REPORT:	20230228
FILED AS OF DATE:		20230301
DATE AS OF CHANGE:		20230301

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			Colson Nathaniel H
		CENTRAL INDEX KEY:			0001783337

	FILING VALUES:
		FORM TYPE:		4
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-10816
		FILM NUMBER:		23692021

	MAIL ADDRESS:	
		STREET 1:		C/O MGIC INVESTMENT CORPORATION
		STREET 2:		250 EAST KILBOURN AVENUE
		CITY:			MILWAUKEE
		STATE:			WI
		ZIP:			53202

ISSUER:		

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			MGIC INVESTMENT CORP
		CENTRAL INDEX KEY:			0000876437
		STANDARD INDUSTRIAL CLASSIFICATION:	SURETY INSURANCE [6351]
		IRS NUMBER:				391486475
		STATE OF INCORPORATION:			WI
		FISCAL YEAR END:			1231

	BUSINESS ADDRESS:	
		STREET 1:		250 EAST KILBOURN AVENUE
		CITY:			MILWAUKEE
		STATE:			WI
		ZIP:			53202
		BUSINESS PHONE:		4143476480

	MAIL ADDRESS:	
		STREET 1:		250 EAST KILBOURN AVENUE
		CITY:			MILWAUKEE
		STATE:			WI
		ZIP:			53202
</SEC-HEADER>
<DOCUMENT>
<TYPE>4
<SEQUENCE>1
<FILENAME>primarydocument.xml
<DESCRIPTION>PRIMARY DOCUMENT
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-02-28</periodOfReport>

    <notSubjectToSection16>false</notSubjectToSection16>

    <issuer>
        <issuerCik>0000876437</issuerCik>
        <issuerName>MGIC INVESTMENT CORP</issuerName>
        <issuerTradingSymbol>MTG</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001783337</rptOwnerCik>
            <rptOwnerName>Colson Nathaniel H</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>250 EAST KILBOURN AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>MILWAUKEE</rptOwnerCity>
            <rptOwnerState>WI</rptOwnerState>
            <rptOwnerZipCode>53202</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>Executive Vice President &amp; CFO</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-02-28</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>35837.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>13.78</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>91255.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-02-28</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>31752.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>59503.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Represents the forfeiture of performance-based restricted stock units granted to the Reporting Person on January 27, 2020 that were eligible to vest upon percentage achievement of a pre-established performance goal. Based on the Company's performance over the applicable performance period, a portion of the grant has been forfeited.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Leslie A. Schunk, Attorney-in-Fact</signatureName>
        <signatureDate>2023-03-01</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-24
<SEQUENCE>2
<FILENAME>ncolsonpoa.txt
<DESCRIPTION>2021 COLSON SIGNED POA
<TEXT>
Limited Power of Attorney
KNOW ALL BY THESE PRESENTS, that the undersigned is required, or may
be required in the future, to file reports of changes in beneficial
ownership of equity securities of MGIC Investment Corporation (the
"Company").
To facilitate the filing of these reports, the undersigned hereby
appoints each of Timothy A. Chrapko, Shelby E. Heinrich, Heidi A.
Heyrman, Paula C. Maggio, Brian M. Remington, Leslie A. Schunk, and
Martha F. Tsuchihashi as the undersigned's attorney-in-fact and agent
to (i) apply on behalf of the undersigned for access codes (if
necessary) for the EDGAR System, and (ii) sign on behalf of the
undersigned and file any Form 3, Form 4, or Form 5 for the
undersigned with the Securities and Exchange Commission or any
securities exchange.
Each of the persons authorized to act as such attorney-in-fact and
agent above may do so separately without the concurrence of the other
persons. The authority granted hereunder is granted to the person
occupying the position specified at the time such authority is
exercised.
Dated:  10/26/2021
Please print or type name:  Nathaniel H. Colson
ACKNOWLEDGMENT
STATE OF WISCONSIN
COUNTY OF MILWAUKEE
Before me, a Notary Public in and for the State of Wisconsin, on this
day personally appeared
      Nathaniel H. Colson 	, known to me to be the person whose
name is subscribed to the foregoing Limited Power of Attorney, and
acknowledged to me that he/she executed the same for the purposes
and consideration therein expressed.
Given under my hand and official seal this 26th day of October, 2021.
(SEAL)	By:

Notary Public, State of Wisconsin
Print Name:	Patricia A.
Fitchett
PATRICIA A.
FITCHETT
Notary Public
State of Wisconsin


My commission expires: 	October 03,
2025

</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
