<?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-20260225.xsd" xlink:type="simple"/>
    <context id="P02_25_2026To02_25_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001504619</identifier>
        </entity>
        <period>
            <startDate>2026-02-25</startDate>
            <endDate>2026-02-25</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P02_25_2026To02_25_2026" id="ixv-264">0001504619</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P02_25_2026To02_25_2026" id="ixv-265">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="P02_25_2026To02_25_2026" id="ixv-277">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P02_25_2026To02_25_2026" id="ixv-278">2026-02-25</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P02_25_2026To02_25_2026" id="ixv-279">PennantPark Floating Rate Capital Ltd.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P02_25_2026To02_25_2026" id="ixv-280">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P02_25_2026To02_25_2026" id="ixv-281">814-00891</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P02_25_2026To02_25_2026" id="ixv-282">27-3794690</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P02_25_2026To02_25_2026" id="ixv-283">1691 Michigan Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P02_25_2026To02_25_2026" id="ixv-284">Miami Beach</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P02_25_2026To02_25_2026" id="ixv-285">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P02_25_2026To02_25_2026" id="ixv-286">33139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P02_25_2026To02_25_2026" id="ixv-287">786</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P02_25_2026To02_25_2026" id="ixv-288">297-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P02_25_2026To02_25_2026" id="ixv-289">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P02_25_2026To02_25_2026" id="ixv-290">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P02_25_2026To02_25_2026" id="ixv-291">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P02_25_2026To02_25_2026" id="ixv-292">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="P02_25_2026To02_25_2026" id="ixv-293">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P02_25_2026To02_25_2026" id="ixv-294">PFLT</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P02_25_2026To02_25_2026" id="ixv-295">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="P02_25_2026To02_25_2026" id="ixv-296">false</dei:EntityEmergingGrowthCompany>
    <cef:LongTermDebtTableTextBlock contextRef="P02_25_2026To02_25_2026" id="ixv-169">&lt;div style="margin-top:6pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;On February&#160;25, 2026, PennantPark Floating Rate Capital Ltd. (the &#x201c;Company&#x201d;) entered into an underwriting agreement (the &#x201c;Underwriting Agreement&#x201d;) by and among the Company, PennantPark Investment Advisers, LLC (the &#x201c;Adviser&#x201d;) and Raymond James&#160;&amp;amp; Associates, Inc., as representative of the several underwriters, in connection with the issuance and sale of $200&#160;million aggregate principal amount of the Company&#x2019;s 6.75% Notes due 2029 (the &#x201c;Offering&#x201d;). &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 Underwriting Agreement includes customary representations, warranties, and covenants by the Company and the Adviser. It also provides for customary indemnification by each of the Company, the Adviser, and the underwriters against certain liabilities and customary contribution provisions in respect of those liabilities. &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 Offering is being made pursuant to the Company&#x2019;s effective shelf registration stat&lt;div style="display:inline;"&gt;ement &lt;/div&gt;on Form &lt;div style="white-space:nowrap;display:inline;"&gt;N-2&lt;/div&gt; (Registration &lt;div style="white-space:nowrap;display:inline;"&gt;No.&#160;333-279726)&lt;/div&gt; previously filed with the Securities and Exchange Commission, as supplemented by a preliminary prospectus supplement dated February&#160;25, 2026 and a final prospectus supplement dated February&#160;25, 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 foregoing description of the Underwriting Agreement does not purport to be complete and is qualified in its entirety by reference to the full text of the Underwriting Agreement filed with this report as Exhibit 1.1 and which is incorporated herein by reference. &lt;/div&gt;</cef:LongTermDebtTableTextBlock>
    <cef:LongTermDebtPrincipal
      contextRef="P02_25_2026To02_25_2026"
      decimals="-6"
      id="ixv-297"
      unitRef="Unit_USD">200000000</cef:LongTermDebtPrincipal>
    <cef:LongTermDebtDividendsAndCovenantsTextBlock contextRef="P02_25_2026To02_25_2026" id="ixv-298">The Underwriting Agreement includes customary representations, warranties, and covenants by the Company and the Adviser. It also provides for customary indemnification by each of the Company, the Adviser, and the underwriters against certain liabilities and customary contribution provisions in respect of those liabilities.</cef:LongTermDebtDividendsAndCovenantsTextBlock>
</xbrl>
