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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2007-09-06</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001352282</rptOwnerCik>
            <rptOwnerName>Kelley Vincent J</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>Senior Vice President</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable></nonDerivativeTable>

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

    <footnotes>
        <footnote id="F2">Not Applicable</footnote>
        <footnote id="F1">Conversion rate is 1 for 1.</footnote>
        <footnote id="F3">This Form 4 is being filed to report the grant of a special one-time retention-based common stock units awarded in 2007 pursuant to the Sunoco, Inc. Long-Term Performance Enhancement Plan II (&quot;LTPEP II&quot;) in a transaction exempt under Rule 16b-3.  Payout of these common stock units is contingent upon the continued employment of the respective recipient with the Company through each date of vesting from September 6, 2010 through September 6, 2012.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>John J. DiRocco, Jr., Attorney-in-fact for Vincent J. Kelley</signatureName>
        <signatureDate>2007-09-10</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "doc.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 4441}]
X0202
4
2007-09-06
0000095304
SUNOCO INC
SUN
0001352282
Kelley Vincent J
1735 MARKET STREET
PHILADELPHIA
PA
19103-7583
0
1
0
0
Senior Vice President
Common Stock Unit
2007-09-06
4
A
0
6000
A
Common Stock
6000
12000
D
Not Applicable
Conversion rate is 1 for 1.
This Form 4 is being filed to report the grant of a special one-time retention-based common stock units awarded in 2007 pursuant to the Sunoco, Inc. Long-Term Performance Enhancement Plan II ("LTPEP II") in a transaction exempt under Rule 16b-3.  Payout of these common stock units is contingent upon the continued employment of the respective recipient with the Company through each date of vesting from September 6, 2010 through September 6, 2012.
John J. DiRocco, Jr., Attorney-in-fact for Vincent J. Kelley
2007-09-10