<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>459</ContextCount>
  <ElementCount>536</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>122</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Statements of Income and Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Income and Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Statements of Income and Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_StatementConsolidatedStatementsOfIncomeAndComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Income and Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.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>8</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.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>9</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Nature of Operations and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureNatureOfOperationsAndBasisOfPresentation</Role>
      <ShortName>Nature of Operations and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995485 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Other Expense, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureOtherExpenseNet</Role>
      <ShortName>Other Expense, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Cash, Cash Equivalents, and Marketable Debt Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCashCashEquivalentsAndMarketableDebtSecurities</Role>
      <ShortName>Cash, Cash Equivalents, and Marketable Debt Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefits</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995585 - Disclosure - Asset Retirement Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAssetRetirementObligations</Role>
      <ShortName>Asset Retirement Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Concentrations of Risk</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureConcentrationsOfRisk</Role>
      <ShortName>Concentrations of Risk</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Transactions With Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureTransactionsWithRelatedParties</Role>
      <ShortName>Transactions With Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995655 - Disclosure - Commitments, Guarantees, Indemnifications, and Legal Proceedings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCommitmentsGuaranteesIndemnificationsAndLegalProceedings</Role>
      <ShortName>Commitments, Guarantees, Indemnifications, and Legal Proceedings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995685 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995705 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureRevenue</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEarningsPerShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Other Expense, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureOtherExpenseNetTables</Role>
      <ShortName>Other Expense, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureOtherExpenseNet</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxes</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995755 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAccruedLiabilities</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureDebt</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Cash, Cash Equivalents, and Marketable Debt Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCashCashEquivalentsAndMarketableDebtSecuritiesTables</Role>
      <ShortName>Cash, Cash Equivalents, and Marketable Debt Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCashCashEquivalentsAndMarketableDebtSecurities</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995795 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsTables</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefits</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Asset Retirement Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAssetRetirementObligationsTables</Role>
      <ShortName>Asset Retirement Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAssetRetirementObligations</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensation</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995835 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureStockholdersEquity</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995845 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSegmentInformation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995855 - Disclosure - Commitments, Guarantees, Indemnifications, and Legal Proceedings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCommitmentsGuaranteesIndemnificationsAndLegalProceedingsTables</Role>
      <ShortName>Commitments, Guarantees, Indemnifications, and Legal Proceedings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCommitmentsGuaranteesIndemnificationsAndLegalProceedings</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995875 - Disclosure - Nature of Operations and Basis of Presentation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureNatureOfOperationsAndBasisOfPresentationAdditionalInformationDetails</Role>
      <ShortName>Nature of Operations and Basis of Presentation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995885 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995895 - Disclosure - Summary of Significant Accounting Policies - Components of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesComponentsOfInventoriesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Components of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995905 - Disclosure - Summary of Significant Accounting Policies - Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995915 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Lives of Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesEstimatedUsefulLivesOfAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Estimated Useful Lives of Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995925 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995935 - Disclosure - Leases - Schedule of Supplemental Balance Sheet Information Related to Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureLeasesScheduleOfSupplementalBalanceSheetInformationRelatedToOperatingLeasesDetails</Role>
      <ShortName>Leases - Schedule of Supplemental Balance Sheet Information Related to Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995945 - Disclosure - Leases - Schedule of Supplemental Balance Sheet Information Related to Finance Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureLeasesScheduleOfSupplementalBalanceSheetInformationRelatedToFinanceLeasesDetails</Role>
      <ShortName>Leases - Schedule of Supplemental Balance Sheet Information Related to Finance Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995955 - Disclosure - Leases - Schedule of Weighted Average Remaining Lease Term and Weighted Average Discount Rates for Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureLeasesScheduleOfWeightedAverageRemainingLeaseTermAndWeightedAverageDiscountRatesForLeasesDetails</Role>
      <ShortName>Leases - Schedule of Weighted Average Remaining Lease Term and Weighted Average Discount Rates for Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995965 - Disclosure - Leases - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureLeasesComponentsOfLeaseExpenseDetails</Role>
      <ShortName>Leases - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995985 - Disclosure - Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureLeasesScheduleOfSupplementalCashFlowInformationRelatedToLeasesDetails</Role>
      <ShortName>Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995995 - Disclosure - Leases - Schedule of Future Minimum Payments Under Operating and Finance Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumPaymentsUnderOperatingAndFinanceLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Schedule of Future Minimum Payments Under Operating and Finance Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Revenue - Summary of Revenues Disaggregated by Product Line (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureRevenueSummaryOfRevenuesDisaggregatedByProductLineDetails</Role>
      <ShortName>Revenue - Summary of Revenues Disaggregated by Product Line (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Revenue - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetails</Role>
      <ShortName>Revenue - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Earnings Per Share - Computation of Basic and Diluted Income Per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEarningsPerShareComputationOfBasicAndDilutedIncomePerCommonShareDetails</Role>
      <ShortName>Earnings Per Share - Computation of Basic and Diluted Income Per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Other Expense, Net - Components of Other Expense, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureOtherExpenseNetComponentsOfOtherExpenseNetDetails</Role>
      <ShortName>Other Expense, Net - Components of Other Expense, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996065 - Disclosure - Income Taxes - Components of Consolidated Income Tax Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesComponentsOfConsolidatedIncomeTaxProvisionDetails</Role>
      <ShortName>Income Taxes - Components of Consolidated Income Tax Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996075 - Disclosure - Income Taxes - Summary of Effective Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesSummaryOfEffectiveTaxRateDetails</Role>
      <ShortName>Income Taxes - Summary of Effective Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996085 - Disclosure - Income Taxes - Summary of Effective Tax Rate (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesSummaryOfEffectiveTaxRateParentheticalDetails</Role>
      <ShortName>Income Taxes - Summary of Effective Tax Rate (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996095 - Disclosure - Income Taxes - Details of Scheduled Expiration Dates of Tax Effected Net Operating Loss (NOL) and Other Tax Carryforwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesDetailsOfScheduledExpirationDatesOfTaxEffectedNetOperatingLossNOLAndOtherTaxCarryforwardsDetails</Role>
      <ShortName>Income Taxes - Details of Scheduled Expiration Dates of Tax Effected Net Operating Loss (NOL) and Other Tax Carryforwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996105 - Disclosure - Income Taxes - Deferred Income Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredIncomeTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Income Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996115 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996125 - Disclosure - Income Taxes - Summary of Changes Related to PCAs Gross Unrecognized Tax Benefits Excluding Interest and Penalties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureIncomeTaxesSummaryOfChangesRelatedToPcasGrossUnrecognizedTaxBenefitsExcludingInterestAndPenaltiesDetails</Role>
      <ShortName>Income Taxes - Summary of Changes Related to PCAs Gross Unrecognized Tax Benefits Excluding Interest and Penalties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996135 - Disclosure - Goodwill and Intangible Assets -Goodwill - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsGoodwillAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Intangible Assets -Goodwill - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996145 - Disclosure - Goodwill and Intangible Assets - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996155 - Disclosure - Goodwill and Intangible Assets - Goodwill (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsGoodwillParentheticalDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Goodwill (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996165 - Disclosure - Goodwill and Intangible Assets - Components of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsComponentsOfIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Components of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996175 - Disclosure - Goodwill and Intangible Assets - Components of Intangible Assets (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsComponentsOfIntangibleAssetsParentheticalDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Components of Intangible Assets (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996185 - Disclosure - Goodwill and Intangible Assets - Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996195 - Disclosure - Goodwill and Intangible Assets - Impairment Testing - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsImpairmentTestingAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Impairment Testing - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996205 - Disclosure - Accrued Liabilities - Components of Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAccruedLiabilitiesComponentsOfAccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities - Components of Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996215 - Disclosure - Debt - Summary of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureDebtSummaryOfDebtDetails</Role>
      <ShortName>Debt - Summary of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996225 - Disclosure - Debt - Summary of Debt (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureDebtSummaryOfDebtParentheticalDetails</Role>
      <ShortName>Debt - Summary of Debt (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996235 - Disclosure - Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails</Role>
      <ShortName>Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996245 - Disclosure - Cash, Cash Equivalents, and Marketable Debt Securities - Schedule of Company's Cash and Available-For-Sale (AFS) Debt Securities by Major Asset Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCashCashEquivalentsAndMarketableDebtSecuritiesScheduleOfCompanySCashAndAvailableForSaleAFSDebtSecuritiesByMajorAssetCategoryDetails</Role>
      <ShortName>Cash, Cash Equivalents, and Marketable Debt Securities - Schedule of Company's Cash and Available-For-Sale (AFS) Debt Securities by Major Asset Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996255 - Disclosure - Cash, Cash Equivalents, and Marketable Debt Securities - Schedule of Company's Cash and Available-For-Sale (AFS) Debt Securities by Major Asset Category (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/DisclosureCashCashEquivalentsAndMarketableDebtSecuritiesScheduleOfCompanysCashAndAvailableforsaleAfsDebtSecuritiesByMajorAssetCategoryPar</Role>
      <ShortName>Cash, Cash Equivalents, and Marketable Debt Securities - Schedule of Company's Cash and Available-For-Sale (AFS) Debt Securities by Major Asset Category (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996265 - Disclosure - Cash, Cash Equivalents, and Marketable Debt Securities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCashCashEquivalentsAndMarketableDebtSecuritiesAdditionalInformationDetails</Role>
      <ShortName>Cash, Cash Equivalents, and Marketable Debt Securities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996275 - Disclosure - Cash, Cash Equivalents, and Marketable Debt Securities - Schedule of Marketable Debt Securities in Continuous Loss Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCashCashEquivalentsAndMarketableDebtSecuritiesScheduleOfMarketableDebtSecuritiesInContinuousLossPositionDetails</Role>
      <ShortName>Cash, Cash Equivalents, and Marketable Debt Securities - Schedule of Marketable Debt Securities in Continuous Loss Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996285 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Change in Benefit Obligations and Change in Fair Value of Plan Assets Related to Pension and Postretirement Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsChangeInBenefitObligationsAndChangeInFairValueOfPlanAssetsRelatedToPensionAndPostretirementPlansDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Change in Benefit Obligations and Change in Fair Value of Plan Assets Related to Pension and Postretirement Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996295 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Components of Net Periodic Benefit Cost and Other Comprehensive (Income) Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsComponentsOfNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Components of Net Periodic Benefit Cost and Other Comprehensive (Income) Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996305 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Components of Net Periodic Benefit Cost and Other Comprehensive (Income) Loss (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsComponentsOfNetPeriodicBenefitCostAndOtherComprehensiveIncomeLossParentheticalDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Components of Net Periodic Benefit Cost and Other Comprehensive (Income) Loss (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996315 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsAdditionalInformationDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996325 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Schedule of Weighted-Average Assumptions Used to Determine Benefit Obligations and Net Periodic Benefit Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsScheduleOfWeightedAverageAssumptionsUsedToDetermineBenefitObligationsAndNetPeriodicBenefitCostDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Schedule of Weighted-Average Assumptions Used to Determine Benefit Obligations and Net Periodic Benefit Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996335 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Schedule of Assumed Health Care Cost Trend Rates for Postretirement Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsScheduleOfAssumedHealthCareCostTrendRatesForPostretirementBenefitsDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Schedule of Assumed Health Care Cost Trend Rates for Postretirement Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996345 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Schedule of Pension Plan Asset Investments and Target Allocations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsScheduleOfPensionPlanAssetInvestmentsAndTargetAllocationsDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Schedule of Pension Plan Asset Investments and Target Allocations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996355 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Schedule of Fair Value Measurements of Plan Assets by Major Asset Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsScheduleOfFairValueMeasurementsOfPlanAssetsByMajorAssetCategoryDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Schedule of Fair Value Measurements of Plan Assets by Major Asset Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996375 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Summary of Changes in Pension Plans' Level 3 Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsSummaryOfChangesInPensionPlansLevel3AssetsDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Summary of Changes in Pension Plans' Level 3 Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996385 - Disclosure - Employee Benefit Plans and Other Postretirement Benefits - Schedule of Estimated Benefit Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAndOtherPostretirementBenefitsScheduleOfEstimatedBenefitPaymentsDetails</Role>
      <ShortName>Employee Benefit Plans and Other Postretirement Benefits - Schedule of Estimated Benefit Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996395 - Disclosure - Asset Retirement Obligations - Changes to Asset Retirement Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureAssetRetirementObligationsChangesToAssetRetirementObligationDetails</Role>
      <ShortName>Asset Retirement Obligations - Changes to Asset Retirement Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996415 - Disclosure - Share-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Share-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996425 - Disclosure - Share-Based Compensation - Summary of Restricted Stock and Performance Units Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedStockAndPerformanceUnitsActivityDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Restricted Stock and Performance Units Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996435 - Disclosure - Share-Based Compensation - Summary of Restricted Stock and Performance Units Activity (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedStockAndPerformanceUnitsActivityParentheticalDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Restricted Stock and Performance Units Activity (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>996445 - Disclosure - Share-Based Compensation - Compensation Expense for Share-Based Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensationCompensationExpenseForShareBasedAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Compensation Expense for Share-Based Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>996455 - Disclosure - Share-Based Compensation - Unrecognized Compensation Expense for Share-Based Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureShareBasedCompensationUnrecognizedCompensationExpenseForShareBasedAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Unrecognized Compensation Expense for Share-Based Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>996485 - Disclosure - Stockholders' Equity - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Stockholders' Equity - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>996495 - Disclosure - Stockholders' Equity - Changes in Accumulated Other Comprehensive Income by Component (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureStockholdersEquityChangesInAccumulatedOtherComprehensiveIncomeByComponentDetails</Role>
      <ShortName>Stockholders' Equity - Changes in Accumulated Other Comprehensive Income by Component (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>996505 - Disclosure - Stockholders' Equity - Reclassifications Out of Accumulated Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureStockholdersEquityReclassificationsOutOfAccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Stockholders' Equity - Reclassifications Out of Accumulated Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>996515 - Disclosure - Concentrations of Risk - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureConcentrationsOfRiskAdditionalInformationDetails</Role>
      <ShortName>Concentrations of Risk - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>996525 - Disclosure - Transactions With Related Parties - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesAdditionalInformationDetails</Role>
      <ShortName>Transactions With Related Parties - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>996535 - Disclosure - Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>996545 - Disclosure - Segment Information - Segment Sales to External Customers by Product Line (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSegmentInformationSegmentSalesToExternalCustomersByProductLineDetails</Role>
      <ShortName>Segment Information - Segment Sales to External Customers by Product Line (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>996555 - Disclosure - Segment Information - Analysis of Operations by Reportable Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSegmentInformationAnalysisOfOperationsByReportableSegmentDetails</Role>
      <ShortName>Segment Information - Analysis of Operations by Reportable Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>996565 - Disclosure - Segment Information - Analysis of Operations by Reportable Segment (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureSegmentInformationAnalysisOfOperationsByReportableSegmentParentheticalDetails</Role>
      <ShortName>Segment Information - Analysis of Operations by Reportable Segment (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>996575 - Disclosure - Commitments, Guarantees, Indemnifications, and Legal Proceedings - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCommitmentsGuaranteesIndemnificationsAndLegalProceedingsAdditionalInformationDetails</Role>
      <ShortName>Commitments, Guarantees, Indemnifications, and Legal Proceedings - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>996585 - Disclosure - Commitments, Guarantees, Indemnifications, and Legal Proceedings - Schedule of Purchase Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureCommitmentsGuaranteesIndemnificationsAndLegalProceedingsScheduleOfPurchaseCommitmentsDetails</Role>
      <ShortName>Commitments, Guarantees, Indemnifications, and Legal Proceedings - Schedule of Purchase Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>996595 - Disclosure - Quarterly Results of Operations (Unaudited) - Summary of Quarterly Financial Data (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureQuarterlyResultsOfOperationsUnauditedSummaryOfQuarterlyFinancialDataDetails</Role>
      <ShortName>Quarterly Results of Operations (Unaudited) - Summary of Quarterly Financial Data (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="pkg-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>996605 - Disclosure - Quarterly Results of Operations (Unaudited) - Summary of Quarterly Financial Data (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.packagingcorp.com/20231231/taxonomy/role/Role_DisclosureQuarterlyResultsOfOperationsUnauditedSummaryOfQuarterlyFinancialDataParentheticalDetails</Role>
      <ShortName>Quarterly Results of Operations (Unaudited) - Summary of Quarterly Financial Data (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</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="pkg-20231231.htm">pkg-20231231.htm</File>
    <File>pkg-20231231.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img4258975_0.jpg</File>
    <File>img4258975_1.jpg</File>
    <File>img4258975_2.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1654">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="42">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
