XML 58 R48.htm IDEA: XBRL DOCUMENT
v3.25.3

Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details) $ in Thousands | Sep. 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 | 21 | 60
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 241 | 233
Total, Available-for-sale, Number of Securities in a Loss Position | security | 262 | 293
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 44,504 | $ 66,752
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 342,291 | 361,723
Available-for-sale Debt Securities, Total | 386,795 | 428,475
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 240 | 1,175
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 36,775 | 49,250
Available-for-sale Debt Securities Unrealized losses, Total | $ 37,015 | $ 50,425
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 | 23 | 24
Total, Held to Maturity, Number of Securities in a Loss Position | 23 | 28
Held-to-maturity Debt (HTM) Securities, Less than 12 Months |  | $ 2,508
Held-to-maturity Debt (HTM) Securities, 12 months or More | $ 59,990 | 62,644
Held-to-maturity Debt (HTM) Securities, Total | 59,990 | 65,152
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 | 9,745 | 12,966
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 9,745 | $ 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 | $ 128,507 | $ 167,551
Available-for-sale Debt Securities, Total | 128,507 | 167,551
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 4,187 | 8,751
Available-for-sale Debt Securities Unrealized losses, Total | $ 4,187 | $ 8,751
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 | $ 58,578 | 55,712
Available-for-sale Debt Securities, Total | 58,578 | 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 | 7,463 | 10,475
Available-for-sale Debt Securities Unrealized losses, Total | $ 7,463 | $ 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 | 1 | 6
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 89 | 91
Total, Available-for-sale, Number of Securities in a Loss Position | security | 90 | 97
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 255 | $ 1,874
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 63,370 | 62,329
Available-for-sale Debt Securities, Total | 63,625 | 64,203
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 1 | 41
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 8,531 | 10,239
Available-for-sale Debt Securities Unrealized losses, Total | $ 8,532 | $ 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 | 11 | 12
Total, Held to Maturity, Number of Securities in a Loss Position | security | 11 | 16
Held-to-maturity Debt (HTM) Securities, Less than 12 Months |  | $ 2,508
Held-to-maturity Debt (HTM) Securities, 12 months or More | $ 6,615 | 7,235
Held-to-maturity Debt (HTM) Securities, Total | 6,615 | 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 | 655 | 1,037
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 655 | $ 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
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 | 1 | 2
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 1,299
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 1,369 | 3
Available-for-sale Debt Securities, Total | 1,369 | 1,302
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 27
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 5 | 1
Available-for-sale Debt Securities Unrealized losses, Total | $ 5 | $ 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,551 | $ 11,204
Held-to-maturity Debt (HTM) Securities, Total | 10,551 | 11,204
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 2,088 | 2,643
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 2,088 | $ 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 | 33 | 31
Total, Available-for-sale, Number of Securities in a Loss Position | security | 47 | 60
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 31,779 | $ 40,886
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 70,758 | 68,732
Available-for-sale Debt Securities, Total | 102,537 | 109,618
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 155 | 622
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 15,649 | 18,925
Available-for-sale Debt Securities Unrealized losses, Total | $ 15,804 | $ 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 | $ 42,824 | $ 44,205
Held-to-maturity Debt (HTM) Securities, Total | 42,824 | 44,205
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 7,002 | 9,286
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 7,002 | $ 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 | 1
Total, Available-for-sale, Number of Securities in a Loss Position | security | 1 | 1
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 1,888 | $ 1,856
Available-for-sale Debt Securities, Total | 1,888 | 1,856
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 27 | 71
Available-for-sale Debt Securities Unrealized losses, Total | $ 27 | $ 71
Private collateralized mortgage obligations |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 5 | 15
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 10 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 15 | 15
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 10,174 | $ 12,854
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 7,734 |
Available-for-sale Debt Securities, Total | 17,908 | 12,854
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 71 | 152
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 191 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 262 | $ 152
Asset backed securities |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 1 | 2
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 | 3 | 3
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 2,296 | $ 2,659
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 1,892 | 1,939
Available-for-sale Debt Securities, Total | 4,188 | 4,598
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 13 | 11
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 285 | 389
Available-for-sale Debt Securities Unrealized losses, Total | $ 298 | $ 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 | $ 8,195 | 3,601
Available-for-sale Debt Securities, Total | 8,195 | 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 | 437 | 399
Available-for-sale Debt Securities Unrealized losses, Total | $ 437 | $ 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_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: |