<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2025"
  xmlns:ck0001982701="http://www.abprivatelendingfund.com/20260618"
  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:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001982701-20260618.xsd" xlink:type="simple"/>
    <context id="P06_18_2026To06_18_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001982701</identifier>
        </entity>
        <period>
            <startDate>2026-06-18</startDate>
            <endDate>2026-06-18</endDate>
        </period>
    </context>
    <context id="P05_31_2026To05_31_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001982701</identifier>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="PAsOn05_31_2026_ClassSsharesMemberusgaapStatementClassOfStockAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001982701</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">ck0001982701:ClassSsharesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="PAsOn05_31_2026_ClassDsharesMemberusgaapStatementClassOfStockAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001982701</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">ck0001982701:ClassDsharesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="PAsOn05_31_2026_ClassISharesMemberusgaapStatementClassOfStockAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001982701</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">ck0001982701:ClassISharesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_USD_per_Share">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <dei:AmendmentFlag contextRef="P06_18_2026To06_18_2026" id="ixv-545">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="P06_18_2026To06_18_2026" id="ixv-546">0001982701</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="P06_18_2026To06_18_2026" id="ixv-591">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P06_18_2026To06_18_2026" id="ixv-592">2026-06-18</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P06_18_2026To06_18_2026" id="ixv-593">AB PRIVATE LENDING FUND</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P06_18_2026To06_18_2026" id="ixv-594">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P06_18_2026To06_18_2026" id="ixv-595">814-01744</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P06_18_2026To06_18_2026" id="ixv-596">93-6555027</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P06_18_2026To06_18_2026" id="ixv-597">405 Colorado Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="P06_18_2026To06_18_2026" id="ixv-598">Suite 1500</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="P06_18_2026To06_18_2026" id="ixv-599">Austin</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P06_18_2026To06_18_2026" id="ixv-600">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P06_18_2026To06_18_2026" id="ixv-601">78701</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P06_18_2026To06_18_2026" id="ixv-602">512</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P06_18_2026To06_18_2026" id="ixv-603">721-2900</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P06_18_2026To06_18_2026" id="ixv-604">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P06_18_2026To06_18_2026" id="ixv-605">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P06_18_2026To06_18_2026" id="ixv-606">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P06_18_2026To06_18_2026" id="ixv-607">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="P06_18_2026To06_18_2026" id="ixv-608">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="P06_18_2026To06_18_2026" id="ixv-609">false</dei:EntityExTransitionPeriod>
    <cef:SharePriceTableTextBlock contextRef="P06_18_2026To06_18_2026" id="ixv-296">&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;font-weight:bold"&gt;&lt;div style="font-style: normal; letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;div style="font-style:italic;display:inline;"&gt;Net Asset Value &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-top:6pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;The net asset value (&#x201c;&lt;div style="letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;div style="font-weight:bolder;display:inline;"&gt;NAV&lt;/div&gt;&lt;/div&gt;&#x201d;) per share of each class of the Fund as of May&#160;31, 2026 as determined in accordance with the Fund&#x2019;s valuation policy, is set forth below. &lt;/div&gt;&lt;div style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;&#160;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;width:68%;border-spacing:0;margin:0 auto"&gt;
&lt;tr&gt;
&lt;td style="width:66%"&gt;&lt;/td&gt;
&lt;td style="vertical-align:bottom;width:28%"&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
&lt;td style="vertical-align: bottom; padding-bottom: 0.5pt;"&gt;&#160;&lt;/td&gt;
&lt;td style="vertical-align: bottom; padding-bottom: 0.5pt;"&gt;&#160;&#160;&lt;/td&gt;
&lt;td colspan="2" style="border-bottom:1.00pt solid #000000;vertical-align:bottom;text-align:center"&gt;&lt;div style="letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;div style="font-weight:bolder;display:inline;"&gt;NAV&#160;per&#160;Share&#160;as&#160;of&#160;May&#160;31,&#160;2026&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;
&lt;td style="vertical-align: bottom; padding-bottom: 0.5pt;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt;background-color:#cceeff"&gt;
&lt;td style="vertical-align:top"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 1em; text-indent: -1em; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; line-height: normal;"&gt;Class&#160;I shares&lt;/div&gt;&lt;/td&gt;
&lt;td style="vertical-align:bottom"&gt;&#160;&#160;&lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom"&gt;$&lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom;text-align:right"&gt;24.72&lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
&lt;td style="vertical-align:top"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 1em; text-indent: -1em; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; line-height: normal;"&gt;Class&#160;S shares&lt;/div&gt;&lt;/td&gt;
&lt;td style="vertical-align:bottom"&gt;&#160;&#160;&lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom"&gt;&#160;&lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom;text-align:right"&gt;&#x2014; &lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt;background-color:#cceeff"&gt;
&lt;td style="vertical-align:top"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 1em; text-indent: -1em; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; line-height: normal;"&gt;Class&#160;D shares&lt;/div&gt;&lt;/td&gt;
&lt;td style="vertical-align:bottom"&gt;&#160;&#160;&lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom"&gt;&#160;&lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom;text-align:right"&gt;&#x2014; &lt;/td&gt;
&lt;td style="white-space:nowrap;vertical-align:bottom"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div style="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman"&gt;As of May 31, 2026, the Fund&#x2019;s aggregate NAV was approximately $163.0 million, the fair value of its investment portfolio was approximately $372.3. million, and it had approximately $213.8 million of debt outstanding (at principal). &lt;/div&gt;</cef:SharePriceTableTextBlock>
    <us-gaap:NetAssetValuePerShare
      contextRef="PAsOn05_31_2026_ClassISharesMemberusgaapStatementClassOfStockAxis"
      decimals="2"
      id="ixv-610"
      unitRef="Unit_USD_per_Share">24.72</us-gaap:NetAssetValuePerShare>
    <us-gaap:NetAssetValuePerShare
      contextRef="PAsOn05_31_2026_ClassSsharesMemberusgaapStatementClassOfStockAxis"
      decimals="0"
      id="ixv-611"
      unitRef="Unit_USD_per_Share">0</us-gaap:NetAssetValuePerShare>
    <us-gaap:NetAssetValuePerShare
      contextRef="PAsOn05_31_2026_ClassDsharesMemberusgaapStatementClassOfStockAxis"
      decimals="0"
      id="ixv-612"
      unitRef="Unit_USD_per_Share">0</us-gaap:NetAssetValuePerShare>
    <cef:LongTermDebtPrincipal
      contextRef="P05_31_2026To05_31_2026"
      decimals="-5"
      id="ixv-613"
      unitRef="Unit_USD">163000000</cef:LongTermDebtPrincipal>
</xbrl>
