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

    <documentType>5</documentType><periodOfReport>2003-06-30</periodOfReport>
    <form3HoldingsReported>0</form3HoldingsReported>

    <form4TransactionsReported>0</form4TransactionsReported>

    <issuer>
        <issuerCik>0000002135</issuerCik>
        <issuerName>AFFILIATED COMPUTER SERVICES INC</issuerName>
        <issuerTradingSymbol>ACS</issuerTradingSymbol></issuer><reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001201537</rptOwnerCik>
            <rptOwnerName>DECKELMAN WILLIAM L JR</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>2828 N. HASKELL AVE.</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>DALLAS</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>75204</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
            <reportingOwnerRelationship>
<isDirector>1</isDirector><isOfficer>1</isOfficer><isTenPercentOwner>0</isTenPercentOwner><isOther>0</isOther><officerTitle>Executive Vice President</officerTitle></reportingOwnerRelationship></reportingOwner><nonDerivativeTable><nonDerivativeTransaction><securityTitle><value>Class A Common Stock $0.01 par value</value></securityTitle><transactionDate><value>2003-06-30</value></transactionDate><transactionCoding><transactionFormType>5</transactionFormType><transactionCode>I</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>1360</value></transactionShares><transactionPricePerShare><value>0</value><footnoteId id="F1"/></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>1360</value><footnoteId id="F2"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>401k Plan</value></natureOfOwnership></ownershipNature></nonDerivativeTransaction></nonDerivativeTable><footnotes><footnote id="F1">Between November 2002 and June 2003, the reporting person acquired 1,360 shares of Affiliated Computer Services, Inc. Class A Common Stock, par value $0.01 under the Affliated Computer Services, Inc. 401k Plan at purchase prices ranging from $41.70 to $56.17 per share.</footnote><footnote id="F2">Adjusted for changes in value of units held in Plan.</footnote></footnotes><remarks/><ownerSignature><signatureName>William L. Deckelman, Jr.</signatureName><signatureDate>2003-08-11</signatureDate></ownerSignature></ownershipDocument>

