<SEC-DOCUMENT>0001562180-22-001206.txt : 20220207
<SEC-HEADER>0001562180-22-001206.hdr.sgml : 20220207
<ACCEPTANCE-DATETIME>20220207180030
ACCESSION NUMBER:		0001562180-22-001206
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		2
CONFORMED PERIOD OF REPORT:	20220204
FILED AS OF DATE:		20220207
DATE AS OF CHANGE:		20220207

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:		22598715

	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>2022-02-04</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>2022-02-04</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>30725.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>15.46</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>160336.00</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Of these shares, 43,862 shares are held jointly with his spouse.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Martha F. Tsuchihashi, Attorney-in-Fact</signatureName>
        <signatureDate>2022-02-07</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-24
<SEQUENCE>2
<FILENAME>candelmo.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 person who is the Chief Financial Officer,
the Associate General Counsel, any Assistant General Counsel
the Secretary, or any Assistant Secretary of the Company
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 any Form 3, Form 4,
or Form 5 to be filed by the undersigned with the SEC
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: January 24, 2019



Signature: (S) Robert J. Candelmo

Please print name:  Robert J. Candelmo
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
