<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2023"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  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-20240725.xsd" xlink:type="simple"/>
    <context id="P07_25_2024To07_25_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001504619</identifier>
        </entity>
        <period>
            <startDate>2024-07-25</startDate>
            <endDate>2024-07-25</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P07_25_2024To07_25_2024" id="ixv-391">0001504619</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P07_25_2024To07_25_2024" id="ixv-392">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="P07_25_2024To07_25_2024" id="ixv-404">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P07_25_2024To07_25_2024" id="ixv-405">2024-07-25</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P07_25_2024To07_25_2024" id="ixv-406">PennantPark Floating Rate Capital Ltd.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P07_25_2024To07_25_2024" id="ixv-407">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P07_25_2024To07_25_2024" id="ixv-408">814-00891</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P07_25_2024To07_25_2024" id="ixv-409">27-3794690</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P07_25_2024To07_25_2024" id="ixv-410">1691 Michigan Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P07_25_2024To07_25_2024" id="ixv-411">Miami Beach</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P07_25_2024To07_25_2024" id="ixv-412">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P07_25_2024To07_25_2024" id="ixv-413">33139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P07_25_2024To07_25_2024" id="ixv-414">(786)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P07_25_2024To07_25_2024" id="ixv-415">297-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P07_25_2024To07_25_2024" id="ixv-416">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P07_25_2024To07_25_2024" id="ixv-417">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P07_25_2024To07_25_2024" id="ixv-418">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P07_25_2024To07_25_2024" id="ixv-419">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="P07_25_2024To07_25_2024" id="ixv-420">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P07_25_2024To07_25_2024" id="ixv-421">PFLT</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P07_25_2024To07_25_2024" id="ixv-422">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="P07_25_2024To07_25_2024" id="ixv-423">false</dei:EntityEmergingGrowthCompany>
    <cef:LongTermDebtTableTextBlock contextRef="P07_25_2024To07_25_2024" id="ixv-208">&lt;div style="margin-top:6pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;On July&#160;25, 2024 (&#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Closing Date&lt;/div&gt;&#x201d;), PennantPark CLO I, Ltd (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Issuer&lt;/div&gt;&#x201d;), a wholly-&lt;div style="letter-spacing: 0px; top: 0px;display:inline;"&gt;owned &lt;/div&gt;and consolidated subsidiary of PennantPark Floating Rate Capital Ltd. (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Company&lt;/div&gt;&#x201d;), and PennantPark CLO I LLC, a wholly-owned subsidiary of the Issuer (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;Co-Issuer&lt;/div&gt;&lt;/div&gt;&#x201d; and, together with the Issuer, the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Issuers&lt;/div&gt;&#x201d;), closed the refinancing and upsize of a four-year reinvestment period, twelve-year final maturity $351.0&#160;million debt securitization in the form of a collateralized loan obligation (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;CLO Reset Transaction&lt;/div&gt;&#x201d;). &lt;/div&gt;</cef:LongTermDebtTableTextBlock>
    <cef:LongTermDebtPrincipal
      contextRef="P07_25_2024To07_25_2024"
      decimals="-5"
      id="ixv-424"
      unitRef="Unit_USD">351000000</cef:LongTermDebtPrincipal>
    <cef:LongTermDebtStructuringTextBlock contextRef="P07_25_2024To07_25_2024" id="ixv-218">&lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The CLO Reset Transaction was executed through: (A)&#160;the issuance by the Issuers of the following classes of notes pursuant that certain indenture, dated September&#160;19, 2019, by and among the Issuers and U.S. Bank Trust Company, National Association, as amended by the second supplemental indenture, dated June&#160;25, 2024, the &#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;Indenture&lt;/div&gt;&#x201d;): (i) $203&#160;million of &lt;div style="white-space:nowrap;display:inline;"&gt;&lt;div style="white-space:nowrap;display:inline;"&gt;A-1-R&lt;/div&gt;&lt;/div&gt; Notes, which bear interest at the three-month secured overnight financing rate (&#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;SOFR&lt;/div&gt;&#x201d;) plus 1.75%, (ii) $10.5&#160;million of &lt;div style="white-space:nowrap;display:inline;"&gt;&lt;div style="white-space:nowrap;display:inline;"&gt;A-2-R&lt;/div&gt;&lt;/div&gt; Notes, which bear interest at three-month SOFR plus 1.90%, (iii) $12&#160;million of &lt;div style="white-space:nowrap;display:inline;"&gt;Class&#160;B-R&lt;/div&gt; Notes, which bear interest at three-month SOFR plus 2.05%, (iv) $28&#160;million of &lt;div style="white-space:nowrap;display:inline;"&gt;C-R&lt;/div&gt; Notes, which bear interest at three-month SOFR plus 2.75% and (v) $21&#160;million of &lt;div style="white-space:nowrap;display:inline;"&gt;D-R&lt;/div&gt; Notes, which bear interest at three-month SOFR plus 4.30% (collectively, the &#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;Secured Notes&lt;/div&gt;&#x201d;), (B) the issuance by the Issuer of $64&#160;million of subordinated notes pursuant to the Indenture (the &#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;Subordinated Notes&lt;/div&gt;&#x201d; and, together with the Secured Notes, the &#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;Replacement Notes&lt;/div&gt;&#x201d;) and (C)&#160;the borrowing by the Issuer of $12.5&#160;million of &lt;div style="white-space:nowrap;display:inline;"&gt;Class&#160;B-R&lt;/div&gt; Loans, which bear interest at three-month SOFR plus 2.05% (the &#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;Class&lt;/div&gt;&lt;div style="text-decoration:underline;display:inline;"&gt;&lt;/div&gt;&lt;div style="text-decoration:underline;display:inline;"&gt;&lt;div style="white-space:nowrap;display:inline;"&gt;&#160;B-R&lt;/div&gt; Loans&lt;/div&gt;&#x201d; and, together with the Replacement Notes, the &#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;Replacement Debt&lt;/div&gt;&#x201d;), pursuant to a credit agreement, dated the Closing Date (the &#x201c;&lt;div style="text-decoration:underline;display:inline;"&gt;Credit Agreement&lt;/div&gt;&#x201d;), by and among the Issuers, the various financial institutions and other persons party thereto, as lenders and U.S. Bank Trust Company, National Association, as loan agent and as trustee. &lt;/div&gt;</cef:LongTermDebtStructuringTextBlock>
    <cef:LongTermDebtDividendsAndCovenantsTextBlock contextRef="P07_25_2024To07_25_2024" id="ixv-244">&lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;As part of the CLO Reset Transaction, on the Closing Date, the Company and the Issuer also amended and restated the master loan sale agreement, originally dated as of the September&#160;19, 2019 (as amended, the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Amended and Restated Master Loan Sale Agreement&lt;/div&gt;&#x201d;), by and between the Company, the Issuer and PennantPark CLO I Depositor, LLC, a wholly-owned subsidiary of the Company (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Depositor&lt;/div&gt;&#x201d;), which provided for the sale and contribution of approximately $277&#160;million par amount of middle market loans from the Company to the Issuer on the Closing Date and for future sales and contributions, as applicable, from the Company to the Issuer on an ongoing basis. Such loans constituted part of the initial portfolio of assets securing the Replacement Debt (other than the Subordinated Notes). The Company made customary representations, warranties, and covenants to the Issuer and the Depositor pursuant to the Amended and Restated Master Loan Sale Agreement. &lt;/div&gt;</cef:LongTermDebtDividendsAndCovenantsTextBlock>
</xbrl>
