<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>117</ContextCount>
  <ElementCount>98</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>23</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Statements of Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/StatementStatementsOfNetAssetsAvailableForBenefits</Role>
      <ShortName>Statements of Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00200 - Statement - Statements of Changes in Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/StatementStatementsOfChangesInNetAssetsAvailableForBenefits</Role>
      <ShortName>Statements of Changes in Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Description of the Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureDescriptionOfPlan</Role>
      <ShortName>Description of the Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureSignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureInvestments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Transactions with Parties-in-Interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureTransactionsWithPartiesInInterest</Role>
      <ShortName>Transactions with Parties-in-Interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Income Tax Status</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureIncomeTaxStatus</Role>
      <ShortName>Income Tax Status</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Reconciliation of Financial Statements to Form 5500</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureReconciliationOfFinancialStatementsToForm5500</Role>
      <ShortName>Reconciliation of Financial Statements to Form 5500</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Economic Dependency and Concentration of Credit Risk</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureEconomicDependencyAndConcentrationOfCreditRisk</Role>
      <ShortName>Economic Dependency and Concentration of Credit Risk</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Schedule of Assets (Held at End of Year)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureScheduleOfAssetsHeldAtEndOfYear</Role>
      <ShortName>Schedule of Assets (Held at End of Year)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>20202 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureSignificantAccountingPolicies</ParentRole>
      <Position>13</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>14</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Reconciliation of Financial Statements to Form 5500 (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureReconciliationOfFinancialStatementsToForm5500Tables</Role>
      <ShortName>Reconciliation of Financial Statements to Form 5500 (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureReconciliationOfFinancialStatementsToForm5500</ParentRole>
      <Position>15</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Description of the Plan - General (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureDescriptionOfPlanGeneralDetails</Role>
      <ShortName>Description of the Plan - General (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Description of the Plan - Contribution (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureDescriptionOfPlanContributionDetails</Role>
      <ShortName>Description of the Plan - Contribution (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>40103 - Disclosure - Description of the Plan - Participant accounts and vesting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureDescriptionOfPlanParticipantAccountsAndVestingDetails</Role>
      <ShortName>Description of the Plan - Participant accounts and vesting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>40104 - Disclosure - Description of the Plan - Notes Receivable from Participants (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails</Role>
      <ShortName>Description of the Plan - Notes Receivable from Participants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>40105 - Disclosure - Description of the Plan - Payments of benefits and plan termination (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureDescriptionOfPlanPaymentsOfBenefitsAndPlanTerminationDetails</Role>
      <ShortName>Description of the Plan - Payments of benefits and plan termination (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Significant Accounting Policies - Valuation of Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureSignificantAccountingPoliciesValuationOfInvestmentsDetails</Role>
      <ShortName>Significant Accounting Policies - Valuation of Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Significant Accounting Policies - Administrative Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureSignificantAccountingPoliciesAdministrativeExpensesDetails</Role>
      <ShortName>Significant Accounting Policies - Administrative Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Significant Accounting Policies - Inactive Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureSignificantAccountingPoliciesInactiveAccountsDetails</Role>
      <ShortName>Significant Accounting Policies - Inactive Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>40204 - Disclosure - Significant Accounting Policies - Valuation Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureSignificantAccountingPoliciesValuationAllowanceDetails</Role>
      <ShortName>Significant Accounting Policies - Valuation Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureFairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Transactions with Parties-in-Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureTransactionsWithPartiesInInterestDetails</Role>
      <ShortName>Transactions with Parties-in-Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureTransactionsWithPartiesInInterest</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Income Tax Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureIncomeTaxStatusDetails</Role>
      <ShortName>Income Tax Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureIncomeTaxStatus</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Reconciliation of Financial Statements to Form 5500 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureReconciliationOfFinancialStatementsToForm5500Details</Role>
      <ShortName>Reconciliation of Financial Statements to Form 5500 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureReconciliationOfFinancialStatementsToForm5500Tables</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Economic Dependency and Concentration of Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureEconomicDependencyAndConcentrationOfCreditRiskDetails</Role>
      <ShortName>Economic Dependency and Concentration of Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureEconomicDependencyAndConcentrationOfCreditRisk</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="cbu-20251231x11k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Schedule of Assets (Held at End of Year) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://communityfinancialsystem.com/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails</Role>
      <ShortName>Schedule of Assets (Held at End of Year) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://communityfinancialsystem.com/role/DisclosureScheduleOfAssetsHeldAtEndOfYear</ParentRole>
      <Position>30</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-20251231.xsd</File>
    <File>cbu-20251231_cal.xml</File>
    <File>cbu-20251231_def.xml</File>
    <File>cbu-20251231_lab.xml</File>
    <File>cbu-20251231_pre.xml</File>
    <File doctype="11-K" isDefinitelyFs="true" isUsgaap="true" original="cbu-20251231x11k.htm">cbu-20251231x11k.htm</File>
    <File doctype="11-K" isDefinitelyFs="true" isUsgaap="true" original="cbu-20251231xex99d1.htm">cbu-20251231xex99d1.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>cbu-20251231xex99d1001.jpg</File>
    <File>cbu-20251231xex99d1002.jpg</File>
    <File>cbu-20251231xex99d1003.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="275">http://fasb.org/us-gaap-ebp/2026</BaseTaxonomy>
    <BaseTaxonomy items="10">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
