<?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-20260224.xsd" xlink:type="simple"/>
    <context id="P02_24_2026To02_24_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001504619</identifier>
        </entity>
        <period>
            <startDate>2026-02-24</startDate>
            <endDate>2026-02-24</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P02_24_2026To02_24_2026" id="ixv-352">0001504619</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P02_24_2026To02_24_2026" id="ixv-353">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="P02_24_2026To02_24_2026" id="ixv-365">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P02_24_2026To02_24_2026" id="ixv-366">2026-02-24</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P02_24_2026To02_24_2026" id="ixv-367">PennantPark Floating Rate Capital Ltd.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P02_24_2026To02_24_2026" id="ixv-368">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P02_24_2026To02_24_2026" id="ixv-369">814-00891</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P02_24_2026To02_24_2026" id="ixv-370">27-3794690</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P02_24_2026To02_24_2026" id="ixv-371">1691 Michigan Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P02_24_2026To02_24_2026" id="ixv-372">Miami Beach</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P02_24_2026To02_24_2026" id="ixv-373">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P02_24_2026To02_24_2026" id="ixv-374">33139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P02_24_2026To02_24_2026" id="ixv-375">786</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P02_24_2026To02_24_2026" id="ixv-376">297-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P02_24_2026To02_24_2026" id="ixv-377">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P02_24_2026To02_24_2026" id="ixv-378">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P02_24_2026To02_24_2026" id="ixv-379">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P02_24_2026To02_24_2026" id="ixv-380">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="P02_24_2026To02_24_2026" id="ixv-381">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P02_24_2026To02_24_2026" id="ixv-382">PFLT</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P02_24_2026To02_24_2026" id="ixv-383">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="P02_24_2026To02_24_2026" id="ixv-384">false</dei:EntityEmergingGrowthCompany>
    <cef:LongTermDebtTableTextBlock contextRef="P02_24_2026To02_24_2026" id="ixv-179">&lt;div style="margin-top:6pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;On February&#160;24, 2026 (&#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Closing Date&lt;/div&gt;&#x201d;), PennantPark CLO VIII, LLC (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Issuer&lt;/div&gt;&#x201d;), a wholly-owned 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;), closed the refinancing and upsize of a four-year reinvestment period, twelve-year final maturity $356.5&#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;&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 Issuer of the following classes of notes pursuant that certain indenture, dated February&#160;22, 2024 (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Original Closing Date&lt;/div&gt;&#x201d;), by and between the Issuer and Wilmington Trust, National Association, as amended by the supplemental indenture, dated February&#160;24, 2026, the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Indenture&lt;/div&gt;&#x201d;): (i) $123&#160;million of &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;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; letter-spacing: 0px; top: 0px;display:inline;"&gt;SOFR&lt;/div&gt;&#x201d;) plus 1.43%, (ii) $14&#160;million of &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;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.60%, (iii) $26.25&#160;million of &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;Class&#160;B-R&lt;/div&gt; Notes, which bear interest at three-month SOFR plus 1.75%,(iv) $24.5&#160;million of &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;C-R&lt;/div&gt; Notes, which bear interest at three-month SOFR plus 2.15% and (v) $19.25&#160;million of &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;D-R&lt;/div&gt; Notes, which bear interest at three-month SOFR plus 3.20% (collectively, the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Secured Notes&lt;/div&gt;&#x201d;), (B) the issuance by the Issuer of $5.9&#160;million of subordinated notes pursuant to the Indenture (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Additional Subordinated Notes&lt;/div&gt;&#x201d; and, collectively with the $63.55&#160;million in aggregate principal amount of Subordinated Notes issued on the Original Closing Date and the Secured Notes, the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Replacement Notes&lt;/div&gt;&#x201d;) and (C)&#160;the borrowing by the Issuer of $80.0&#160;million of &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;div style="white-space:nowrap;display:inline;"&gt;Class&#160;A-1-R&lt;/div&gt;&lt;/div&gt; Loans, which bear interest at three-month SOFR plus 1.43% (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Class&lt;/div&gt;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;/div&gt;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;div style="white-space:nowrap;display:inline;"&gt;&lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;&#160;A-1-R&lt;/div&gt;&lt;/div&gt; Loans&lt;/div&gt;&#x201d; and, together with the Replacement Notes, the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Replacement Debt&lt;/div&gt;&#x201d;), pursuant to a credit agreement, dated as of the Closing Date (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Credit Agreement&lt;/div&gt;&#x201d;), by and between the Issuer, the various financial institutions and other persons party thereto, as lenders and Wilmington Trust, National Association, as loan agent and as trustee. &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 Replacement Debt matures in April 2038. The Replacement Debt was 100% funded at closing. The obligations of the Issuer under the Replacement Debt are &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;non-recourse&lt;/div&gt; to the Company. The Company will retain the Subordinated Notes through a consolidated subsidiary. &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 Replacement Notes offered as part of the term CLO Reset Transaction have not been and will not be registered under the Securities Act of 1933, as amended (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Securities Act&lt;/div&gt;&#x201d;), or any state &#x201c;blue sky&#x201d; laws, and may not be offered or sold in the United States absent registration under Section&#160;5 of the Securities Act or an applicable exemption from such registration requirements &lt;/div&gt;&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 February&#160;22, 2024 (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 and the Issuer, which provided for the sale and contribution of approximately $265&#160;million par amount of middle market loans from the Company to the Issuer on the Original 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 pursuant to the Amended and Restated Master Loan Sale Agreement. &lt;/div&gt;&lt;div style="margin-top:0pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The Company will continue to serve as portfolio manager to the Issuer pursuant to an Amended and Restated Collateral Management Agreement, dated as of the Closing Date (the &#x201c;&lt;div style="text-decoration: underline; letter-spacing: 0px; top: 0px;display:inline;"&gt;Collateral Management Agreement&lt;/div&gt;&#x201d;), between the Company and the Issuer. For so long as the Company serves as portfolio manager, the Company will elect to irrevocably waive any base management fee or subordinated interest to which it may be entitled under the Collateral Management Agreement. &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 description of the second supplemental indenture, the Credit Agreement, Amended and Restated Master Loan and Sale Agreement and the Amended and Restated Collateral Management Agreement contained in this Current Report on Form &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;8-K&lt;/div&gt; do not purport to be complete and are qualified in their entirety by reference to the full text of the second supplemental indenture, the Credit Agreement, the Amended and Restated Master Loan and Sale Agreement and the Amended and Restated Collateral Management Agreement attached hereto as Exhibits 10.1, 10.2, 10.3 and 10.4, respectively. &lt;/div&gt;</cef:LongTermDebtTableTextBlock>
    <cef:LongTermDebtPrincipal
      contextRef="P02_24_2026To02_24_2026"
      decimals="-5"
      id="ixv-385"
      unitRef="Unit_USD">356500000</cef:LongTermDebtPrincipal>
    <cef:LongTermDebtDividendsAndCovenantsTextBlock contextRef="P02_24_2026To02_24_2026" id="ixv-213">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 February&#160;22, 2024 (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 and the Issuer, which provided for the sale and contribution of approximately $265&#160;million par amount of middle market loans from the Company to the Issuer on the Original 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 pursuant to the Amended and Restated Master Loan Sale Agreement.</cef:LongTermDebtDividendsAndCovenantsTextBlock>
</xbrl>
