<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>433</ContextCount>
  <ElementCount>282</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>55</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000003 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000004 - Statement - Consolidated Statements of Earnings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/ConsolidatedStatementsOfEarnings</Role>
      <ShortName>Consolidated Statements of Earnings</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>000005 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>000006 - Statement - Consolidated Statements of Changes in Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>000007 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>000008 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>000009 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/InvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>000010 - Disclosure - Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/Loans</Role>
      <ShortName>Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>000011 - Disclosure - Net Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/NetEarningsPerShare</Role>
      <ShortName>Net Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>000012 - Disclosure - Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/FairValue</Role>
      <ShortName>Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>000013 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>000014 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>000015 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://pebo.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>15</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>000016 - Disclosure - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/InvestmentSecuritiesTables</Role>
      <ShortName>Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://pebo.com/role/InvestmentSecurities</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>000017 - Disclosure - Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansTables</Role>
      <ShortName>Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://pebo.com/role/Loans</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>000018 - Disclosure - Net Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/NetEarningsPerShareTables</Role>
      <ShortName>Net Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://pebo.com/role/NetEarningsPerShare</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>000019 - Disclosure - Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/FairValueTables</Role>
      <ShortName>Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://pebo.com/role/FairValue</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>000020 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://pebo.com/role/Leases</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>000021 - Disclosure - Summary of Significant Accounting Policies (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative</Role>
      <ShortName>Summary of Significant Accounting Policies (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/SummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>000022 - Disclosure - Investment Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/InvestmentSecuritiesDetails</Role>
      <ShortName>Investment Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/InvestmentSecuritiesTables</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>000023 - Disclosure - Investment securities (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/InvestmentSecuritiesDetails1</Role>
      <ShortName>Investment securities (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>000024 - Disclosure - Investment securities (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/InvestmentSecuritiesDetails2</Role>
      <ShortName>Investment securities (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>000025 - Disclosure - Investment Securities (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/InvestmentSecuritiesDetailsNarrative</Role>
      <ShortName>Investment Securities (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/InvestmentSecuritiesTables</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>000026 - Disclosure - Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansDetails</Role>
      <ShortName>Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LoansTables</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>000027 - Disclosure - Loans (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansDetails1</Role>
      <ShortName>Loans (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LoansTables</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>000028 - Disclosure - Loans (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansDetails2</Role>
      <ShortName>Loans (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LoansTables</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>000029 - Disclosure - Loans (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansDetails3</Role>
      <ShortName>Loans (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LoansTables</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>000030 - Disclosure - Loans (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansDetails4</Role>
      <ShortName>Loans (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LoansTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>000031 - Disclosure - Loans (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansDetails5</Role>
      <ShortName>Loans (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LoansTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>000032 - Disclosure - Loans (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LoansDetailsNarrative</Role>
      <ShortName>Loans (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LoansTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>000033 - Disclosure - Net Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/NetEarningsPerShareDetails</Role>
      <ShortName>Net Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/NetEarningsPerShareTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>000034 - Disclosure - Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/FairValueDetails</Role>
      <ShortName>Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/FairValueTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>000035 - Disclosure - Fair Value (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/FairValueDetails1</Role>
      <ShortName>Fair Value (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/FairValueTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>000036 - Disclosure - Fair Value (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/FairValueDetails2</Role>
      <ShortName>Fair Value (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/FairValueTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>000037 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LeasesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>000038 - Disclosure - Leases (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LeasesDetails1</Role>
      <ShortName>Leases (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LeasesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="pebk_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>000039 - Disclosure - Leases (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://pebo.com/role/LeasesDetailsNarrative</Role>
      <ShortName>Leases (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://pebo.com/role/LeasesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 71 fact(s) appearing in ix:hidden were eligible for transformation: pebk:AllowanceForLoanLossesEndingBalance, pebk:AllowanceForLoanLossesEndingBalanceIndividuallyEvaluatedForImpairments, pebk:BeginningBalance, pebk:Chargeoffs, pebk:EndingBalance, pebk:EndingBalanceCollectivelyEvaluatedForImpairments, pebk:FairValueMeasurementsSignificantAssumption, pebk:FairValueMeasurementsValuationTechnique, pebk:GeneralRangeOfSignificantUnobservableInputValues, pebk:ImpairedLoan, pebk:LoansEndingBalance, pebk:LoansEndingBalanceCollectivelyEvaluatedForImpairments, pebk:LoansEndingBalanceIndividuallyEvaluatedForImpairments, pebk:MutualFundsHeldInDeferredCompensationTrustFairValue, pebk:Provision1, pebk:Time, pebk:reserve, us-gaap:AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits, us-gaap:AvailableForSaleSecurities, us-gaap:AvailableForSaleSecuritiesGrossUnrealizedGains, us-gaap:CommonStockNoParValue, us-gaap:CommonStockSharesAuthorized, us-gaap:CommonStockSharesIssued, us-gaap:CommonStockSharesOutstanding, us-gaap:DilutiveSecuritiesEffectOnBasicEarningsPerShareOther, us-gaap:FinancingReceivableAllowanceForCreditLossesRecovery, us-gaap:PreferredStockParOrStatedValuePerShare, us-gaap:PreferredStockSharesAuthorized, us-gaap:PreferredStockSharesIssued, us-gaap:PreferredStockSharesOutstanding -  pebk_10q.htm 1</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="pebk_10q.htm">pebk_10q.htm</File>
    <File>pebk-20220930.xsd</File>
    <File>pebk-20220930_cal.xml</File>
    <File>pebk-20220930_def.xml</File>
    <File>pebk-20220930_lab.xml</File>
    <File>pebk-20220930_pre.xml</File>
    <File>pebk_ex31a.htm</File>
    <File>pebk_ex31b.htm</File>
    <File>pebk_ex32.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1150">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="26">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
