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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2004-02-01</periodOfReport>

    <issuer>
        <issuerCik>0000097216</issuerCik>
        <issuerName>TEREX CORP</issuerName>
        <issuerTradingSymbol>TEX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001277390</rptOwnerCik>
            <rptOwnerName>NICHOLS RICK</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O TEREX CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>500 POST ROAD EAST, SUITE 320</rptOwnerStreet2>
            <rptOwnerCity>WESTPORT</rptOwnerCity>
            <rptOwnerState>CT</rptOwnerState>
            <rptOwnerZipCode>06851</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Tex Mtrls. Process &amp; Mining</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $.01</value>
            </securityTitle>
            <transactionDate>
                <value>2004-02-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>7500</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12761</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Employee Stock Option (right to buy)</value>
                <footnoteId id="F3"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>29.98</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2004-02-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2005-02-01</value>
            </exerciseDate>
            <expirationDate>
                <value>2014-02-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock, par value $.01</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>5000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>5000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Granted pursuant to one of the Company's long term incentive plans with the shares vesting in equal portions over a four-year period beginning on February 1, 2005.</footnote>
        <footnote id="F2">Represent shares beneficially owned as of February 1, 2004.</footnote>
        <footnote id="F3">Options awarded pursuant to one of the Company's long term incentive plans with the awards vesting in equal portions over a four-year period beginning February 1, 2005.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Rick Nichols</signatureName>
        <signatureDate>2004-11-15</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "edgar.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 5854}]
X0202
4
2004-02-01
0000097216
TEREX CORP
TEX
0001277390
NICHOLS RICK
C/O TEREX CORPORATION
500 POST ROAD EAST, SUITE 320
WESTPORT
CT
06851
0
1
0
0
Tex Mtrls. Process & Mining
Common Stock, par value $.01
2004-02-01
4
A
0
7500
0
A
12761
D
Employee Stock Option (right to buy)
29.98
2004-02-01
4
A
0
5000
0
A
2005-02-01
2014-02-01
Common Stock, par value $.01
5000
5000
D
Granted pursuant to one of the Company's long term incentive plans with the shares vesting in equal portions over a four-year period beginning on February 1, 2005.
Represent shares beneficially owned as of February 1, 2004.
Options awarded pursuant to one of the Company's long term incentive plans with the awards vesting in equal portions over a four-year period beginning February 1, 2005.
Rick Nichols
2004-11-15