<?xml version="1.0" encoding="utf-8"?>
<xbrl
  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="bhb-20260921.xsd" xlink:type="simple"/>
    <context id="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000743367</identifier>
        </entity>
        <period>
            <startDate>2026-09-21</startDate>
            <endDate>2026-09-21</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_56QkYcGqgkunTdH3lsyTcA_1_1">0000743367</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_Mlrzsvo_IkKUZK-Z2JphDw_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_xFHQYtP8UEyPwo8jRErSPQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_lbIXfNvfDUGXLCA16i88bQ">2026-09-21</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_swCTvsIjNkaKdNmOA3CbRg">BAR HARBOR BANKSHARES</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc__j66fz8yYkypBQaOGpNe5A_1_0">ME</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_4Ynwq-X6DESbfGCHpz0Beg_1_1">001-13349</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_9BHjI-3QVEOKYg-TgY0Fwg_1_2">01-0393663</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_qhJSH2JwBUWfzEkwTrK0Hw_4_0">PO Box 400</dei:EntityAddressAddressLine1>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_XFhRz4-ZhEqIJaJ-HQj-5g_4_2">04609-0400</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_nf8XtLCg7ESR5FZZTpdsOg_5_0">82 Main Street</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_E4UWR9k82UGtJTSXDM32Ow">Bar Harbor</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_aMFBWWFtKEadQu-iUOaw9w">ME</dei:EntityAddressStateOrProvince>
    <dei:CityAreaCode
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_zin_CIh19U2nJnbWeYPe_Q">207</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_8p7dixjJ30WWtYQo8mdSsg">288-3314</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_5F0GJ7rpB0eI_1a-KbG-GQ">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_rbdSh_IcqECoU2I8mJFBsQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_gPPkQWW1_UafzpdLIboZyw">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_OInDhZ4dN0Guh7Hr9boYCw">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_YYxlq6WCm0-QnlGWcpG9YA_2_0">Common Stock, par value $2.00 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_3DVquI7t2km7GJUbbMMjmg_2_1">BHB</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Tc_Y6jQ1lh6Tk2ZtWHVMcLdPA_2_2">NYSEAMER</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_9_21_2026_To_9_21_2026_np3NAhhv3kKv6aGySWSm5Q"
      id="Narr_kbZ_sdVyc0KqXOYlsjf_mQ">false</dei:EntityEmergingGrowthCompany>
</xbrl>
