XML 76 R63.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details) $ in Thousands | Dec. 31, 2023 USD ($) security | Dec. 31, 2022 USD ($) security
--- | --- | ---
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 3 | 92
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 248 | 183
Total, Available-for-sale, Number of Securities in a Loss Position | security | 251 | 275
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 1,570 | $ 156,136
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 397,201 | 316,766
Available-for-sale Debt Securities, Total | 398,771 | 472,902
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 11 | 9,312
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 51,516 | 57,060
Available-for-sale Debt Securities Unrealized losses, Total | $ 51,527 | $ 66,372
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | security | 2 | 6
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 22 | 21
Total, Held to Maturity, Number of Securities in a Loss Position | security | 24 | 27
Held-to-maturity Debt (HTM) Securities, Less than 12 Months | $ 1,438 |
Held-to-maturity Debt (HTM) Securities, 12 months or More | 67,365 |
Held-to-maturity Debt (HTM) Securities, Total | 68,803 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months | (36) |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | (13,118) |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ (13,154) |
Held-to-maturity Debt, Less than 12 Months |  | $ 3,167
Held-to-maturity Debt, 12 Months or More |  | 69,055
Held-to-maturity Fair Value |  | 72,222
Held-to-maturity Debt Unrealized losses, Less than 12 Months |  | 29
Held-to-maturity Debt Unrealized losses, 12 Months or More |  | 14,559
Held-to-maturity Debt Unrealized losses, Total |  | $ 14,588
U.S. Treasury securities |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 5
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 43 | 40
Total, Available-for-sale, Number of Securities in a Loss Position | security | 43 | 45
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 23,700
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 184,057 | 156,597
Available-for-sale Debt Securities, Total | 184,057 | 180,297
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 1,887
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 13,863 | 17,753
Available-for-sale Debt Securities Unrealized losses, Total | $ 13,863 | $ 19,640
U.S. government-sponsored enterprises |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 4
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 2 | 1
Total, Available-for-sale, Number of Securities in a Loss Position | security | 2 | 5
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 14,104
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 2,152 | 2,266
Available-for-sale Debt Securities, Total | 2,152 | 16,370
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 197
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 387 | 388
Available-for-sale Debt Securities Unrealized losses, Total | $ 387 | $ 585
State and municipals, Taxable |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 1 | 21
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 65 | 45
Total, Available-for-sale, Number of Securities in a Loss Position | security | 66 | 66
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 995 | $ 19,919
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 56,105 | 34,464
Available-for-sale Debt Securities, Total | 57,100 | 54,383
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 6 | 2,908
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 10,725 | 10,680
Available-for-sale Debt Securities Unrealized losses, Total | $ 10,731 | $ 13,588
State and municipals, Tax-exempt |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 2 | 36
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 93 | 74
Total, Available-for-sale, Number of Securities in a Loss Position | security | 95 | 110
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 575 | $ 27,823
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 66,393 | 56,758
Available-for-sale Debt Securities, Total | 66,968 | 84,581
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 5 | 1,661
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 8,613 | 9,828
Available-for-sale Debt Securities Unrealized losses, Total | $ 8,618 | $ 11,489
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | security | 2 | 3
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 10 | 10
Total, Held to Maturity, Number of Securities in a Loss Position | security | 12 | 13
Held-to-maturity Debt (HTM) Securities, Less than 12 Months | $ 1,438 |
Held-to-maturity Debt (HTM) Securities, 12 months or More | 6,209 |
Held-to-maturity Debt (HTM) Securities, Total | 7,647 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months | (36) |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | (624) |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ (660) |
Held-to-maturity Debt, Less than 12 Months |  | $ 3,150
Held-to-maturity Debt, 12 Months or More |  | 2,906
Held-to-maturity Fair Value |  | 6,056
Held-to-maturity Debt Unrealized losses, Less than 12 Months |  | 29
Held-to-maturity Debt Unrealized losses, 12 Months or More |  | 783
Held-to-maturity Debt Unrealized losses, Total |  | $ 812
Residential mortgage-backed securities, U.S. government agencies |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 3
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 3 | 1
Total, Available-for-sale, Number of Securities in a Loss Position | security | 3 | 4
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 899
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 724 | 43
Available-for-sale Debt Securities, Total | 724 | 942
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 39
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 34 | 1
Available-for-sale Debt Securities Unrealized losses, Total | $ 34 | $ 40
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 2
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 4 | 3
Total, Held to Maturity, Number of Securities in a Loss Position | security | 4 | 5
Held-to-maturity Debt (HTM) Securities, 12 months or More | $ 12,747 |
Held-to-maturity Debt (HTM) Securities, Total | 12,747 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | (2,653) |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ (2,653) |
Held-to-maturity Debt, Less than 12 Months |  | $ 5
Held-to-maturity Debt, 12 Months or More |  | 14,283
Held-to-maturity Fair Value |  | 14,288
Held-to-maturity Debt Unrealized losses, 12 Months or More |  | 3,016
Held-to-maturity Debt Unrealized losses, Total |  | $ 3,016
Residential mortgage-backed securities, U.S. government-sponsored enterprises |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 18
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 32 | 17
Total, Available-for-sale, Number of Securities in a Loss Position | security | 32 | 35
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 57,154
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 72,671 | 63,965
Available-for-sale Debt Securities, Total | 72,671 | 121,119
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 2,029
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 17,264 | 18,083
Available-for-sale Debt Securities Unrealized losses, Total | $ 17,264 | $ 20,112
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 1
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 8 | 8
Total, Held to Maturity, Number of Securities in a Loss Position | security | 8 | 9
Held-to-maturity Debt (HTM) Securities, 12 months or More | $ 48,409 |
Held-to-maturity Debt (HTM) Securities, Total | 48,409 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | (9,841) |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ (9,841) |
Held-to-maturity Debt, Less than 12 Months |  | $ 12
Held-to-maturity Debt, 12 Months or More |  | 51,866
Held-to-maturity Fair Value |  | 51,878
Held-to-maturity Debt Unrealized losses, 12 Months or More |  | 10,760
Held-to-maturity Debt Unrealized losses, Total |  | $ 10,760
Commercial mortgage-backed Securities, U.S. government-sponsored enterprises |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 4
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 4 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 4 | 4
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 11,584
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 11,369 |
Available-for-sale Debt Securities, Total | 11,369 | 11,584
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 544
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 360 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 360 | $ 544
Corporate Debt Securities |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 1
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 6 | 5
Total, Available-for-sale, Number of Securities in a Loss Position | security | 6 | 6
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 953
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 3,730 | 2,673
Available-for-sale Debt Securities, Total | 3,730 | 3,626
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 47
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 270 | 327
Available-for-sale Debt Securities Unrealized losses, Total | $ 270 | $ 374

