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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2022-03-08</periodOfReport>

    <issuer>
        <issuerCik>0000029534</issuerCik>
        <issuerName>DOLLAR GENERAL CORP</issuerName>
        <issuerTradingSymbol>DG</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001646121</rptOwnerCik>
            <rptOwnerName>Garratt John W</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>100 MISSION RIDGE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>GOODLETTSVILLE</rptOwnerCity>
            <rptOwnerState>TN</rptOwnerState>
            <rptOwnerZipCode>37072</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>EVP &amp; Chief Financial Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2022-03-08</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>12836</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>37643</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Performance share units (&quot;PSUs&quot;) earned from March 20, 2019 &amp; March 16, 2021 grants, as certified by Issuer's Compensation Committee on March 8, 2022. Each PSU represents right to one share of Issuer's common stock. Amount reported includes: (i) 8,637 PSUs earned as a result of Issuer's fiscal years 2019-2021 average adjusted ROIC performance, all of which will become vested &amp; be settled &amp; paid in unrestricted shares of Issuer's common stock on April 1, 2022; and (ii) 4,199 PSUs earned as a result of Issuer's fiscal year 2021 adjusted EBITDA performance, 1,401 of which will become vested &amp; be settled &amp; paid in unrestricted shares of Issuer's common stock on April 1, 2022, &amp; remainder of which is subject to time-vesting requirements (1,399 on each of April 1, 2023 and April 1, 2024) &amp; certain forfeiture &amp; accelerated vesting provisions.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ John Garratt</signatureName>
        <signatureDate>2022-03-10</signatureDate>
    </ownerSignature>
</ownershipDocument>
