<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bayk-20210131.xsd" xlink:type="simple"/>
    <context id="duration_2021-01-31_to_2021-01-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001034594</identifier>
        </entity>
        <period>
            <startDate>2021-01-31</startDate>
            <endDate>2021-01-31</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2021-01-31_to_2021-01-31"
      id="Hidden_dei_EntityRegistrantName">BAY BANKS OF VIRGINIA INC</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2021-01-31_to_2021-01-31">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2021-01-31_to_2021-01-31"
      id="Hidden_dei_EntityCentralIndexKey">0001034594</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2021-01-31_to_2021-01-31">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2021-01-31_to_2021-01-31">2021-01-31</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2021-01-31_to_2021-01-31">VA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2021-01-31_to_2021-01-31">0-22955</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2021-01-31_to_2021-01-31">54-1838100</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2021-01-31_to_2021-01-31">1801 Bayberry Court</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2021-01-31_to_2021-01-31">Richmond</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2021-01-31_to_2021-01-31">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2021-01-31_to_2021-01-31">23226</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2021-01-31_to_2021-01-31">(804)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2021-01-31_to_2021-01-31">404-9668</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2021-01-31_to_2021-01-31">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2021-01-31_to_2021-01-31">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2021-01-31_to_2021-01-31">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2021-01-31_to_2021-01-31">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2021-01-31_to_2021-01-31">false</dei:EntityEmergingGrowthCompany>
</xbrl>
