<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="abpcic-20261015.xsd" xlink:type="simple"/>
    <context id="duration_2026-10-15_to_2026-10-15">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001634452</identifier>
        </entity>
        <period>
            <startDate>2026-10-15</startDate>
            <endDate>2026-10-15</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2026-10-15_to_2026-10-15"
      id="Hidden_dei_EntityRegistrantName">AB Private Credit Investors Corp</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-369">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2026-10-15_to_2026-10-15"
      id="Hidden_dei_EntityCentralIndexKey">0001634452</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-380">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-381">2026-10-15</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-382">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-383">814-01196</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-384">81-2491356</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-385">405 Colorado Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-386">Suite 1500</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-387">Austin</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-388">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-389">78701</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-390">(512)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-391">721-2900</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-392">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-393">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-394">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-395">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-396">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-397">false</dei:EntityExTransitionPeriod>
    <dei:AmendmentDescription contextRef="duration_2026-10-15_to_2026-10-15" id="ixv-155">This Amendment No.&#160;1 on Form 8-K/A (&#x201c;Amendment No.&#160;1&#x201d;) amends the Current Report on Form 8-K of AB Private Credit Investors Corporation (the &#x201c;Fund&#x201d;) filed with the Securities and Exchange Commission on October&#160;21, 2026 (the &#x201c;Original Filing&#x201d;) to add disclosure under Item&#160;1.02 regarding the repayment and termination of the Warehouse Credit Facility (as defined below) in connection with the financing transaction described in the Original Filing. Such disclosure was inadvertently omitted from the Original Filing. Except as expressly set forth herein, this Amendment No.&#160;1 does not amend or update any other information contained in the Original Filing, which remains unchanged. Accordingly, this Amendment No.&#160;1 should be read in conjunction with the Original Filing.</dei:AmendmentDescription>
</xbrl>
