<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>187</ContextCount>
  <ElementCount>495</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>82</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>75000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>75010 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ConsolidatedStatementsofIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>75020 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>75030 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ConsolidatedStatementsofComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>75040 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>75050 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>75060 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>75070 - Statement - Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ConsolidatedStatementsofChangesinStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>75080 - Statement - Consolidated Statements of Changes in Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995457 - Disclosure - Cybersecurity Risk Management, Strategy, and Governance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance</Role>
      <ShortName>Cybersecurity Risk Management, Strategy, and Governance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995467 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995477 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995487 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995497 - Disclosure - Details of Certain Balance Sheet Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DetailsofCertainBalanceSheetAccounts</Role>
      <ShortName>Details of Certain Balance Sheet Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995507 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995517 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995527 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995537 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995547 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995557 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995567 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/EmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995577 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995587 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995597 - Disclosure - Organization and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995607 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/GoodwillandOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/GoodwillandOtherIntangibleAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995617 - Disclosure - Details of Certain Balance Sheet Accounts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DetailsofCertainBalanceSheetAccountsTables</Role>
      <ShortName>Details of Certain Balance Sheet Accounts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/DetailsofCertainBalanceSheetAccounts</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995627 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/Debt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995637 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/ShareBasedCompensation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995647 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/IncomeTaxes</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995657 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/EarningsPerShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995667 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/CommitmentsandContingencies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995677 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/RelatedPartyTransactions</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995687 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/EmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/EmployeeBenefitPlans</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995697 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/SegmentInformation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995707 - Disclosure - Organization and Summary of Significant Accounting Policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995717 - Disclosure - Organization and Summary of Significant Accounting Policies - Shipping and Handling Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesShippingAndHandlingCostsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Shipping and Handling Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995727 - Disclosure - Organization and Summary of Significant Accounting Policies - Shipping and Handlin Costs/Advertising (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesShippingandHandlinCostsAdvertisingDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Shipping and Handlin Costs/Advertising (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995737 - Disclosure - Organization and Summary of Significant Accounting Policies - Equity Method Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesEquityMethodInvestmentsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Equity Method Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995747 - Disclosure - Organization and Summary of Significant Accounting Policies - Foreign Currency (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesForeignCurrencyDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Foreign Currency (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995757 - Disclosure - Organization and Summary of Significant Accounting Policies - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesFairValueMeasurementsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995767 - Disclosure - Organization and Summary of Significant Accounting Policies - Valuation and Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesValuationandQualifyingAccountsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Valuation and Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995777 - Disclosure - Organization and Summary of Significant Accounting Policies - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995787 - Disclosure - Organization and Summary of Significant Accounting Policies - Retained Earnings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesRetainedEarningsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Retained Earnings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995797 - Disclosure - Organization and Summary of Significant Accounting Policies - Accumulated Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesAccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Accumulated Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995807 - Disclosure - Organization and Summary of Significant Accounting Policies - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/OrganizationandSummaryofSignificantAccountingPoliciesSupplementalCashFlowInformationDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995817 - Disclosure - Acquisitions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureAcquisitionsNarrativeDetails</Role>
      <ShortName>Acquisitions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995827 - Disclosure - Goodwill and Other Intangible Assets -Schedule of Goodwill and our accumulated impairment losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfGoodwillAndOurAccumulatedImpairmentLossesDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets -Schedule of Goodwill and our accumulated impairment losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995837 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Goodwill and our accumulated impairment losses (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfGoodwillAndOurAccumulatedImpairmentLossesParentheticalDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Goodwill and our accumulated impairment losses (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995847 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995857 - Disclosure - Goodwill and Other Intangible Assets - Schedule of estimated amortization expense for other intangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfEstimatedAmortizationExpenseForOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of estimated amortization expense for other intangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995867 - Disclosure - Goodwill and Other Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/GoodwillandOtherIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995877 - Disclosure - Details of Certain Balance Sheet Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DetailsofCertainBalanceSheetAccountsDetails</Role>
      <ShortName>Details of Certain Balance Sheet Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/DetailsofCertainBalanceSheetAccountsTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995887 - Disclosure - Debt - Long Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtLongTermDebtDetails</Role>
      <ShortName>Debt - Long Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995897 - Disclosure - Debt - Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtCreditFacilityDetails</Role>
      <ShortName>Debt - Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995907 - Disclosure - Debt - Term Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtTermFacilityDetails</Role>
      <ShortName>Debt - Term Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995917 - Disclosure - Debt - Receivables Securitization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtReceivablesSecuritizationDetails</Role>
      <ShortName>Debt - Receivables Securitization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995927 - Disclosure - Debt - Receivables and other (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureDebtReceivablesAndOtherDetails</Role>
      <ShortName>Debt - Receivables and other (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995937 - Disclosure - Debt - Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtMaturitiesDetails</Role>
      <ShortName>Debt - Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995947 - Disclosure - Debt - Interest Rate Swaps (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtInterestRateSwapsDetails</Role>
      <ShortName>Debt - Interest Rate Swaps (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>995957 - Disclosure - Debt - Deferred Financing Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DebtDeferredFinancingCostsDetails</Role>
      <ShortName>Debt - Deferred Financing Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>995967 - Disclosure - Share-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/ShareBasedCompensationDetails</Role>
      <ShortName>Share-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/ShareBasedCompensationTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>995977 - Disclosure - Share-Based Compensation - Summarizes Stock Option Activity under Our Share-Based Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummarizesStockOptionActivityUnderOurSharebasedPlansDetails</Role>
      <ShortName>Share-Based Compensation - Summarizes Stock Option Activity under Our Share-Based Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>995987 - Disclosure - Share-Based Compensation - Summarizes Information about Stock Options Outstanding and Exercisable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummarizesInformationAboutStockOptionsOutstandingAndExercisableDetails</Role>
      <ShortName>Share-Based Compensation - Summarizes Information about Stock Options Outstanding and Exercisable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>995997 - Disclosure - Share-Based Compensation - Summary of Cash Proceeds and Tax Benefits Realized from Stock Option Exercise (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummaryOfCashProceedsAndTaxBenefitsRealizedFromStockOptionExerciseDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Cash Proceeds and Tax Benefits Realized from Stock Option Exercise (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996007 - Disclosure - Share-Based Compensation - Summarize Estimated the Fair Value of Employee Stock Option Awards at the Grant Date Based on the Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummarizeEstimatedTheFairValueOfEmployeeStockOptionAwardsAtTheGrantDateBasedOnTheAssumptionsDetails</Role>
      <ShortName>Share-Based Compensation - Summarize Estimated the Fair Value of Employee Stock Option Awards at the Grant Date Based on the Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996017 - Disclosure - Share-Based Compensation - Summarize the Total Share-Based Compensation Expense for Stock Option Awards for the Past Three Years (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummarizeTheTotalSharebasedCompensationExpenseForStockOptionAwardsForThePastThreeYearsDetails</Role>
      <ShortName>Share-Based Compensation - Summarize the Total Share-Based Compensation Expense for Stock Option Awards for the Past Three Years (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996027 - Disclosure - Share-Based Compensation - Summary of Restricted Share Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummaryOfRestrictedShareActivityDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Restricted Share Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996037 - Disclosure - Share-Based Compensation - Summarize The Total Restricted Stock Awards that Vested for the Past Three Years and Related Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummarizeTheTotalRestrictedStockAwardsThatVestedForThePastThreeYearsAndRelatedFairValueDetails</Role>
      <ShortName>Share-Based Compensation - Summarize The Total Restricted Stock Awards that Vested for the Past Three Years and Related Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996047 - Disclosure - Share-Based Compensation - Summary of Share-Based Compensation Expense and Recognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationSummaryOfSharebasedCompensationExpenseAndRecognizedTaxBenefitsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Share-Based Compensation Expense and Recognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996057 - Disclosure - Share-Based Compensation - Number of Shares Purchased by Employees under the Employee Stock Purchase Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSharebasedCompensationNumberOfSharesPurchasedByEmployeesUnderTheEmployeeStockPurchasePlanDetails</Role>
      <ShortName>Share-Based Compensation - Number of Shares Purchased by Employees under the Employee Stock Purchase Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996067 - Disclosure - Income Taxes - Schedule of Income Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureIncomeTaxesScheduleOfIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Income Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996077 - Disclosure - Income Taxes - Summary of Provision For Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureIncomeTaxesSummaryOfProvisionForIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Summary of Provision For Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996087 - Disclosure - Income Taxes - Reconciliation of Income Tax Expense (Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureIncomeTaxesReconciliationOfIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Income Tax Expense (Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996097 - Disclosure - Income Taxes - Schedule of Unrecognized Tax Benefits Roll Forward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureIncomeTaxesScheduleOfUnrecognizedTaxBenefitsRollForwardDetails</Role>
      <ShortName>Income Taxes - Schedule of Unrecognized Tax Benefits Roll Forward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996107 - Disclosure - Income Taxes - Income Taxes Paid (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureIncomeTaxesIncomeTaxesPaidDetails</Role>
      <ShortName>Income Taxes - Income Taxes Paid (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996117 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/IncomeTaxesTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996137 - Disclosure - Income Taxes (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/IncomeTaxesTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996147 - Disclosure - Earnings Per Share (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureEarningsPerShareAdditionalInformationDetails</Role>
      <ShortName>Earnings Per Share (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/EarningsPerShareTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996157 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/EarningsPerShareTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996167 - Disclosure - Commitments and Contingencies - Summary of Rent Expense Associated with Facility and Vehicle Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfRentExpenseAssociatedWithFacilityAndVehicleOperatingLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Summary of Rent Expense Associated with Facility and Vehicle Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996177 - Disclosure - Commitments and Contingencies - Schedule of Future Lease Payments Related to Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureCommitmentsAndContingenciesScheduleOfFutureLeasePaymentsRelatedToOperatingLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Schedule of Future Lease Payments Related to Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996187 - Disclosure - Commitments and Contingencies - Summary of Weighted Average Remaining Lease Term of Operating Leases and Weighted Average Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfWeightedAverageRemainingLeaseTermOfOperatingLeasesAndWeightedAverageDiscountRateDetails</Role>
      <ShortName>Commitments and Contingencies - Summary of Weighted Average Remaining Lease Term of Operating Leases and Weighted Average Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996197 - Disclosure - Commitments and Contingencies - Summary of Amounts Included in the Measurement of Lease Liabilities and Lease Assets Obtained in Exchange for Lease Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAndLeaseAssetsObtainedInExchangeForLeaseO</Role>
      <ShortName>Commitments and Contingencies - Summary of Amounts Included in the Measurement of Lease Liabilities and Lease Assets Obtained in Exchange for Lease Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996207 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996217 - Disclosure - Related Party Transactions (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related Party Transactions (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996227 - Disclosure - Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/EmployeeBenefitPlansDetails</Role>
      <ShortName>Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/EmployeeBenefitPlansTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996237 - Disclosure - Employee Benefit Plans - Summarizes of Sets Forth Our Contributions For The Past Three Years (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureEmployeeBenefitPlansSummarizesOfSetsForthOurContributionsForThePastThreeYearsDetails</Role>
      <ShortName>Employee Benefit Plans - Summarizes of Sets Forth Our Contributions For The Past Three Years (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996247 - Disclosure - Segment Information (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.poolcorp.com/20251231/taxonomy/role/SegmentInformationTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996257 - Disclosure - Segment Information - Revenue, Operating Expenses and Operating Income and Reconciliation of Segment Operating Income to Consolidated Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/SegmentInformationRevenueOperatingExpensesandOperatingIncomeandReconciliationofSegmentOperatingIncometoConsolidatedIncomeDetails</Role>
      <ShortName>Segment Information - Revenue, Operating Expenses and Operating Income and Reconciliation of Segment Operating Income to Consolidated Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996267 - Disclosure - Segment Information - Supplemental Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/SegmentInformationSupplementalInformationDetails</Role>
      <ShortName>Segment Information - Supplemental Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="pool-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996277 - Disclosure - Segment Information - Net Sales and Net Property and Equipment by Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.poolcorp.com/20251231/taxonomy/role/SegmentInformationNetSalesandNetPropertyandEquipmentbyGeographicRegionDetails</Role>
      <ShortName>Segment Information - Net Sales and Net Property and Equipment by Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="pool-20251231.htm">pool-20251231.htm</File>
    <File>pool-20251231.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img172281028_0.jpg</File>
    <File>img172281028_1.jpg</File>
    <File>img172281028_2.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="969">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="39">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
