<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pool-20261005.xsd" xlink:type="simple"/>
    <context id="C_8728a30b-60a4-475a-b11d-0332ffe13186">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000945841</identifier>
        </entity>
        <period>
            <startDate>2026-10-05</startDate>
            <endDate>2026-10-05</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_cc9f443c-01dc-4c5e-b199-769b1c818b29">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_f8fc64fe-e7a1-47df-9205-c014adc16d98">0000945841</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_267c8561-3ae5-46be-91c1-22e3dbfc36af">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_42e9cdcc-24ec-43d6-bcff-d5046d91acbb">2026-10-05</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_1d6401bc-2638-4bc5-be70-85424a129529">POOL CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_9642ef75-5df7-492f-8eff-074c3b02fbe3">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_d00b55cf-1da6-4b65-b5fa-03becdb584b8">0-26640</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_8c07e746-6dfa-4ca6-ba60-bdcaeecc9417">36-3943363</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_63e876c2-1da0-4ba1-ba52-3d48d8e70726">109 Northpark Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_3c540f56-ed34-4ea4-aafb-bba249ac7c03">Covington</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_ee4e4ace-59d6-4619-b7e9-90f1dc9b0008">LA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_6434a614-b743-4797-8c4b-b6772780490d">70433-5001</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_7df45a70-2c1d-4618-b32d-21ac0b5c4c25">(985)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_22332c8c-9d26-48ba-b175-344ff3ec36c9">892-5521</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_b69d8827-60d2-4f33-b7ae-31efe410a7b4">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_6353dee5-b62a-4529-a1c7-2cd5d04036f7">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_21522063-64c3-4998-9ab1-0c850313863f">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_46898531-62d4-482b-8dd0-d621cf2bce97">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_ab9b7c80-7441-4d40-af0f-7079813a73b3">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_b5066485-61e2-4b33-8fc3-70b307120a40">POOL</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_586f0e1b-bf2f-4115-ab92-cc9e9a056a1f">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_8728a30b-60a4-475a-b11d-0332ffe13186"
      id="F_e1a66285-c36a-4154-92c3-c313984e4257">false</dei:EntityEmergingGrowthCompany>
</xbrl>
