<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>3030</ContextCount>
  <ElementCount>348</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>155</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Statements of Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities</Role>
      <ShortName>Consolidated Statements of Assets and Liabilities</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Statements of Assets and Liabilities (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical</Role>
      <ShortName>Consolidated Statements of Assets and Liabilities (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statements of Changes in Net Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets</Role>
      <ShortName>Consolidated Statements of Changes in Net Assets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Schedule of Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestments</Role>
      <ShortName>Consolidated Schedule of Investments</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Schedule of Investments (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_StatementConsolidatedScheduleOfInvestmentsParenthetical</Role>
      <ShortName>Consolidated Schedule of Investments (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995470 - Disclosure - N-2</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cef/role/N2</Role>
      <ShortName>N-2</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995480 - Disclosure - Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureOrganization</Role>
      <ShortName>Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995490 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureSignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995500 - Disclosure - Agreements and Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureAgreementsAndRelatedPartyTransactions</Role>
      <ShortName>Agreements and Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995510 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995520 - Disclosure - Fair value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995530 - Disclosure - Transactions with Affiliated Companies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureTransactionsWithAffiliatedCompanies</Role>
      <ShortName>Transactions with Affiliated Companies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995540 - Disclosure - Change in Net Assets from Operations Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/DisclosureChangeInNetAssetsFromOperationsPerCommonShare1</Role>
      <ShortName>Change in Net Assets from Operations Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cash and Cash Equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureCashAndCashEquivalents</Role>
      <ShortName>Cash and Cash Equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995560 - Disclosure - Financial Highlights</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFinancialHighlights</Role>
      <ShortName>Financial Highlights</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995570 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995580 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995610 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995620 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestments</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995630 - Disclosure - Fair value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995640 - Disclosure - Transactions with Affiliated Companies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureTransactionsWithAffiliatedCompaniesTables</Role>
      <ShortName>Transactions with Affiliated Companies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureTransactionsWithAffiliatedCompanies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995650 - Disclosure - Change in Net Assets From Operations Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureChangeInNetAssetsFromOperationsPerCommonShareTables</Role>
      <ShortName>Change in Net Assets From Operations Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995660 - Disclosure - Financial Highlights (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFinancialHighlightsTables</Role>
      <ShortName>Financial Highlights (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFinancialHighlights</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995670 - Disclosure - Organization - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails</Role>
      <ShortName>Organization - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995680 - Disclosure - Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995690 - Disclosure - Agreements and Related Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureAgreementsAndRelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Agreements and Related Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995700 - Disclosure - Investments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestmentsAdditionalInformationDetails</Role>
      <ShortName>Investments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995710 - Disclosure - Investments - Schedule of Investments and Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAndCashAndCashEquivalentsDetails</Role>
      <ShortName>Investments - Schedule of Investments and Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995720 - Disclosure - Investments - Schedule of Investments by Industry Classification and Enumerates Percentage, by Fair Value, of Total Portfolio Assets Excluding Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsByIndustryClassificationAndEnumeratesPercentageByFairValueOfTotalPortfolioAssetsExcludingCashAndCashEquivalentsDetails</Role>
      <ShortName>Investments - Schedule of Investments by Industry Classification and Enumerates Percentage, by Fair Value, of Total Portfolio Assets Excluding Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995730 - Disclosure - Investments - Summary of PSSLs Portfolio at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/DisclosureInvestmentsSummaryOfPsslsPortfolioAtFairValueDetails</Role>
      <ShortName>Investments - Summary of PSSLs Portfolio at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995740 - Disclosure - Investments - Summary of Listing of PSSLs Individual Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/DisclosureInvestmentsSummaryOfListingOfPsslsIndividualInvestmentsDetails</Role>
      <ShortName>Investments - Summary of Listing of PSSLs Individual Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995750 - Disclosure - Investments - Summary of Listing of PSSLs Individual Investments (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/DisclosureInvestmentsSummaryOfListingOfPsslsIndividualInvestmentsParentheticalDetails</Role>
      <ShortName>Investments - Summary of Listing of PSSLs Individual Investments (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995760 - Disclosure - Investments - Consolidated Statements of Assets and Liabilities for PSSL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfAssetsAndLiabilitiesForPSSLDetails</Role>
      <ShortName>Investments - Consolidated Statements of Assets and Liabilities for PSSL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995770 - Disclosure - Investments - Consolidated Statements of Assets and Liabilities for PSSL (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfAssetsAndLiabilitiesForPSSLParentheticalDetails</Role>
      <ShortName>Investments - Consolidated Statements of Assets and Liabilities for PSSL (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995780 - Disclosure - Investments - Consolidated Statements of Operations for PSSL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfOperationsForPSSLDetails</Role>
      <ShortName>Investments - Consolidated Statements of Operations for PSSL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995790 - Disclosure - Fair Value of Financial Instruments - Summary of Unobservable Inputs and Ranges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfUnobservableInputsAndRangesDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Summary of Unobservable Inputs and Ranges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995800 - Disclosure - Fair Value of Financial Instruments - Summary of Investments, Cash and Cash Equivalents, Credit Facility, or Prior Credit Facility, Notes and Asset Backed Debt (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfInvestmentsCashAndCashEquivalentsCreditFacilityOrPriorCreditFacilityNotesAndAssetBackedDebtDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Summary of Investments, Cash and Cash Equivalents, Credit Facility, or Prior Credit Facility, Notes and Asset Backed Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995810 - Disclosure - Fair Value of Financial Instruments - Reconciliation of Investments Measured at Fair Value Using Significant Unobservable Inputs Level 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsReconciliationOfInvestmentsMeasuredAtFairValueUsingSignificantUnobservableInputsLevel3Details</Role>
      <ShortName>Fair Value of Financial Instruments - Reconciliation of Investments Measured at Fair Value Using Significant Unobservable Inputs Level 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995820 - Disclosure - Fair Value of Financial Instruments - Reconciliation of Liabilities Measured at Fair Value Using Significant Unobservable Inputs Level 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsReconciliationOfLiabilitiesMeasuredAtFairValueUsingSignificantUnobservableInputsLevel3Details</Role>
      <ShortName>Fair Value of Financial Instruments - Reconciliation of Liabilities Measured at Fair Value Using Significant Unobservable Inputs Level 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995830 - Disclosure - Fair Value of Financial Instruments - Reconciliation of Liabilities Measured at Fair Value Using Significant Unobservable Inputs Level 3 (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsReconciliationOfLiabilitiesMeasuredAtFairValueUsingSignificantUnobservableInputsLevel3ParentheticalDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Reconciliation of Liabilities Measured at Fair Value Using Significant Unobservable Inputs Level 3 (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995840 - Disclosure - Fair Value of Financial Instruments - Summary of Outstanding Non US Dollar on Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfOutstandingNonUsDollarOnCreditFacilityDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Summary of Outstanding Non US Dollar on Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995850 - Disclosure - Fair Value of Financial Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995860 - Disclosure - Fair value of Financial Instruments - Net change in fair value from currency (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsNetChangeInFairValueFromCurrencyDetails</Role>
      <ShortName>Fair value of Financial Instruments - Net change in fair value from currency (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995870 - Disclosure - Transactions with Affiliated Companies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureTransactionsWithAffiliatedCompaniesAdditionalInformationDetails</Role>
      <ShortName>Transactions with Affiliated Companies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995880 - Disclosure - Transactions with Affiliated Companies - Summary of Transactions with Affiliated Companies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureTransactionsWithAffiliatedCompaniesSummaryOfTransactionsWithAffiliatedCompaniesDetails</Role>
      <ShortName>Transactions with Affiliated Companies - Summary of Transactions with Affiliated Companies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995890 - Disclosure - Change in Net Assets from Operations Per Common Share - Summary of Information Sets Forth for Computation of Basic and Diluted Per Share Net Increase in Net Assets Resulting from Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureChangeInNetAssetsFromOperationsPerCommonShareSummaryOfInformationSetsForthForComputationOfBasicAndDilutedPerShareNetIncreaseInNetAssetsResultingFromOperationsDetails</Role>
      <ShortName>Change in Net Assets from Operations Per Common Share - Summary of Information Sets Forth for Computation of Basic and Diluted Per Share Net Increase in Net Assets Resulting from Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995900 - Disclosure - Cash and Cash Equivalents - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureCashAndCashEquivalentsAdditionalInformationDetails</Role>
      <ShortName>Cash and Cash Equivalents - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995910 - Disclosure - Financial Highlights - Summary of Financial Highlights (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFinancialHighlightsSummaryOfFinancialHighlightsDetails</Role>
      <ShortName>Financial Highlights - Summary of Financial Highlights (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995920 - Disclosure - Financial Highlights - Summary of Financial Highlights (Details) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureFinancialHighlightsSummaryOfFinancialHighlightsDetailsParenthetical</Role>
      <ShortName>Financial Highlights - Summary of Financial Highlights (Details) (Parenthetical)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995930 - Disclosure - Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails</Role>
      <ShortName>Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="pflt-20250331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995940 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennantpark.com/20250331/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="pflt-20250331.htm">pflt-20250331.htm</File>
    <File>pflt-20250331.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="6838">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="2">http://xbrl.sec.gov/cef/2024</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
