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

    <documentType>4</documentType><periodOfReport>2003-09-30</periodOfReport>
    <issuer>
        <issuerCik>0001109357</issuerCik>
        <issuerName>EXELON CORP</issuerName>
        <issuerTradingSymbol>EXC</issuerTradingSymbol></issuer><reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001194017</rptOwnerCik>
            <rptOwnerName>GIN SUE L</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>10 SOUTH DEARBORN STREET</rptOwnerStreet1>
            <rptOwnerStreet2>37TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>CHICAGO</rptOwnerCity>
            <rptOwnerState>IL</rptOwnerState>
            <rptOwnerZipCode>60603</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 (Deferred Stock Units)</value></securityTitle><transactionDate><value>2003-09-30</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>A</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>208</value></transactionShares><transactionPricePerShare><value>60.14</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>2808</value><footnoteId id="F1"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>By Exelon Directors' Deferred Stock Unit Plan</value></natureOfOwnership></ownershipNature></nonDerivativeTransaction><nonDerivativeHolding><securityTitle><value>Common Stock (Deferred Stock Units)</value></securityTitle><postTransactionAmounts><sharesOwnedFollowingTransaction><value>1265</value><footnoteId id="F2"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>By Unicom Directors' Retirement Plan</value></natureOfOwnership></ownershipNature></nonDerivativeHolding><nonDerivativeHolding><securityTitle><value>Common Stock</value></securityTitle><postTransactionAmounts><sharesOwnedFollowingTransaction><value>12541</value><footnoteId id="F3"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></nonDerivativeHolding></nonDerivativeTable><derivativeTable><derivativeTransaction><securityTitle><value>Deferred Compensation - Phantom Shares</value></securityTitle><conversionOrExercisePrice><footnoteId id="F4"/></conversionOrExercisePrice><transactionDate><value>2003-09-30</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>A</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>160</value></transactionShares><transactionPricePerShare><value>63.50</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><exerciseDate><footnoteId id="F4"/></exerciseDate><expirationDate><footnoteId id="F4"/></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>160</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>1896</value><footnoteId id="F4"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></derivativeTransaction></derivativeTable><footnotes><footnote id="F1">Balance also includes 21 shares acquired on 09/10/2003 through the automatic dividend reinvestment feature of Exelon plans.</footnote><footnote id="F2">Balance also includes 10 shares acquired on 09/10/2003 through the automatic dividend reinvestment feature of Exelon plans.</footnote><footnote id="F3">Balance also includes 78 shares acquired on 09/10/2003 through the automatic dividend reinvestment feature of Exelon plans.</footnote><footnote id="F4">Phantom shares held in a multi-fund deferred compensation account to be settled for cash on a 1:1 basis upon the reporting person's termination of employment for any reason.  Shares are acquired through regular periodic contributions and the reinvestment of dividend equivalents.  Balance includes 14 shares acquired on 09/10/2003 through the automatic dividend reinvestment feature of Exelon plans.</footnote></footnotes><remarks/><ownerSignature><signatureName>Scott N. Peters, Attorney in Fact for Sue L. Gin</signatureName><signatureDate>2003-10-02</signatureDate></ownerSignature></ownershipDocument>

