<SEC-DOCUMENT>0001562180-20-001077.txt : 20200211
<SEC-HEADER>0001562180-20-001077.hdr.sgml : 20200211
<ACCEPTANCE-DATETIME>20200211152653
ACCESSION NUMBER:		0001562180-20-001077
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		2
CONFORMED PERIOD OF REPORT:	20200210
FILED AS OF DATE:		20200211
DATE AS OF CHANGE:		20200211

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			Thompson Steven M.
		CENTRAL INDEX KEY:			0001793595

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

	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>2020-02-10</periodOfReport>

    <notSubjectToSection16>false</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001793595</rptOwnerCik>
            <rptOwnerName>Thompson Steven M.</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>EVP&amp;CRO-Mort Gty Ins Corp</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2020-02-10</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1332.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>14.25</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>147789.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2020-02-10</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1332.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>14.25</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>146457.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes></footnotes>

    <remarks>This Form 4 is being signed by the reporting person's attorney-in-fact pursuant to a previously filed power of attorney.</remarks>

    <ownerSignature>
        <signatureName>Martha F. Tsuchihashi, Attorney-in-Fact</signatureName>
        <signatureDate>2020-02-11</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-24
<SEQUENCE>2
<FILENAME>thompson.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 General Counsel, 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 (if necessary)
for access to the EDGAR System maintained by  the U.S. Securities
and Exchange Commission (the "SEC"), (ii) apply on behalf of
the undersigned for access codes (if necessary) for the EDGAR
System, and (iii) sign and file 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: November 6, 2019


Signature:  (s) Steven M. Thompson

Please print name:  Steven M. Thompson
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
