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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2022-08-17</periodOfReport>

    <notSubjectToSection16>1</notSubjectToSection16>

    <issuer>
        <issuerCik>0000867773</issuerCik>
        <issuerName>SUNPOWER CORP</issuerName>
        <issuerTradingSymbol>SPWR</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001802735</rptOwnerCik>
            <rptOwnerName>Total Gaz Electricite Holdings France SAS</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>2, PLACE JEAN MILLIER</rptOwnerStreet1>
            <rptOwnerStreet2>LA DEFENSE 6</rptOwnerStreet2>
            <rptOwnerCity>COURBEVOIE</rptOwnerCity>
            <rptOwnerState>I0</rptOwnerState>
            <rptOwnerZipCode>92400</rptOwnerZipCode>
            <rptOwnerStateDescription>FRANCE</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001502077</rptOwnerCik>
            <rptOwnerName>TotalEnergies Solar Intl SAS</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>2, PLACE JEAN MILLIER</rptOwnerStreet1>
            <rptOwnerStreet2>LA DEFENSE 6</rptOwnerStreet2>
            <rptOwnerCity>COURBEVOIE</rptOwnerCity>
            <rptOwnerState>I0</rptOwnerState>
            <rptOwnerZipCode>92400</rptOwnerZipCode>
            <rptOwnerStateDescription>FRANCE</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2022-08-17</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>43977729</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>18.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>43977727</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2022-08-17</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>43977727</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>18.00</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">In connection with an internal reorganization, TotalEnergies Solar Intl SAS transferred 43,977,729 shares of the Issuer's Common Stock to TotalEnergies Gestion USA SARL, a direct wholly owned subsidiary of TotalEnergies SE, in exchange for aggregate consideration of $791,599,122.</footnote>
        <footnote id="F2">Following the transfer to TotalEnergies Gestion USA SARL, TotalEnergies Solar Intl SAS and TotalEnergies Gaz Electricite Holdings France SAS transferred their remaining shares of the Issuer's Common Stock to a newly formed limited liability company in exchange for a noncontrolling, minority interest in such company.</footnote>
        <footnote id="F3">TotalEnergies Solar Intl SAS is a direct wholly owned subsidiary of TotalEnergies Gaz Electricite Holdings France SAS, which is an indirect wholly owned subsidiary of TotalEnergies SE. Following the transactions reported herein, neither TotalEnergies Solar Intl SAS nor TotalEnergies Gaz Electricite Holdings France SAS beneficially own any shares of the Issuer's common stock. TotalEnergies SE may continue to be deemed to indirectly beneficially own the same number of shares of the Issuer's common stock as it did immediately prior to the transactions reported herein.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>TOTALENERGIES GAZ &amp; ELECTRICITE HOLDINGS FRANCE SAS By: /s/ Noemie Malige Name: Noemie Malige Title: Managing Director</signatureName>
        <signatureDate>2022-08-17</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>TOTALENERGIES SOLAR INTL SAS By: /s/ Vincent Stoquat Name: Vincent Stoquat Title: President</signatureName>
        <signatureDate>2022-08-17</signatureDate>
    </ownerSignature>
</ownershipDocument>
