<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bhrb-20260618.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001964333</identifier>
        </entity>
        <period>
            <startDate>2026-06-18</startDate>
            <endDate>2026-06-18</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="c-1" id="f-22">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-23">0001964333</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="c-1" id="f-1">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-2">2026-06-18</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">Burke &amp; Herbert Financial Services Corp.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="c-1" id="f-4">VA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="c-1" id="f-5">001-41633</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="c-1" id="f-6">92-0289417</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="c-1" id="f-7">100 S. Fairfax Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="c-1" id="f-8">Alexandria</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="c-1" id="f-9">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="c-1" id="f-10">22314</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="c-1" id="f-11">703</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="c-1" id="f-12">666-3555</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="c-1" id="f-13">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="c-1" id="f-14">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="c-1" id="f-15">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="c-1" id="f-16">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="c-1" id="f-17">Common stock, par value $0.50</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-1" id="f-18">BHRB</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-1" id="f-19">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="c-1" id="f-20">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="c-1" id="f-21">This Current Report on Form 8-K/A (this &#x201c;Amendment&#x201d;) amends the Current Report on Form 8-K filed by Burke &amp; Herbert Financial Services Corp. (the &#x201c;Company&#x201d;) with the U.S. Securities and Exchange Commission on June 18, 2026 (the &#x201c;Original Form 8-K&#x201d;). The Original Form 8-K was filed to report the results of the Company&#x2019;s 2026 Annual Meeting of Shareholders held on June 18, 2026 (the &#x201c;Annual Meeting&#x201d;). The sole purpose of this Amendment is to disclose, in accordance with Item 5.07(d) of Form 8-K, the Company&#x2019;s decision as to the frequency of future shareholder advisory votes regarding the compensation of the Company&#x2019;s named executive officers. Except as set forth herein, no other changes have been made to the Original Form 8-K.</dei:AmendmentDescription>
</xbrl>
