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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2006-06-01</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001140109</rptOwnerCik>
            <rptOwnerName>DEFEO RONALD M</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>TEREX CORPORATION</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>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Chairman, President &amp; CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $.01</value>
            </securityTitle>
            <transactionDate>
                <value>2006-06-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>100000</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>433738</value>
                </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-06-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>60000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>25.375</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>493738</value>
                </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-06-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>60000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>91.95</value>
                    <footnoteId id="F3"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>433738</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-06-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>I</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>0</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3538</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>401(k) plan</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Employee Stock Option Right to Buy</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>25.375</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2006-06-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>60000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2002-02-24</value>
            </exerciseDate>
            <expirationDate>
                <value>2006-06-30</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock, par value $.01</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>60000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Shares granted pursuant to one of the Company's long-term incentive plans with the award vesting as follows: (i) 10,000 shares will vest on June 13, 2006 because the Company exceeded certain pre-determined financial targets for 2005; (ii) 10,000 shares will vest on March 31, 2007 if the Company equals or exceeds certain pre-determined financial targets for 2006; (iii) 10,000 shares will vest on March 31, 2008 if the Company equals or exceeds certain pre-determined financial targets for 2007; (iv) 35,000 shares will vest on March 31, 2009 if the Company equals or exceeds certain pre-determined financial targets for 2005-2008 and (v) 35,000 shares will vest on March 31, 2009 if the Company equals or exceeds certain other pre-determined financial targets for 2006-2008.</footnote>
        <footnote id="F2">Represents shares beneficially owned as of June 1, 2006.</footnote>
        <footnote id="F3">Represents average sale price.  Shares sold at various prices ranging from $91.20 to $92.48.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Ronald M. DeFeo</signatureName>
        <signatureDate>2006-06-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "edgar.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 10910}]
X0202
4
2006-06-01
0000097216
TEREX CORP
TEX
0001140109
DEFEO RONALD M
TEREX CORPORATION
500 POST ROAD EAST, SUITE 320
WESTPORT
CT
06880
1
1
0
0
Chairman, President & CEO
Common Stock, par value $.01
2006-06-01
4
A
0
100000
0
A
433738
D
Common Stock, par value $.01
2006-06-01
4
M
0
60000
25.375
A
493738
D
Common Stock, par value $.01
2006-06-01
4
S
0
60000
91.95
D
433738
D
Common Stock, par value $.01
2006-06-01
5
I
0
0
0
A
3538
I
401(k) plan
Employee Stock Option Right to Buy
25.375
2006-06-01
4
M
0
60000
0
D
2002-02-24
2006-06-30
Common Stock, par value $.01
60000
0
D
Shares granted pursuant to one of the Company's long-term incentive plans with the award vesting as follows: (i) 10,000 shares will vest on June 13, 2006 because the Company exceeded certain pre-determined financial targets for 2005; (ii) 10,000 shares will vest on March 31, 2007 if the Company equals or exceeds certain pre-determined financial targets for 2006; (iii) 10,000 shares will vest on March 31, 2008 if the Company equals or exceeds certain pre-determined financial targets for 2007; (iv) 35,000 shares will vest on March 31, 2009 if the Company equals or exceeds certain pre-determined financial targets for 2005-2008 and (v) 35,000 shares will vest on March 31, 2009 if the Company equals or exceeds certain other pre-determined financial targets for 2006-2008.
Represents shares beneficially owned as of June 1, 2006.
Represents average sale price.  Shares sold at various prices ranging from $91.20 to $92.48.
/s/ Ronald M. DeFeo
2006-06-05