XML 66 R54.htm IDEA: XBRL DOCUMENT
v3.24.3

Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details) $ in Thousands | Sep. 30, 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 | 20 | 3
Available-for-sale, 12 Months or Greater, Number of Securities in a Loss Position | security | 237 | 248
Total, Available-for-sale, Number of Securities in a Loss Position | security | 257 | 251
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 20,832 | $ 1,570
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 387,315 | 397,201
Available-for-sale Debt Securities, Total | 408,147 | 398,771
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 379 | 11
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 41,288 | 51,516
Available-for-sale Debt Securities Unrealized losses, Total | $ 41,667 | $ 51,527
Held to Maturity, Debt Securities |  |
Held to Maturity, Less Than 12 Months, Number of Securities in a Loss Position | 4 | 2
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | 24 | 22
Total, Held to Maturity, Number of Securities in a Loss Position | 28 | 24
Held-to-maturity Debt (HTM) Securities, Less than 12 Months | $ 1,182 | $ 1,438
Held-to-maturity Debt (HTM) Securities, 12 months or More | 66,147 | 67,365
Held-to-maturity Debt (HTM) Securities, Total | 67,329 | 68,803
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months | 7 | 36
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 10,820 | 13,118
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 10,827 | $ 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 | 41 | 43
Total, Available-for-sale, Number of Securities in a Loss Position | security | 41 | 43
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 180,815 | $ 184,057
Available-for-sale Debt Securities, Total | 180,815 | 184,057
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 8,375 | 13,863
Available-for-sale Debt Securities Unrealized losses, Total | $ 8,375 | $ 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 | 2
Held to Maturity, 12 Months or Longer, Number of Securities in a Loss Position | security | 12 | 10
Total, Held to Maturity, Number of Securities in a Loss Position | security | 16 | 12
Held-to-maturity Debt (HTM) Securities, Less than 12 Months | $ 1,182 | $ 1,438
Held-to-maturity Debt (HTM) Securities, 12 months or More | 7,453 | 6,209
Held-to-maturity Debt (HTM) Securities, Total | 8,635 | 7,647
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Less than 12 Months | 7 | 36
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 828 | 624
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 835 | $ 660
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
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 | 64 | 66
Available-for-sale Debt Securities, Less than 12 Months, Fair Value |  | $ 995
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 58,033 | 56,105
Available-for-sale Debt Securities, Total | 58,033 | 57,100
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 6
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 8,186 | 10,725
Available-for-sale Debt Securities Unrealized losses, Total | $ 8,186 | $ 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 | 1 | 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 | 92 | 95
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 680 | $ 575
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 64,293 | 66,393
Available-for-sale Debt Securities, Total | 64,973 | 66,968
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months |  | 5
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 8,467 | 8,613
Available-for-sale Debt Securities Unrealized losses, Total | $ 8,467 | $ 8,618
Residential mortgage-backed securities, U.S. government agencies |  |
Available-for-sale Debt Securities |  |
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 | 1 | 3
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 6 | $ 724
Available-for-sale Debt Securities, Total | 6 | 724
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 0 | 34
Available-for-sale Debt Securities Unrealized losses, Total | $ 0 | $ 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,853 | $ 12,747
Held-to-maturity Debt (HTM) Securities, Total | 11,853 | 12,747
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 2,298 | 2,653
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 2,298 | $ 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 | 1 |
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 | 32 | 32
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 3,601 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 73,997 | $ 72,671
Available-for-sale Debt Securities, Total | 77,598 | 72,671
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 41 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 15,495 | 17,264
Available-for-sale Debt Securities Unrealized losses, Total | $ 15,536 | $ 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 | $ 46,841 | $ 48,409
Held-to-maturity Debt (HTM) Securities, Total | 46,841 | 48,409
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, 12 Months or More | 7,694 | 9,841
Held-to-maturity Debt (HTM) Securities, Unrealized Loss Position, Total | $ 7,694 | $ 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 | 2 | 4
Total, Available-for-sale, Number of Securities in a Loss Position | security | 2 | 4
Available-for-sale Debt Securities, 12 Months or More, Fair Value | $ 4,548 | $ 11,369
Available-for-sale Debt Securities, Total | 4,548 | 11,369
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 60 | 360
Available-for-sale Debt Securities Unrealized losses, Total | $ 60 | $ 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 | 9 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 9 |
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 7,699 |
Available-for-sale Debt Securities, Total | 7,699 |
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 12 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 12 |
Asset backed securities |  |
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 | 1 |
Total, Available-for-sale, Number of Securities in a Loss Position | security | 4 |
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 2,818 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 2,024 |
Available-for-sale Debt Securities, Total | 4,842 |
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 11 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 303 |
Available-for-sale Debt Securities Unrealized losses, Total | $ 314 |
Corporate debt securities |  |
Available-for-sale Debt Securities |  |
Available-for-sale, Less Than 12 Months, Number of Securities in a Loss Position | security | 6 |
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 | 12 | 6
Available-for-sale Debt Securities, Less than 12 Months, Fair Value | $ 6,034 |
Available-for-sale Debt Securities, 12 Months or More, Fair Value | 3,599 | $ 3,730
Available-for-sale Debt Securities, Total | 9,633 | 3,730
Available-for-sale Debt Securities Unrealized losses, Less than 12 Months | 315 |
Available-for-sale Debt Securities Unrealized losses, 12 Months or More | 402 | 270
Available-for-sale Debt Securities Unrealized losses, Total | $ 717 | $ 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
- 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: |