<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pflt-20240808.xsd" xlink:type="simple"/>
    <context id="duration_2024-08-08_to_2024-08-08">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001504619</identifier>
        </entity>
        <period>
            <startDate>2024-08-08</startDate>
            <endDate>2024-08-08</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-274">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2024-08-08_to_2024-08-08"
      id="Hidden_dei_EntityCentralIndexKey">0001504619</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-285">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-286">2024-08-08</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-287">PennantPark Floating Rate Capital Ltd.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-288">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-289">814-00891</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-290">27-3794690</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-291">1691 Michigan Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-292">Miami Beach</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-293">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-294">33139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-295">(786)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-296">297-9500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-297">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-298">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-299">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-300">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-301">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-302">PFLT</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-303">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2024-08-08_to_2024-08-08" id="ixv-304">false</dei:EntityEmergingGrowthCompany>
</xbrl>
