<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2025"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001504619-20251120.xsd" xlink:type="simple"/>
    <context id="P11_20_2025To11_20_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001504619</identifier>
        </entity>
        <period>
            <startDate>2025-11-20</startDate>
            <endDate>2025-11-20</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P11_20_2025To11_20_2025" id="ixv-282">0001504619</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P11_20_2025To11_20_2025" id="ixv-283">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="P11_20_2025To11_20_2025" id="ixv-295">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P11_20_2025To11_20_2025" id="ixv-296">2025-11-20</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P11_20_2025To11_20_2025" id="ixv-297">PennantPark Floating Rate Capital Ltd.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P11_20_2025To11_20_2025" id="ixv-298">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P11_20_2025To11_20_2025" id="ixv-299">814-00891</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P11_20_2025To11_20_2025" id="ixv-300">27-3794690</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P11_20_2025To11_20_2025" id="ixv-301">1691 Michigan Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P11_20_2025To11_20_2025" id="ixv-302">Miami Beach</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P11_20_2025To11_20_2025" id="ixv-303">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P11_20_2025To11_20_2025" id="ixv-304">33139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P11_20_2025To11_20_2025" id="ixv-305">786</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P11_20_2025To11_20_2025" id="ixv-306">297-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P11_20_2025To11_20_2025" id="ixv-307">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P11_20_2025To11_20_2025" id="ixv-308">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P11_20_2025To11_20_2025" id="ixv-309">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P11_20_2025To11_20_2025" id="ixv-310">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="P11_20_2025To11_20_2025" id="ixv-311">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P11_20_2025To11_20_2025" id="ixv-312">PFLT</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P11_20_2025To11_20_2025" id="ixv-313">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="P11_20_2025To11_20_2025" id="ixv-314">false</dei:EntityEmergingGrowthCompany>
    <cef:LongTermDebtTableTextBlock contextRef="P11_20_2025To11_20_2025" id="ixv-192">&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;On November 20, 2025, PSLF II SPV, LLC (the &#x201c;Borrower&#x201d;), a wholly-owned subsidiary of PennantPark Senior Secured Loan Fund II LLC (&#x201c;PSSL II&#x201d;), an unconsolidated joint venture of PennantPark Floating Rate Capital Ltd. (the &#x201c;Company&#x201d;), entered into a credit agreement (the &#x201c;Credit Agreement&#x201d;), by and among the Borrower, PennantPark Investment Advisers, LLC, as collateral manager (the &#x201c;Collateral Manager&#x201d;), the various lenders from time to time party thereto, Goldman Sachs Bank USA, as syndication agent, administrative agent and calculation agent, and Western Alliance Trust Company N.A., as collateral agent, collateral custodian and collateral administrator. In connection with the Credit Agreement, the lenders agreed to extend borrowings of up to $150&#160;million (the &#x201c;Facility Size&#x201d;) to the Borrower. &lt;/div&gt;</cef:LongTermDebtTableTextBlock>
    <cef:LongTermDebtPrincipal
      contextRef="P11_20_2025To11_20_2025"
      decimals="-6"
      id="ixv-315"
      unitRef="Unit_USD">150000000</cef:LongTermDebtPrincipal>
    <cef:LongTermDebtStructuringTextBlock contextRef="P11_20_2025To11_20_2025" id="ixv-194">&lt;div style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;In connection with the Credit Agreement, the Company entered into a &lt;div style="white-space:nowrap;display:inline;"&gt;Non-Recourse&lt;/div&gt; Carveout Guaranty Agreement (the &#x201c;Guaranty&#x201d;) with Goldman Sachs Bank USA. Pursuant to the Guaranty, the Company irrevocably and unconditionally guaranteed specified obligations arising from willful misconduct, fraud or misrepresentation under the transaction documents by any of the Borrower, PSSL II, the Company and their respective affiliates, directors, officers, employees and agents (each a &#x201c;Sponsor Entity&#x201d; and collectively, the &#x201c;Sponsor Entities&#x201d;); misappropriation or misuse of loan proceeds or collateral proceeds by or on behalf of any of the Sponsor Entities; improper asset transfers by the Borrower (or any subsequent borrower) for less than fair value; breaches of the Collateral Manager&#x2019;s conflicts policy or certification; unauthorized liens or encumbrances on collateral; any covered impairment event; and the full amount of outstanding obligations if a bankruptcy or insolvency event is initiated or colluded in by a Sponsor Entity. A covered impairment event would occur when an impairment of collateral obligation arises (in whole or in part) from (1)&#160;the affiliation between the Borrower (or any subsequent borrower) and the obligor on that collateral obligation, or (2)&#160;willful or intentional actions taken by the applicable borrower entities, equity holder or collateral manager, in each case, where the impairment disadvantages the borrower&#x2019;s rights relative to unaffiliated holders of the same collateral obligation. The amount guaranteed under the Guaranty is up to the Facility Size. &lt;/div&gt;</cef:LongTermDebtStructuringTextBlock>
</xbrl>
