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

    <schemaVersion>X0306</schemaVersion>

    <documentType>5</documentType>

    <periodOfReport>2017-12-31</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <form3HoldingsReported>0</form3HoldingsReported>

    <form4TransactionsReported>0</form4TransactionsReported>

    <issuer>
        <issuerCik>0000002230</issuerCik>
        <issuerName>ADAMS DIVERSIFIED EQUITY FUND, INC.</issuerName>
        <issuerTradingSymbol>ADX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001202952</rptOwnerCik>
            <rptOwnerName>HOOPER LAWRENCE L JR</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>500 EAST PRATT STREET</rptOwnerStreet1>
            <rptOwnerStreet2>STE 1300</rptOwnerStreet2>
            <rptOwnerCity>BALTIMORE</rptOwnerCity>
            <rptOwnerState>MD</rptOwnerState>
            <rptOwnerZipCode>21202</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>V.P., Gen'l. Counsel &amp; Sec'y.</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2017-12-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>803.919</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12214.47</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2017-12-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>2906.953</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>33731.693</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By Issuer's Thrift Plan Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">These shares were acquired in exempt transactions as a result of dividend reinvestment.  The Issuer's stock traded in a range of $12.78 - $15.90 during 2017.</footnote>
        <footnote id="F2">The undersigned has included in prior filings 165.0780 shares held in custodial accounts with his child.  These shares are now held solely by the undersigned's child and are no longer included in this number.</footnote>
        <footnote id="F3">These shares are held by the Issuer's Thrift Plan Trust and represent the undersigned's proportionate beneficial interest in the shares that were acquired by the Trust in 2017 in exempt transactions as a result of periodic contributions made during 2017 and shares acquired by the Trustee through dividend reinvestment in 2017.  The Issuer's stock traded in a range of $12.78 - $15.90 during 2017.</footnote>
        <footnote id="F4">The number of shares reported as held by the Issuer's Thrift Plan Trust represents the undersigned's proportionate beneficial interest in such stock held in the Trust.  Such number is based on information as of 12/31/2017.  This number includes the shares acquired in exempt transactions through periodic contributions made during 2017, shares acquired by the Trustee.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Gail L. Valenti as Attorney-in-Fact for Lawrence L. Hooper, Jr.</signatureName>
        <signatureDate>2018-01-31</signatureDate>
    </ownerSignature>
</ownershipDocument>