X
- Definition Debt Securities, Excluding Accrued Interest, Held-to-Maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss + References No definition available. + Details
Name: | pfis_DebtSecuritiesExcludingAccruedInterestHeldToMaturityContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security excluding accrued interest measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer. + References No definition available. + Details
Name: | pfis_DebtSecuritiesExcludingAccruedInterestHeldToMaturityContinuousUnrealizedLossPosition12MonthsOrLongerFairValue
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | pfis_DebtSecuritiesExcludingAccruedInterestHeldToMaturityContinuousUnrealizedLossPositionAbstract
Namespace Prefix: | pfis_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of accumulated unrealized loss on investment in debt security excluding accrued interest measured at amortized cost (held-to-maturity), in continuous loss position. + References No definition available. + Details
Name: | pfis_DebtSecuritiesExcludingAccruedInterestHeldToMaturityContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security excluding accrued interest measured at amortized cost (held-to-maturity), in continuous unrealized loss position. + References No definition available. + Details
Name: | pfis_DebtSecuritiesExcludingAccruedInterestHeldToMaturityContinuousUnrealizedLossPositionFairValue
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security excluding accrued interest measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months. + References No definition available. + Details
Name: | pfis_DebtSecuritiesExcludingAccruedInterestHeldToMaturityContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months. + References No definition available. + Details
Name: | pfis_DebtSecuritiesExcludingAccruedInterestHeldToMaturityContinuousUnrealizedLossPositionLessThan12MonthsFairValue
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (held to maturity), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References No definition available. + Details
Name: | pfis_DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions
Namespace Prefix: | pfis_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (held to maturity), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References No definition available. + Details
Name: | pfis_DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions
Namespace Prefix: | pfis_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (held to maturity), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References No definition available. + Details
Name: | pfis_DebtSecuritiesHeldToMaturityUnrealizedLossPositionNumberOfPositions
Namespace Prefix: | pfis_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAvailableforSaleUnrealizedLossPositionAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 + Details
Name: | us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_TaxableMunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_NontaxableMunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=pfis_MortgageBackedUsGovernmentAgenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=pfis_CommercialMortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |