XML 252 R77.htm IDEA: XBRL DOCUMENT
v3.25.1

Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details) $ in Thousands | Dec. 31, 2024 USD ($) security | Dec. 31, 2023 USD ($) security
--- | --- | ---
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 60 | 3
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 233 | 248
Total, Available-for-sale, Number of Securities in a Loss Position | security | 293 | 251
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 66,752 | $ 1,570
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 361,723 | 397,201
Available-for-sale Debt Securities, Total | 428,475 | 398,771
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 1,175 | 11
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 49,250 | 51,516
Available-for-sale Debt Securities Unrealized losses, Total | $ 50,425 | $ 51,527
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | security | 4 | 2
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 24 | 22
Total, Held to Maturity, Number of Securities in a Loss Position | security | 28 | 24
Held-to-maturity Debt (HTM) Securities, Less than 12 Months | $ 2,508 | $ 1,438
Held-to-maturity Debt (HTM) Securities, 12 months or More | 62,644 | 67,365
Held-to-maturity Debt (HTM) Securities, Total | 65,152 |
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months | 66 | 36
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 12,966 | 13,118
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 13,032 |
Held-to-maturity Fair Value |  | 68,803
Held-to-maturity Debt Unrealized losses, Total |  | $ 13,154
U.S. Treasury securities |  |
Available-for-sale Debt Securities |  |
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 38 | 43
Total, Available-for-sale, Number of Securities in a Loss Position | security | 38 | 43
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 167,551 | $ 184,057
Available-for-sale Debt Securities, Total | 167,551 | 184,057
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 8,751 | 13,863
Available-for-sale Debt Securities Unrealized losses, Total | $ 8,751 | $ 13,863
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 |  | 2
Total, Available-for-sale, Number of Securities in a Loss Position | security |  | 2
Available-for-sale Debt Securities, 12 Months or More, Fair Value |  | $ 2,152
Available-for-sale Debt Securities, Total |  | 2,152
Available-for-sale Debt Securities Unrealized losses, 12 Months or More |  | 387
Available-for-sale Debt Securities Unrealized losses, Total |  | $ 387
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 | 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 |
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 | 1
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 64 | 65
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 | $ 1,097 | $ 995
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 55,712 | 56,105
Available-for-sale Debt Securities, Total | 56,809 | 57,100
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 6 | 6
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 10,475 | 10,725
Available-for-sale Debt Securities Unrealized losses, Total | $ 10,481 | $ 10,731
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 | 6 | 2
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 91 | 93
Total, Available-for-sale, Number of Securities in a Loss Position | security | 97 | 95
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 1,874 | $ 575
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 62,329 | 66,393
Available-for-sale Debt Securities, Total | 64,203 | 66,968
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 41 | 5
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 10,239 | 8,613
Available-for-sale Debt Securities Unrealized losses, Total | $ 10,280 | $ 8,618
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 |  | 10
Total, Held to Maturity, Number of Securities in a Loss Position | security |  | 12
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
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 | 3
Total, Available-for-sale, Number of Securities in a Loss Position | security | 2 | 3
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 1,299 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 3 | $ 724
Available-for-sale Debt Securities, Total | 1,302 | 724
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 27 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 1 | 34
Available-for-sale Debt Securities Unrealized losses, Total | $ 28 | $ 34
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 | $ 11,204 | $ 12,747
Held-to-maturity Debt (HTM) Securities, Total | 11,204 | 12,747
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 2,643 | 2,653
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 2,643 | $ 2,653
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 | 29 |
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 31 | 32
Total, Available-for-sale, Number of Securities in a Loss Position | security | 60 | 32
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 40,886 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 68,732 | $ 72,671
Available-for-sale Debt Securities, Total | 109,618 | 72,671
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 622 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 18,925 | 17,264
Available-for-sale Debt Securities Unrealized losses, Total | $ 19,547 | $ 17,264
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 | $ 44,205 | $ 48,409
Held-to-maturity Debt (HTM) Securities, Total | 44,205 | 48,409
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 9,286 | 9,841
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 9,286 | $ 9,841
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 | 4
Total, Available-for-sale, Number of Securities in a Loss Position | security | 1 | 4
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 1,856 | $ 11,369
Available-for-sale Debt Securities, Total | 1,856 | 11,369
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 71 | 360
Available-for-sale Debt Securities Unrealized losses, Total | $ 71 | $ 360
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 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 15 |
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 12,854 |
Available-for-sale Debt Securities, Total | 12,854 |
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 152 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 152 |
Asset backed securities |  |
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 | 1 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 3 |
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 2,659 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 1,939 |
Available-for-sale Debt Securities, Total | 4,598 |
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 11 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 389 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 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 | 6 | 6
Total, Available-for-sale, Number of Securities in a Loss Position | security | 11 | 6
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 6,083 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 3,601 | $ 3,730
Available-for-sale Debt Securities, Total | 9,684 | 3,730
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 316 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 399 | 270
Available-for-sale Debt Securities Unrealized losses, Total | $ 715 | $ 270

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 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
- 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: |