XML 59 R48.htm IDEA: XBRL DOCUMENT
v3.25.2

Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details) $ in Thousands | Jun. 30, 2025 USD ($) security | Dec. 31, 2024 USD ($) security
--- | --- | ---
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 38 | 60
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 243 | 233
Total, Available-for-sale, Number of Securities in a Loss Position | security | 281 | 293
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 72,332 | $ 66,752
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 347,121 | 361,723
Available-for-sale Debt Securities, Total | 419,453 | 428,475
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 698 | 1,175
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 42,447 | 49,250
Available-for-sale Debt Securities Unrealized losses, Total | $ 43,145 | $ 50,425
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | 3 | 4
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | 25 | 24
Total, Held to Maturity, Number of Securities in a Loss Position | 28 | 28
Held-to-maturity Debt (HTM) Securities, Less than 12 Months | $ 2,339 | $ 2,508
Held-to-maturity Debt (HTM) Securities, 12 months or More | 61,914 | 62,644
Held-to-maturity Debt (HTM) Securities, Total | 64,253 | 65,152
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months | 26 | 66
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 10,858 | 12,966
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 10,884 | $ 13,032
U.S. Treasury securities |  |
Available-for-sale Debt Securities |  |
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 32 | 38
Total, Available-for-sale, Number of Securities in a Loss Position | security | 32 | 38
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 145,181 | $ 167,551
Available-for-sale Debt Securities, Total | 145,181 | 167,551
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 5,389 | 8,751
Available-for-sale Debt Securities Unrealized losses, Total | $ 5,389 | $ 8,751
U.S. government-sponsored enterprises |  |
Available-for-sale Debt Securities |  |
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security |  | 1
Total, Available-for-sale, Number of Securities in a Loss Position | security |  | 1
Available-for-sale Debt Securities, 12 Months or More, Fair Value |  | $ 1,856
Available-for-sale Debt Securities, Total |  | 1,856
Available-for-sale Debt Securities Unrealized losses, 12 Months or More |  | 71
Available-for-sale Debt Securities Unrealized losses, Total |  | $ 71
U.S. government-sponsored enterprises, Tax-exempt |  |
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | security | 3 |
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 13 |
Total, Held to Maturity, Number of Securities in a Loss Position | security | 16 |
Held-to-maturity Debt (HTM) Securities, Less than 12 Months | $ 2,339 |
Held-to-maturity Debt (HTM) Securities, 12 months or More | 7,587 |
Held-to-maturity Debt (HTM) Securities, Total | 9,926 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months | 26 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 877 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 903 |
State and municipals, Taxable |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 2
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 64 | 64
Total, Available-for-sale, Number of Securities in a Loss Position | security | 64 | 66
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 1,097
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 57,734 | 55,712
Available-for-sale Debt Securities, Total | 57,734 | 56,809
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 6
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 8,339 | 10,475
Available-for-sale Debt Securities Unrealized losses, Total | $ 8,339 | $ 10,481
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 | 5 | 6
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 91 | 91
Total, Available-for-sale, Number of Securities in a Loss Position | security | 96 | 97
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 3,893 | $ 1,874
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 61,868 | 62,329
Available-for-sale Debt Securities, Total | 65,761 | 64,203
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 23 | 41
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 10,798 | 10,239
Available-for-sale Debt Securities Unrealized losses, Total | $ 10,821 | $ 10,280
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | security |  | 4
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security |  | 12
Total, Held to Maturity, Number of Securities in a Loss Position | security |  | 16
Held-to-maturity Debt (HTM) Securities, Less than 12 Months |  | $ 2,508
Held-to-maturity Debt (HTM) Securities, 12 months or More |  | 7,235
Held-to-maturity Debt (HTM) Securities, Total |  | 9,743
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months |  | 66
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More |  | 1,037
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total |  | $ 1,103
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 | 1 | 1
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 1 | 1
Total, Available-for-sale, Number of Securities in a Loss Position | security | 2 | 2
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 6,349 | $ 1,299
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 1 | 3
Available-for-sale Debt Securities, Total | 6,350 | 1,302
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 11 | 27
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 1 | 1
Available-for-sale Debt Securities Unrealized losses, Total | $ 12 | $ 28
Held to Maturity, Debt Securities |  |
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 4 | 4
Total, Held to Maturity, Number of Securities in a Loss Position | security | 4 | 4
Held-to-maturity Debt (HTM) Securities, 12 months or More | $ 10,917 | $ 11,204
Held-to-maturity Debt (HTM) Securities, Total | 10,917 | 11,204
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 2,152 | 2,643
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 2,152 | $ 2,643
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 | 14 | 29
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 41 | 31
Total, Available-for-sale, Number of Securities in a Loss Position | security | 55 | 60
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 43,714 | $ 40,886
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 67,327 | 68,732
Available-for-sale Debt Securities, Total | 111,041 | 109,618
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 454 | 622
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 16,907 | 18,925
Available-for-sale Debt Securities Unrealized losses, Total | $ 17,361 | $ 19,547
Held to Maturity, Debt Securities |  |
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 | 8
Held-to-maturity Debt (HTM) Securities, 12 months or More | $ 43,410 | $ 44,205
Held-to-maturity Debt (HTM) Securities, Total | 43,410 | 44,205
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 7,829 | 9,286
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 7,829 | $ 9,286
Commercial mortgage-backed Securities, U.S. government-sponsored enterprises |  |
Available-for-sale Debt Securities |  |
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 1 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 1 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 1,880 |
Available-for-sale Debt Securities, Total | 1,880 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 39 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 39 |
Private collateralized mortgage obligations |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 15 | 15
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 1 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 16 | 15
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 13,336 | $ 12,854
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 777 |
Available-for-sale Debt Securities, Total | 14,113 | 12,854
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 190 | 152
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 24 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 214 | $ 152
Asset backed securities |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 3 | 2
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 | 6 | 3
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 5,040 | $ 2,659
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 4,402 | 1,939
Available-for-sale Debt Securities, Total | 9,442 | 4,598
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 20 | 11
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 285 | 389
Available-for-sale Debt Securities Unrealized losses, Total | $ 305 | $ 400
Corporate debt 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 | 9 | 6
Total, Available-for-sale, Number of Securities in a Loss Position | security | 9 | 11
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 6,083
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 7,951 | 3,601
Available-for-sale Debt Securities, Total | 7,951 | 9,684
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 316
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 665 | 399
Available-for-sale Debt Securities Unrealized losses, Total | $ 665 | $ 715

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
- 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=pfis_UsGovernmentSponsoredEnterprisesDebtSecuritiesNonTaxableMember
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=pfis_CommercialMortgageBackedSecuritiesPrivateCollateralizedMortgageObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AssetBackedSecuritiesMember
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: |