<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>92</ContextCount>
  <ElementCount>75</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>15</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>3</UnitCount>
  <MyReports>
    <Report instance="ck0000081061-20251231.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.publix.com/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - Statements of Net Assets Available for Plan Benefits (Statement)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/StatementsofNetAssetsAvailableforPlanBenefitsStatement</Role>
      <ShortName>Statements of Net Assets Available for Plan Benefits (Statement)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Statement of Changes in Net Assets Available for Plan Benefits (Statement)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/StatementofChangesinNetAssetsAvailableforPlanBenefitsStatement</Role>
      <ShortName>Statement of Changes in Net Assets Available for Plan Benefits (Statement)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Disclosure - Description of Plan and Summary of Accounting Policies (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.publix.com/role/DescriptionofPlanandSummaryofAccountingPoliciesNotes</Role>
      <ShortName>Description of Plan and Summary of Accounting Policies (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Disclosure - Employee Benefit Plan, Fair Value and NAV</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanFairValueandNAV</Role>
      <ShortName>Employee Benefit Plan, Fair Value and NAV</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Disclosure - Employee Benefit Plan, Related-Party and Party-in-Interest Transactions (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanRelatedPartyandPartyinInterestTransactionsNotes</Role>
      <ShortName>Employee Benefit Plan, Related-Party and Party-in-Interest Transactions (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Disclosure - Employee Benefit Plan, Reconciliation of Financial Statement to Form 5500 (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanReconciliationofFinancialStatementtoForm5500Notes</Role>
      <ShortName>Employee Benefit Plan, Reconciliation of Financial Statement to Form 5500 (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Disclosure - Employee Benefit Plan, Tax Status (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanTaxStatusNotes</Role>
      <ShortName>Employee Benefit Plan, Tax Status (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Employee Benefit Plan, Schedule, Asset Held for Investment (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanScheduleAssetHeldforInvestmentNotes</Role>
      <ShortName>Employee Benefit Plan, Schedule, Asset Held for Investment (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Employee Benefit Plan, Description of Plan (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanDescriptionofPlanPolicies</Role>
      <ShortName>Employee Benefit Plan, Description of Plan (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.publix.com/role/DescriptionofPlanandSummaryofAccountingPoliciesNotes</ParentRole>
      <Position>10</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Employee Benefit Plan, Fair Value and NAV (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanFairValueandNAVTables</Role>
      <ShortName>Employee Benefit Plan, Fair Value and NAV (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanFairValueandNAV</ParentRole>
      <Position>11</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Employee Benefit Plan, Reconciliation of Financial Statement to Form 5500 (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanReconciliationofFinancialStatementtoForm5500Tables</Role>
      <ShortName>Employee Benefit Plan, Reconciliation of Financial Statement to Form 5500 (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanReconciliationofFinancialStatementtoForm5500Notes</ParentRole>
      <Position>12</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Employee Benefit Plan, Description of Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanDescriptionofPlanDetails</Role>
      <ShortName>Employee Benefit Plan, Description of Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanDescriptionofPlanPolicies</ParentRole>
      <Position>13</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Employee Benefit Plan, Fair Value and NAV (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanFairValueandNAVDetails</Role>
      <ShortName>Employee Benefit Plan, Fair Value and NAV (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanFairValueandNAVTables</ParentRole>
      <Position>14</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Employee Benefit Plan, Related-Party and Party-in-Interest Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanRelatedPartyandPartyinInterestTransactionsDetails</Role>
      <ShortName>Employee Benefit Plan, Related-Party and Party-in-Interest Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanRelatedPartyandPartyinInterestTransactionsNotes</ParentRole>
      <Position>15</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Employee Benefit Plan, Reconciliation of Financial Statement to Form 5500 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanReconciliationofFinancialStatementtoForm5500Details</Role>
      <ShortName>Employee Benefit Plan, Reconciliation of Financial Statement to Form 5500 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanReconciliationofFinancialStatementtoForm5500Tables</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Employee Benefit Plan, Tax Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanTaxStatusDetails</Role>
      <ShortName>Employee Benefit Plan, Tax Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanTaxStatusNotes</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="ck0000081061-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Employee Benefit Plan, Schedule, Asset Held for Investment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.publix.com/role/EmployeeBenefitPlanScheduleAssetHeldforInvestmentDetails</Role>
      <ShortName>Employee Benefit Plan, Schedule, Asset Held for Investment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.publix.com/role/EmployeeBenefitPlanScheduleAssetHeldforInvestmentNotes</ParentRole>
      <Position>18</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="11-K" isDefinitelyFs="true" isUsgaap="true" original="ck0000081061-20251231.htm">ck0000081061-20251231.htm</File>
    <File>ck0000081061-20251231.xsd</File>
    <File>ck0000081061-20251231_cal.xml</File>
    <File>ck0000081061-20251231_def.xml</File>
    <File>ck0000081061-20251231_lab.xml</File>
    <File>ck0000081061-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="260">http://fasb.org/us-gaap-ebp/2026</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
