<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:whfcl="http://whitehorsefinancial.com/20260728"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="whf-20260728.xsd" xlink:type="simple"/>
    <context id="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_whfcl_SevenPointEightSevenFivePercentNotesDueTwentyTwentyEightMember_7uY0ITtXlECsZRps_Cou-g">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001552198</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">whfcl:SevenPointEightSevenFivePercentNotesDueTwentyTwentyEightMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-28</startDate>
            <endDate>2026-07-28</endDate>
        </period>
    </context>
    <context id="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember_6JqRUIjZ7kuY_8-uDBX35Q">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001552198</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-28</startDate>
            <endDate>2026-07-28</endDate>
        </period>
    </context>
    <context id="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001552198</identifier>
        </entity>
        <period>
            <startDate>2026-07-28</startDate>
            <endDate>2026-07-28</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_WbgUbuWmQUmNDD97YayK1g_2_1">0001552198</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_GIJltIIpgEC7wirBsAmjYg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_8PfmIXVMSkmm-hKY1WVpOw">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_BTCSo6_RqUWEcveoYs1B7g">2026-07-28</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_2f7oIv8iuEy_1AE8Z8P1dQ">WhiteHorse Finance, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_DmZhX0zBhUuj8rmcr_OFlw_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_g_7jJUbm80Wte1UwcZNWLQ_1_2">814-00967</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_O2rjr-thWUK3Xb2vIC1OQA_1_4">45-4247759</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_XtpTSGJm00yHVW0TcPn-ew">1450 Brickell Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_MnhaQ8RN8kmK-Tl19cHlcg">31st Floor</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_NVnwbC48v0CXzmI5BAQS-w">Miami</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_1mkZvwSARU2pOvRgtdUJGA">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_P8V2D-SUUUSuxwdHBAtnEw_1_2">33131</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_Ok7PKyBXVkmrgI1ReVqO3w">305</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_9FYnhtJRiUSwyxGgTuwkNw">381-6999</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_7sqqMb6GcEWbyjHKah0DFQ_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_0BK0L-b-10WBaBZ6_M3F2A_1_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_Iegw_-LzDEyKXww7DfijzQ_1_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Tc_4bLqppDfnU6m_btnin5K8Q_1_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember_6JqRUIjZ7kuY_8-uDBX35Q"
      id="Tc_YfIV3H4oCUCPgb_nvIt71Q_2_0">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember_6JqRUIjZ7kuY_8-uDBX35Q"
      id="Tc_B4FgRjYgNkeI2LlK35D_Kw_2_1">WHF</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember_6JqRUIjZ7kuY_8-uDBX35Q"
      id="Narr_PnbYx38qtkq5rjlv7lxDEg">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_whfcl_SevenPointEightSevenFivePercentNotesDueTwentyTwentyEightMember_7uY0ITtXlECsZRps_Cou-g"
      id="Tc_48bL3DySXkijIdYpe1skJg_3_0">7.875% Notes due 2028</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_whfcl_SevenPointEightSevenFivePercentNotesDueTwentyTwentyEightMember_7uY0ITtXlECsZRps_Cou-g"
      id="Tc_vEnxDiSWnUeRVJR25g658w_3_1">WHFCL</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_7_28_2026_To_7_28_2026_us-gaap_StatementClassOfStockAxis_whfcl_SevenPointEightSevenFivePercentNotesDueTwentyTwentyEightMember_7uY0ITtXlECsZRps_Cou-g"
      id="Narr_46dSUafWYkOkT_lBMcZfFw">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_7_28_2026_To_7_28_2026_moxgCUUyKECFGjWqt3NpwQ"
      id="Narr_C0s3zjl57UaN3FKimFGpgA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
