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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2006-06-30</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001107623</rptOwnerCik>
            <rptOwnerName>ANDERSEN G CHRIS</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O TEREX CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>500 POST ROAD EAST, SUITE 320</rptOwnerStreet2>
            <rptOwnerCity>WESPORT</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>2006-06-30</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>20000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>97.68</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>115281</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>2006-07-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>25</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>98.70</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>115306</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Call Option (Obligation to Sell)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>110.00</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2006-06-30</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>160</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>17.9062</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2006-06-30</value>
            </exerciseDate>
            <expirationDate>
                <value>2008-01-18</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock, par value $.01</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>16000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>160</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Represents average sale price.  Shares sold at various prices ranging from $96.75 to $98.70.</footnote>
        <footnote id="F2">Represents shares beneficially owned as of June 30, 2006.</footnote>
        <footnote id="F3">Shares purchased through Company Deferred Compensation Plan representing payment of second quarter meeting fees.</footnote>
        <footnote id="F4">Represents shares beneficially owned as of July 3, 2006.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ G. Chris Andersen</signatureName>
        <signatureDate>2006-07-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "edgar.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 7299}]
X0202
4
2006-06-30
0000097216
TEREX CORP
TEX
0001107623
ANDERSEN G CHRIS
C/O TEREX CORPORATION
500 POST ROAD EAST, SUITE 320
WESPORT
CT
06880
1
0
0
0
Common Stock, par value $.01
2006-06-30
4
S
0
20000
97.68
D
115281
D
Common Stock, par value $.01
2006-07-03
4
P
0
25
98.70
A
115306
D
Call Option (Obligation to Sell)
110.00
2006-06-30
4
S
0
160
17.9062
D
2006-06-30
2008-01-18
Common Stock, par value $.01
16000
160
D
Represents average sale price.  Shares sold at various prices ranging from $96.75 to $98.70.
Represents shares beneficially owned as of June 30, 2006.
Shares purchased through Company Deferred Compensation Plan representing payment of second quarter meeting fees.
Represents shares beneficially owned as of July 3, 2006.
/s/ G. Chris Andersen
2006-07-05