<?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-20260501.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001964333</identifier>
        </entity>
        <period>
            <startDate>2026-05-01</startDate>
            <endDate>2026-05-01</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-05-01</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">Effective on May 1, 2026 (the &#x201c;Closing Date&#x201d;), Burke &amp; Herbert Financial Services Corp., a Virginia corporation (&#x201c;Burke &amp; Herbert&#x201d;), completed its previously announced merger with LINKBANCORP, Inc., a Pennsylvania corporation (&#x201c;LNKB&#x201d;), pursuant to the Agreement and Plan of Merger dated December 18, 2025 between Burke &amp; Herbert and LNKB (the &#x201c;Merger Agreement&#x201d;).Pursuant to the Merger Agreement, on the Closing Date, (i) LNKB merged with and into Burke &amp; Herbert, with Burke &amp; Herbert continuing as the surviving corporation (the &#x201c;Merger&#x201d;), and (ii) immediately following the Merger, LINKBANK, a Pennsylvania chartered commercial bank and a wholly-owned subsidiary of LNKB (&#x201c;Link&#x201d;), merged with and into Burke &amp; Herbert Bank &amp; Trust Company, a Virginia chartered bank and a wholly-owned subsidiary of Burke &amp; Herbert (&#x201c;Burke &amp; Herbert Bank&#x201d;) with Burke &amp; Herbert Bank as the surviving bank.On May 1, 2026, the Company filed a Current Report on Form 8-K, reporting the completion of the Merger (the &#x201c;Original Report&#x201d;). This Amendment No. 1 is being filed with the Securities and Exchange Commission (the &#x201c;Commission&#x201d;) solely to amend and supplement Item 9.01 of the Original Report, as described in Item 9.01 below. This Amendment No. 1 should be read in conjunction with the Original Report. This Amendment No. 1 makes no other amendments to the Original Report.The pro forma financial information included in this Amendment No. 1 has been presented for informational purposes only and does not purport to represent the actual results that Burke &amp; Herbert and LNKB would have achieved had the companies been combined during the periods presented, and is not intended to project any future results of operations for the combined company.</dei:AmendmentDescription>
</xbrl>
