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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-03-19</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002009605</rptOwnerCik>
            <rptOwnerName>Sullivan Michele</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>
            <isDirector>1</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Deferred Stock (Deferred Compensation)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-03-19</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>447.3116</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>55.61</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>447.3116</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3530.456</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Each unit of phantom stock is the economic equivalent of one share of Community Financial System, Inc. common stock. The units of phantom stock relating to the Deferred Compensation Plan for Directors (the &quot;DCP for Directors&quot;), will be settled in Community Financial System, Inc. common stock at future dates selected by the reporting person.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Danielle M. Cima, pursuant to Confirming Statement executed by Michele Sullivan</signatureName>
        <signatureDate>2026-03-19</signatureDate>
    </ownerSignature>
</ownershipDocument>
