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

    <documentType>4</documentType><periodOfReport>2003-06-26</periodOfReport>
    <issuer>
        <issuerCik>0000054507</issuerCik>
        <issuerName>WESTAR ENERGY INC /KS</issuerName>
        <issuerTradingSymbol>WR</issuerTradingSymbol></issuer><reportingOwner><reportingOwnerId>
            <rptOwnerCik>0001233523</rptOwnerCik>
            <rptOwnerName>KRAUSE ARTHUR B</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>  </rptOwnerStreet1>
            <rptOwnerStreet2>  </rptOwnerStreet2>
            <rptOwnerCity>  </rptOwnerCity>
            <rptOwnerState>  </rptOwnerState>
            <rptOwnerZipCode>  </rptOwnerZipCode>
        </reportingOwnerAddress>
            <reportingOwnerRelationship>
<isDirector>1</isDirector><isOfficer>0</isOfficer><isTenPercentOwner>0</isTenPercentOwner><isOther>0</isOther></reportingOwnerRelationship></reportingOwner><nonDerivativeSecurity><securityTitle><value>Common Stock, Par Value $5.00</value></securityTitle><transactionDate><value>2003-06-26</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>A</transactionCode><equitySwapInvolved>0</equitySwapInvolved><footnoteId id="F1"/></transactionCoding><transactionAmounts><transactionShares><value>581</value></transactionShares><transactionValue><value>0</value><footnoteId id="F1"/></transactionValue><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>581</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></nonDerivativeSecurity><nonDerivativeSecurity><securityTitle><value>Common Stock, Par Value $5.00</value></securityTitle><transactionDate><value>2003-06-26</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>A</transactionCode><equitySwapInvolved>0</equitySwapInvolved><footnoteId id="F2"/></transactionCoding><transactionAmounts><transactionShares><value>600</value></transactionShares><transactionValue><value>0</value><footnoteId id="F2"/></transactionValue><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>1181</value><footnoteId id="F3"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></nonDerivativeSecurity><footnotes><footnote id="F1">Stock Award received as a partial retainer fee.</footnote><footnote id="F2">Restricted share units received as a partial retainer fee.  The units vest ratably by one-third on each anniversary date of the grant date for three years.</footnote><footnote id="F3">Includes 600 restricted share units subject to forfeiture.</footnote></footnotes><ownerSignature><signatureName>Cynthia S. Couch by power of attorney</signatureName><signatureDate>2003-06-27</signatureDate></ownerSignature></ownershipDocument>

