<?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="pool-20260508.xsd" xlink:type="simple"/>
    <context id="C_0ffba109-fd6c-4d99-9783-801bba55770d">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000945841</identifier>
        </entity>
        <period>
            <startDate>2026-05-08</startDate>
            <endDate>2026-05-08</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_989e0adb-d5b2-42a0-a7e5-2a657befca8f">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_d3e2b79c-c6ff-4aa7-b7cf-6f9aaa84b17e">0000945841</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_b2d8ba78-b593-47bd-bd7f-478285db8dc2">8-K/A</dei:DocumentType>
    <dei:AmendmentDescription
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_5510119e-53eb-4a15-8bb1-69da35b7382f">Amendment No. 1</dei:AmendmentDescription>
    <dei:DocumentPeriodEndDate
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_67383183-822d-45ed-9f30-dddabbd9b812">2026-05-08</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_3f9cbc5b-3af7-4947-b416-846cf55d937a">POOL CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_5fa2c8e2-7d8d-415a-b196-447edbf7b01a">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_fd573826-5591-496a-87fb-50645086b402">0-26640 </dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_8a2a89e5-64a0-4cf8-9a1f-a48743ea9597">36-3943363</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_70d15bc0-e2d0-484c-8e34-a0a0a045eb9f">109 Northpark Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_d0b8c8b4-4ce4-4116-83af-c4ad9b7a35e4">Covington</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_5e5713f3-4056-45ce-b10b-a9b27eaa5c9d">LA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_01404a37-1d7e-4275-8aca-ff0a12bf2a00">70433-5001</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_119eed4e-1d86-426e-a665-7f52e1e19198">(985)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_ed2cef1a-2db0-4fc7-98bb-2ddabf7503e3">892-5521</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_15b010b0-5248-43f0-8ca8-0cb49b77057c">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_f06d88af-094c-4cca-a4bd-404e3630d797">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_a3cfb413-6f9b-489a-aade-c2f885581e9c">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_7ee58bf1-5381-4e9d-8dbf-6023bf4cdfeb">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_666c37fe-a7f5-46fd-b330-2e7ad4038b37">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_8d202074-cf24-48e3-911b-d30bb8e1f93c">POOL</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_13fb1305-3439-49a4-b6cd-4a519cdd3b1b">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_0ffba109-fd6c-4d99-9783-801bba55770d"
      id="F_d68feeef-4f25-44e4-a00b-2ed34e70e519">false</dei:EntityEmergingGrowthCompany>
</xbrl>
