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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-03-02</periodOfReport>

    <issuer>
        <issuerCik>0000723188</issuerCik>
        <issuerName>COMMUNITY FINANCIAL SYSTEM, INC.</issuerName>
        <issuerTradingSymbol>CBU</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001707871</rptOwnerCik>
            <rptOwnerName>Durkee Matthew K</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O COMMUNITY FINANCIAL SYSTEM, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>333 BUTTERNUT DRIVE</rptOwnerStreet2>
            <rptOwnerCity>SYRACUSE</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>13214</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <isOther>1</isOther>
            <officerTitle>SVP, Chief Banking Officer</officerTitle>
            <otherText>President, Commercial Banking</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-03-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>399</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>60.55</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2858</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>9743.697</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By 401(K)</value>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Payment of tax liability associated with vesting of restricted stock award.</footnote>
        <footnote id="F2">The number of shares reported herein were acquired pursuant to Community Financial System, Inc.'s 401(k) Plan and are based on a current plan statement.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Danielle M. Cima, pursuant to a Confirming Statement executed by Matthew K. Durkee</signatureName>
        <signatureDate>2026-03-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
