<?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-20260720.xsd" xlink:type="simple"/>
    <context id="From2026-07-20to2026-07-20">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001093672</identifier>
        </entity>
        <period>
            <startDate>2026-07-20</startDate>
            <endDate>2026-07-20</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="From2026-07-20to2026-07-20" id="ixv-367">0001093672</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="From2026-07-20to2026-07-20" id="ixv-368">false</dei:AmendmentFlag>
    <dei:EntityEmergingGrowthCompany contextRef="From2026-07-20to2026-07-20" id="ixv-369">false</dei:EntityEmergingGrowthCompany>
    <dei:DocumentType contextRef="From2026-07-20to2026-07-20" id="ixv-389">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="From2026-07-20to2026-07-20" id="ixv-390">2026-07-20</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="From2026-07-20to2026-07-20" id="ixv-391">Peoples Bancorp of North Carolina, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2026-07-20to2026-07-20" id="ixv-392">NC</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="From2026-07-20to2026-07-20" id="ixv-393">000-27205</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="From2026-07-20to2026-07-20" id="ixv-394">56-2132396</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2026-07-20to2026-07-20" id="ixv-395">518 West C Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="From2026-07-20to2026-07-20" id="ixv-396">Newton</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2026-07-20to2026-07-20" id="ixv-397">NC</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2026-07-20to2026-07-20" id="ixv-398">28658</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2026-07-20to2026-07-20" id="ixv-399">828</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2026-07-20to2026-07-20" id="ixv-400">464-5620</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="From2026-07-20to2026-07-20" id="ixv-401">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="From2026-07-20to2026-07-20" id="ixv-402">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="From2026-07-20to2026-07-20" id="ixv-403">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="From2026-07-20to2026-07-20" id="ixv-404">false</dei:PreCommencementIssuerTenderOffer>
</xbrl>
