<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.2.u1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>613</ContextCount>
  <ElementCount>411</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>119</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Statements of Financial Condition (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_StatementConsolidatedStatementsOfFinancialConditionUnaudited</Role>
      <ShortName>Consolidated Statements of Financial Condition (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Statements of Financial Condition (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_StatementConsolidatedStatementsOfFinancialConditionUnauditedParenthetical</Role>
      <ShortName>Consolidated Statements of Financial Condition (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100100 - Statement - Consolidated Statements of Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_StatementConsolidatedStatementsOfIncomeUnaudited</Role>
      <ShortName>Consolidated Statements of Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100120 - Statement - Consolidated Statements of Comprehensive Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeUnaudited</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100130 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100140 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100150 - Statement - Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.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>9</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.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>10</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Earnings Per Common Share ("EPS")</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEarningsPerCommonShareEPS</Role>
      <ShortName>Earnings Per Common Share ("EPS")</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995485 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoans</Role>
      <ShortName>Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Other Assets and Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilities</Role>
      <ShortName>Other Assets and Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Derivative Instrument and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivities1</Role>
      <ShortName>Derivative Instrument and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareholdersEquity</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLoss4</Role>
      <ShortName>Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Share-Based Compensation Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationPlans</Role>
      <ShortName>Share-Based Compensation Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995585 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995605 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Earnings Per Common Share ("EPS") (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEarningsPerCommonShareEPSTables</Role>
      <ShortName>Earnings Per Common Share ("EPS") (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEarningsPerCommonShareEPS</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables</Role>
      <ShortName>Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecurities</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995655 - Disclosure - Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</Role>
      <ShortName>Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoans</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995665 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995685 - Disclosure - Other Assets and Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilitiesTables</Role>
      <ShortName>Other Assets and Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Derivative Instrument and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesTables</Role>
      <ShortName>Derivative Instrument and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivities1</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995705 - Disclosure - Shareholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareholdersEquityTables</Role>
      <ShortName>Shareholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareholdersEquity</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995715 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLoss4</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Share-Based Compensation Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationPlansTables</Role>
      <ShortName>Share-Based Compensation Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationPlans</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995755 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurements</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReporting</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Summary of Supplemental Cash Flow Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesSummaryOfSupplementalCashFlowInformationDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Summary of Supplemental Cash Flow Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995795 - Disclosure - Earnings Per Common Share ("EPS") (Reconciliation of Earnings and Shares Used in Calculating Basic and Diluted EPS) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEarningsPerCommonShareEPSReconciliationOfEarningsAndSharesUsedInCalculatingBasicAndDilutedEPSDetails</Role>
      <ShortName>Earnings Per Common Share ("EPS") (Reconciliation of Earnings and Shares Used in Calculating Basic and Diluted EPS) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEarningsPerCommonShareEPSTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Earnings Per Common Share ("EPS") (Shares Excluded from Computation of Diluted EPS) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEarningsPerCommonShareEPSSharesExcludedFromComputationOfDilutedEPSDetails</Role>
      <ShortName>Earnings Per Common Share ("EPS") (Shares Excluded from Computation of Diluted EPS) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEarningsPerCommonShareEPSTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Investment Securities (Amortized Cost and Fair Value of Investment Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesAmortizedCostAndFairValueOfInvestmentSecuritiesDetails</Role>
      <ShortName>Investment Securities (Amortized Cost and Fair Value of Investment Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995825 - Disclosure - Investment Securities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesNarrativeDetails</Role>
      <ShortName>Investment Securities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995835 - Disclosure - Investment Securities (Scheduled Maturities of Securities Available for Sale and Securities Held to Maturity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesScheduledMaturitiesOfSecuritiesAvailableForSaleAndSecuritiesHeldToMaturityDetails</Role>
      <ShortName>Investment Securities (Scheduled Maturities of Securities Available for Sale and Securities Held to Maturity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995845 - Disclosure - Investment Securities (Investments Gross Unrealized Losses and Fair Value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesInvestmentsGrossUnrealizedLossesAndFairValueDetails</Role>
      <ShortName>Investment Securities (Investments Gross Unrealized Losses and Fair Value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995855 - Disclosure - Loans (Loan Portfolio) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansLoanPortfolioDetails</Role>
      <ShortName>Loans (Loan Portfolio) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995865 - Disclosure - Loans (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansNarrativeDetails</Role>
      <ShortName>Loans (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995875 - Disclosure - Loans (Recorded Investment by Loan Class in Current and Nonaccrual Loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansRecordedInvestmentByLoanClassInCurrentAndNonaccrualLoansDetails</Role>
      <ShortName>Loans (Recorded Investment by Loan Class in Current and Nonaccrual Loans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995885 - Disclosure - Loans (Amortized Cost basis of Loans Modified to Borrowers Experiencing Financial Difficulty) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureLoansAmortizedCostBasisOfLoansModifiedToBorrowersExperiencingFinancialDifficultyDetails</Role>
      <ShortName>Loans (Amortized Cost basis of Loans Modified to Borrowers Experiencing Financial Difficulty) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995895 - Disclosure - Loans (Financial Effect of the Modifications Made to Borrowers Experiencing Financial Difficulty) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureLoansFinancialEffectOfTheModificationsMadeToBorrowersExperiencingFinancialDifficultyDetails</Role>
      <ShortName>Loans (Financial Effect of the Modifications Made to Borrowers Experiencing Financial Difficulty) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995905 - Disclosure - Loans (Performance of Loans that are Modified to Borrowers Experiencing Financial Difficulty) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureLoansPerformanceOfLoansThatAreModifiedToBorrowersExperiencingFinancialDifficultyDetails</Role>
      <ShortName>Loans (Performance of Loans that are Modified to Borrowers Experiencing Financial Difficulty) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995915 - Disclosure - Loans (Summary of Collateral Dependent Loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansSummaryOfCollateralDependentLoansDetails</Role>
      <ShortName>Loans (Summary of Collateral Dependent Loans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995925 - Disclosure - Loans (Commercial Loan Portfolio Categorized by Internally Assigned Asset Classification) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansCommercialLoanPortfolioCategorizedByInternallyAssignedAssetClassificationDetails</Role>
      <ShortName>Loans (Commercial Loan Portfolio Categorized by Internally Assigned Asset Classification) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995935 - Disclosure - Loans (Retail Loan Portfolio Categorized by Performance Status) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansRetailLoanPortfolioCategorizedByPerformanceStatusDetails</Role>
      <ShortName>Loans (Retail Loan Portfolio Categorized by Performance Status) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995945 - Disclosure - Loans (Changes in the Allowance for Credit Losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansChangesInAllowanceForCreditLossesDetails</Role>
      <ShortName>Loans (Changes in the Allowance for Credit Losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLoansTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995955 - Disclosure - Leases (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeasesNarrativeDetails</Role>
      <ShortName>Leases (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995965 - Disclosure - Leases (Summary of Classification of Right of Use Assets and Lease Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureLeasesSummaryOfClassificationOfRightOfUseAssetsAndLeaseLiabilitiesDetails</Role>
      <ShortName>Leases (Summary of Classification of Right of Use Assets and Lease Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995975 - Disclosure - Leases (Summary of Lease Costs and Other Lease Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndOtherLeaseInformationDetails</Role>
      <ShortName>Leases (Summary of Lease Costs and Other Lease Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>995985 - Disclosure - Leases (Summary of Future Minimum Payments Under Non-cancellable Operating Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureLeasesSummaryOfFutureMinimumPaymentsUnderNoncancellableOperatingLeasesDetails3</Role>
      <ShortName>Leases (Summary of Future Minimum Payments Under Non-cancellable Operating Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureLeasesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>995995 - Disclosure - Goodwill and Other Intangible Assets (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Goodwill and Other Intangible Assets (Gross Carrying Amount Accumulated Amortization and Net Book Value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsGrossCarryingAmountAccumulatedAmortizationAndNetBookValueDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Gross Carrying Amount Accumulated Amortization and Net Book Value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Goodwill and Other Intangible Assets (Estimated Amortization Expense of Other Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsEstimatedAmortizationExpenseOfOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Estimated Amortization Expense of Other Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Other Assets and Other Liabilities - Summary of Other Assets and Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilitiesSummaryOfOtherAssetsAndOtherLiabilitiesDetails</Role>
      <ShortName>Other Assets and Other Liabilities - Summary of Other Assets and Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Derivative Instrument and Hedging Activities (Summary of Company's Outstanding Interest Rate Swaps) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesSummaryOfCompanysOutstandingInterestRateSwapsDetails</Role>
      <ShortName>Derivative Instrument and Hedging Activities (Summary of Company's Outstanding Interest Rate Swaps) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Derivative Instrument and Hedging Activities - (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesNarrativeDetails</Role>
      <ShortName>Derivative Instrument and Hedging Activities - (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Derivative Instrument and Hedging Activities (Fair Values of Derivative Instruments on the Balance Sheet) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesFairValuesOfDerivativeInstrumentsOnTheBalanceSheetDetails</Role>
      <ShortName>Derivative Instrument and Hedging Activities (Fair Values of Derivative Instruments on the Balance Sheet) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996065 - Disclosure - Derivative Instrument and Hedging Activities (Fair Values of Derivative Instruments on the Balance Sheet) (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesFairValuesOfDerivativeInstrumentsOnTheBalanceSheetParentheticalDetails</Role>
      <ShortName>Derivative Instrument and Hedging Activities (Fair Values of Derivative Instruments on the Balance Sheet) (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996075 - Disclosure - Derivative Instrument and Hedging Activities (Effect of Derivative Instruments on the Income Statement) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesEffectOfDerivativeInstrumentsOnTheIncomeStatementDetails</Role>
      <ShortName>Derivative Instrument and Hedging Activities (Effect of Derivative Instruments on the Income Statement) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentAndHedgingActivitiesTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996085 - Disclosure - Shareholders' Equity (Changes in Shares of Common Stock) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareholdersEquityChangesInSharesOfCommonStockDetails</Role>
      <ShortName>Shareholders' Equity (Changes in Shares of Common Stock) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareholdersEquityTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996095 - Disclosure - Shareholders' Equity (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareholdersEquityNarrativeDetails</Role>
      <ShortName>Shareholders' Equity (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareholdersEquityTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996105 - Disclosure - Accumulated Other Comprehensive Loss (Components of Other Comprehensive (Loss) Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfOtherComprehensiveLossIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Components of Other Comprehensive (Loss) Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996115 - Disclosure - Accumulated Other Comprehensive Loss (Components of Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Components of Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996125 - Disclosure - Accumulated Other Comprehensive Loss (Amounts Reclassified Out of Each Component of Accumulated Other Comprehensive (Loss) Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossAmountsReclassifiedOutOfEachComponentOfAccumulatedOtherComprehensiveLossIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Amounts Reclassified Out of Each Component of Accumulated Other Comprehensive (Loss) Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996135 - Disclosure - Share-Based Compensation Plans (Summary of Restricted Stock Awards ,Restricted Stock Unit Award and Performance Share Units Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureSharebasedCompensationPlansSummaryOfRestrictedStockAwardsRestrictedStockUnitAwardAndPerformanceShareUnitsActivityDetails</Role>
      <ShortName>Share-Based Compensation Plans (Summary of Restricted Stock Awards ,Restricted Stock Unit Award and Performance Share Units Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationPlansTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996145 - Disclosure - Share-Based Compensation Plans (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationPlansNarrativeDetails</Role>
      <ShortName>Share-Based Compensation Plans (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationPlansTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996155 - Disclosure - Share-Based Compensation Plans (Share-Based Compensation Expense and The Total Income Tax Benefit Included In Consolidated Statements of Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureSharebasedCompensationPlansSharebasedCompensationExpenseAndTheTotalIncomeTaxBenefitIncludedInConsolidatedStatementsOfIncomeDetails</Role>
      <ShortName>Share-Based Compensation Plans (Share-Based Compensation Expense and The Total Income Tax Benefit Included In Consolidated Statements of Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationPlansTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996165 - Disclosure - Employee Benefit Plans (Components of Net Periodic Benefit Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicBenefitExpenseDetails</Role>
      <ShortName>Employee Benefit Plans (Components of Net Periodic Benefit Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996175 - Disclosure - Employee Benefit Plans (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEmployeeBenefitPlansNarrativeDetails</Role>
      <ShortName>Employee Benefit Plans (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureEmployeeBenefitPlansTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996185 - Disclosure - Commitments and Contingencies (Off-Balance Sheet Commitments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesOffBalanceSheetCommitmentsDetails</Role>
      <ShortName>Commitments and Contingencies (Off-Balance Sheet Commitments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996195 - Disclosure - Commitments and Contingencies (Schedule of Credit Loss Expense Benefit for Unfunded Commitments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/DisclosureCommitmentsAndContingenciesScheduleOfCreditLossExpenseBenefitForUnfundedCommitmentsDetails</Role>
      <ShortName>Commitments and Contingencies (Schedule of Credit Loss Expense Benefit for Unfunded Commitments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996205 - Disclosure - Commitments and Contingencies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesNarrativeDetails</Role>
      <ShortName>Commitments and Contingencies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996215 - Disclosure - Fair Value Measurements (Assets Measured at Fair Value on a Recurring and Non-Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsAssetsMeasuredAtFairValueOnRecurringAndNonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements (Assets Measured at Fair Value on a Recurring and Non-Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996225 - Disclosure - Fair Value Measurements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996235 - Disclosure - Fair Value Measurements (Additional Quantitative Information about Assets Measured at Fair Value on a Recurring and Non-Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalQuantitativeInformationAboutAssetsMeasuredAtFairValueOnRecurringAndNonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements (Additional Quantitative Information about Assets Measured at Fair Value on a Recurring and Non-Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996245 - Disclosure - Fair Value Measurements (Carrying Amount, Estimated Fair Value, and Placement in Fair Value Hierarchy of Financial Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsCarryingAmountEstimatedFairValueAndPlacementInFairValueHierarchyOfFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Measurements (Carrying Amount, Estimated Fair Value, and Placement in Fair Value Hierarchy of Financial Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996255 - Disclosure - Segment Reporting (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReportingNarrativeDetails</Role>
      <ShortName>Segment Reporting (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReportingTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996265 - Disclosure - Segment Reporting (Business Segment Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReportingBusinessSegmentAssetsDetails</Role>
      <ShortName>Segment Reporting (Business Segment Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReportingTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="fisi-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996275 - Disclosure - Segment Reporting (Business Segment Profit (Loss)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReportingBusinessSegmentProfitLossDetails</Role>
      <ShortName>Segment Reporting (Business Segment Profit (Loss)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fiiwarsaw.com/20240630/taxonomy/role/Role_DisclosureSegmentReportingTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="fisi-20240630.htm">fisi-20240630.htm</File>
    <File>fisi-20240630.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img39860439_0.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="2301">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
