<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>1639</ContextCount>
  <ElementCount>347</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>189</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Consolidated Statements of Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfAssetsAndLiabilities</Role>
      <ShortName>Consolidated Statements of Assets and Liabilities</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - Consolidated Statements of Assets and Liabilities (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical</Role>
      <ShortName>Consolidated Statements of Assets and Liabilities (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfOperationsUnaudited</Role>
      <ShortName>Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - Consolidated Statements of Changes in Net Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfChangesInNetAssets</Role>
      <ShortName>Consolidated Statements of Changes in Net Assets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00405 - Statement - Consolidated Statements of Cash Flows - Total cash, cash equivalents and restricted cash</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlowsTotalCashCashEquivalentsAndRestrictedCash</Role>
      <ShortName>Consolidated Statements of Cash Flows - Total cash, cash equivalents and restricted cash</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00500 - Statement - Consolidated Schedule of Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/StatementConsolidatedScheduleOfInvestments</Role>
      <ShortName>Consolidated Schedule of Investments</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10101 - Disclosure - ORGANIZATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureOrganization</Role>
      <ShortName>ORGANIZATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10201 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10301 - Disclosure - FORWARD CURRENCY CONTRACTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureForwardCurrencyContracts</Role>
      <ShortName>FORWARD CURRENCY CONTRACTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10401 - Disclosure - INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestments</Role>
      <ShortName>INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10501 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10601 - Disclosure - BORROWINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureBorrowings</Role>
      <ShortName>BORROWINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10701 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10801 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>10901 - Disclosure - STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureStockholdersEquity</Role>
      <ShortName>STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11001 - Disclosure - FINANCIAL HIGHLIGHTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFinancialHighlights</Role>
      <ShortName>FINANCIAL HIGHLIGHTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11101 - Disclosure - CHANGE IN NET ASSETS RESULTING FROM OPERATIONS PER COMMON SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureChangeInNetAssetsResultingFromOperationsPerCommonShare</Role>
      <ShortName>CHANGE IN NET ASSETS RESULTING FROM OPERATIONS PER COMMON SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11201 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>20202 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>30303 - Disclosure - FORWARD CURRENCY CONTRACTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureForwardCurrencyContractsTables</Role>
      <ShortName>FORWARD CURRENCY CONTRACTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureForwardCurrencyContracts</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>30403 - Disclosure - INVESTMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsTables</Role>
      <ShortName>INVESTMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureInvestments</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>30503 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30603 - Disclosure - BORROWINGS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureBorrowingsTables</Role>
      <ShortName>BORROWINGS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureBorrowings</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30703 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsTables</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30803 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30903 - Disclosure - STOCKHOLDERS' EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureStockholdersEquity</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>31003 - Disclosure - FINANCIAL HIGHLIGHTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFinancialHighlightsTables</Role>
      <ShortName>FINANCIAL HIGHLIGHTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureFinancialHighlights</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>31103 - Disclosure - CHANGE IN NET ASSETS RESULTING FROM OPERATIONS PER COMMON SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureChangeInNetAssetsResultingFromOperationsPerCommonShareTables</Role>
      <ShortName>CHANGE IN NET ASSETS RESULTING FROM OPERATIONS PER COMMON SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureChangeInNetAssetsResultingFromOperationsPerCommonShare</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>40101 - Disclosure - ORGANIZATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureOrganizationDetails</Role>
      <ShortName>ORGANIZATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureOrganization</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>40201 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>40301 - Disclosure - FORWARD CURRENCY CONTRACTS - Forward Currency Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureForwardCurrencyContractsForwardCurrencyContractsDetails</Role>
      <ShortName>FORWARD CURRENCY CONTRACTS - Forward Currency Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>40302 - Disclosure - FORWARD CURRENCY CONTRACTS - Unrealized Appreciation or Depreciation On Forward Currency Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureForwardCurrencyContractsUnrealizedAppreciationOrDepreciationOnForwardCurrencyContractsDetails</Role>
      <ShortName>FORWARD CURRENCY CONTRACTS - Unrealized Appreciation or Depreciation On Forward Currency Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>40303 - Disclosure - FORWARD CURRENCY CONTRACTS - Notional Exposure to Foreign Currency Forward Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureForwardCurrencyContractsNotionalExposureToForeignCurrencyForwardContractsDetails</Role>
      <ShortName>FORWARD CURRENCY CONTRACTS - Notional Exposure to Foreign Currency Forward Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40304 - Disclosure - FORWARD CURRENCY CONTRACTS - Collateral Received or Pledged (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureForwardCurrencyContractsCollateralReceivedOrPledgedDetails</Role>
      <ShortName>FORWARD CURRENCY CONTRACTS - Collateral Received or Pledged (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40401 - Disclosure - INVESTMENTS - Schedule of Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsScheduleOfInvestmentsDetails</Role>
      <ShortName>INVESTMENTS - Schedule of Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40402 - Disclosure - INVESTMENTS - Portfolio by Industry Grouping (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsPortfolioByIndustryGroupingDetails</Role>
      <ShortName>INVESTMENTS - Portfolio by Industry Grouping (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40403 - Disclosure - INVESTMENTS - Affiliated and Controlled Persons (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsAffiliatedAndControlledPersonsDetails</Role>
      <ShortName>INVESTMENTS - Affiliated and Controlled Persons (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40404 - Disclosure - INVESTMENTS - WHF STRS Ohio Senior Loan Fund LLC (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsWhfStrsOhioSeniorLoanFundLlcDetails</Role>
      <ShortName>INVESTMENTS - WHF STRS Ohio Senior Loan Fund LLC (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40405 - Disclosure - INVESTMENTS - STRS JVs individual Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsStrsJvsIndividualInvestmentsDetails</Role>
      <ShortName>INVESTMENTS - STRS JVs individual Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40406 - Disclosure - INVESTMENTS - Forward Currency Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsForwardCurrencyContractsDetails</Role>
      <ShortName>INVESTMENTS - Forward Currency Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40407 - Disclosure - INVESTMENTS - Superscript (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsSuperscriptDetails</Role>
      <ShortName>INVESTMENTS - Superscript (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40408 - Disclosure - INVESTMENTS - Selected Balance Sheet Information For STRS JV (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedBalanceSheetInformationForStrsJvDetails</Role>
      <ShortName>INVESTMENTS - Selected Balance Sheet Information For STRS JV (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40409 - Disclosure - INVESTMENTS - Selected Statement of Operations Information For STRS JV (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedStatementOfOperationsInformationForStrsJvDetails</Role>
      <ShortName>INVESTMENTS - Selected Statement of Operations Information For STRS JV (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40501 - Disclosure - FAIR VALUE MEASUREMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurementsDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40502 - Disclosure - FAIR VALUE MEASUREMENTS - Level 3 Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurementsLevel3ReconciliationDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Level 3 Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40503 - Disclosure - FAIR VALUE MEASUREMENTS - Quantitative information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurementsQuantitativeInformationDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Quantitative information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40504 - Disclosure - FAIR VALUE MEASUREMENTS - Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFairValueMeasurementsBorrowingsDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40601 - Disclosure - BORROWINGS - Outstanding and Available (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureBorrowingsOutstandingAndAvailableDetails</Role>
      <ShortName>BORROWINGS - Outstanding and Available (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40602 - Disclosure - BORROWINGS - Narratives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureBorrowingsNarrativesDetails</Role>
      <ShortName>BORROWINGS - Narratives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40603 - Disclosure - BORROWINGS - Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureBorrowingsNotesDetails</Role>
      <ShortName>BORROWINGS - Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40701 - Disclosure - RELATED PARTY TRANSACTIONS - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40702 - Disclosure - RELATED PARTY TRANSACTIONS - Base management fee (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Base management fee (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40703 - Disclosure - RELATED PARTY TRANSACTIONS - Performance-based incentive fee (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsPerformanceBasedIncentiveFeeDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Performance-based incentive fee (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40704 - Disclosure - RELATED PARTY TRANSACTIONS - Administration , Coinvestment and STRS JV (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsAdministrationCoinvestmentAndStrsJvDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Administration , Coinvestment and STRS JV (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40801 - Disclosure - COMMITMENTS AND CONTINGENCIES - Unfunded commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureCommitmentsAndContingenciesUnfundedCommitmentsDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Unfunded commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40802 - Disclosure - COMMITMENTS AND CONTINGENCIES - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40901 - Disclosure - STOCKHOLDERS' EQUITY - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureStockholdersEquityAdditionalInformationDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40902 - Disclosure - STOCKHOLDERS' EQUITY - Schedule of Stockholder's Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureStockholdersEquityScheduleOfStockholderSEquityDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY - Schedule of Stockholder's Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>41001 - Disclosure - FINANCIAL HIGHLIGHTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureFinancialHighlightsDetails</Role>
      <ShortName>FINANCIAL HIGHLIGHTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureFinancialHighlightsTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>41101 - Disclosure - CHANGE IN NET ASSETS RESULTING FROM OPERATIONS PER COMMON SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureChangeInNetAssetsResultingFromOperationsPerCommonShareDetails</Role>
      <ShortName>CHANGE IN NET ASSETS RESULTING FROM OPERATIONS PER COMMON SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureChangeInNetAssetsResultingFromOperationsPerCommonShareTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>41201 - Disclosure - SUBSEQUENT EVENTS - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.whitehorsefinance.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>SUBSEQUENT EVENTS - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.whitehorsefinance.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="whf-20220930x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>995470 - Disclosure - N-2</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cef/role/N2</Role>
      <ShortName>N-2</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 730 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap-supplement:InvestmentBasisSpreadVariableRate, us-gaap-supplement:InvestmentNonIncomeProducing, us-gaap-supplement:InvestmentRestrictionStatus, us-gaap-supplement:InvestmentSignificantUnobservableInput, us-gaap:CommonStockSharesIssued, us-gaap:CommonStockSharesOutstanding, us-gaap:DebtInstrumentTerm, us-gaap:DerivativeMaturityDates, us-gaap:EarningsPerShareDiluted, us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding, whf:AdditionalInterestForSeniorTermDebtSecurity2, whf:InterestIssuerMayPayInCashOrCashAndPIKPercentage1 -  whf-20220930x10q.htm 9</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Not-Referenced] WARN: 1543 fact(s) appearing in ix:hidden were not referenced by any -sec-ix-hidden style property: us-gaap-supplement:InvestmentIndustrySectorExtensibleEnumeration, us-gaap-supplement:InvestmentIssuerAffiliationExtensibleEnumeration, us-gaap-supplement:InvestmentIssuerGeographicRegionExtensibleEnumeration, us-gaap-supplement:InvestmentVariableInterestRateTypeExtensibleEnumeration, us-gaap:CommitmentsAndContingencies, us-gaap:DerivativeAssetTypeExtensibleList -  whf-20220930x10q.htm 9</Log>
    <Log type="Warning">[dq-0712-Presentation-Base-Set-Order] Role '41201 - Disclosure - SUBSEQUENT EVENTS - (Details)', a level 4, Detail role, appears before '995470 - Disclosure - N-2', a level 1, Note role. https://xbrl.sec.gov/cef/2022/cef-2022.xsd 29, whf-20220930.xsd 261</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="whf-20220930x10q.htm">whf-20220930x10q.htm</File>
    <File>whf-20220930.xsd</File>
    <File>whf-20220930_cal.xml</File>
    <File>whf-20220930_def.xml</File>
    <File>whf-20220930_lab.xml</File>
    <File>whf-20220930_pre.xml</File>
    <File>whf-20220930xex31d1.htm</File>
    <File>whf-20220930xex31d2.htm</File>
    <File>whf-20220930xex32d1.htm</File>
    <File>whf-20220930xex32d2.htm</File>
    <File>whf-20220930xex3d1.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2022</BaseTaxonomy>
    <BaseTaxonomy items="4200">http://fasb.org/us-gaap-sup/2022q3</BaseTaxonomy>
    <BaseTaxonomy items="3684">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="10">http://xbrl.sec.gov/cef/2022</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
