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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2004-09-16</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001174594</rptOwnerCik>
            <rptOwnerName>DINGUS MICHAEL H R</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1801 MARKET STREET</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>PHILADELPHIA</rptOwnerCity>
            <rptOwnerState>PA</rptOwnerState>
            <rptOwnerZipCode>19103-1699</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>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>40274.471</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2004-09-16</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>290.376</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>9974.376</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>ESOP Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2004-09-16</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>I</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F3"/>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>4833.591</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>65.91</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>5140.785</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>ESOP Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Phantom Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>0</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2004-09-16</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F4"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>121.555</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>1988-08-08</value>
            </exerciseDate>
            <expirationDate>
                <value>1988-08-08</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>121.984</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3189.555</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>Phantom Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>0</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2004-09-16</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>I</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F5"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3189.555</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>65.91</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>1988-08-08</value>
            </exerciseDate>
            <expirationDate>
                <value>1988-08-08</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3189.555</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Routine, periodic acquisition of share equivalents pursuant to the Sunoco, Inc. Capital Accumulation Plan in transaction exempt under Rule 16(b).  This information is supplied by the Plan Administrator.</footnote>
        <footnote id="F2">Price ranged from $51.92 to $70.04 during 2004 year-to-date.  This information is supplied by the Plan Administrator for the Sunoco, Inc. Capital Accumulation Plan.</footnote>
        <footnote id="F3">Disposition of 4,833.591 share equivalents from the Sunoco, Inc. Common Stock Fund in the Sunoco, Inc. Capital Accumulation Plan, pursuant to discretionary transaction exempt under Rule 16b-3(f).</footnote>
        <footnote id="F4">Routine, periodic acquisition of share equivalents (having no voting rights, and payable only in cash) pursuant to the Sunoco, Inc. Savings Restoration Plan, in transactions exempt under Rule 16b-3.</footnote>
        <footnote id="F5">Disposition of 3,189.555 share equivalents (having no voting rights, and payable only in cash) from the Sunoco, Inc. Savings Restoration Plan, pursuant to discretionary transaction exempt under Rule 16b-3(f).</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ John J. DiRocco, Jr., Attorney-in-fact for</signatureName>
        <signatureDate>2004-09-20</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "c0001174594d20040920f4f.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 11047}]
X0202
4
2004-09-16
0
0000095304
SUNOCO INC
SUN
0001174594
DINGUS MICHAEL H R
1801 MARKET STREET
PHILADELPHIA
PA
19103-1699
0
1
0
0
Senior Vice President
Common Stock
40274.471
D
Common Stock
2004-09-16
4
J
0
290.376
0
A
9974.376
I
ESOP Trust
Common Stock
2004-09-16
4
I
0
4833.591
65.91
D
5140.785
I
ESOP Trust
Phantom Stock
0
2004-09-16
4
J
0
121.555
0
A
1988-08-08
1988-08-08
Common Stock
121.984
3189.555
D
Phantom Stock
0
2004-09-16
4
I
0
3189.555
65.91
D
1988-08-08
1988-08-08
Common Stock
3189.555
0
D
Routine, periodic acquisition of share equivalents pursuant to the Sunoco, Inc. Capital Accumulation Plan in transaction exempt under Rule 16(b).  This information is supplied by the Plan Administrator.
Price ranged from $51.92 to $70.04 during 2004 year-to-date.  This information is supplied by the Plan Administrator for the Sunoco, Inc. Capital Accumulation Plan.
Disposition of 4,833.591 share equivalents from the Sunoco, Inc. Common Stock Fund in the Sunoco, Inc. Capital Accumulation Plan, pursuant to discretionary transaction exempt under Rule 16b-3(f).
Routine, periodic acquisition of share equivalents (having no voting rights, and payable only in cash) pursuant to the Sunoco, Inc. Savings Restoration Plan, in transactions exempt under Rule 16b-3.
Disposition of 3,189.555 share equivalents (having no voting rights, and payable only in cash) from the Sunoco, Inc. Savings Restoration Plan, pursuant to discretionary transaction exempt under Rule 16b-3(f).
/s/ John J. DiRocco, Jr., Attorney-in-fact for
2004-09-20