<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>680</ContextCount>
  <ElementCount>440</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>102</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - CONSOLIDATED STATEMENTS OF CONDITION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/StatementConsolidatedStatementsOfCondition</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CONDITION</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - CONSOLIDATED STATEMENTS OF CONDITION (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/StatementConsolidatedStatementsOfConditionParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CONDITION (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/StatementConsolidatedStatementsOfIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/StatementConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200400 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995200405 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995200500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureBasisOfPresentation</Role>
      <ShortName>BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - ACQUISITIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAcquisitions</Role>
      <ShortName>ACQUISITIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAccountingPolicies</Role>
      <ShortName>ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - INVESTMENT SECURITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureInvestmentSecurities</Role>
      <ShortName>INVESTMENT SECURITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLosses</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - GOODWILL AND IDENTIFIABLE INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureGoodwillAndIdentifiableIntangibleAssets</Role>
      <ShortName>GOODWILL AND IDENTIFIABLE INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureEarningsPerShare</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - COMMITMENTS, CONTINGENT LIABILITIES AND RESTRICTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureCommitmentsContingentLiabilitiesAndRestrictions</Role>
      <ShortName>COMMITMENTS, CONTINGENT LIABILITIES AND RESTRICTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureFairValue</Role>
      <ShortName>FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - DERIVATIVE INSTRUMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureDerivativeInstruments</Role>
      <ShortName>DERIVATIVE INSTRUMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureSegmentInformation</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>99920302 - Disclosure - ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAccountingPoliciesPolicies</Role>
      <ShortName>ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - ACQUISITIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAcquisitionsTables</Role>
      <ShortName>ACQUISITIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureAcquisitions</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - INVESTMENT SECURITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureInvestmentSecuritiesTables</Role>
      <ShortName>INVESTMENT SECURITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureInvestmentSecurities</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLossesTables</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLosses</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - GOODWILL AND IDENTIFIABLE INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureGoodwillAndIdentifiableIntangibleAssetsTables</Role>
      <ShortName>GOODWILL AND IDENTIFIABLE INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureGoodwillAndIdentifiableIntangibleAssets</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureEarningsPerShareTables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureEarningsPerShare</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - COMMITMENTS, CONTINGENT LIABILITIES AND RESTRICTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureCommitmentsContingentLiabilitiesAndRestrictionsTables</Role>
      <ShortName>COMMITMENTS, CONTINGENT LIABILITIES AND RESTRICTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureCommitmentsContingentLiabilitiesAndRestrictions</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99930903 - Disclosure - FAIR VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureFairValueTables</Role>
      <ShortName>FAIR VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureFairValue</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - DERIVATIVE INSTRUMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureDerivativeInstrumentsTables</Role>
      <ShortName>DERIVATIVE INSTRUMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureDerivativeInstruments</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99931103 - Disclosure - SEGMENT INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureSegmentInformationTables</Role>
      <ShortName>SEGMENT INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureSegmentInformation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - ACQUISITIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAcquisitionsDetails</Role>
      <ShortName>ACQUISITIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureAcquisitionsTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - ACQUISITIONS - Estimated fair value of assets acquired and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAcquisitionsEstimatedFairValueOfAssetsAcquiredAndLiabilitiesDetails</Role>
      <ShortName>ACQUISITIONS - Estimated fair value of assets acquired and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99940203 - Disclosure - ACQUISITIONS - Loans acquired, fair value, amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAcquisitionsLoansAcquiredFairValueAmortizationDetails</Role>
      <ShortName>ACQUISITIONS - Loans acquired, fair value, amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureAccountingPoliciesDetails</Role>
      <ShortName>ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureAccountingPoliciesPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - INVESTMENT SECURITIES - Amortized cost and estimated fair value of investment securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureInvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Amortized cost and estimated fair value of investment securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99940402 - Disclosure - INVESTMENT SECURITIES - Gains and losses on equity and other securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureInvestmentSecuritiesGainsAndLossesOnEquityAndOtherSecuritiesDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Gains and losses on equity and other securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99940403 - Disclosure - INVESTMENT SECURITIES - Investment securities in a continuous unrealized loss position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureInvestmentSecuritiesInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Investment securities in a continuous unrealized loss position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99940404 - Disclosure - INVESTMENT SECURITIES - Amortized Cost and Estimated Fair Value of Debt Securities by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureInvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Amortized Cost and Estimated Fair Value of Debt Securities by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99940405 - Disclosure - INVESTMENT SECURITIES - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureInvestmentSecuritiesAdditionalInformationDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES - Loan Summary (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLossesLoanSummaryDetails</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES - Loan Summary (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99940502 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES - Credit Quality By Past Due Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLossesCreditQualityByPastDueStatusDetails</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES - Credit Quality By Past Due Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99940503 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES - Amount of Business Lending Loans by Credit Quality Categories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLossesAmountOfBusinessLendingLoansByCreditQualityCategoriesDetails</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES - Amount of Business Lending Loans by Credit Quality Categories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99940504 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES - Summary of Impaired Loans, Excluding Purchased Impaired (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLossesSummaryOfImpairedLoansExcludingPurchasedImpairedDetails</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES - Summary of Impaired Loans, Excluding Purchased Impaired (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940505 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES - Performance of Loan Modifications (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLossesPerformanceOfLoanModificationsDetails</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES - Performance of Loan Modifications (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940506 - Disclosure - LOANS AND ALLOWANCE FOR CREDIT LOSSES - Allowance for Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureLoansAndAllowanceForCreditLossesAllowanceForCreditLossesDetails</Role>
      <ShortName>LOANS AND ALLOWANCE FOR CREDIT LOSSES - Allowance for Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - GOODWILL AND IDENTIFIABLE INTANGIBLE ASSETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureGoodwillAndIdentifiableIntangibleAssetsDetails</Role>
      <ShortName>GOODWILL AND IDENTIFIABLE INTANGIBLE ASSETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureGoodwillAndIdentifiableIntangibleAssetsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureEarningsPerShareDetails</Role>
      <ShortName>EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureEarningsPerShareTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - COMMITMENTS, CONTINGENT LIABILITIES AND RESTRICTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureCommitmentsContingentLiabilitiesAndRestrictionsDetails</Role>
      <ShortName>COMMITMENTS, CONTINGENT LIABILITIES AND RESTRICTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureCommitmentsContingentLiabilitiesAndRestrictionsTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - FAIR VALUE - Financial assets and liabilities accounted for at fair value on a recurring basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureFairValueFinancialAssetsAndLiabilitiesAccountedForAtFairValueOnRecurringBasisDetails</Role>
      <ShortName>FAIR VALUE - Financial assets and liabilities accounted for at fair value on a recurring basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99940902 - Disclosure - FAIR VALUE - Assets and liabilities measured on a non-recurring basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureFairValueAssetsAndLiabilitiesMeasuredOnNonRecurringBasisDetails</Role>
      <ShortName>FAIR VALUE - Assets and liabilities measured on a non-recurring basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99940903 - Disclosure - FAIR VALUE - Significant unobservable inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureFairValueSignificantUnobservableInputsDetails</Role>
      <ShortName>FAIR VALUE - Significant unobservable inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99940904 - Disclosure - FAIR VALUE - Carrying amounts and estimated fair values of other financial instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureFairValueCarryingAmountsAndEstimatedFairValuesOfOtherFinancialInstrumentsDetails</Role>
      <ShortName>FAIR VALUE - Carrying amounts and estimated fair values of other financial instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - DERIVATIVE INSTRUMENTS - Notional values and Fair values (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureDerivativeInstrumentsNotionalValuesAndFairValuesDetails</Role>
      <ShortName>DERIVATIVE INSTRUMENTS - Notional values and Fair values (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99941002 - Disclosure - DERIVATIVE INSTRUMENTS - Effect of cash flow hedge accounting relationships (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureDerivativeInstrumentsEffectOfCashFlowHedgeAccountingRelationshipsDetails</Role>
      <ShortName>DERIVATIVE INSTRUMENTS - Effect of cash flow hedge accounting relationships (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99941003 - Disclosure - DERIVATIVE INSTRUMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureDerivativeInstrumentsNarrativeDetails</Role>
      <ShortName>DERIVATIVE INSTRUMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - SEGMENT INFORMATION - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>SEGMENT INFORMATION - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="cbu-20260630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>99941102 - Disclosure - SEGMENT INFORMATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communitybankna.com/role/DisclosureSegmentInformationDetails</Role>
      <ShortName>SEGMENT INFORMATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communitybankna.com/role/DisclosureSegmentInformationTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>cbu-20260630.xsd</File>
    <File>cbu-20260630_cal.xml</File>
    <File>cbu-20260630_def.xml</File>
    <File>cbu-20260630_lab.xml</File>
    <File>cbu-20260630_pre.xml</File>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="cbu-20260630x10q.htm">cbu-20260630x10q.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>cbu-20260630x10q001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2026</BaseTaxonomy>
    <BaseTaxonomy items="2838">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
