<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pflt-20230207.xsd" xlink:type="simple"/>
    <context id="C_aad5975f-18d3-4169-9bc1-e7762e0130a1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001504619</identifier>
        </entity>
        <period>
            <startDate>2023-02-07</startDate>
            <endDate>2023-02-07</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_1dbc21ff-941c-49ee-959e-8f0741980e90">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_9f77ec0c-e0d4-4c6e-88cd-e7f1f55fb964">0001504619</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_e4292475-02c1-4717-ba74-09055a021f88">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_4283921d-07c1-4819-921d-114d9ab98760">2023-02-07</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_424f2f4e-9481-4372-bce0-2feff7ac80df">PennantPark Floating Rate Capital Ltd.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_9ec28f59-eaff-4637-9357-43ebe082dc2d">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_213f61dc-2a38-4718-b923-16d9ba8abc05">814-00891</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_f0c07517-7e9e-4b33-a726-b0de31ff26d3">27-3794690</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_ee4cd58e-7d72-4165-b325-10289dbcc439">1691 Michigan Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_bd34edc1-af55-45d9-b3bf-d090f766cc31">Miami Beach</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_414e6a62-bdc4-4fc4-a6eb-595165e4607e">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_cdc65590-126c-4098-9e80-1648f02e7c4d">33139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_32aafd46-5ae3-40d2-8650-cf55bd7d21ae">786</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_b1a78dfd-00e4-47ac-a280-1b6df75c6cf6">297-9500</dei:LocalPhoneNumber>
    <dei:Security12bTitle
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_6159dd28-7c6f-4772-a721-e98b8ad7e485">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_7f101754-fd68-43a2-8302-7271b7b6a814">PFLT</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_b248fc6e-a48c-4244-b057-4a6af84dbcc6">NYSE</dei:SecurityExchangeName>
    <dei:WrittenCommunications
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_2490f115-e22d-4afc-9c96-52eb61c9e7de">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_b9374f18-76dc-4c2d-b012-1b433d2aee5c">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_0a2ae225-f9a8-4123-a979-7f6f18099f2b">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_1755cd02-b2d3-44cb-bf1b-e51b828dc0ba">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_aad5975f-18d3-4169-9bc1-e7762e0130a1"
      id="F_887b1eda-9f3c-4399-84c1-11b6651d3e06">false</dei:EntityEmergingGrowthCompany>
</xbrl>
