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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2006-02-06</periodOfReport>

    <issuer>
        <issuerCik>0000095304</issuerCik>
        <issuerName>SUNOCO INC</issuerName>
        <issuerTradingSymbol>SUN</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001174598</rptOwnerCik>
            <rptOwnerName>KROTT JOSEPH P</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1735 MARKET STREET</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>PHILADELPHIA</rptOwnerCity>
            <rptOwnerState>PA</rptOwnerState>
            <rptOwnerZipCode>19103-7583</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Comptroller</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Common Stock Unit</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2006-02-06</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>2600</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>79.19</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>0</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F3">Not Applicable</footnote>
        <footnote id="F1">Conversion rate is 1 for 1.</footnote>
        <footnote id="F2">Settlement in transaction exempt under Rule 16b-3 of common stock units granted on December 4, 2002 under the Sunoco, Inc. Long-Term Performance Enhancement Plan II (&quot;LTPEP II&quot;).  Payout in cash of these common stock units was at 200 percent of original grant, and these common stock units provided for vesting upon issuer's common stock achieving a pre-determined market price per share.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>John J. DiRocco, Jr., Attorney-in-fact for Joseph P. Krott</signatureName>
        <signatureDate>2006-02-08</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "doc.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 4354}]
X0202
4
2006-02-06
0000095304
SUNOCO INC
SUN
0001174598
KROTT JOSEPH P
1735 MARKET STREET
PHILADELPHIA
PA
19103-7583
0
1
0
0
Comptroller
Common Stock Unit
2006-02-06
4
D
0
2600
79.19
D
Common Stock
0
0
D
Not Applicable
Conversion rate is 1 for 1.
Settlement in transaction exempt under Rule 16b-3 of common stock units granted on December 4, 2002 under the Sunoco, Inc. Long-Term Performance Enhancement Plan II ("LTPEP II").  Payout in cash of these common stock units was at 200 percent of original grant, and these common stock units provided for vesting upon issuer's common stock achieving a pre-determined market price per share.
John J. DiRocco, Jr., Attorney-in-fact for Joseph P. Krott
2006-02-08