<?xml version="1.0"?>
<ownershipDocument>
    <schemaVersion>X0101</schemaVersion>

    <documentType>4</documentType><periodOfReport>2003-07-08</periodOfReport>
    <issuer>
        <issuerCik>0001023291</issuerCik>
        <issuerName>TXU CORP /TX/</issuerName>
        <issuerTradingSymbol>TXU</issuerTradingSymbol></issuer><reportingOwner><reportingOwnerId>
            <rptOwnerCik>0001217838</rptOwnerCik>
            <rptOwnerName>MCNALLY MICHAEL J</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>  </rptOwnerStreet1>
            <rptOwnerStreet2>  </rptOwnerStreet2>
            <rptOwnerCity>  </rptOwnerCity>
            <rptOwnerState>  </rptOwnerState>
            <rptOwnerZipCode>  </rptOwnerZipCode>
        </reportingOwnerAddress>
            <reportingOwnerRelationship>
<isDirector>0</isDirector><isOfficer>1</isOfficer><isTenPercentOwner>0</isTenPercentOwner><isOther>0</isOther><officerTitle>Executive Vice President</officerTitle></reportingOwnerRelationship></reportingOwner><derivativeSecurity><securityTitle><value>Common Stock Units</value><footnoteId id="F1"/></securityTitle><conversionOrExercisePrice><value>0</value><footnoteId id="F2"/></conversionOrExercisePrice><transactionDate><value>2003-07-08</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>D</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>9617</value><footnoteId id="F3"/></transactionShares><transactionValue><value>21.657</value></transactionValue><transactionAcquiredDisposedCode><value>D</value></transactionAcquiredDisposedCode></transactionAmounts><exerciseDate><value>1988-08-08</value><footnoteId id="F4"/></exerciseDate><expirationDate><value>1988-08-08</value><footnoteId id="F4"/></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>9617</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>36861</value><footnoteId id="F5"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>By Trustee</value></natureOfOwnership></ownershipNature></derivativeSecurity><footnotes><footnote id="F1">Represents derivative securities, exercisable only in cash, pursuant to the terms of the TXU Deferred and Incentive Compensation Plan (DICP).</footnote><footnote id="F2">One-for-one, exercisable only in cash.</footnote><footnote id="F3">Units reported as disposed of represent the maturity of derivative securities pursuant to the terms of the DICP.</footnote><footnote id="F4">In accordance with the terms of the DICP, three or five years from the beginning of the plan year.</footnote><footnote id="F5">Also beneficially holds shares of TXU common stock as follows:  166,978 held directly; 6,024 acquired indirectly under the TXU Thrift Plan; and 3,494 held indirectly by self for children.</footnote></footnotes><ownerSignature><signatureName>Michael J. McNally by Peter B. Tinkham, Attorney-in-fact</signatureName><signatureDate>2003-07-10</signatureDate></ownerSignature></ownershipDocument>

