<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pebk-20260716.xsd" xlink:type="simple"/>
    <context id="From2026-07-16to2026-07-16">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001093672</identifier>
        </entity>
        <period>
            <startDate>2026-07-16</startDate>
            <endDate>2026-07-16</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="From2026-07-16to2026-07-16" id="ixv-291">0001093672</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="From2026-07-16to2026-07-16" id="ixv-292">false</dei:AmendmentFlag>
    <dei:EntityEmergingGrowthCompany contextRef="From2026-07-16to2026-07-16" id="ixv-293">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12gTitle contextRef="From2026-07-16to2026-07-16" id="ixv-294">Common Stock, no par value</dei:Security12gTitle>
    <dei:DocumentType contextRef="From2026-07-16to2026-07-16" id="ixv-314">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="From2026-07-16to2026-07-16" id="ixv-315">2026-07-16</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="From2026-07-16to2026-07-16" id="ixv-316">Peoples Bancorp of North Carolina, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2026-07-16to2026-07-16" id="ixv-317">NC</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="From2026-07-16to2026-07-16" id="ixv-318">000-27205</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="From2026-07-16to2026-07-16" id="ixv-319">56-2132396</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2026-07-16to2026-07-16" id="ixv-320">518 West C Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="From2026-07-16to2026-07-16" id="ixv-321">Newton</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2026-07-16to2026-07-16" id="ixv-322">NC</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2026-07-16to2026-07-16" id="ixv-323">28658</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2026-07-16to2026-07-16" id="ixv-324">828</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2026-07-16to2026-07-16" id="ixv-325">464-5620</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="From2026-07-16to2026-07-16" id="ixv-326">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="From2026-07-16to2026-07-16" id="ixv-327">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="From2026-07-16to2026-07-16" id="ixv-328">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="From2026-07-16to2026-07-16" id="ixv-329">false</dei:PreCommencementIssuerTenderOffer>
</xbrl>
