<?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="esq-20260723.xsd" xlink:type="simple"/>
    <context id="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001531031</identifier>
        </entity>
        <period>
            <startDate>2026-07-23</startDate>
            <endDate>2026-07-23</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_9Qn6Ew1HSUa6PPMjpJIUeA_2_1">0001531031</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_flytd3X0aE-hZCN3o7HfVg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_8-PZP7PH6E2LH1n044jQzQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr__ZzQPJJJb0SbKe9huTYwxQ">2026-07-23</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_tsTXgRiV40W77q6ERVGZ_Q">Esquire Financial Holdings, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_Fs_uQgicj06ClRgLHFBgUQ_1_0">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_0vZYLmMtjkOpmXzIgNFUOQ_1_1">001-38131</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_Ue17Jrlzz0mg26DK33WUXg_1_2">27-5107901</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_pmOWrR6VUEyEMwqOvCFang">100 Jericho Quadrangle</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_7v-YeEScqkulXz0bAKCEKg">Suite 100</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_HiSVGZaHM0u9CrOjmqCu-g">Jericho</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_2j56NVzwU0WFnif0hBMA_w">NY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_K7bSPkqc5UCAQ7ohCzdznQ_2_2">11753</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_WVx7cPistE6ttEvKTQgBUA">516</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_hvkw88g6Uk6RObGenlIezQ">535-2002</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_rVUQnBTeRE2_al-Tk_yKyA_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_QMWC6NpP_kCUPK6VzSzFHw_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_6dK6zIi9p06OK1cm9ZQpMw_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_xCa_nKOFf0ebrRjV3_-htQ_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_6AFs8MB4Hk-nfZ2IgRGgjA_2_0">Common Stock, $0.01 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Tc_jgLGwbrJ1kqedNHrXVnYCQ_2_2">ESQ</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_2qFJiPmW00eyTcpZqnBruQ">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_7_23_2026_To_7_23_2026_8fbg1m9akk2jrRGcwhhV8Q"
      id="Narr_F80HbzThUEi5AeYwG0xEDQ">false</dei:EntityEmergingGrowthCompany>
</xbrl>
