<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2007-03-01</periodOfReport>

    <issuer>
        <issuerCik>0001027443</issuerCik>
        <issuerName>MACROVISION CORP</issuerName>
        <issuerTradingSymbol>MVSN</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001200483</rptOwnerCik>
            <rptOwnerName>AMOROSO ALFRED J</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O MACROVISION CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>2830 DE LA CRUZ BLVD</rptOwnerStreet2>
            <rptOwnerCity>SANTA CLARA</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>95050</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>President and CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2007-03-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>125000</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>.001</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>253372</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>49000</value>
                    <footnoteId id="F5"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Amoroso Family Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Restricted Stock Award pursuant to the Macrovision 2000 Equity Incentive Plan subject to vesting as follows: twenty-five percent (25%) of the Restricted Stock Award shall vest annually on each anniversary of the grant date (and shall be fully vested on the fourth anniversary of the grant date), subject to continued employment by the Company or one of its subsidiaries through the applicable vesting date.</footnote>
        <footnote id="F2">Includes 1,117 shares purchased 1/31/07 pursuant to the Macrovision 1996 Employee Stock Purchase Plan</footnote>
        <footnote id="F3">Includes 1,139 shares purchased 1/31/06 pursuant to the Macrovision 1996 Employee Stock Purchase Plan</footnote>
        <footnote id="F4">Includes 1,116 shares purchased 7/31/06 pursuant to the Macrovision 1996 Employee Stock Purchase Plan</footnote>
        <footnote id="F5">Fred and his wife, Regina, are co-trustees of the Amoroso Family Trust.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Bonnie J. Bigelow                                                               Attorney-in-Fact for Alfred J. Amoroso</signatureName>
        <signatureDate>2007-03-02</signatureDate>
    </ownerSignature>
</ownershipDocument>
