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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2005-01-03</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001166570</rptOwnerCik>
            <rptOwnerName>JACOBS DR DONALD P</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O TEREX CORORATION</rptOwnerStreet1>
            <rptOwnerStreet2>500 POST ROAD EAST, SUITE 320</rptOwnerStreet2>
            <rptOwnerCity>WESTPORT</rptOwnerCity>
            <rptOwnerState>CT</rptOwnerState>
            <rptOwnerZipCode>06880</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $.01</value>
            </securityTitle>
            <transactionDate>
                <value>2005-01-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>105</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>47.65</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>21202</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $.01</value>
            </securityTitle>
            <transactionDate>
                <value>2005-01-04</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1638</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>45.78</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>22840</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares purchased through Company Deferred Compensation Plan representing payment of fourth quarter meeting fees.</footnote>
        <footnote id="F2">Represent shares beneficially owned as of January 3, 2004.</footnote>
        <footnote id="F3">Shares purchased through Company Defered Compensation Plan representing payment of annual director retainer and committee retainer fees.</footnote>
        <footnote id="F4">Represent shares beneficially owned as of January 4, 2004.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ DONALD P. JACOBS</signatureName>
        <signatureDate>2005-01-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "edgar.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 5153}]
X0202
4
2005-01-03
0000097216
TEREX CORP
TEX
0001166570
JACOBS DR DONALD P
C/O TEREX CORORATION
500 POST ROAD EAST, SUITE 320
WESTPORT
CT
06880
1
0
0
0
Common Stock, par value $.01
2005-01-03
4
P
0
105
47.65
A
21202
D
Common Stock, par value $.01
2005-01-04
4
P
0
1638
45.78
A
22840
D
Shares purchased through Company Deferred Compensation Plan representing payment of fourth quarter meeting fees.
Represent shares beneficially owned as of January 3, 2004.
Shares purchased through Company Defered Compensation Plan representing payment of annual director retainer and committee retainer fees.
Represent shares beneficially owned as of January 4, 2004.
/s/ DONALD P. JACOBS
2005-01-05