<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  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="paa-20251031.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001070423</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-22">0001070423</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c-1" id="f-23">true</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="c-1" id="f-24">PLAINS ALL AMERICAN PIPELINE LP</dei:EntityRegistrantName>
    <dei:DocumentType contextRef="c-1" id="f-1">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-2">2025-10-31</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="c-1" id="f-3">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="c-1" id="f-4">1-14569</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="c-1" id="f-5">76-0582150</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="c-1" id="f-6">333 Clay Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="c-1" id="f-7">Suite 1600</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="c-1" id="f-8">Houston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="c-1" id="f-9">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="c-1" id="f-10">77002</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="c-1" id="f-11">713</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="c-1" id="f-12">646-4100</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="c-1" id="f-13">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="c-1" id="f-14">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="c-1" id="f-15">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="c-1" id="f-16">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="c-1" id="f-17">Common Units</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-1" id="f-18">PAA</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-1" id="f-19">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="c-1" id="f-20">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="c-1" id="f-21">On November 6, 2025, Plains All American Pipeline, L.P. (&#x201c;PAA&#x201d; or the &#x201c;Registrant&#x201d;) filed a Current Report on Form 8-K (the &#x201c;Original Filing&#x201d;) to report that on October 31, 2025, pursuant to that certain definitive Purchase and Sale Agreement (the &#x201c;PSA&#x201d;) entered into on August 30, 2025 by and among a wholly-owned subsidiary (the &#x201c;Buyer&#x201d;) of PAA, and subsidiaries of Diamondback Energy, Inc. and Kinetik Holdings Inc. (collectively, the &#x201c;Sellers&#x201d;), Buyer completed the purchase from Sellers of an aggregate 55% non-operated equity interest in EPIC Crude Holdings, LP (&#x201c;EPIC Crude Holdings&#x201d;), the entity that owns and operates the EPIC Crude Oil Pipeline (the &#x201c;EPIC Pipeline&#x201d;), and an aggregate 55% of the membership interests in EPIC Crude Holdings GP, LLC (&#x201c;EPIC GP&#x201d;), the general partner of EPIC Crude Holdings (the &#x201c;EPIC 55% Transaction&#x201d;).Effective November 1, 2025, in a separate transaction from the EPIC 55% Transaction, Buyer also completed the purchase of the remaining 45% equity interest in EPIC Crude Holdings and the remaining 45% of the membership interests in EPIC GP from a subsidiary of Ares Management LLC (the &#x201c;Ares Seller&#x201d;) pursuant to that certain definitive Equity Purchase Agreement among Buyer and the Ares Seller (the &#x201c;EPIC 45% Transaction,&#x201d; and, together with the EPIC 55% Transaction, the &#x201c;Transactions&#x201d;). &#160;&#160;&#160;&#160;As a result of the Transactions, PAA now indirectly owns 100% of the equity interests in EPIC Crude Holdings and 100% of the membership interests in EPIC GP and will serve as operator of record of the EPIC Pipeline.This Current Report on Form 8-K/A (this &#x201c;Amendment&#x201d;) amends and supplements the Original Filing to provide the financial statements of EPIC Crude Holdings, LP and the pro forma financial information of PAA required by Items 9.01(a) and 9.01(b) of Form 8-K. No other modifications to the Original Filing are being made by this Amendment.</dei:AmendmentDescription>
</xbrl>
