{
 "instance": {
  "pep-20230425.htm": {
   "axisCustom": 0,
   "axisStandard": 1,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/dei/2022": 58
   },
   "contextCount": 14,
   "dts": {
    "definitionLink": {
     "local": [
      "pep-20230425_def.xml"
     ]
    },
    "inline": {
     "local": [
      "pep-20230425.htm"
     ]
    },
    "labelLink": {
     "local": [
      "pep-20230425_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "pep-20230425_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "pep-20230425.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
     ]
    }
   },
   "elementCount": 40,
   "entityCount": 1,
   "hidden": {
    "http://xbrl.sec.gov/dei/2022": 2,
    "total": 2
   },
   "keyCustom": 0,
   "keyStandard": 22,
   "memberCustom": 12,
   "memberStandard": 1,
   "nsprefix": "pep",
   "nsuri": "http://www.pepsico.com/20230425",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pep-20230425.htm",
      "contextRef": "iffdf5eb46a3b4c0bb104e4c4792c08da_D20230425-20230425",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0000001 - Document - Document and Entity Information Document",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.pepsico.com/role/DocumentandEntityInformationDocument",
     "shortName": "Document and Entity Information Document",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pep-20230425.htm",
      "contextRef": "iffdf5eb46a3b4c0bb104e4c4792c08da_D20230425-20230425",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 13,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityListingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Entity Listings [Line Items]",
        "terseLabel": "Document and Entity Information [Line Items]"
       }
      }
     },
     "localname": "EntityListingsLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityListingsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container for exchange listing information for an entity",
        "label": "Entity Listings [Table]",
        "terseLabel": "Entity Listings [Table]"
       }
      }
     },
     "localname": "EntityListingsTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_PreCommencementIssuerTenderOffer": {
     "auth_ref": [
      "r3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the Form 8-K filing is intended to satisfy the filing obligation of the registrant as pre-commencement communications pursuant to Rule 13e-4(c) under the Exchange Act.",
        "label": "Pre-commencement Issuer Tender Offer",
        "terseLabel": "Pre-commencement Issuer Tender Offer"
       }
      }
     },
     "localname": "PreCommencementIssuerTenderOffer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PreCommencementTenderOffer": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the Form 8-K filing is intended to satisfy the filing obligation of the registrant as pre-commencement communications pursuant to Rule 14d-2(b) under the Exchange Act.",
        "label": "Pre-commencement Tender Offer",
        "terseLabel": "Pre-commencement Tender Offer"
       }
      }
     },
     "localname": "PreCommencementTenderOffer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_SolicitingMaterial": {
     "auth_ref": [
      "r5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the Form 8-K filing is intended to satisfy the filing obligation of the registrant as soliciting material pursuant to Rule 14a-12 under the Exchange Act.",
        "label": "Soliciting Material",
        "terseLabel": "Soliciting Material"
       }
      }
     },
     "localname": "SolicitingMaterial",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "dei_WrittenCommunications": {
     "auth_ref": [
      "r6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the Form 8-K filing is intended to satisfy the filing obligation of the registrant as written communications pursuant to Rule 425 under the Securities Act.",
        "label": "Written Communications",
        "terseLabel": "Written Communications"
       }
      }
     },
     "localname": "WrittenCommunications",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "booleanItemType"
    },
    "pep_OnePointOneTwoFivePercentNotesDue2031Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Point One Two Five Percent Notes Due 2031 [Member]",
        "label": "One Point One Two Five Percent Notes Due 2031 [Member]",
        "terseLabel": "One Point One Two Five Percent Notes Due 2031 [Member]"
       }
      }
     },
     "localname": "OnePointOneTwoFivePercentNotesDue2031Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_OnePointZeroFivePercentNotesDue2050Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Point Zero Five Percent Notes Due 2050",
        "label": "One Point Zero Five Percent Notes Due 2050 [Member]",
        "terseLabel": "One Point Zero Five Percent Notes Due 2050 [Member]"
       }
      }
     },
     "localname": "OnePointZeroFivePercentNotesDue2050Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ThreePointFiveFivePercentNotesDue2034Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three Point Five Five Percent Notes Due 2034",
        "label": "Three Point Five Five Percent Notes Due 2034 [Member]",
        "terseLabel": "Three Point Five Five Percent Notes Due 2034"
       }
      }
     },
     "localname": "ThreePointFiveFivePercentNotesDue2034Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ThreePointTwoPercentNotesDue2029Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three Point Two Percent Notes Due 2029",
        "label": "Three Point Two Percent Notes Due 2029 [Member]",
        "terseLabel": "Three Point Two Percent Notes Due 2029"
       }
      }
     },
     "localname": "ThreePointTwoPercentNotesDue2029Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_TwoPointSixTwoFivePercentNotesDue2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two Point Six Two Five Percent Notes Due 2026 [Member]",
        "label": "Two Point Six Two Five Percent Notes Due 2026 [Member]",
        "terseLabel": "Two Point Six Two Five Percent Notes Due 2026 [Member]"
       }
      }
     },
     "localname": "TwoPointSixTwoFivePercentNotesDue2026Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ZeroPointEightSevenFiveNotesDue2039Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zero Point Eight Seven Five Notes Due 2039 [Member]",
        "label": "Zero Point Eight Seven Five Notes Due 2039 [Member]",
        "terseLabel": "Zero Point Eight Seven Five Notes Due 2039 [Member]"
       }
      }
     },
     "localname": "ZeroPointEightSevenFiveNotesDue2039Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ZeroPointEightSevenFivePercentNotesDue2028Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zero Point Eight Seven Five Percent Notes Due 2028 [Member]",
        "label": "Zero Point Eight Seven Five Percent Notes Due 2028 [Member]",
        "terseLabel": "Zero Point Eight Seven Five Percent Notes Due 2028 [Member]"
       }
      }
     },
     "localname": "ZeroPointEightSevenFivePercentNotesDue2028Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ZeroPointFivePercentNotesDue2028Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zero Point Five Percent Notes Due 2028 [Member]",
        "label": "Zero Point Five Percent Notes Due 2028 [Member]",
        "terseLabel": "Zero Point Five Percent Notes Due 2028 [Member]"
       }
      }
     },
     "localname": "ZeroPointFivePercentNotesDue2028Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ZeroPointFourPercentNotesDue2032Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zero Point Four Percent Notes Due 2032",
        "label": "Zero Point Four Percent Notes Due 2032 [Member]",
        "terseLabel": "Zero Point Four Percent Notes Due 2032 [Member]"
       }
      }
     },
     "localname": "ZeroPointFourPercentNotesDue2032Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ZeroPointSevenFivePercentNotesDue2027Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zero Point Seven Five Percent Notes Due 2027 [Member]",
        "label": "Zero Point Seven Five Percent Notes Due 2027 [Member]",
        "terseLabel": "Zero Point Seven Five Percent Notes Due 2027 [Member]"
       }
      }
     },
     "localname": "ZeroPointSevenFivePercentNotesDue2027Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ZeroPointSevenFivePercentNotesDue2033Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zero Point Seven Five Percent Notes Due 2033 [Member]",
        "label": "Zero Point Seven Five Percent Notes Due 2033 [Member]",
        "terseLabel": "Zero Point Seven Five Percent Notes Due 2033 [Member]"
       }
      }
     },
     "localname": "ZeroPointSevenFivePercentNotesDue2033Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "pep_ZeroPointTwoFivePercentNotesDue2024Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zero Point Two Five Percent Notes Due 2024 [Member]",
        "label": "Zero Point Two Five Percent Notes Due 2024 [Member]",
        "terseLabel": "Zero Point Two Five Percent Notes Due 2024 [Member]"
       }
      }
     },
     "localname": "ZeroPointTwoFivePercentNotesDue2024Member",
     "nsuri": "http://www.pepsico.com/20230425",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pepsico.com/role/DocumentandEntityInformationDocument"
     ],
     "xbrltype": "stringItemType"
    }
   },
   "unitCount": 0
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r2": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r3": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13e",
   "Subsection": "4c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r4": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "14d",
   "Subsection": "2b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r5": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "14a",
   "Subsection": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r6": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "425",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  }
 },
 "version": "2.2"
}
