<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: QXInteractive; Version: 5.3b -->
    <!-- Field: Doc-Info; Name: Source; Value: 200163 03312020 10Q1.xfr; Date: 2020%2D05%2D06T15:34:08Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80040004 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://peoplesbanknc.com/role/DocumentAndEntityInformation" xlink:href="pebk-20200331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/BalanceSheets" xlink:href="pebk-20200331.xsd#BalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/BalanceSheetsParenthetical" xlink:href="pebk-20200331.xsd#BalanceSheetsParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/StatementsOfEarnings" xlink:href="pebk-20200331.xsd#StatementsOfEarnings" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/StatementsOfComprehensiveIncome" xlink:href="pebk-20200331.xsd#StatementsOfComprehensiveIncome" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/StatementsOfChangesInShareholdersEquity" xlink:href="pebk-20200331.xsd#StatementsOfChangesInShareholdersEquity" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/StatementsOfCashFlows" xlink:href="pebk-20200331.xsd#StatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="pebk-20200331.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/InvestmentSecurities" xlink:href="pebk-20200331.xsd#InvestmentSecurities" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/Loans" xlink:href="pebk-20200331.xsd#Loans" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/NetEarningsPerShare" xlink:href="pebk-20200331.xsd#NetEarningsPerShare" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/Stock-basedCompensation" xlink:href="pebk-20200331.xsd#Stock-basedCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/FairValue" xlink:href="pebk-20200331.xsd#FairValue" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/Leases" xlink:href="pebk-20200331.xsd#Leases" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/SubsequentEvents" xlink:href="pebk-20200331.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/InvestmentSecuritiesTables" xlink:href="pebk-20200331.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansTables" xlink:href="pebk-20200331.xsd#LoansTables" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/NetEarningsPerShareTables" xlink:href="pebk-20200331.xsd#NetEarningsPerShareTables" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/FairValueTables" xlink:href="pebk-20200331.xsd#FairValueTables" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LeasesTables" xlink:href="pebk-20200331.xsd#LeasesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/InvestmentSecuritiesDetails" xlink:href="pebk-20200331.xsd#InvestmentSecuritiesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/InvestmentSecuritiesDetails1" xlink:href="pebk-20200331.xsd#InvestmentSecuritiesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/InvestmentSecuritiesDetails2" xlink:href="pebk-20200331.xsd#InvestmentSecuritiesDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/InvestmentSecuritiesDetailsNarrative" xlink:href="pebk-20200331.xsd#InvestmentSecuritiesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansDetails" xlink:href="pebk-20200331.xsd#LoansDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansDetails1" xlink:href="pebk-20200331.xsd#LoansDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansDetails2" xlink:href="pebk-20200331.xsd#LoansDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansDetails3" xlink:href="pebk-20200331.xsd#LoansDetails3" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansDetails4" xlink:href="pebk-20200331.xsd#LoansDetails4" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansDetails5" xlink:href="pebk-20200331.xsd#LoansDetails5" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LoansDetailsNarrative" xlink:href="pebk-20200331.xsd#LoansDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/NetEarningsPerShareDetails" xlink:href="pebk-20200331.xsd#NetEarningsPerShareDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/Stock-basedCompensationDetailsNarrative" xlink:href="pebk-20200331.xsd#Stock-basedCompensationDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/FairValueDetails" xlink:href="pebk-20200331.xsd#FairValueDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/FairValueDetails1" xlink:href="pebk-20200331.xsd#FairValueDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/FairValueDetails2" xlink:href="pebk-20200331.xsd#FairValueDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/FairValueDetails3" xlink:href="pebk-20200331.xsd#FairValueDetails3" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LeasesDetails" xlink:href="pebk-20200331.xsd#LeasesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LeasesDetails1" xlink:href="pebk-20200331.xsd#LeasesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://peoplesbanknc.com/role/LeasesDetailsNarrative" xlink:href="pebk-20200331.xsd#LeasesDetailsNarrative" xlink:type="simple" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll" arcroleURI="http://xbrl.org/int/dim/arcrole/notAll" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/BalanceSheets" xlink:title="00000002 - Statement - Consolidated Balance Sheets (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/BalanceSheetsParenthetical" xlink:title="00000003 - Statement - Consolidated Balance Sheets (Unaudited) (Parenthetical)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/StatementsOfEarnings" xlink:title="00000004 - Statement - Consolidated Statements of Earnings (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/StatementsOfComprehensiveIncome" xlink:title="00000005 - Statement - Consolidated Statements of Comprehensive Income (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/StatementsOfChangesInShareholdersEquity" xlink:title="00000006 - Statement - Consolidated Statements of Changes in Shareholders&apos; Equity">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaapCommonStockMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapCommonStockMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaapRetainedEarningsMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapRetainedEarningsMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaapSharesOutstanding_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSharesOutstanding_50" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_50" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaapStockRepurchasedAndRetiredDuringPeriodShares_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockRepurchasedAndRetiredDuringPeriodShares_50" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaapStockRepurchasedAndRetiredDuringPeriodValue_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockRepurchasedAndRetiredDuringPeriodValue_50" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaapDividendsCommonStockCash_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDividendsCommonStockCash_50" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesRestrictedStockAwardGross_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesRestrictedStockAwardGross_50" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaapStockIssuedDuringPeriodValueRestrictedStockAwardGross_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodValueRestrictedStockAwardGross_50" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapProfitLoss_50" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax_50" xlink:type="arc" order="11" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/StatementsOfCashFlows" xlink:title="00000007 - Statement - Consolidated Statements of Cash Flows (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/SummaryOfSignificantAccountingPolicies" xlink:title="00000008 - Disclosure - 1. Summary of Significant Accounting Policies" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/InvestmentSecurities" xlink:title="00000009 - Disclosure - 2. Investment Securities" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/Loans" xlink:title="00000010 - Disclosure - 3. Loans" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/NetEarningsPerShare" xlink:title="00000011 - Disclosure - 4. Net Earnings Per Share" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/Stock-basedCompensation" xlink:title="00000012 - Disclosure - 5. Stock-Based Compensation" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/FairValue" xlink:title="00000013 - Disclosure - 6. Fair Value" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/Leases" xlink:title="00000014 - Disclosure - 7. Leases" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/SubsequentEvents" xlink:title="00000015 - Disclosure - 8. Subsequent Events" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/InvestmentSecuritiesTables" xlink:title="00000016 - Disclosure - 2. Investment Securities (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansTables" xlink:title="00000017 - Disclosure - 3. Loans (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/NetEarningsPerShareTables" xlink:title="00000018 - Disclosure - 4. Net Earnings Per Share (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/FairValueTables" xlink:title="00000019 - Disclosure - 6. Fair Value (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LeasesTables" xlink:title="00000020 - Disclosure - 7. Leases (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/InvestmentSecuritiesDetails" xlink:title="00000021 - Disclosure - 2. Investment Securities (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InformationByCategoryOfDebtSecurityAxis" xlink:label="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:to="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:to="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaapMortgageBackedSecuritiesMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapMortgageBackedSecuritiesMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaapUSStatesAndPoliticalSubdivisionsMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapUSStatesAndPoliticalSubdivisionsMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaapTrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapTrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaapAvailableforsaleSecuritiesMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapAvailableforsaleSecuritiesMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAbstract" xlink:label="loc_us-gaapAvailableForSaleSecuritiesAbstract_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAvailableForSaleSecuritiesAbstract_210" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAbstract_210" xlink:to="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost_210" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains" xlink:label="loc_us-gaapAvailableForSaleSecuritiesGrossUnrealizedGains_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAbstract_210" xlink:to="loc_us-gaapAvailableForSaleSecuritiesGrossUnrealizedGains_210" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss" xlink:label="loc_us-gaapAvailableForSaleSecuritiesGrossUnrealizedLoss_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAbstract_210" xlink:to="loc_us-gaapAvailableForSaleSecuritiesGrossUnrealizedLoss_210" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaapAvailableForSaleSecurities_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAbstract_210" xlink:to="loc_us-gaapAvailableForSaleSecurities_210" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/InvestmentSecuritiesDetails1" xlink:title="00000022 - Disclosure - 2. Investment securities (Details 1)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InformationByCategoryOfDebtSecurityAxis" xlink:label="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:to="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:to="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaapMortgageBackedSecuritiesMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapMortgageBackedSecuritiesMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaapUSStatesAndPoliticalSubdivisionsMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapUSStatesAndPoliticalSubdivisionsMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_InvestmentSecuritiesWithContinuousUnrealizedLossPosition" xlink:label="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaapAvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" xlink:to="loc_us-gaapAvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_170" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsLosses" xlink:label="loc_PEBKAvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsLosses_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" xlink:to="loc_PEBKAvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsLosses_170" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaapAvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" xlink:to="loc_us-gaapAvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_170" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerLosses" xlink:label="loc_PEBKAvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerLosses_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" xlink:to="loc_PEBKAvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerLosses_170" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaapAvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" xlink:to="loc_us-gaapAvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_170" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLosses" xlink:label="loc_PEBKAvailableForSaleSecuritiesContinuousUnrealizedLossPositionLosses_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKInvestmentSecuritiesWithContinuousUnrealizedLossPosition_170" xlink:to="loc_PEBKAvailableForSaleSecuritiesContinuousUnrealizedLossPositionLosses_170" xlink:type="arc" order="6" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/InvestmentSecuritiesDetails2" xlink:title="00000023 - Disclosure - 2. Investment securities (Details 2)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/InvestmentSecuritiesDetailsNarrative" xlink:title="00000024 - Disclosure - 2. Investment Securities (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansDetails" xlink:title="00000025 - Disclosure - 3. Loans (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConstructionAndLandDevelopmentMember" xlink:label="loc_PEBKConstructionAndLandDevelopmentMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKConstructionAndLandDevelopmentMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaapResidentialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapResidentialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_BancoDeLaGenteMember" xlink:label="loc_PEBKBancoDeLaGenteMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKBancoDeLaGenteMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MultifamilyAndFarmlandMember" xlink:label="loc_PEBKMultifamilyAndFarmlandMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKMultifamilyAndFarmlandMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateMember" xlink:label="loc_us-gaapRealEstateMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapRealEstateMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FarmLoansNotSecuredByRealEstateMember" xlink:label="loc_PEBKFarmLoansNotSecuredByRealEstateMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKFarmLoansNotSecuredByRealEstateMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="loc_us-gaapConsumerLoanMember_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapConsumerLoanMember_80" xlink:type="arc" order="81" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_AllOtherLoansMember" xlink:label="loc_PEBKAllOtherLoansMember_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKAllOtherLoansMember_90" xlink:type="arc" order="91" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MajorClassificationsOfLoansAbstract" xlink:label="loc_PEBKMajorClassificationsOfLoansAbstract_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKMajorClassificationsOfLoansAbstract_230" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKMajorClassificationsOfLoansAbstract_230" xlink:to="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_230" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaapLoansAndLeasesReceivableAllowance_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKMajorClassificationsOfLoansAbstract_230" xlink:to="loc_us-gaapLoansAndLeasesReceivableAllowance_230" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaapLoansAndLeasesReceivableNetReportedAmount_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKMajorClassificationsOfLoansAbstract_230" xlink:to="loc_us-gaapLoansAndLeasesReceivableNetReportedAmount_230" xlink:type="arc" order="3" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansDetails1" xlink:title="00000026 - Disclosure - 3. Loans (Details 1)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaapInternalCreditAssessmentAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapInternalCreditAssessmentAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConstructionAndLandDevelopmentMember" xlink:label="loc_PEBKConstructionAndLandDevelopmentMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKConstructionAndLandDevelopmentMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaapResidentialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapResidentialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_BancoDeLaGenteMember" xlink:label="loc_PEBKBancoDeLaGenteMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKBancoDeLaGenteMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MultifamilyAndFarmlandMember" xlink:label="loc_PEBKMultifamilyAndFarmlandMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKMultifamilyAndFarmlandMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateMember" xlink:label="loc_us-gaapRealEstateMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapRealEstateMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialLoanMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FarmLoansNotSecuredByRealEstateMember" xlink:label="loc_PEBKFarmLoansNotSecuredByRealEstateMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKFarmLoansNotSecuredByRealEstateMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="loc_us-gaapConsumerLoanMember_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapConsumerLoanMember_80" xlink:type="arc" order="81" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_AllOtherLoansMember" xlink:label="loc_PEBKAllOtherLoansMember_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKAllOtherLoansMember_90" xlink:type="arc" order="91" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FinancingReceivableRecordedInvestment30To89DaysPastDue" xlink:label="loc_PEBKFinancingReceivableRecordedInvestment30To89DaysPastDue_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" xlink:to="loc_PEBKFinancingReceivableRecordedInvestment30To89DaysPastDue_230" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FinancingReceivableRecordedInvestmentLoansNintyOrMoreDaysPastDue" xlink:label="loc_PEBKFinancingReceivableRecordedInvestmentLoansNintyOrMoreDaysPastDue_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" xlink:to="loc_PEBKFinancingReceivableRecordedInvestmentLoansNintyOrMoreDaysPastDue_230" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentPastDue_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentPastDue_230" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentCurrent_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentCurrent_230" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" xlink:to="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_230" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_230" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_230" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_230" xlink:type="arc" order="6" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansDetails2" xlink:title="00000027 - Disclosure - 3. Loans (Details 2)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaapInternalCreditAssessmentAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapInternalCreditAssessmentAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConstructionAndLandDevelopmentMember" xlink:label="loc_PEBKConstructionAndLandDevelopmentMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKConstructionAndLandDevelopmentMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaapResidentialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapResidentialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_BancoDeLaGenteMember" xlink:label="loc_PEBKBancoDeLaGenteMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKBancoDeLaGenteMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateMember" xlink:label="loc_us-gaapRealEstateMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapRealEstateMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialLoanMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="loc_us-gaapConsumerLoanMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapConsumerLoanMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableOtherInformationAbstract" xlink:label="loc_us-gaapLoansAndLeasesReceivableOtherInformationAbstract_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLoansAndLeasesReceivableOtherInformationAbstract_170" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest" xlink:label="loc_us-gaapLoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLoansAndLeasesReceivableOtherInformationAbstract_170" xlink:to="loc_us-gaapLoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest_170" xlink:type="arc" order="1" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansDetails3" xlink:title="00000028 - Disclosure - 3. Loans (Details 3)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaapInternalCreditAssessmentAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapInternalCreditAssessmentAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConstructionAndLandDevelopmentMember" xlink:label="loc_PEBKConstructionAndLandDevelopmentMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKConstructionAndLandDevelopmentMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaapResidentialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapResidentialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_BancoDeLaGenteMember" xlink:label="loc_PEBKBancoDeLaGenteMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKBancoDeLaGenteMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MultifamilyAndFarmlandMember" xlink:label="loc_PEBKMultifamilyAndFarmlandMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKMultifamilyAndFarmlandMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateMember" xlink:label="loc_us-gaapRealEstateMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapRealEstateMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialLoanMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="loc_us-gaapConsumerLoanMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapConsumerLoanMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract" xlink:label="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalance_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:to="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalance_370" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:to="loc_us-gaapImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_370" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:to="loc_us-gaapImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_370" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableRecordedInvestment_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:to="loc_us-gaapImpairedFinancingReceivableRecordedInvestment_370" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaapImpairedFinancingReceivableRelatedAllowance_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:to="loc_us-gaapImpairedFinancingReceivableRelatedAllowance_370" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableAverageRecordedInvestment_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:to="loc_us-gaapImpairedFinancingReceivableAverageRecordedInvestment_370" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod" xlink:label="loc_us-gaapImpairedFinancingReceivableInterestIncomeAccrualMethod_370" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_370" xlink:to="loc_us-gaapImpairedFinancingReceivableInterestIncomeAccrualMethod_370" xlink:type="arc" order="7" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansDetails4" xlink:title="00000029 - Disclosure - 3. Loans (Details 4)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConstructionAndLandDevelopmentMember" xlink:label="loc_PEBKConstructionAndLandDevelopmentMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKConstructionAndLandDevelopmentMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaapResidentialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapResidentialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_BancoDeLaGenteMember" xlink:label="loc_PEBKBancoDeLaGenteMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKBancoDeLaGenteMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MultifamilyAndFarmlandMember" xlink:label="loc_PEBKMultifamilyAndFarmlandMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKMultifamilyAndFarmlandMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FarmLoansNotSecuredByRealEstateMember" xlink:label="loc_PEBKFarmLoansNotSecuredByRealEstateMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKFarmLoansNotSecuredByRealEstateMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConsumerAndAllOtherLoansMember" xlink:label="loc_PEBKConsumerAndAllOtherLoansMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKConsumerAndAllOtherLoansMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_UnallocatedMember" xlink:label="loc_PEBKUnallocatedMember_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKUnallocatedMember_80" xlink:type="arc" order="81" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaapLoansAndLeasesReceivableAllowance_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:to="loc_us-gaapLoansAndLeasesReceivableAllowance_210" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesWriteOffs_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesWriteOffs_210" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRecovery_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRecovery_210" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaapProvisionForLoanLeaseAndOtherLosses_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:to="loc_us-gaapProvisionForLoanLeaseAndOtherLosses_210" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_210" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_210" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_LoansAndLeasesReceivableOtherAllowances" xlink:label="loc_PEBKLoansAndLeasesReceivableOtherAllowances_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_210" xlink:to="loc_PEBKLoansAndLeasesReceivableOtherAllowances_210" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_LoansReceivableAbstract" xlink:label="loc_PEBKLoansReceivableAbstract_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKLoansReceivableAbstract_210" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKLoansReceivableAbstract_210" xlink:to="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_210" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaapFinancingReceivableIndividuallyEvaluatedForImpairment_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKLoansReceivableAbstract_210" xlink:to="loc_us-gaapFinancingReceivableIndividuallyEvaluatedForImpairment_210" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaapFinancingReceivableCollectivelyEvaluatedForImpairment_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKLoansReceivableAbstract_210" xlink:to="loc_us-gaapFinancingReceivableCollectivelyEvaluatedForImpairment_210" xlink:type="arc" order="13" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansDetails5" xlink:title="00000030 - Disclosure - 3. Loans (Details 5)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConstructionAndLandDevelopmentMember" xlink:label="loc_PEBKConstructionAndLandDevelopmentMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKConstructionAndLandDevelopmentMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaapResidentialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapResidentialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_BancoDeLaGenteMember" xlink:label="loc_PEBKBancoDeLaGenteMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKBancoDeLaGenteMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MultifamilyAndFarmlandMember" xlink:label="loc_PEBKMultifamilyAndFarmlandMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKMultifamilyAndFarmlandMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FarmLoansNotSecuredByRealEstateMember" xlink:label="loc_PEBKFarmLoansNotSecuredByRealEstateMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKFarmLoansNotSecuredByRealEstateMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="loc_us-gaapConsumerLoanMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapConsumerLoanMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_AllOtherLoansMember" xlink:label="loc_PEBKAllOtherLoansMember_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_PEBKAllOtherLoansMember_80" xlink:type="arc" order="81" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaapInternalCreditAssessmentAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapInternalCreditAssessmentAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ExcellentQualityMember" xlink:label="loc_PEBKExcellentQualityMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKExcellentQualityMember_0" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_HighQualityMember" xlink:label="loc_PEBKHighQualityMember_100" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKHighQualityMember_100" xlink:type="arc" order="102" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_GoodQualityMember" xlink:label="loc_PEBKGoodQualityMember_200" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKGoodQualityMember_200" xlink:type="arc" order="202" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ManagementAttentionMember" xlink:label="loc_PEBKManagementAttentionMember_300" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKManagementAttentionMember_300" xlink:type="arc" order="302" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_WatchMember" xlink:label="loc_PEBKWatchMember_400" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKWatchMember_400" xlink:type="arc" order="402" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaapSubstandardMember_500" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapSubstandardMember_500" xlink:type="arc" order="502" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaapDoubtfulMember_600" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapDoubtfulMember_600" xlink:type="arc" order="602" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_LossMember" xlink:label="loc_PEBKLossMember_700" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKLossMember_700" xlink:type="arc" order="702" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ConstructionAndLandDevelopmentMember" xlink:label="loc_PEBKConstructionAndLandDevelopmentMember_800" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKConstructionAndLandDevelopmentMember_800" xlink:type="arc" order="801" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaapResidentialRealEstateMember_810" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapResidentialRealEstateMember_810" xlink:type="arc" order="811" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_BancoDeLaGenteMember" xlink:label="loc_PEBKBancoDeLaGenteMember_820" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKBancoDeLaGenteMember_820" xlink:type="arc" order="821" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_830" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_830" xlink:type="arc" order="831" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MultifamilyAndFarmlandMember" xlink:label="loc_PEBKMultifamilyAndFarmlandMember_840" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKMultifamilyAndFarmlandMember_840" xlink:type="arc" order="841" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_850" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapCommercialLoanMember_850" xlink:type="arc" order="851" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FarmLoansNotSecuredByRealEstateMember" xlink:label="loc_PEBKFarmLoansNotSecuredByRealEstateMember_860" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKFarmLoansNotSecuredByRealEstateMember_860" xlink:type="arc" order="861" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="loc_us-gaapConsumerLoanMember_870" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapConsumerLoanMember_870" xlink:type="arc" order="871" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_AllOtherLoansMember" xlink:label="loc_PEBKAllOtherLoansMember_880" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_PEBKAllOtherLoansMember_880" xlink:type="arc" order="881" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_CreditRiskProfileAbstract" xlink:label="loc_PEBKCreditRiskProfileAbstract_1810" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKCreditRiskProfileAbstract_1810" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_1810" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_PEBKCreditRiskProfileAbstract_1810" xlink:to="loc_us-gaapLoansAndLeasesReceivableNetOfDeferredIncome_1810" xlink:type="arc" order="1" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LoansDetailsNarrative" xlink:title="00000031 - Disclosure - 3. Loans (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/NetEarningsPerShareDetails" xlink:title="00000032 - Disclosure - 4. Net Earnings Per Share (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/Stock-basedCompensationDetailsNarrative" xlink:title="00000033 - Disclosure - 5. Stock-Based Compensation (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/FairValueDetails" xlink:title="00000034 - Disclosure - 6. Fair Value (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InformationByCategoryOfDebtSecurityAxis" xlink:label="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:to="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInformationByCategoryOfDebtSecurityAxis" xlink:to="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaapMortgageBackedSecuritiesMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapMortgageBackedSecuritiesMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaapUSStatesAndPoliticalSubdivisionsMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapUSStatesAndPoliticalSubdivisionsMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaapTrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain" xlink:to="loc_us-gaapTrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaapFairValueInputsLevel1Member_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel1Member_40" xlink:type="arc" order="42" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaapFairValueInputsLevel2Member_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel2Member_80" xlink:type="arc" order="82" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_120" xlink:type="arc" order="122" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaapAvailableForSaleSecurities_330" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAvailableForSaleSecurities_330" xlink:type="arc" order="0" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/FairValueDetails1" xlink:title="00000035 - Disclosure - 6. Fair Value (Details 1)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" xlink:to="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_20" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetAtFairValueChangesInFairValueResultingFromChangesInAssumptions" xlink:label="loc_us-gaapAssetAtFairValueChangesInFairValueResultingFromChangesInAssumptions_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" xlink:to="loc_us-gaapAssetAtFairValueChangesInFairValueResultingFromChangesInAssumptions_20" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:label="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" xlink:to="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_20" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements" xlink:label="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" xlink:to="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements_20" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:label="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" xlink:to="loc_us-gaapFairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_20" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaapFairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_20" xlink:to="loc_us-gaapFairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_20" xlink:type="arc" order="7" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/FairValueDetails2" xlink:title="00000036 - Disclosure - 6. Fair Value (Details 2)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaapFairValueInputsLevel1Member_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel1Member_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaapFairValueInputsLevel2Member_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel2Member_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseAxis" xlink:label="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseTypeDomain" xlink:label="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseTypeDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseAxis" xlink:to="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseTypeDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseTypeDomain" xlink:label="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseTypeDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseAxis" xlink:to="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseTypeDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_MortgageLoansHeldForSaleMember" xlink:label="loc_PEBKMortgageLoansHeldForSaleMember_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseTypeDomain" xlink:to="loc_PEBKMortgageLoansHeldForSaleMember_80" xlink:type="arc" order="81" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansMember" xlink:label="loc_us-gaapLoansMember_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseTypeDomain" xlink:to="loc_us-gaapLoansMember_90" xlink:type="arc" order="91" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_OtherRealEstateMember" xlink:label="loc_PEBKOtherRealEstateMember_100" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsSoldUnderAgreementsToRepurchaseTypeDomain" xlink:to="loc_PEBKOtherRealEstateMember_100" xlink:type="arc" order="101" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaapMortgagesHeldForSaleFairValueDisclosure_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapMortgagesHeldForSaleFairValueDisclosure_120" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_ImpairedLoans" xlink:label="loc_PEBKImpairedLoans_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKImpairedLoans_120" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherRealEstate" xlink:label="loc_us-gaapOtherRealEstate_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOtherRealEstate_120" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FairValueMeasurementsValuationTechnique" xlink:label="loc_PEBKFairValueMeasurementsValuationTechnique_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKFairValueMeasurementsValuationTechnique_120" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_FairValueMeasurementsSignificantAssumption" xlink:label="loc_PEBKFairValueMeasurementsSignificantAssumption_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKFairValueMeasurementsSignificantAssumption_120" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="pebk-20200331.xsd#PEBK_GeneralRangeOfSignificantUnobservableInputValues" xlink:label="loc_PEBKGeneralRangeOfSignificantUnobservableInputValues_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_PEBKGeneralRangeOfSignificantUnobservableInputValues_120" xlink:type="arc" order="5" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/FairValueDetails3" xlink:title="00000037 - Disclosure - 6. Fair Value (Details 3)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaapFairValueInputsLevel1Member_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel1Member_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaapFairValueInputsLevel2Member_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel2Member_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaapFairValueByMeasurementBasisAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaapFairValueDisclosureItemAmountsDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:to="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaapFairValueDisclosureItemAmountsDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:to="loc_us-gaapFairValueDisclosureItemAmountsDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaapEstimateOfFairValueFairValueDisclosureMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:to="loc_us-gaapEstimateOfFairValueFairValueDisclosureMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaapCashAndCashEquivalentsFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapCashAndCashEquivalentsFairValueDisclosure_110" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaapAvailableForSaleSecurities_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapAvailableForSaleSecurities_110" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsFairValueDisclosure" xlink:label="loc_us-gaapOtherAssetsFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapOtherAssetsFairValueDisclosure_110" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaapMortgagesHeldForSaleFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapMortgagesHeldForSaleFairValueDisclosure_110" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="loc_us-gaapLoansReceivableFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapLoansReceivableFairValueDisclosure_110" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashSurrenderValueFairValueDisclosure" xlink:label="loc_us-gaapCashSurrenderValueFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapCashSurrenderValueFairValueDisclosure_110" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:label="loc_us-gaapLiabilitiesFairValueDisclosureAbstract_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLiabilitiesFairValueDisclosureAbstract_110" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepositsFairValueDisclosure" xlink:label="loc_us-gaapDepositsFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesFairValueDisclosureAbstract_110" xlink:to="loc_us-gaapDepositsFairValueDisclosure_110" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure" xlink:label="loc_us-gaapSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesFairValueDisclosureAbstract_110" xlink:to="loc_us-gaapSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosure_110" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure" xlink:label="loc_us-gaapFederalHomeLoanBankBorrowingsFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesFairValueDisclosureAbstract_110" xlink:to="loc_us-gaapFederalHomeLoanBankBorrowingsFairValueDisclosure_110" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations" xlink:label="loc_us-gaapFairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesFairValueDisclosureAbstract_110" xlink:to="loc_us-gaapFairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations_110" xlink:type="arc" order="11" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LeasesDetails" xlink:title="00000038 - Disclosure - 7. Leases (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LeasesDetails1" xlink:title="00000039 - Disclosure - 7. Leases (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://peoplesbanknc.com/role/LeasesDetailsNarrative" xlink:title="00000040 - Disclosure - 7. Leases (Details Narrative)" />
</link:linkbase>
