<?xml version="1.0" encoding="us-ascii"?>
<!--XBRL document created with Merrill Bridge  6.1.177.0 -->
<!--Based on XBRL 2.1-->
<!--Created on: 3/11/2016 12:45:14 PM-->
<!--Modified on: 3/11/2016 12:45:14 PM-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:country="http://xbrl.sec.gov/country/2013-01-31" xmlns:currency="http://xbrl.sec.gov/currency/2014-01-31" xmlns:dei="http://xbrl.sec.gov/dei/2014-01-31" xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31" xmlns:naics="http://xbrl.sec.gov/naics/2011-01-31" xmlns:sic="http://xbrl.sec.gov/sic/2011-01-31" xmlns:stpr="http://xbrl.sec.gov/stpr/2011-01-31" targetNamespace="http://imetrix.edgar-online.com/20151231" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:us-gaap="http://fasb.org/us-gaap/2015-01-31" xmlns:us-types="http://fasb.org/us-types/2015-01-31" xmlns:exch="http://xbrl.sec.gov/exch/2015-01-31" xmlns:pfis="http://imetrix.edgar-online.com/20151231">
  <annotation>
    <appinfo>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/StatementConsolidatedBalanceSheets" id="StatementConsolidatedBalanceSheets">
        <link:definition>00100 - Statement - Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome" id="StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome">
        <link:definition>00200 - Statement - Consolidated Statements of Income and Comprehensive Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/StatementConsolidatedStatementsOfCashFlows" id="StatementConsolidatedStatementsOfCashFlows">
        <link:definition>00400 - Statement - Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingCalculationOfConsiderationEffectivelyTransferredDetails" id="DisclosureMergerAccountingCalculationOfConsiderationEffectivelyTransferredDetails">
        <link:definition>40202 - Disclosure - Merger accounting - Calculation of Consideration Effectively Transferred (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingSummaryOfAcquiredNonimpairedAndImpairedLoansDetails" id="DisclosureMergerAccountingSummaryOfAcquiredNonimpairedAndImpairedLoansDetails">
        <link:definition>40205 - Disclosure - Merger accounting - Summary of Acquired Nonimpaired and Impaired Loans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingScheduleOfProFormaCondensedCombinedFinancialInformationDetails" id="DisclosureMergerAccountingScheduleOfProFormaCondensedCombinedFinancialInformationDetails">
        <link:definition>40207 - Disclosure - Merger accounting - Schedule of Pro Forma Condensed Combined Financial Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureInvestmentSecuritiesAmortizedCostAndFairValueOfInvestmentSecuritiesAggregatedByInvestmentCategoryDetails" id="DisclosureInvestmentSecuritiesAmortizedCostAndFairValueOfInvestmentSecuritiesAggregatedByInvestmentCategoryDetails">
        <link:definition>40401 - Disclosure - Investment securities - Amortized Cost and Fair Value of Investment Securities Aggregated by Investment Category (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureInvestmentSecuritiesMaturityDistributionOfDebtSecuritiesClassifiedAsAvailableForSaleDetails" id="DisclosureInvestmentSecuritiesMaturityDistributionOfDebtSecuritiesClassifiedAsAvailableForSaleDetails">
        <link:definition>40403 - Disclosure - Investment securities - Maturity Distribution of Debt Securities Classified as Available-for-Sale (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureInvestmentSecuritiesSummaryOfAmortizedCostAndFairValueOfSecuritiesByContractualMaturityDetails" id="DisclosureInvestmentSecuritiesSummaryOfAmortizedCostAndFairValueOfSecuritiesByContractualMaturityDetails">
        <link:definition>40404 - Disclosure - Investment securities - Summary of Amortized Cost and Fair Value of Securities by Contractual Maturity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureInvestmentSecuritiesFairValueAndUnrealizedLossesOfInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails" id="DisclosureInvestmentSecuritiesFairValueAndUnrealizedLossesOfInvestmentSecuritiesInContinuousUnrealizedLossPositionDetails">
        <link:definition>40405 - Disclosure - Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesChangesInAllowanceForLoanLossesAccountByMajorClassificationOfLoansDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesChangesInAllowanceForLoanLossesAccountByMajorClassificationOfLoansDetails">
        <link:definition>40503 - Disclosure - Loans, net and allowance for loan losses - Changes in Allowance for Loan Losses Account by Major Classification of Loans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesMajorClassificationOfLoansByPastDueStatusDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesMajorClassificationOfLoansByPastDueStatusDetails">
        <link:definition>40506 - Disclosure - Loans, net and allowance for loan losses - Major Classification of Loans by Past Due Status (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOffBalanceSheetFinancialInstrumentsSummaryOfContractualAmountsOfOffBalanceSheetCommitmentsDetails" id="DisclosureOffBalanceSheetFinancialInstrumentsSummaryOfContractualAmountsOfOffBalanceSheetCommitmentsDetails">
        <link:definition>40602 - Disclosure - Off-balance sheet financial instruments - Summary of Contractual Amounts of Off-balance Sheet Commitments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosurePremisesAndEquipmentNetSummaryOfPremisesAndEquipmentDetails" id="DisclosurePremisesAndEquipmentNetSummaryOfPremisesAndEquipmentDetails">
        <link:definition>40701 - Disclosure - Premises and equipment, net - Summary of Premises and Equipment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosurePremisesAndEquipmentNetSummaryOfFutureMinimumRentalCommitmentsUnderOperatingLeasesDetails" id="DisclosurePremisesAndEquipmentNetSummaryOfFutureMinimumRentalCommitmentsUnderOperatingLeasesDetails">
        <link:definition>40703 - Disclosure - Premises and equipment, net - Summary of Future Minimum Rental Commitments Under Operating Leases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOtherAssetsComponentsOfOtherAssetsDetails" id="DisclosureOtherAssetsComponentsOfOtherAssetsDetails">
        <link:definition>40901 - Disclosure - Other assets - Components of Other Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureDepositsComponentsOfInterestBearingAndNoninterestBearingDepositsDetails" id="DisclosureDepositsComponentsOfInterestBearingAndNoninterestBearingDepositsDetails">
        <link:definition>41001 - Disclosure - Deposits - Components of Interest-bearing and Noninterest-bearing Deposits (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureDepositsScheduleOfMaturitiesOfTimeDepositsDetails" id="DisclosureDepositsScheduleOfMaturitiesOfTimeDepositsDetails">
        <link:definition>41002 - Disclosure - Deposits - Schedule of Maturities of Time Deposits (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLongTermDebtScheduleOfMaturitiesOfLongTermDebtDetails" id="DisclosureLongTermDebtScheduleOfMaturitiesOfLongTermDebtDetails">
        <link:definition>41202 - Disclosure - Long-term debt - Schedule of Maturities of Long-term Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureFairValueOfFinancialInstrumentsCarryingAndFairValuesOfFinancialInstrumentsDetails" id="DisclosureFairValueOfFinancialInstrumentsCarryingAndFairValuesOfFinancialInstrumentsDetails">
        <link:definition>41304 - Disclosure - Fair value of financial instruments - Carrying and Fair Values of Financial Instruments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansSummaryOfPensionAndPostretirementLifeInsurancePlansDetails" id="DisclosureEmployeeBenefitPlansSummaryOfPensionAndPostretirementLifeInsurancePlansDetails">
        <link:definition>41502 - Disclosure - Employee benefit plans - Summary of Pension and Postretirement Life Insurance Plans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansScheduleOfAmountsRecognizedInAccumulatedOtherComprehensiveIncomeDetails" id="DisclosureEmployeeBenefitPlansScheduleOfAmountsRecognizedInAccumulatedOtherComprehensiveIncomeDetails">
        <link:definition>41503 - Disclosure - Employee benefit plans - Schedule of Amounts Recognized in Accumulated Other Comprehensive Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionExpenseIncomeAndOtherAmountsRecognizedInOtherComprehensiveIncomeDetails" id="DisclosureEmployeeBenefitPlansComponentsOfNetPeriodicPensionExpenseIncomeAndOtherAmountsRecognizedInOtherComprehensiveIncomeDetails">
        <link:definition>41504 - Disclosure - Employee benefit plans - Components of Net Periodic Pension Expense (Income) and Other Amounts Recognized in Other Comprehensive Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIncomeTaxesCurrentAndDeferredAmountsOfProvisionForIncomeTaxesExpenseBenefitDetails" id="DisclosureIncomeTaxesCurrentAndDeferredAmountsOfProvisionForIncomeTaxesExpenseBenefitDetails">
        <link:definition>41601 - Disclosure - Income taxes - Current and Deferred Amounts of Provision for Income Taxes Expense (Benefit) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIncomeTaxesComponentsOfNetDeferredTaxAssetDetails" id="DisclosureIncomeTaxesComponentsOfNetDeferredTaxAssetDetails">
        <link:definition>41602 - Disclosure - Income taxes - Components of Net Deferred Tax Asset (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIncomeTaxesReconciliationOfEffectiveIncomeTaxExpenseDetails" id="DisclosureIncomeTaxesReconciliationOfEffectiveIncomeTaxExpenseDetails">
        <link:definition>41604 - Disclosure - Income taxes - Reconciliation of Effective Income Tax Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureParentCompanyFinancialStatementsCondensedBalanceSheetsDetails" id="DisclosureParentCompanyFinancialStatementsCondensedBalanceSheetsDetails">
        <link:definition>41701 - Disclosure - Parent Company financial statements - Condensed Balance Sheets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureParentCompanyFinancialStatementsCondensedStatementsOfIncomeAndComprehensiveIncomeDetails" id="DisclosureParentCompanyFinancialStatementsCondensedStatementsOfIncomeAndComprehensiveIncomeDetails">
        <link:definition>41702 - Disclosure - Parent Company financial statements - Condensed Statements of Income and Comprehensive Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails" id="DisclosureComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails">
        <link:definition>42001 - Disclosure - Comprehensive Income - Components of Accumulated Other Comprehensive Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureComprehensiveIncomeOtherComprehensiveIncomeLossAndRelatedTaxEffectsDetails" id="DisclosureComprehensiveIncomeOtherComprehensiveIncomeLossAndRelatedTaxEffectsDetails">
        <link:definition>42002 - Disclosure - Comprehensive Income - Other Comprehensive Income (Loss) and Related Tax Effects (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DocumentDocumentAndEntityInformation" id="DocumentDocumentAndEntityInformation">
        <link:definition>00090 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/StatementConsolidatedBalanceSheetsParenthetical" id="StatementConsolidatedBalanceSheetsParenthetical">
        <link:definition>00105 - Statement - Consolidated Balance Sheets (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquity" id="StatementConsolidatedStatementsOfChangesInStockholdersEquity">
        <link:definition>00300 - Statement - Consolidated Statements of Changes in Stockholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" id="StatementConsolidatedStatementsOfChangesInStockholdersEquityParenthetical">
        <link:definition>00305 - Statement - Consolidated Statements of Changes in Stockholders' Equity (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfSignificantAccountingPolicies" id="DisclosureSummaryOfSignificantAccountingPolicies">
        <link:definition>10101 - Disclosure - Summary of significant accounting policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccounting" id="DisclosureMergerAccounting">
        <link:definition>10201 - Disclosure - Merger accounting</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureCashAndDueFromBanks" id="DisclosureCashAndDueFromBanks">
        <link:definition>10301 - Disclosure - Cash and due from banks</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureInvestmentSecurities" id="DisclosureInvestmentSecurities">
        <link:definition>10401 - Disclosure - Investment securities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLosses" id="DisclosureLoansNetAndAllowanceForLoanLosses">
        <link:definition>10501 - Disclosure - Loans, net and allowance for loan losses</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOffBalanceSheetFinancialInstruments" id="DisclosureOffBalanceSheetFinancialInstruments">
        <link:definition>10601 - Disclosure - Off-balance sheet financial instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosurePremisesAndEquipmentNet" id="DisclosurePremisesAndEquipmentNet">
        <link:definition>10701 - Disclosure - Premises and equipment, net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIntangibleAssetsNet" id="DisclosureIntangibleAssetsNet">
        <link:definition>10801 - Disclosure - Intangible assets, net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOtherAssets" id="DisclosureOtherAssets">
        <link:definition>10901 - Disclosure - Other assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureDeposits" id="DisclosureDeposits">
        <link:definition>11001 - Disclosure - Deposits</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureShortTermBorrowings" id="DisclosureShortTermBorrowings">
        <link:definition>11101 - Disclosure - Short-term borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLongTermDebt" id="DisclosureLongTermDebt">
        <link:definition>11201 - Disclosure - Long-term debt</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureFairValueOfFinancialInstruments" id="DisclosureFairValueOfFinancialInstruments">
        <link:definition>11301 - Disclosure - Fair value of financial instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureStockPlans" id="DisclosureStockPlans">
        <link:definition>11401 - Disclosure - Stock plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlans" id="DisclosureEmployeeBenefitPlans">
        <link:definition>11501 - Disclosure - Employee benefit plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIncomeTaxes" id="DisclosureIncomeTaxes">
        <link:definition>11601 - Disclosure - Income taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureParentCompanyFinancialStatements" id="DisclosureParentCompanyFinancialStatements">
        <link:definition>11701 - Disclosure - Parent Company financial statements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureRegulatoryMatters" id="DisclosureRegulatoryMatters">
        <link:definition>11801 - Disclosure - Regulatory matters</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureContingencies" id="DisclosureContingencies">
        <link:definition>11901 - Disclosure - Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureComprehensiveIncome" id="DisclosureComprehensiveIncome">
        <link:definition>12001 - Disclosure - Comprehensive Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfQuarterlyFinancialInformation" id="DisclosureSummaryOfQuarterlyFinancialInformation">
        <link:definition>12101 - Disclosure - Summary of quarterly financial information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies" id="DisclosureSummaryOfSignificantAccountingPoliciesPolicies">
        <link:definition>20102 - Disclosure - Summary of significant accounting policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables" id="DisclosureSummaryOfSignificantAccountingPoliciesTables">
        <link:definition>30103 - Disclosure - Summary of significant accounting policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingTables" id="DisclosureMergerAccountingTables">
        <link:definition>30203 - Disclosure - Merger accounting (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureInvestmentSecuritiesTables" id="DisclosureInvestmentSecuritiesTables">
        <link:definition>30403 - Disclosure - Investment securities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesTables" id="DisclosureLoansNetAndAllowanceForLoanLossesTables">
        <link:definition>30503 - Disclosure - Loans, net and allowance for loan losses (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOffBalanceSheetFinancialInstrumentsTables" id="DisclosureOffBalanceSheetFinancialInstrumentsTables">
        <link:definition>30603 - Disclosure - Off-balance sheet financial instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosurePremisesAndEquipmentNetTables" id="DisclosurePremisesAndEquipmentNetTables">
        <link:definition>30703 - Disclosure - Premises and equipment, net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIntangibleAssetsNetTables" id="DisclosureIntangibleAssetsNetTables">
        <link:definition>30803 - Disclosure - Intangible assets, net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOtherAssetsTables" id="DisclosureOtherAssetsTables">
        <link:definition>30903 - Disclosure - Other assets (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureDepositsTables" id="DisclosureDepositsTables">
        <link:definition>31003 - Disclosure - Deposits (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureShortTermBorrowingsTables" id="DisclosureShortTermBorrowingsTables">
        <link:definition>31103 - Disclosure - Short-term borrowings (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLongTermDebtTables" id="DisclosureLongTermDebtTables">
        <link:definition>31203 - Disclosure - Long-term debt (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureFairValueOfFinancialInstrumentsTables" id="DisclosureFairValueOfFinancialInstrumentsTables">
        <link:definition>31303 - Disclosure - Fair value of financial instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureStockPlansTables" id="DisclosureStockPlansTables">
        <link:definition>31403 - Disclosure - Stock plans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansTables" id="DisclosureEmployeeBenefitPlansTables">
        <link:definition>31503 - Disclosure - Employee benefit plans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIncomeTaxesTables" id="DisclosureIncomeTaxesTables">
        <link:definition>31603 - Disclosure - Income taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureParentCompanyFinancialStatementsTables" id="DisclosureParentCompanyFinancialStatementsTables">
        <link:definition>31703 - Disclosure - Parent Company financial statements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureRegulatoryMattersTables" id="DisclosureRegulatoryMattersTables">
        <link:definition>31803 - Disclosure - Regulatory matters (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureComprehensiveIncomeTables" id="DisclosureComprehensiveIncomeTables">
        <link:definition>32003 - Disclosure - Comprehensive Income (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfQuarterlyFinancialInformationTables" id="DisclosureSummaryOfQuarterlyFinancialInformationTables">
        <link:definition>32103 - Disclosure - Summary of quarterly financial information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails" id="DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails">
        <link:definition>40101 - Disclosure - Summary of significant accounting policies - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfSignificantAccountingPoliciesEstimatedUsefulLivesOfRelatedAssetsDetails" id="DisclosureSummaryOfSignificantAccountingPoliciesEstimatedUsefulLivesOfRelatedAssetsDetails">
        <link:definition>40102 - Disclosure - Summary of significant accounting policies - Estimated Useful Lives of Related Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEarningsPerShareDetails" id="DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfEarningsPerShareDetails">
        <link:definition>40103 - Disclosure - Summary of significant accounting policies - Schedule of Earnings per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingAdditionalInformationDetails" id="DisclosureMergerAccountingAdditionalInformationDetails">
        <link:definition>40201 - Disclosure - Merger accounting - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingCalculationOfConsiderationEffectivelyTransferredParentheticalDetails" id="DisclosureMergerAccountingCalculationOfConsiderationEffectivelyTransferredParentheticalDetails">
        <link:definition>40203 - Disclosure - Merger accounting - Calculation of Consideration Effectively Transferred (Parenthetical) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingScheduleOfAcquiredAssetsAndAssumedLiabilitiesMeasuredAtEstimatedFairValuesDetails" id="DisclosureMergerAccountingScheduleOfAcquiredAssetsAndAssumedLiabilitiesMeasuredAtEstimatedFairValuesDetails">
        <link:definition>40204 - Disclosure - Merger accounting - Schedule of Acquired Assets and Assumed Liabilities Measured at Estimated Fair Values (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureMergerAccountingSummaryOfMergerRelatedCostsDetails" id="DisclosureMergerAccountingSummaryOfMergerRelatedCostsDetails">
        <link:definition>40206 - Disclosure - Merger accounting - Summary of Merger Related Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureCashAndDueFromBanksAdditionalInformationDetails" id="DisclosureCashAndDueFromBanksAdditionalInformationDetails">
        <link:definition>40301 - Disclosure - Cash and due from banks - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureInvestmentSecuritiesAdditionalInformationDetails" id="DisclosureInvestmentSecuritiesAdditionalInformationDetails">
        <link:definition>40402 - Disclosure - Investment securities - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesAdditionalInformationDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesAdditionalInformationDetails">
        <link:definition>40501 - Disclosure - Loans, net and allowance for loan losses - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesMajorClassificationsOfLoansOutstandingDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesMajorClassificationsOfLoansOutstandingDetails">
        <link:definition>40502 - Disclosure - Loans, net and allowance for loan losses - Major Classifications of Loans Outstanding (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesMajorClassificationOfLoansPortfolioSummarizedByCreditQualityDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesMajorClassificationOfLoansPortfolioSummarizedByCreditQualityDetails">
        <link:definition>40504 - Disclosure - Loans, net and allowance for loan losses - Major Classification of Loans Portfolio Summarized by Credit Quality (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesInformationConcerningNonaccrualLoansByMajorLoanClassificationDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesInformationConcerningNonaccrualLoansByMajorLoanClassificationDetails">
        <link:definition>40505 - Disclosure - Loans, net and allowance for loan losses - Information Concerning Nonaccrual Loans by Major Loan Classification (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesSummarizeInformationInConcerningToImpairedLoansDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesSummarizeInformationInConcerningToImpairedLoansDetails">
        <link:definition>40507 - Disclosure - Loans, net and allowance for loan losses - Summarize Information in Concerning to Impaired Loans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesSummaryOfChangesInAccretibleYieldAndNonaccretibleDifferenceOfAcquiredLoansDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesSummaryOfChangesInAccretibleYieldAndNonaccretibleDifferenceOfAcquiredLoansDetails">
        <link:definition>40508 - Disclosure - Loans, net and allowance for loan losses - Summary of Changes in Accretible Yield and Nonaccretible Difference of Acquired Loans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLoansNetAndAllowanceForLoanLossesSummaryOfLoansTermsModifiedResultingInTroubledDebtRestructuringsDetails" id="DisclosureLoansNetAndAllowanceForLoanLossesSummaryOfLoansTermsModifiedResultingInTroubledDebtRestructuringsDetails">
        <link:definition>40509 - Disclosure - Loans, Net And Allowance For Loan Losses - Summary of Loans Terms Modified Resulting in Troubled Debt Restructurings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOffBalanceSheetFinancialInstrumentsAdditionalInformationDetails" id="DisclosureOffBalanceSheetFinancialInstrumentsAdditionalInformationDetails">
        <link:definition>40601 - Disclosure - Off-balance sheet financial instruments - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosurePremisesAndEquipmentNetAdditionalInformationDetails" id="DisclosurePremisesAndEquipmentNetAdditionalInformationDetails">
        <link:definition>40702 - Disclosure - Premises and equipment, net - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIntangibleAssetsNetAdditionalInformationDetails" id="DisclosureIntangibleAssetsNetAdditionalInformationDetails">
        <link:definition>40801 - Disclosure - Intangible assets, net - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIntangibleAssetsNetSummaryOfEstimatedAmortizationExpenseOnIntangibleAssetsDetails" id="DisclosureIntangibleAssetsNetSummaryOfEstimatedAmortizationExpenseOnIntangibleAssetsDetails">
        <link:definition>40802 - Disclosure - Intangible assets, net - Summary of Estimated Amortization Expense on Intangible Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureOtherAssetsAdditionalInformationDetails" id="DisclosureOtherAssetsAdditionalInformationDetails">
        <link:definition>40902 - Disclosure - Other assets - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureDepositsAdditionalInformationDetails" id="DisclosureDepositsAdditionalInformationDetails">
        <link:definition>41003 - Disclosure - Deposits - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureShortTermBorrowingsAdditionalInformationDetails" id="DisclosureShortTermBorrowingsAdditionalInformationDetails">
        <link:definition>41101 - Disclosure - Short-term borrowings - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureShortTermBorrowingsSummaryOfShortTermBorrowingsDetails" id="DisclosureShortTermBorrowingsSummaryOfShortTermBorrowingsDetails">
        <link:definition>41102 - Disclosure - Short-term borrowings - Summary of Short-term Borrowings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLongTermDebtScheduleOfLongTermDebtConsistingOfAdvancesDetails" id="DisclosureLongTermDebtScheduleOfLongTermDebtConsistingOfAdvancesDetails">
        <link:definition>41201 - Disclosure - Long-term debt - Schedule of Long-term Debt Consisting of Advances (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureLongTermDebtAdditionalInformationDetails" id="DisclosureLongTermDebtAdditionalInformationDetails">
        <link:definition>41203 - Disclosure - Long-term debt - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureFairValueOfFinancialInstrumentsScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" id="DisclosureFairValueOfFinancialInstrumentsScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails">
        <link:definition>41301 - Disclosure - Fair value of financial instruments - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureFairValueOfFinancialInstrumentsScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails" id="DisclosureFairValueOfFinancialInstrumentsScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails">
        <link:definition>41302 - Disclosure - Fair value of financial instruments - Schedule of Assets and Liabilities Measured at Fair Value on Nonrecurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureFairValueOfFinancialInstrumentsAdditionalQuantitativeInformationAboutAssetsMeasuredAtFairValueOnNonrecurringBasisDetails" id="DisclosureFairValueOfFinancialInstrumentsAdditionalQuantitativeInformationAboutAssetsMeasuredAtFairValueOnNonrecurringBasisDetails">
        <link:definition>41303 - Disclosure - Fair value of financial instruments - Additional Quantitative Information about Assets Measured at Fair Value on Nonrecurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureStockPlansAdditionalInformationDetails" id="DisclosureStockPlansAdditionalInformationDetails">
        <link:definition>41401 - Disclosure - Stock Plans - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureStockPlansSummaryOfStockOptionPlanDetails" id="DisclosureStockPlansSummaryOfStockOptionPlanDetails">
        <link:definition>41402 - Disclosure - Stock Plans - Summary of Stock Option Plan (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureStockPlansScheduleOfActivityRelatedToRestrictedStockDetails" id="DisclosureStockPlansScheduleOfActivityRelatedToRestrictedStockDetails">
        <link:definition>41403 - Disclosure - Stock Plans - Schedule of Activity Related to Restricted Stock (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansAdditionalInformationDetails" id="DisclosureEmployeeBenefitPlansAdditionalInformationDetails">
        <link:definition>41501 - Disclosure - Employee benefit plans - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansScheduleOfWeightedAverageAssumptionsUsedToDetermineBenefitObligationsAndRelatedExpensesDetails" id="DisclosureEmployeeBenefitPlansScheduleOfWeightedAverageAssumptionsUsedToDetermineBenefitObligationsAndRelatedExpensesDetails">
        <link:definition>41505 - Disclosure - Employee benefit plans - Schedule of Weighted-Average Assumptions Used to Determine Benefit Obligations and Related Expenses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansScheduleOfPensionPlanWeightedAverageAssetAllocationsDetails" id="DisclosureEmployeeBenefitPlansScheduleOfPensionPlanWeightedAverageAssetAllocationsDetails">
        <link:definition>41506 - Disclosure - Employee benefit plans - Schedule of Pension Plan Weighted-Average Asset Allocations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansFairValueMeasurementOfPensionPlanAssetsDetails" id="DisclosureEmployeeBenefitPlansFairValueMeasurementOfPensionPlanAssetsDetails">
        <link:definition>41507 - Disclosure - Employee benefit plans - Fair Value Measurement of Pension Plan Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureEmployeeBenefitPlansScheduleOfBenefitPaymentsExpectedToBePaidDetails" id="DisclosureEmployeeBenefitPlansScheduleOfBenefitPaymentsExpectedToBePaidDetails">
        <link:definition>41508 - Disclosure - Employee benefit plans - Schedule of Benefit Payments Expected to be Paid (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureIncomeTaxesAdditionalInformationDetails" id="DisclosureIncomeTaxesAdditionalInformationDetails">
        <link:definition>41603 - Disclosure - Income taxes - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureParentCompanyFinancialStatementsCondensedStatementsOfCashFlowsDetails" id="DisclosureParentCompanyFinancialStatementsCondensedStatementsOfCashFlowsDetails">
        <link:definition>41703 - Disclosure - Parent Company financial statements - Condensed Statements of Cash Flows (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureRegulatoryMattersAdditionalInformationDetails" id="DisclosureRegulatoryMattersAdditionalInformationDetails">
        <link:definition>41801 - Disclosure - Regulatory matters - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureRegulatoryMattersScheduleOfBankSCapitalAmountsAndRatiosDetails" id="DisclosureRegulatoryMattersScheduleOfBankSCapitalAmountsAndRatiosDetails">
        <link:definition>41802 - Disclosure - Regulatory matters - Schedule of Bank's Capital Amounts and Ratios (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://imetrix.edgar-online.com/role/DisclosureSummaryOfQuarterlyFinancialInformationSummaryOfQuarterlyFinancialInformationDetails" id="DisclosureSummaryOfQuarterlyFinancialInformationSummaryOfQuarterlyFinancialInformationDetails">
        <link:definition>42101 - Disclosure - Summary of quarterly financial information - Summary of Quarterly Financial Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:href="pfis-20151231_cal.xml" xlink:title="Calculation Links, all" />
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:href="pfis-20151231_def.xml" xlink:title="Definition Links, all" />
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:href="pfis-20151231_lab.xml" xlink:title="Label Links, all" />
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:href="pfis-20151231_pre.xml" xlink:title="Presentation Links, all" />
    </appinfo>
  </annotation>
  <import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" />
  <import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
  <import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd" />
  <import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" />
  <import namespace="http://xbrl.sec.gov/dei/2014-01-31" schemaLocation="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd" />
  <import namespace="http://www.xbrl.org/2009/role/negated" schemaLocation="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd" />
  <import namespace="http://fasb.org/us-gaap/2015-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd" />
  <import namespace="http://xbrl.sec.gov/country/2013-01-31" schemaLocation="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd" />
  <element name="AccountingMember" id="pfis_AccountingMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AccretionOfPurchaseAccountingFairValueAdjustmentNetOfAmortization" id="pfis_AccretionOfPurchaseAccountingFairValueAdjustmentNetOfAmortization" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AccruedInterestPayableFairValueDisclosure" id="pfis_AccruedInterestPayableFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AccruedInterestReceivableFairValueDisclosure" id="pfis_AccruedInterestReceivableFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AcquiredImpairedLoansFromMerger" id="pfis_AcquiredImpairedLoansFromMerger" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AcquiredImpairedLoansMember" id="pfis_AcquiredImpairedLoansMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AcquiredLoansAtFairValueCarryingAmount" id="pfis_AcquiredLoansAtFairValueCarryingAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AcquiredNonImpairedLoansMember" id="pfis_AcquiredNonImpairedLoansMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AdjustmentToFairValueOfImpairedLoans" id="pfis_AdjustmentToFairValueOfImpairedLoans" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AfterRetirementMember" id="pfis_AfterRetirementMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AgeLimitForPostretirementLifeInsuranceBenefit" id="pfis_AgeLimitForPostretirementLifeInsuranceBenefit" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AllowanceForOffBalanceSheetCreditInstruments" id="pfis_AllowanceForOffBalanceSheetCreditInstruments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossNetOfTax" id="pfis_AmountRecognizedInNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossNetOfTax" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AprilTwoThousandEighteenMember" id="pfis_AprilTwoThousandEighteenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AugustTwoThousandFourteenMember" id="pfis_AugustTwoThousandFourteenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AvailableForSaleSecuritiesIncomeTaxBenefitOnRealizedGainsLosses" id="pfis_AvailableForSaleSecuritiesIncomeTaxBenefitOnRealizedGainsLosses" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AvailableForSaleSecuritiesUnrealizedGainLossNetOfTax" id="pfis_AvailableForSaleSecuritiesUnrealizedGainLossNetOfTax" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="AverageNumberOfCommonSharesOutstanding" id="pfis_AverageNumberOfCommonSharesOutstanding" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BankOwnedLifeInsurancePolicyTextBlock" id="pfis_BankOwnedLifeInsurancePolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessAcquisitionBeneficialOwnershipPercentage" id="pfis_BusinessAcquisitionBeneficialOwnershipPercentage" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessAcquisitionPurchasePriceAllocationLoansAcquiredAtFairValue" id="pfis_BusinessAcquisitionPurchasePriceAllocationLoansAcquiredAtFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessAcquisitionsProFormaEarningsPerShareBasicAndDiluted" id="pfis_BusinessAcquisitionsProFormaEarningsPerShareBasicAndDiluted" type="num:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessAcquisitionsProFormaNoninterestExpense" id="pfis_BusinessAcquisitionsProFormaNoninterestExpense" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessAcquisitionsProFormaNoninterestIncome" id="pfis_BusinessAcquisitionsProFormaNoninterestIncome" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessAcquisitionStockConversionRatio" id="pfis_BusinessAcquisitionStockConversionRatio" type="xbrli:pureItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationContributionDescription" id="pfis_BusinessCombinationContributionDescription" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationFairValueOfAcquireePerShare" id="pfis_BusinessCombinationFairValueOfAcquireePerShare" type="num:perShareItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationsGoodwillAndOtherIntangibleAssetsNetPolicyTextBlock" id="pfis_BusinessCombinationsGoodwillAndOtherIntangibleAssetsNetPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CashPaidDuringPeriodForAbstract" id="pfis_CashPaidDuringPeriodForAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CashPaidForFractionalShares" id="pfis_CashPaidForFractionalShares" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldChargeOff" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldChargeOff" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretibleYieldAccretion" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretibleYieldAccretion" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretibleYieldPayments" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretibleYieldPayments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifference" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifference" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferenceAccretion" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferenceAccretion" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferenceAdditions" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferenceAdditions" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferenceChargeOff" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferenceChargeOff" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferencePayments" id="pfis_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNonaccretibleDifferencePayments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ChangesInAccretibleYieldAndNonaccretibleDifferenceOfAcquiredLoansTableTextBlock" id="pfis_ChangesInAccretibleYieldAndNonaccretibleDifferenceOfAcquiredLoansTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CommitmentsSubjectToUndueCreditRisk" id="pfis_CommitmentsSubjectToUndueCreditRisk" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CommitmentToExtendCredit" id="pfis_CommitmentToExtendCredit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CommonStockSharesToBeIssued" id="pfis_CommonStockSharesToBeIssued" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CommonStockSharesToBeOutstanding" id="pfis_CommonStockSharesToBeOutstanding" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CompanyCommonStockIncludedInEquitySecurities" id="pfis_CompanyCommonStockIncludedInEquitySecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ConsolidatedStatementsOfCashFlowsPolicyTextBlock" id="pfis_ConsolidatedStatementsOfCashFlowsPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ConsumerLoansPeriod" id="pfis_ConsumerLoansPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ContractualAmountForOffBalanceSheetCommitments" id="pfis_ContractualAmountForOffBalanceSheetCommitments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ContractualAmountForOffBalanceSheetCommitmentsTableTextBlock" id="pfis_ContractualAmountForOffBalanceSheetCommitmentsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ContractualCashFlowsNotExpectedToBeCollected" id="pfis_ContractualCashFlowsNotExpectedToBeCollected" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ContractuallyRequiredPrincipalAndInterestAtAcquisition" id="pfis_ContractuallyRequiredPrincipalAndInterestAtAcquisition" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ContractualTermPeriod" id="pfis_ContractualTermPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="CreditValuationAdjustmentsOnDefaultLoans" id="pfis_CreditValuationAdjustmentsOnDefaultLoans" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DecemberTwoThousandAndNineteenMember" id="pfis_DecemberTwoThousandAndNineteenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DecemberTwoZeroOneNineMember" id="pfis_DecemberTwoZeroOneNineMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DeferredLoanCostsNet" id="pfis_DeferredLoanCostsNet" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DeferredTaxLiabilitiesInvestmentSecuritiesAvailableForSale" id="pfis_DeferredTaxLiabilitiesInvestmentSecuritiesAvailableForSale" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DeferredTaxLiabilitiesMergerRelatedAccounting" id="pfis_DeferredTaxLiabilitiesMergerRelatedAccounting" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities" id="pfis_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanAccruedPensionBenefitCosts" id="pfis_DefinedBenefitPlanAccruedPensionBenefitCosts" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element id="pfis_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeLossDeferredTax" name="DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeLossDeferredTax" nillable="true" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" xbrli:balance="credit" />
  <element name="DefinedBenefitPlanAmortizationOfUnrecognizedGainsLosses" id="pfis_DefinedBenefitPlanAmortizationOfUnrecognizedGainsLosses" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanAssumptionChangesGainLoss" id="pfis_DefinedBenefitPlanAssumptionChangesGainLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationsCostExpectedLongTermReturnOnAssets" id="pfis_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationsCostExpectedLongTermReturnOnAssets" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanChangeInExperienceGainLoss" id="pfis_DefinedBenefitPlanChangeInExperienceGainLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanDiversificationPercentageMaximum" id="pfis_DefinedBenefitPlanDiversificationPercentageMaximum" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanExpectedFutureBenefitPaymentsPeriod" id="pfis_DefinedBenefitPlanExpectedFutureBenefitPaymentsPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanFixedBenefitsPayableUponRetirementAgePeriod" id="pfis_DefinedBenefitPlanFixedBenefitsPayableUponRetirementAgePeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanMaximumAnnualPaymentPercentage" id="pfis_DefinedBenefitPlanMaximumAnnualPaymentPercentage" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanOtherComprehensiveIncomeLossDeferredTax" id="pfis_DefinedBenefitPlanOtherComprehensiveIncomeLossDeferredTax" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DefinedBenefitPlanTargetAllocationPercentage1" id="pfis_DefinedBenefitPlanTargetAllocationPercentage1" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="DocumentAndEntityInformationAbstract" id="pfis_DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="EquipmentDispositionAndContractTerminationMember" id="pfis_EquipmentDispositionAndContractTerminationMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="EstimatedUsefulLivesOfAssetsTableTextBlock" id="pfis_EstimatedUsefulLivesOfAssetsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ExpirationOfStandByLettersOfCredit" id="pfis_ExpirationOfStandByLettersOfCredit" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element id="pfis_FairValueOfConsiderationExchanged" name="FairValueOfConsiderationExchanged" nillable="true" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" xbrli:balance="credit" />
  <element name="FairValueOfTheoreticalShares" id="pfis_FairValueOfTheoreticalShares" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="FebruaryTwoThousandSeventeenMember" id="pfis_FebruaryTwoThousandSeventeenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="FebruaryTwoThousandSixteen1Member" id="pfis_FebruaryTwoThousandSixteen1Member" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="FebruaryTwoThousandSixteenMember" id="pfis_FebruaryTwoThousandSixteenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="FeesMerchantServices" id="pfis_FeesMerchantServices" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="FinanceReceivablePastDuePeriodForNonaccrualStatus" id="pfis_FinanceReceivablePastDuePeriodForNonaccrualStatus" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="FurnitureFixturesAndEquipmentMember" id="pfis_FurnitureFixturesAndEquipmentMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="HistoricalPeoplesFinancialServicesCorpMember" id="pfis_HistoricalPeoplesFinancialServicesCorpMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ImpairedLoansFairValueDisclosure" id="pfis_ImpairedLoansFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ImpairedLoansMember" id="pfis_ImpairedLoansMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ImpairedLoansWithSpecificReserve" id="pfis_ImpairedLoansWithSpecificReserve" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="IncomeLossFromContinuingOperationsBeforeMinorityInterestAndIncomeLossFromEquityMethodInvestments" id="pfis_IncomeLossFromContinuingOperationsBeforeMinorityInterestAndIncomeLossFromEquityMethodInvestments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="IncomeTaxBenefitRecognitionThreshold" id="pfis_IncomeTaxBenefitRecognitionThreshold" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="IncomeTaxReconciliationNondeductibleExpenseMergerCosts" id="pfis_IncomeTaxReconciliationNondeductibleExpenseMergerCosts" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="InterestAndFeeIncomeLoansTaxable" id="pfis_InterestAndFeeIncomeLoansTaxable" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="InterestAndFeeIncomeLoansTaxExempt" id="pfis_InterestAndFeeIncomeLoansTaxExempt" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="InterestComponentOfExpectedCashFlows" id="pfis_InterestComponentOfExpectedCashFlows" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="InvestmentSecuritiesAbstract" id="pfis_InvestmentSecuritiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="InvestmentsInBankSubsidiary" id="pfis_InvestmentsInBankSubsidiary" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="LeaseOptionalExtensionPeriod" id="pfis_LeaseOptionalExtensionPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="LegalAndOtherConsultingFeesMember" id="pfis_LegalAndOtherConsultingFeesMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="LoansAndLeasesReceivableRelatedPartiesImpairedNonperformingNonaccrualOfInterest" id="pfis_LoansAndLeasesReceivableRelatedPartiesImpairedNonperformingNonaccrualOfInterest" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="LoansOutstanding" id="pfis_LoansOutstanding" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MarchTwoThousandAndTwentyThreeMember" id="pfis_MarchTwoThousandAndTwentyThreeMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MarchTwoThousandFifteenMember" id="pfis_MarchTwoThousandFifteenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MarchTwoThousandFifteenOneMember" id="pfis_MarchTwoThousandFifteenOneMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MaximumDebtServiceCoverageRatio" id="pfis_MaximumDebtServiceCoverageRatio" type="xbrli:pureItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MaximumPercentageOfStockholdersEquityExceededForSecuritiesOfAnyIndividualIssuer" id="pfis_MaximumPercentageOfStockholdersEquityExceededForSecuritiesOfAnyIndividualIssuer" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MergerRelatedItemsLineItems" id="pfis_MergerRelatedItemsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MortgageBackedSecuritiesIssuedByGovernmentAgenciesMember" id="pfis_MortgageBackedSecuritiesIssuedByGovernmentAgenciesMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MortgageBackedUsGovernmentAgenciesMember" id="pfis_MortgageBackedUsGovernmentAgenciesMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MortgageServicingRights" id="pfis_MortgageServicingRights" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="MortgageServicingRightsPolicyTextBlock" id="pfis_MortgageServicingRightsPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NatureOfOperationPolicyTextBlock" id="pfis_NatureOfOperationPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NoncashOrPartNoncashAcquisitionAccruedInterestReceivableAssumed" id="pfis_NoncashOrPartNoncashAcquisitionAccruedInterestReceivableAssumed" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NoncashOrPartNoncashAcquisitionDepositsAssumed" id="pfis_NoncashOrPartNoncashAcquisitionDepositsAssumed" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NoncashOrPartNonCashAcquisitionLoansNet" id="pfis_NoncashOrPartNonCashAcquisitionLoansNet" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NoncashOrPartNonCashAcquisitionLongTermDebtAssumed" id="pfis_NoncashOrPartNonCashAcquisitionLongTermDebtAssumed" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NoncashOrPartNoncashAcquisitionRestrictedEquitySecuritiesAssumed" id="pfis_NoncashOrPartNoncashAcquisitionRestrictedEquitySecuritiesAssumed" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NoncashOrPartNoncashAcquisitionShortTermBorrowingAssumed" id="pfis_NoncashOrPartNoncashAcquisitionShortTermBorrowingAssumed" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NovemberTwoThousandFifteenMember" id="pfis_NovemberTwoThousandFifteenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NumberOfBoardOfDirectorsMembers" id="pfis_NumberOfBoardOfDirectorsMembers" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NumberOfFullServiceBankingOffices" id="pfis_NumberOfFullServiceBankingOffices" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NumberOfInvestmentSecuritiesOwned" id="pfis_NumberOfInvestmentSecuritiesOwned" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NumberOfLoansDefault" id="pfis_NumberOfLoansDefault" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="NumberOfSecuritiesInContinuousUnrealizedLossPosition12MonthsOrLonger" id="pfis_NumberOfSecuritiesInContinuousUnrealizedLossPosition12MonthsOrLonger" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="OffBalanceSheetFinancialInstrumentsPolicyTextBlock" id="pfis_OffBalanceSheetFinancialInstrumentsPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="OtherRealEstateOwnedFairValueDisclosure" id="pfis_OtherRealEstateOwnedFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="OtherRealEstateOwnedMember" id="pfis_OtherRealEstateOwnedMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="OwnershipPercentageOfNoncontrollingShareholders" id="pfis_OwnershipPercentageOfNoncontrollingShareholders" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PaymentForSettlementOfStockOptions" id="pfis_PaymentForSettlementOfStockOptions" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PaymentsForRedemptionOfCommonStock" id="pfis_PaymentsForRedemptionOfCommonStock" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PensecoFinancialServicesCorpMember" id="pfis_PensecoFinancialServicesCorpMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PeopleBankMember" id="pfis_PeopleBankMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PeoplesFinancialServicesCorpMember" id="pfis_PeoplesFinancialServicesCorpMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PercentageOfCapitalStock" id="pfis_PercentageOfCapitalStock" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PercentageOfContributionOfAssetsAndTangibleEquity" id="pfis_PercentageOfContributionOfAssetsAndTangibleEquity" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PercentageOfFundsTransferToAffiliate" id="pfis_PercentageOfFundsTransferToAffiliate" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PercentageOfNetEarningsToSurplusFunds" id="pfis_PercentageOfNetEarningsToSurplusFunds" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PeriodOfRetainedEarningsForRestrictionOfDividend" id="pfis_PeriodOfRetainedEarningsForRestrictionOfDividend" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PerShareDataAbstract" id="pfis_PerShareDataAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PostretirementLifeInsuranceBenefitAmount" id="pfis_PostretirementLifeInsuranceBenefitAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PremisesAndLeaseholdImprovementsMember" id="pfis_PremisesAndLeaseholdImprovementsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ProceedsFromReissuanceOfTreasuryShares" id="pfis_ProceedsFromReissuanceOfTreasuryShares" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="PurchasePriceOfBusinessAcquisition" id="pfis_PurchasePriceOfBusinessAcquisition" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="QuarterlyCashDividendPerShare" id="pfis_QuarterlyCashDividendPerShare" type="num:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="RangeAndWeightedAverageOfAppraisalAdjustments" id="pfis_RangeAndWeightedAverageOfAppraisalAdjustments" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="RangeAndWeightedAverageOfLiquidationExpenses" id="pfis_RangeAndWeightedAverageOfLiquidationExpenses" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="RegulatoryMaximumOnLoanToValuePercentage" id="pfis_RegulatoryMaximumOnLoanToValuePercentage" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="RegulatoryMaximumTermOfLoan" id="pfis_RegulatoryMaximumTermOfLoan" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="RestrictedStockShareBasedCompensationVestingPeriod" id="pfis_RestrictedStockShareBasedCompensationVestingPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ReverseMergerMember" id="pfis_ReverseMergerMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="SafeHarborPlanMember" id="pfis_SafeHarborPlanMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="SalariesAndBenefitsMember" id="pfis_SalariesAndBenefitsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfDepositsTableTextBlock" id="pfis_ScheduleOfDepositsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfMaturitiesOfTimeDepositsTableTextBlock" id="pfis_ScheduleOfMaturitiesOfTimeDepositsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfMergerRelatedCostsTable" id="pfis_ScheduleOfMergerRelatedCostsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="ScheduleOfMergerRelatedCostsTableTextBlock" id="pfis_ScheduleOfMergerRelatedCostsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="SeptemberTwoThousandAndSeventeenMember" id="pfis_SeptemberTwoThousandAndSeventeenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsVestingDate" id="pfis_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsVestingDate" type="xbrli:dateItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedFromAcquisitionInPeriodWeightedAverageExercisePrice" id="pfis_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedFromAcquisitionInPeriodWeightedAverageExercisePrice" type="num:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedFromAcquisitionsInPeriod" id="pfis_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedFromAcquisitionsInPeriod" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsSettledInPeriod" id="pfis_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsSettledInPeriod" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardVestingPeriodDescription" id="pfis_ShareBasedCompensationArrangementByShareBasedPaymentAwardVestingPeriodDescription" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsSettledInPeriodWeightedAverageExercisePrice" id="pfis_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsSettledInPeriodWeightedAverageExercisePrice" type="num:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShortTermDebtWeightedAverageInterestRateAtYearEnd" id="pfis_ShortTermDebtWeightedAverageInterestRateAtYearEnd" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ShortTermDebtWeightedAverageInterestRateDuringYear" id="pfis_ShortTermDebtWeightedAverageInterestRateDuringYear" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="StandbyLetterOfCredit" id="pfis_StandbyLetterOfCredit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="StateAndMunicipalTaxExemptBondsMember" id="pfis_StateAndMunicipalTaxExemptBondsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="StockOptionPlanMember" id="pfis_StockOptionPlanMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="StockOptionsRepurchasedAndRetiredDuringPeriodShares" id="pfis_StockOptionsRepurchasedAndRetiredDuringPeriodShares" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="StockOptionsRepurchasedAndRetiredDuringPeriodValue" id="pfis_StockOptionsRepurchasedAndRetiredDuringPeriodValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="StrikePricePerShare" id="pfis_StrikePricePerShare" type="num:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="SummaryOfAcquiredNonImpairedAndImpairedLoansTableTextBlock" id="pfis_SummaryOfAcquiredNonImpairedAndImpairedLoansTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="SummaryOfSignificantAccountingPoliciesLineItems" id="pfis_SummaryOfSignificantAccountingPoliciesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="SummaryOfSignificantAccountingPoliciesTable" id="pfis_SummaryOfSignificantAccountingPoliciesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="SupplementalExecutiveRetirementPlansMember" id="pfis_SupplementalExecutiveRetirementPlansMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="SystemConversionDeconversionCostsMember" id="pfis_SystemConversionDeconversionCostsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="TheoreticalSharesToBeIssuedAsConsideration" id="pfis_TheoreticalSharesToBeIssuedAsConsideration" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="TheoreticalSharesToBeOutstandingAfterConsiderationPaid" id="pfis_TheoreticalSharesToBeOutstandingAfterConsiderationPaid" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" />
  <element name="TheoreticalShareToBeIssuedAsConsiderationAbstract" id="pfis_TheoreticalShareToBeIssuedAsConsiderationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="TwoThousandAndEightPlanMember" id="pfis_TwoThousandAndEightPlanMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="TwoThousandAndFourteenMember" id="pfis_TwoThousandAndFourteenMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="UnobservableInput" id="pfis_UnobservableInput" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="UnpaidPrincipalBalancesOfMortgageLoansServicedForOthers" id="pfis_UnpaidPrincipalBalancesOfMortgageLoansServicedForOthers" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="UnusedLettersOfCredit" id="pfis_UnusedLettersOfCredit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" />
  <element name="USLargeCapMember" id="pfis_USLargeCapMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element name="ValuationTechnique" id="pfis_ValuationTechnique" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" />
  <element id="pfis_DecemberTwoThousandNineteenMember" name="DecemberTwoThousandNineteenMember" nillable="true" type="nonnum:domainItemType" substitutionGroup="xbrli:item" abstract="true" xbrli:periodType="duration" />
  <element id="pfis_JuneTwoThousandTwentyMember" name="JuneTwoThousandTwentyMember" nillable="true" type="nonnum:domainItemType" substitutionGroup="xbrli:item" abstract="true" xbrli:periodType="duration" />
  <element id="pfis_DecemberTwoThousandTwentyMember" name="DecemberTwoThousandTwentyMember" nillable="true" type="nonnum:domainItemType" substitutionGroup="xbrli:item" abstract="true" xbrli:periodType="duration" />
  <element id="pfis_TierOneCommonEquityRiskBasedCapital" name="TierOneCommonEquityRiskBasedCapital" nillable="true" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" xbrli:balance="credit" />
  <element id="pfis_TierOneCommonEquityRiskBasedCapitalToRiskWeightedAssets" name="TierOneCommonEquityRiskBasedCapitalToRiskWeightedAssets" nillable="true" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" />
  <element id="pfis_TierOneCommonEquityRiskBasedCapitalRequiredForCapitalAdequacy" name="TierOneCommonEquityRiskBasedCapitalRequiredForCapitalAdequacy" nillable="true" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" xbrli:balance="credit" />
  <element id="pfis_TierOneCommonEquityRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" name="TierOneCommonEquityRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" nillable="true" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" />
  <element id="pfis_TierOneCommonEquityRiskBasedCapitalRequiredToBeWellCapitalized" name="TierOneCommonEquityRiskBasedCapitalRequiredToBeWellCapitalized" nillable="true" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" xbrli:balance="credit" />
  <element id="pfis_TierOneCommonEquityRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" name="TierOneCommonEquityRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" nillable="true" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" />
  <element id="pfis_AccruedInterestReceivablePolicyTextBlock" name="AccruedInterestReceivablePolicyTextBlock" nillable="true" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" />
  <element id="pfis_RestrictedEquitySecuritiesPolicyTextBlock" name="RestrictedEquitySecuritiesPolicyTextBlock" nillable="true" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" />
  <element id="pfis_NetLoanPolicyTextBlock" name="NetLoanPolicyTextBlock" nillable="true" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" />
  <element id="pfis_DepositPolicyTextBlock" name="DepositPolicyTextBlock" nillable="true" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" />
  <element id="pfis_ShortTermBorrowingsPolicyPolicyTextBlock" name="ShortTermBorrowingsPolicyPolicyTextBlock" nillable="true" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" />
  <element id="pfis_AccruedInterestPayablePolicyTextBlock" name="AccruedInterestPayablePolicyTextBlock" nillable="true" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" />
  <element id="pfis_NoncashOrPartNoncashAcquisitionAndAmortizationIntangibleAssetsAcquired" name="NoncashOrPartNoncashAcquisitionAndAmortizationIntangibleAssetsAcquired" nillable="true" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" xbrli:balance="debit" />
  <element id="pfis_AmortizationLossInvestmentTaxCredits" name="AmortizationLossInvestmentTaxCredits" nillable="true" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" xbrli:balance="debit" />
</schema>
