<SEC-DOCUMENT>0001562180-23-001745.txt : 20230223
<SEC-HEADER>0001562180-23-001745.hdr.sgml : 20230223
<ACCEPTANCE-DATETIME>20230223145007
ACCESSION NUMBER:		0001562180-23-001745
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		2
CONFORMED PERIOD OF REPORT:	20230222
FILED AS OF DATE:		20230223
DATE AS OF CHANGE:		20230223

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			Candelmo Robert J
		CENTRAL INDEX KEY:			0001769397

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

	MAIL ADDRESS:	
		STREET 1:		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-22</periodOfReport>

    <notSubjectToSection16>false</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001769397</rptOwnerCik>
            <rptOwnerName>Candelmo Robert J</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>SVP-CIO of Mort Gty Ins Corp</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-02-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>4846.00</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>159942.00</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-02-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>5862.00</value>
                    <footnoteId id="F4"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>165804.00</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares of Issuer common stock to be issued under a restricted stock unit award granted to the Reporting Person on February 4, 2022.  The award is subject to performance-vesting restrictions based on growth in adjusted book value per share. Performance with respect to the shares reported in Column 4 has been approved by the appropriate committee of  Issuer's Board.  Provided continued employment, the shares will be issued to the Reporting Person on February 28, 2023.</footnote>
        <footnote id="F2">These RSUs were awarded to the reporting person pursuant to the Issuer's 2020 Omnibus Incentive Plan and no price was paid by the reporting person for them.</footnote>
        <footnote id="F3">Of these shares, 69,201 shares are held jointly with his spouse.</footnote>
        <footnote id="F4">Represents shares of Issuer common stock to be issued under a restricted stock unit award granted to the Reporting Person on March 1, 2021.  The award is subject to performance-vesting restrictions based on growth in adjusted book value per share. Performance with respect to the shares reported in Column 4 has been approved by the appropriate committee of  Issuer's Board.  Provided continued employment, the shares will be issued to the Reporting Person on March 10, 2023.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Leslie A. Schunk, Attorney-in-Fact</signatureName>
        <signatureDate>2023-02-23</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-24
<SEQUENCE>2
<FILENAME>bcandelmopoa102021.txt
<DESCRIPTION>POWER OF ATTORNEY
<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/27/2021______________

Signature:		Robert J. Candelmo

Please print or type name:       	Robert J. Candelmo
ACKNOWLEDGMENT
STATE OF WISCONSIN	)
				)
COUNTY OF MILWAUKEE	)

Before me, a Notary Public in and for the State of Wisconsin, on this
day personally appeared
Robert J. Candelmo, 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   27th  day of October,
2021.
	(SEAL)					By:	Patricia A. Fitchett
							Notary Public, State of Wisconsin
						Print Name:	Patricia A. Fitchett
					My commission expires: 	October 03, 2025

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