<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>673</ContextCount>
  <ElementCount>742</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>210</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - Consolidated Statement of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ConsolidatedStatementofIncome</Role>
      <ShortName>Consolidated Statement of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - Statement - Consolidated Statement of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ConsolidatedStatementofComprehensiveIncome</Role>
      <ShortName>Consolidated Statement of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidated Statement of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ConsolidatedStatementofCashFlows</Role>
      <ShortName>Consolidated Statement of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - Consolidated Balance Sheet</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Balance Sheet</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - Consolidated Balance Sheet (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ConsolidatedBalanceSheetParenthetical</Role>
      <ShortName>Consolidated Balance Sheet (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - Consolidated Statement of Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ConsolidatedStatementofEquity</Role>
      <ShortName>Consolidated Statement of Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Basis of Presentation and Our Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegments</Role>
      <ShortName>Basis of Presentation and Our Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Our Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/OurSignificantAccountingPolicies</Role>
      <ShortName>Our Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Restructuring and Impairment Charges</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/RestructuringandImpairmentCharges</Role>
      <ShortName>Restructuring and Impairment Charges</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Pension, Retiree Medical and Savings Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlans</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Debt Obligations and Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/DebtObligationsandCommitments</Role>
      <ShortName>Debt Obligations and Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstruments</Role>
      <ShortName>Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Net Income Attributable to PepsiCo per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/NetIncomeAttributabletoPepsiCoperCommonShare</Role>
      <ShortName>Net Income Attributable to PepsiCo per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Accumulated Other Comprehensive Loss Attributable to Pepsico</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AccumulatedOtherComprehensiveLossAttributabletoPepsico</Role>
      <ShortName>Accumulated Other Comprehensive Loss Attributable to Pepsico</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Acquisitions &amp; Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AcquisitionsDivestitures</Role>
      <ShortName>Acquisitions &amp; Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Supply Chain Financing</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/SupplyChainFinancing</Role>
      <ShortName>Supply Chain Financing</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Supplemental Financial Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/SupplementalFinancialInformation</Role>
      <ShortName>Supplemental Financial Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Legal Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/LegalContingencies</Role>
      <ShortName>Legal Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.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>25</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.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>26</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Basis of Presentation and Our Segments (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsPolicies</Role>
      <ShortName>Basis of Presentation and Our Segments (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Our Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/OurSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Our Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Intangible Assets (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsPolicies</Role>
      <ShortName>Intangible Assets (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Income Taxes (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IncomeTaxesPolicies</Role>
      <ShortName>Income Taxes (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Share-Based Compensation Share-Based Compensation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationPolicies</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Pension, Retiree Medical and Savings Plans Pension, Retiree Medical and Savings Plans (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansPensionRetireeMedicalandSavingsPlansPolicies</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans Pension, Retiree Medical and Savings Plans (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Financial Instruments Financial Instruments (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsFinancialInstrumentsPolicies</Role>
      <ShortName>Financial Instruments Financial Instruments (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Leases, Codification Topic 842 (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/LeasesCodificationTopic842Policies</Role>
      <ShortName>Leases, Codification Topic 842 (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Basis of Presentation and Our Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsTables</Role>
      <ShortName>Basis of Presentation and Our Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/BasisofPresentationandOurSegments</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Restructuring and Impairment Charges (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/RestructuringandImpairmentChargesTables</Role>
      <ShortName>Restructuring and Impairment Charges (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/RestructuringandImpairmentCharges</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IntangibleAssets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Share-Based Compensation Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Pension, Retiree Medical and Savings Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlans</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Debt Obligations and Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/DebtObligationsandCommitmentsTables</Role>
      <ShortName>Debt Obligations and Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/DebtObligationsandCommitments</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsTables</Role>
      <ShortName>Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/FinancialInstruments</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Net Income Attributable to PepsiCo per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/NetIncomeAttributabletoPepsiCoperCommonShareTables</Role>
      <ShortName>Net Income Attributable to PepsiCo per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/NetIncomeAttributabletoPepsiCoperCommonShare</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Accumulated Other Comprehensive Loss Attributable to Pepsico (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AccumulatedOtherComprehensiveLossAttributabletoPepsicoTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss Attributable to Pepsico (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/AccumulatedOtherComprehensiveLossAttributabletoPepsico</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/Leases</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Acquisitions &amp; Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AcquisitionsDivestituresTables</Role>
      <ShortName>Acquisitions &amp; Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/AcquisitionsDivestitures</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Supply Chain Financing (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/SupplyChainFinancingTables</Role>
      <ShortName>Supply Chain Financing (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/SupplyChainFinancing</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Supplemental Financial Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/SupplementalFinancialInformationTables</Role>
      <ShortName>Supplemental Financial Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/SupplementalFinancialInformation</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Basis of Presentation and Our Segments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsNarrativeDetails</Role>
      <ShortName>Basis of Presentation and Our Segments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Basis of Presentation and Our Segments (Schedule of Quarterly Reporting) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsScheduleofQuarterlyReportingDetails</Role>
      <ShortName>Basis of Presentation and Our Segments (Schedule of Quarterly Reporting) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Basis of Presentation and Our Segments (Schedule of Segment reporting Information, by Segment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsScheduleofSegmentreportingInformationbySegmentDetails</Role>
      <ShortName>Basis of Presentation and Our Segments (Schedule of Segment reporting Information, by Segment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Basis of Presentation and Our Segments - Schedule of Pre-Tax Other Impairment Charges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsScheduleofPreTaxOtherImpairmentChargesDetails</Role>
      <ShortName>Basis of Presentation and Our Segments - Schedule of Pre-Tax Other Impairment Charges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Basis of Presentation and Our Segments (Segment Reporting Information by % of Disaggregated Net Revenue) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsSegmentReportingInformationbyofDisaggregatedNetRevenueDetails</Role>
      <ShortName>Basis of Presentation and Our Segments (Segment Reporting Information by % of Disaggregated Net Revenue) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Basis of Presentation and Our Segments (Segment Reporting Information by Capital Spending and Amortization of Intangible Assets, Depreciation and Other Amortization) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsSegmentReportingInformationbyCapitalSpendingandAmortizationofIntangibleAssetsDepreciationandOtherAmortizationDetails</Role>
      <ShortName>Basis of Presentation and Our Segments (Segment Reporting Information by Capital Spending and Amortization of Intangible Assets, Depreciation and Other Amortization) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Basis of Presentation and Our Segments (Segment Reporting Information by Net Revenue and PP&amp;E) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsSegmentReportingInformationbyNetRevenueandPPEDetails</Role>
      <ShortName>Basis of Presentation and Our Segments (Segment Reporting Information by Net Revenue and PP&amp;E) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/BasisofPresentationandOurSegmentsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Our Significant Accounting Policies - Software Costs (Useful Life) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/OurSignificantAccountingPoliciesSoftwareCostsUsefulLifeDetails</Role>
      <ShortName>Our Significant Accounting Policies - Software Costs (Useful Life) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Our Significant Accounting Policies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/OurSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Our Significant Accounting Policies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Our Significant Accounting Policies (Concentration of Credit Risk) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/OurSignificantAccountingPoliciesConcentrationofCreditRiskDetails</Role>
      <ShortName>Our Significant Accounting Policies (Concentration of Credit Risk) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/OurSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Restructuring and Impairment Charges (Expected Pre-Tax Charges for 2019 Productivity Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/RestructuringandImpairmentChargesExpectedPreTaxChargesfor2019ProductivityPlanDetails</Role>
      <ShortName>Restructuring and Impairment Charges (Expected Pre-Tax Charges for 2019 Productivity Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/RestructuringandImpairmentChargesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Restructuring and Impairment Charges (Summary of 2019 Productivity Plan Charges) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/RestructuringandImpairmentChargesSummaryof2019ProductivityPlanChargesDetails</Role>
      <ShortName>Restructuring and Impairment Charges (Summary of 2019 Productivity Plan Charges) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/RestructuringandImpairmentChargesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Intangible Assets - Impairment of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsImpairmentofIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets - Impairment of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Intangible Assets, Schedule of Indefinite-Lived Intangible Assets (including Goodwill) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsScheduleofIndefiniteLivedIntangibleAssetsincludingGoodwillDetails</Role>
      <ShortName>Intangible Assets, Schedule of Indefinite-Lived Intangible Assets (including Goodwill) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Intangible Assets (Schedule of Goodwill) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsScheduleofGoodwillDetails</Role>
      <ShortName>Intangible Assets (Schedule of Goodwill) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IntangibleAssetsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Intangible Assets (Future Amortization) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsFutureAmortizationDetails</Role>
      <ShortName>Intangible Assets (Future Amortization) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IntangibleAssetsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Intangible Assets (Schedule of Finite-Lived Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsScheduleofFiniteLivedIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets (Schedule of Finite-Lived Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IntangibleAssetsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Intangible Assets (Indefinite-Lived Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IntangibleAssetsIndefiniteLivedIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets (Indefinite-Lived Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IntangibleAssetsTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Income Taxes (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IncomeTaxesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Income Taxes (Income Taxes) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IncomeTaxesIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Income Taxes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/IncomeTaxesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Income Taxes - Schedule for Principal Reasons for Difference in Effective and Statutory Tax Rates (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IncomeTaxesScheduleforPrincipalReasonsforDifferenceinEffectiveandStatutoryTaxRatesDetail</Role>
      <ShortName>Income Taxes - Schedule for Principal Reasons for Difference in Effective and Statutory Tax Rates (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Income Taxes - Schedule of Income Taxes Paid (Refunded) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/IncomeTaxesScheduleofIncomeTaxesPaidRefundedDetails</Role>
      <ShortName>Income Taxes - Schedule of Income Taxes Paid (Refunded) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Share-Based Compensation Share-Based Compensation (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationNarrativeDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Share-Based Compensation Share-Based Compensation (Schedule of Weighted-Average Black-Scholes Fair Value Assumptions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationScheduleofWeightedAverageBlackScholesFairValueAssumptionsDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation (Schedule of Weighted-Average Black-Scholes Fair Value Assumptions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Share-Based Compensation Share-Based Compensation (Stock Option Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationStockOptionActivityDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation (Stock Option Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Share-Based Compensation Share-Based Compensation (Restricted Stock Units Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationRestrictedStockUnitsActivityDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation (Restricted Stock Units Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Share-Based Compensation Share-Based Compensation (Other Stock-Based Compensation Data) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationOtherStockBasedCompensationDataDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation (Other Stock-Based Compensation Data) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - Share-Based Compensation Share Based Compensation (PEP unit + BOD activity paragraphs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/ShareBasedCompensationShareBasedCompensationPEPunitBODactivityparagraphsDetails</Role>
      <ShortName>Share-Based Compensation Share Based Compensation (PEP unit + BOD activity paragraphs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - Pension, Retiree Medical and Savings Plans (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansNarrativeDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Pension, Retiree Medical and Savings Plans (Selected Financial Information for Pension and Retiree Medical Plans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansSelectedFinancialInformationforPensionandRetireeMedicalPlansDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Selected Financial Information for Pension and Retiree Medical Plans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Pension, Retiree Medical and Savings Plans (Components of Benefit Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansComponentsofBenefitExpenseDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Components of Benefit Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Pension, Retiree Medical and Savings Plans (Weighted-Average Assumptions to Determine Projected Benefit Liability and Benefit Expense for Pension and Retiree Medical Plans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansWeightedAverageAssumptionstoDetermineProjectedBenefitLiabilityandBenefitExpenseforPensionandRetireeMedicalPlansDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Weighted-Average Assumptions to Determine Projected Benefit Liability and Benefit Expense for Pension and Retiree Medical Plans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Pension, Retiree Medical and Savings Plans (Selected Information About Plans with Liability for Service to Date and Total Benefit Liability in Excess of Plan Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansSelectedInformationAboutPlanswithLiabilityforServicetoDateandTotalBenefitLiabilityinExcessofPlanAssetsDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Selected Information About Plans with Liability for Service to Date and Total Benefit Liability in Excess of Plan Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - Pension, Retiree Medical and Savings Plans Pension, Retiree Medical and Savings Plans (Target Asset Allocations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansPensionRetireeMedicalandSavingsPlansTargetAssetAllocationsDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans Pension, Retiree Medical and Savings Plans (Target Asset Allocations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansPensionRetireeMedicalandSavingsPlansPolicies</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Pension, Retiree Medical and Savings Plans (Estimated Future Benefit Payments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansEstimatedFutureBenefitPaymentsDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Estimated Future Benefit Payments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Pension, Retiree Medical and Savings Plans (Categorized Plan Assets Measured at Fair Value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansCategorizedPlanAssetsMeasuredatFairValueDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans (Categorized Plan Assets Measured at Fair Value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - Pension, Retiree Medical and Savings Plans Retiree Medical Cost Trend Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/PensionRetireeMedicalandSavingsPlansRetireeMedicalCostTrendRatesDetails</Role>
      <ShortName>Pension, Retiree Medical and Savings Plans Retiree Medical Cost Trend Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - Debt Obligations and Commitments (Schedule of Long and Short-Term Debt Contractual Commitments) - USD (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/DebtObligationsandCommitmentsScheduleofLongandShortTermDebtContractualCommitmentsUSDDetails</Role>
      <ShortName>Debt Obligations and Commitments (Schedule of Long and Short-Term Debt Contractual Commitments) - USD (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/DebtObligationsandCommitmentsTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - Debt Obligations and Commitments (Schedule of Long and Short-Term Debt Contractual Commitments) - Euro (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/DebtObligationsandCommitmentsScheduleofLongandShortTermDebtContractualCommitmentsEuroDetails</Role>
      <ShortName>Debt Obligations and Commitments (Schedule of Long and Short-Term Debt Contractual Commitments) - Euro (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/DebtObligationsandCommitmentsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - Debt Obligations and Commitments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/DebtObligationsandCommitmentsNarrativeDetails</Role>
      <ShortName>Debt Obligations and Commitments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/DebtObligationsandCommitmentsTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955581 - Disclosure - Financial Instruments - Celsius and Other AFS (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsCelsiusandOtherAFSDetail</Role>
      <ShortName>Financial Instruments - Celsius and Other AFS (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - Financial Instruments - Notional Amounts of Financial Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsNotionalAmountsofFinancialInstrumentsDetail</Role>
      <ShortName>Financial Instruments - Notional Amounts of Financial Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955583 - Disclosure - Financial Instruments - TBG Impairment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsTBGImpairmentDetail</Role>
      <ShortName>Financial Instruments - TBG Impairment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955584 - Disclosure - Financial Instruments - Losses (Gains) Recognized in the Income Statement - Non-designated Hedges (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsLossesGainsRecognizedintheIncomeStatementNondesignatedHedgesDetail</Role>
      <ShortName>Financial Instruments - Losses (Gains) Recognized in the Income Statement - Non-designated Hedges (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955585 - Disclosure - Financial Instruments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsNarrativeDetails</Role>
      <ShortName>Financial Instruments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/FinancialInstrumentsTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955586 - Disclosure - Financial Instruments (Fair Values of Financial Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsFairValuesofFinancialAssetsandLiabilitiesDetails</Role>
      <ShortName>Financial Instruments (Fair Values of Financial Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/FinancialInstrumentsTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955587 - Disclosure - Financial Instruments - Losses (Gains) On Derivative Instruments - Cash-flow Hedges (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsLossesGainsOnDerivativeInstrumentsCashflowHedgesDetail</Role>
      <ShortName>Financial Instruments - Losses (Gains) On Derivative Instruments - Cash-flow Hedges (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955588 - Disclosure - Financial Instruments - Losses (Gains) on Derivative Instruments - Net Investment Hedges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsLossesGainsonDerivativeInstrumentsNetInvestmentHedgesDetails</Role>
      <ShortName>Financial Instruments - Losses (Gains) on Derivative Instruments - Net Investment Hedges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955589 - Disclosure - Financial Instruments - Losses (Gains) on Derivative Instruments - Fair Value Hedges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/FinancialInstrumentsLossesGainsonDerivativeInstrumentsFairValueHedgesDetails</Role>
      <ShortName>Financial Instruments - Losses (Gains) on Derivative Instruments - Fair Value Hedges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955590 - Disclosure - Net Income Attributable to PepsiCo per Common Share (Basic and Diluted Net Income Attributable to PepsiCo per Common Share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/NetIncomeAttributabletoPepsiCoperCommonShareBasicandDilutedNetIncomeAttributabletoPepsiCoperCommonShareDetails</Role>
      <ShortName>Net Income Attributable to PepsiCo per Common Share (Basic and Diluted Net Income Attributable to PepsiCo per Common Share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/NetIncomeAttributabletoPepsiCoperCommonShareTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955591 - Disclosure - Accumulated Other Comprehensive Loss Attributable to Pepsico (Schedule of Accumulated Other Comprehensive Income (Loss)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AccumulatedOtherComprehensiveLossAttributabletoPepsicoScheduleofAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss Attributable to Pepsico (Schedule of Accumulated Other Comprehensive Income (Loss)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/AccumulatedOtherComprehensiveLossAttributabletoPepsicoTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955592 - Disclosure - Accumulated Other Comprehensive Loss Attributable to Pepsico Reclassification of Accumulated Other Comprehensive Loss to the Condensed Consolidated Statement of Income (Cash Flow Hedges) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AccumulatedOtherComprehensiveLossAttributabletoPepsicoReclassificationofAccumulatedOtherComprehensiveLosstotheCondensedConsolidatedStatementofIncomeCashFlowHedgesDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss Attributable to Pepsico Reclassification of Accumulated Other Comprehensive Loss to the Condensed Consolidated Statement of Income (Cash Flow Hedges) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955593 - Disclosure - Accumulated Other Comprehensive Loss Attributable to Pepsico Reclassification of Accumulated Other Comprehensive Loss to the Condensed Consolidated Statement of Income (PRM) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AccumulatedOtherComprehensiveLossAttributabletoPepsicoReclassificationofAccumulatedOtherComprehensiveLosstotheCondensedConsolidatedStatementofIncomePRMDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss Attributable to Pepsico Reclassification of Accumulated Other Comprehensive Loss to the Condensed Consolidated Statement of Income (PRM) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9955594 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/LeasesTables</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>9955595 - Disclosure - Acquisitions &amp; Divestitures - Siete acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AcquisitionsDivestituresSieteacquisitionDetails</Role>
      <ShortName>Acquisitions &amp; Divestitures - Siete acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>9955596 - Disclosure - Acquisitions &amp; Divestitures - Sabra (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AcquisitionsDivestituresSabraDetails</Role>
      <ShortName>Acquisitions &amp; Divestitures - Sabra (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>9955597 - Disclosure - Acquisitions &amp; Divestitures - poppi (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AcquisitionsDivestiturespoppiDetails</Role>
      <ShortName>Acquisitions &amp; Divestitures - poppi (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>9955598 - Disclosure - Acquisitions &amp; Divestiture - Summary of Acquisition and Divestiture-Related Charges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/AcquisitionsDivestitureSummaryofAcquisitionandDivestitureRelatedChargesDetails</Role>
      <ShortName>Acquisitions &amp; Divestiture - Summary of Acquisition and Divestiture-Related Charges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>9955599 - Disclosure - Supply Chain Financing (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/SupplyChainFinancingDetails</Role>
      <ShortName>Supply Chain Financing (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/SupplyChainFinancingTables</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>9955600 - Disclosure - Supplemental Financial Information (Schedule of Supplemental Balance Sheet Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/SupplementalFinancialInformationScheduleofSupplementalBalanceSheetInformationDetails</Role>
      <ShortName>Supplemental Financial Information (Schedule of Supplemental Balance Sheet Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/SupplementalFinancialInformationTables</ParentRole>
      <Position>109</Position>
    </Report>
    <Report instance="pep-20251227.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>9955601 - Disclosure - Supplemental Financial Information (Schedule of Other Supplemental Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pepsico.com/role/SupplementalFinancialInformationScheduleofOtherSupplementalInformationDetails</Role>
      <ShortName>Supplemental Financial Information (Schedule of Other Supplemental Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pepsico.com/role/SupplementalFinancialInformationTables</ParentRole>
      <Position>110</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="pep-20251227.htm">pep-20251227.htm</File>
    <File>pep-20251227.xsd</File>
    <File>pep-20251227_cal.xml</File>
    <File>pep-20251227_def.xml</File>
    <File>pep-20251227_lab.xml</File>
    <File>pep-20251227_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>pep-20251227_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="2087">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="84">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
