<?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-20260721.xsd" xlink:type="simple"/>
    <context id="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000743367</identifier>
        </entity>
        <period>
            <startDate>2026-07-21</startDate>
            <endDate>2026-07-21</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_R2fO2Pkp9EGTP00BdSHTFw_1_1">0000743367</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_9Mk1IGlzFEugoGIvM6JEXQ_2_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_14__9v3ro0KMGsA1xfdCkQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_31-Zk8q5UkCUjnWCYRuTaQ">2026-07-21</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_9xKoYDA3ZUKCJ17dlf-YhQ">BAR HARBOR BANKSHARES</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_ZugJQuTsgUaZY9-sy9i5yw_1_0">ME</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_QA5lD-2Vvk-0Ms5uVrdeMg_1_1">001-13349</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_SUY37eTESk6uBLF4ON64uQ_1_2">01-0393663</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_qN6P4CKxV0WHFadOQMnuCQ_4_0">PO Box 400</dei:EntityAddressAddressLine1>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_Y5ujfaIvg0OzjgVjV-L1fw_4_2">04609-0400</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_pj__XnJSrEiV-Lj_nnulfw_5_0">82 Main Street</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_Jz1YJn1ogkSACHzquEpfag">Bar Harbor</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_l8fw3-HGRkOCoHnjxg5Ivg">ME</dei:EntityAddressStateOrProvince>
    <dei:CityAreaCode
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_8xVfX8VPTEyKQP0CpeHKqg">207</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_O9ymOH5Ne0CkU75M8f68qQ">288-3314</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_nRtCFy_QgEOM0viwtt4GfQ">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_GC9ZA1ISIUaAb9Knc2Ge1Q">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_px8EBGwB00CNRP3XIWrGdw">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_6Z_ZzOUzr0WNtevnc50svg">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_1BCVXS-sp0KaVA2WYogmCw_2_0">Common Stock, par value $2.00 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_t2oqOXkliUKlWBeuwCBgpg_2_1">BHB</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Tc_eoH-1ZObqkaF5nubjwhwyQ_2_2">NYSEAMER</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_7_21_2026_To_7_21_2026_-DCQH5GAlUu4omrt9PNIMw"
      id="Narr_ApkZyGodDkuNSHBkdg_SYw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
