<?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-20260601.xsd" xlink:type="simple"/>
    <context id="P06_01_2026To06_01_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001504619</identifier>
        </entity>
        <period>
            <startDate>2026-06-01</startDate>
            <endDate>2026-06-01</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P06_01_2026To06_01_2026" id="ixv-342">0001504619</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P06_01_2026To06_01_2026" id="ixv-343">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="P06_01_2026To06_01_2026" id="ixv-355">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P06_01_2026To06_01_2026" id="ixv-356">2026-06-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P06_01_2026To06_01_2026" id="ixv-357">PennantPark Floating Rate Capital Ltd.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P06_01_2026To06_01_2026" id="ixv-358">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P06_01_2026To06_01_2026" id="ixv-359">814-00891</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P06_01_2026To06_01_2026" id="ixv-360">27-3794690</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P06_01_2026To06_01_2026" id="ixv-361">1691 Michigan Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P06_01_2026To06_01_2026" id="ixv-362">Miami Beach</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P06_01_2026To06_01_2026" id="ixv-363">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P06_01_2026To06_01_2026" id="ixv-364">33139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P06_01_2026To06_01_2026" id="ixv-365">786</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P06_01_2026To06_01_2026" id="ixv-366">297-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P06_01_2026To06_01_2026" id="ixv-367">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P06_01_2026To06_01_2026" id="ixv-368">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P06_01_2026To06_01_2026" id="ixv-369">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P06_01_2026To06_01_2026" id="ixv-370">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="P06_01_2026To06_01_2026" id="ixv-371">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P06_01_2026To06_01_2026" id="ixv-372">PFLT</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P06_01_2026To06_01_2026" id="ixv-373">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="P06_01_2026To06_01_2026" id="ixv-374">false</dei:EntityEmergingGrowthCompany>
    <cef:LongTermDebtTableTextBlock contextRef="P06_01_2026To06_01_2026" id="ixv-375">&lt;div style="margin-top:6pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;On June&#160;1, 2026, PennantPark Floating Rate Capital Ltd. (the &#x201c;Company&#x201d;) and Equiniti Trust Company, LLC (the &#x201c;Trustee&#x201d;) entered into a Third Supplemental Indenture (the &#x201c;Third Supplemental Indenture&#x201d;) to the Indenture between the Company and the Trustee, dated March&#160;23, 2021 (the &#x201c;Base Indenture,&#x201d; and together with the Third Supplemental Indenture, the &#x201c;Indenture&#x201d;). The Third Supplemental Indenture relates to the Company&#x2019;s issuance of $105,000,000 aggregate principal amount of its 7.375% Notes due 2031 (the &#x201c;Notes&#x201d;), which includes $5,000,000 in aggregate principal amount issued pursuant to the partial exercise of the underwriters&#x2019; over-allotment option. &lt;/div&gt; &lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The Notes will mature on June&#160;15, 2031 and may be redeemed in whole or in part at the Company&#x2019;s option at any time or from time to time on or after June&#160;15, 2028 according to the terms set forth in the Indenture. The Notes bear interest at a rate of 7.375% per year and will be paid quarterly in arrears on March&#160;15, June&#160;15, September&#160;15 and December&#160;15 of each year, commencing September&#160;15, 2026. &lt;/div&gt; &lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The Notes are expected to be listed on the New York Stock Exchange, and the Company expects trading to commence thereon within 30 days of the original issue date under the trading symbol &#x201c;PFLA.&#x201d; The Notes are the Company&#x2019;s direct unsecured obligations that rank pari passu in right of payment with any existing and future unsecured unsubordinated indebtedness of the Company; senior in right of payment to any of the Company&#x2019;s future indebtedness that expressly states it is subordinated in right of payment to the Notes; senior to any series of preferred stock that the Company may issue in the future; effectively subordinated in right of payment to all of the Company&#x2019;s existing and future secured indebtedness (including indebtedness that is initially unsecured, but to which the Company subsequently grants security), to the extent of the value of the assets securing such indebtedness; and structurally subordinated to all existing and future indebtedness and other obligations of any of the Company&#x2019;s subsidiaries, financing vehicles or similar facilities. &lt;/div&gt; &lt;div style="display:inline;"&gt;&lt;/div&gt; &lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The Indenture contains certain covenants, including covenants requiring the Company to (i)&#160;comply with the asset coverage requirements of Section&#160;18(a)(1)(A) as modified by Section&#160;61(a)(1) and (2)&#160;of the Investment Company Act of 1940, as amended, or any successor provisions, whether or not the Company is subject thereto, giving effect to any exemptive relief granted to the Company by the U.S. Securities and Exchange Commission; (ii)&#160;not declare any dividend (except a dividend payable in its stock), or declare any other distribution, upon a class of the Company&#x2019;s capital stock, or purchase any such capital stock, unless the Company has asset coverage, as defined in the 1940 Act, of at least the threshold specified under Section&#160;18(a)(1)(B) as modified by Section&#160;61(a)(2) of the 1940 Act, or any successor provisions, after deducting the amount of such dividend, distribution or purchase price, as the case may be, giving effect to any applicable &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;no-action&lt;/div&gt; or other relief granted by the SEC; and (iii)&#160;if, at any time, the Company is no longer subject to the reporting requirements under the Securities Exchange Act of 1934, as amended, furnish to the holders of the Notes and the Trustee audited annual consolidated financial statements within 90 days of its fiscal year end, and unaudited interim consolidated financial statements within 45 days of its fiscal quarter end (other than its fourth fiscal quarter), in each case prepared in all material respects in accordance with generally accepted accounting principles. &lt;/div&gt; &lt;div style="display:inline;"&gt;&lt;/div&gt; &lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The Notes were offered and sold in an offering registered under the Securities Act of 1933, as amended, pursuant to the Registration Statement on Form &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;N-2&lt;/div&gt; (File &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;No.&#160;333-279726)&lt;/div&gt; (the &#x201c;Registration Statement&#x201d;), the preliminary prospectus supplement, dated May&#160;27, 2026, and a final prospectus supplement, dated May&#160;27, 2026. The transaction closed on June&#160;1, 2026. The net proceeds to the Company were approximately $101.19&#160;million, after deducting the underwriting discounts and commissions and estimated offering expenses. The Company intends to use the net proceeds from the offering to repay its outstanding obligations under its revolving credit facility, to invest in new or existing portfolio companies and for general corporate or strategic purposes. &lt;/div&gt; &lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The foregoing descriptions of the Third Supplemental Indenture and the Notes do not purport to be complete and are qualified in their entirety by reference to the full text of the Third Supplemental Indenture and the form of global note representing the Notes, respectively, each filed as exhibits hereto and incorporated by reference herein. &lt;/div&gt; </cef:LongTermDebtTableTextBlock>
    <cef:LongTermDebtPrincipal
      contextRef="P06_01_2026To06_01_2026"
      decimals="0"
      id="ixv-376"
      unitRef="Unit_USD">105000000</cef:LongTermDebtPrincipal>
    <cef:LongTermDebtDividendsAndCovenantsTextBlock contextRef="P06_01_2026To06_01_2026" id="ixv-377">&lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The Indenture contains certain covenants, including covenants requiring the Company to (i)&#160;comply with the asset coverage requirements of Section&#160;18(a)(1)(A) as modified by Section&#160;61(a)(1) and (2)&#160;of the Investment Company Act of 1940, as amended, or any successor provisions, whether or not the Company is subject thereto, giving effect to any exemptive relief granted to the Company by the U.S. Securities and Exchange Commission; (ii)&#160;not declare any dividend (except a dividend payable in its stock), or declare any other distribution, upon a class of the Company&#x2019;s capital stock, or purchase any such capital stock, unless the Company has asset coverage, as defined in the 1940 Act, of at least the threshold specified under Section&#160;18(a)(1)(B) as modified by Section&#160;61(a)(2) of the 1940 Act, or any successor provisions, after deducting the amount of such dividend, distribution or purchase price, as the case may be, giving effect to any applicable &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;no-action&lt;/div&gt; or other relief granted by the SEC; and (iii)&#160;if, at any time, the Company is no longer subject to the reporting requirements under the Securities Exchange Act of 1934, as amended, furnish to the holders of the Notes and the Trustee audited annual consolidated financial statements within 90 days of its fiscal year end, and unaudited interim consolidated financial statements within 45 days of its fiscal quarter end (other than its fourth fiscal quarter), in each case prepared in all material respects in accordance with generally accepted accounting principles. &lt;/div&gt; </cef:LongTermDebtDividendsAndCovenantsTextBlock>
</xbrl>
