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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2005-02-07</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001174595</rptOwnerCik>
            <rptOwnerName>DROSDICK JOHN G</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>Dir., Chairman/CEO/President</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2005-02-07</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>125000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>30.15</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>388000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2005-02-07</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>74051</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>92.75</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>313949</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2005-02-07</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>25474</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>91.11</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>288475</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Stock Options (Right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>30.15</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2005-02-07</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>125000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2004-12-04</value>
            </exerciseDate>
            <expirationDate>
                <value>2012-12-04</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>125000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>Common Stock Unit</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>0</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2005-02-07</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>25000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>81.9</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>25000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>50000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Exercise, via stock swap, of 125,000 stock options granted in 2002 at an option price of $30.15 in compliance with Rule 16(b)3 under the Sunoco, Inc. Long Term Performance Enhancement Plan II (&quot;LTPEPII&quot;) for net of 50,949 shares of Sunoco, Inc. common stock issued to reporting person (40,633 shares swapped to pay option price, and 33,418 shares used for tax withholding obligation).</footnote>
        <footnote id="F2">Settlement in transaction exempt under Rule 16(b)3 of common stock units granted on December 5, 2001 under the Sunoco, Inc. Long Term Performance Enhancement Plan (&quot;LTPEP&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>/s/ Louisa K. Cresson, Attorney-in-fact for</signatureName>
        <signatureDate>2005-02-08</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "c0001174595d20050208f4f.xml", "description": "PRIMARY DOCUMENT", "secsgml_size_bytes": 11355}]
X0202
4
2005-02-07
0
0000095304
SUNOCO INC
SUN
0001174595
DROSDICK JOHN G
1801 MARKET STREET
PHILADELPHIA
PA
19103-1699
0
1
0
0
Dir., Chairman/CEO/President
Common Stock
2005-02-07
4
M
0
125000
30.15
A
388000
D
Common Stock
2005-02-07
4
F
0
74051
92.75
D
313949
D
Common Stock
2005-02-07
4
S
0
25474
91.11
D
288475
D
Stock Options (Right to buy)
30.15
2005-02-07
4
M
0
125000
0
D
2004-12-04
2012-12-04
Common Stock
125000
0
D
Common Stock Unit
0
2005-02-07
4
D
0
25000
81.9
D
1988-08-08
1988-08-08
Common Stock
25000
50000
D
Exercise, via stock swap, of 125,000 stock options granted in 2002 at an option price of $30.15 in compliance with Rule 16(b)3 under the Sunoco, Inc. Long Term Performance Enhancement Plan II ("LTPEPII") for net of 50,949 shares of Sunoco, Inc. common stock issued to reporting person (40,633 shares swapped to pay option price, and 33,418 shares used for tax withholding obligation).
Settlement in transaction exempt under Rule 16(b)3 of common stock units granted on December 5, 2001 under the Sunoco, Inc. Long Term Performance Enhancement Plan ("LTPEP").  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.
/s/ Louisa K. Cresson, Attorney-in-fact for
2005-02-08