<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2026"
  xmlns:ck0001982701="http://www.abprivatelendingfund.com/20260820"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001982701-20260820.xsd" xlink:type="simple"/>
    <context id="P08_20_2026To08_20_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001982701</identifier>
        </entity>
        <period>
            <startDate>2026-08-20</startDate>
            <endDate>2026-08-20</endDate>
        </period>
    </context>
    <context id="P07_31_2026To07_31_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001982701</identifier>
        </entity>
        <period>
            <startDate>2026-07-31</startDate>
            <endDate>2026-07-31</endDate>
        </period>
    </context>
    <context id="PAsOn07_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-07-31</instant>
        </period>
    </context>
    <context id="PAsOn07_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-07-31</instant>
        </period>
    </context>
    <context id="PAsOn07_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-07-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="P08_20_2026To08_20_2026" id="ixv-542">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="P08_20_2026To08_20_2026" id="ixv-543">0001982701</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="P08_20_2026To08_20_2026" id="ixv-588">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P08_20_2026To08_20_2026" id="ixv-589">2026-08-20</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P08_20_2026To08_20_2026" id="ixv-590">AB PRIVATE LENDING FUND</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P08_20_2026To08_20_2026" id="ixv-591">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P08_20_2026To08_20_2026" id="ixv-592">814-01744</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P08_20_2026To08_20_2026" id="ixv-593">93-6555027</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P08_20_2026To08_20_2026" id="ixv-594">405 Colorado Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="P08_20_2026To08_20_2026" id="ixv-595">Suite 1500</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="P08_20_2026To08_20_2026" id="ixv-596">Austin</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P08_20_2026To08_20_2026" id="ixv-597">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P08_20_2026To08_20_2026" id="ixv-598">78701</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P08_20_2026To08_20_2026" id="ixv-599">512</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P08_20_2026To08_20_2026" id="ixv-600">721-2900</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P08_20_2026To08_20_2026" id="ixv-601">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P08_20_2026To08_20_2026" id="ixv-602">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P08_20_2026To08_20_2026" id="ixv-603">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P08_20_2026To08_20_2026" id="ixv-604">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="P08_20_2026To08_20_2026" id="ixv-605">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="P08_20_2026To08_20_2026" id="ixv-606">false</dei:EntityExTransitionPeriod>
    <cef:SharePriceTableTextBlock contextRef="P08_20_2026To08_20_2026" id="ixv-291">&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 July&#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;July&#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.61&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 July&#160;31, 2026, the Fund&#x2019;s aggregate NAV was approximately $163.0&#160;million, the fair value of its investment portfolio was approximately $373.3&#160;million, and it had approximately $213.8&#160;million of debt outstanding (at principal). &lt;/div&gt;</cef:SharePriceTableTextBlock>
    <us-gaap:NetAssetValuePerShare
      contextRef="PAsOn07_31_2026_ClassISharesMemberusgaapStatementClassOfStockAxis"
      decimals="2"
      id="ixv-607"
      unitRef="Unit_USD_per_Share">24.61</us-gaap:NetAssetValuePerShare>
    <us-gaap:NetAssetValuePerShare
      contextRef="PAsOn07_31_2026_ClassSsharesMemberusgaapStatementClassOfStockAxis"
      decimals="0"
      id="ixv-608"
      unitRef="Unit_USD_per_Share">0</us-gaap:NetAssetValuePerShare>
    <us-gaap:NetAssetValuePerShare
      contextRef="PAsOn07_31_2026_ClassDsharesMemberusgaapStatementClassOfStockAxis"
      decimals="0"
      id="ixv-609"
      unitRef="Unit_USD_per_Share">0</us-gaap:NetAssetValuePerShare>
    <cef:LongTermDebtPrincipal
      contextRef="P07_31_2026To07_31_2026"
      decimals="-5"
      id="ixv-610"
      unitRef="Unit_USD">163000000</cef:LongTermDebtPrincipal>
</xbrl>
