<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>357</ContextCount>
  <ElementCount>578</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>116</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/StatementConsolidatedStatementsOfComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200400 - Statement - Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995200405 - Statement - Consolidated Statements of Changes in Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995200500 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - Nature of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureNatureOfOperations</Role>
      <ShortName>Nature of Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Acquisitions and Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAcquisitionsAndDivestitures</Role>
      <ShortName>Acquisitions and Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - Property, Plant and Equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePropertyPlantAndEquipmentNet</Role>
      <ShortName>Property, Plant and Equipment, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Capital Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureCapitalStock</Role>
      <ShortName>Capital Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Pension Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefits</Role>
      <ShortName>Pension Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995211301 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995211401 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995211501 - Disclosure - Incentive Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlans</Role>
      <ShortName>Incentive Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995211601 - Disclosure - Business Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureBusinessSegmentInformation</Role>
      <ShortName>Business Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995211701 - Disclosure - Assets Held for Sale</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAssetsHeldForSale</Role>
      <ShortName>Assets Held for Sale</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995211801 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995211901 - Disclosure - Schedule II Schedule of Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureScheduleIiScheduleOfValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II Schedule of Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.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>29</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.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>30</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.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>31</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99920202 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99930303 - Disclosure - Acquisitions and Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAcquisitionsAndDivestituresTables</Role>
      <ShortName>Acquisitions and Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureAcquisitionsAndDivestitures</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureInventories</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - Property, Plant and Equipment, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePropertyPlantAndEquipmentNetTables</Role>
      <ShortName>Property, Plant and Equipment, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosurePropertyPlantAndEquipmentNet</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureLongTermDebt</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99930903 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99931203 - Disclosure - Pension Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsTables</Role>
      <ShortName>Pension Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosurePensionBenefits</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99931303 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureLeases</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99931503 - Disclosure - Incentive Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlansTables</Role>
      <ShortName>Incentive Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureIncentivePlans</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99931603 - Disclosure - Business Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureBusinessSegmentInformationTables</Role>
      <ShortName>Business Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureBusinessSegmentInformation</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99931703 - Disclosure - Assets Held for Sale (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAssetsHeldForSaleTables</Role>
      <ShortName>Assets Held for Sale (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureAssetsHeldForSale</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Nature of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureNatureOfOperationsDetails</Role>
      <ShortName>Nature of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureNatureOfOperations</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940102 - Disclosure - Nature of Operations - Fiscal Year (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureNatureOfOperationsFiscalYearDetails</Role>
      <ShortName>Nature of Operations - Fiscal Year (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940103 - Disclosure - Nature of Operations - Business and Credit Concentrations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureNatureOfOperationsBusinessAndCreditConcentrationsDetails</Role>
      <ShortName>Nature of Operations - Business and Credit Concentrations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Summary of Significant Accounting Policies - Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Acquisitions and Divestitures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAcquisitionsAndDivestituresDetails</Role>
      <ShortName>Acquisitions and Divestitures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureAcquisitionsAndDivestituresTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99940302 - Disclosure - Acquisitions and Divestitures - Purchase Price Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAcquisitionsAndDivestituresPurchasePriceAllocationDetails</Role>
      <ShortName>Acquisitions and Divestitures - Purchase Price Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureInventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureInventoriesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - Property, Plant and Equipment, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePropertyPlantAndEquipmentNetDetails</Role>
      <ShortName>Property, Plant and Equipment, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosurePropertyPlantAndEquipmentNetTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Goodwill and Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssetsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>99940602 - Disclosure - Goodwill and Other Intangible Assets - Carrying amount of goodwill by operating segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssetsCarryingAmountOfGoodwillByOperatingSegmentDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Carrying amount of goodwill by operating segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>99940603 - Disclosure - Goodwill and Other Intangible Assets - Indefinite-lived trademark intangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssetsIndefiniteLivedTrademarkIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Indefinite-lived trademark intangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>99940604 - Disclosure - Goodwill and Other Intangible Assets - Change in Reporting Structure for Certain Brands (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureGoodwillAndOtherIntangibleAssetsChangeInReportingStructureForCertainBrandsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Change in Reporting Structure for Certain Brands (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLongTermDebtDetails</Role>
      <ShortName>Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureLongTermDebtTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>99940702 - Disclosure - Long-Term Debt - Contractual Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLongTermDebtContractualMaturitiesDetails</Role>
      <ShortName>Long-Term Debt - Contractual Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>99940703 - Disclosure - Long-Term Debt - Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLongTermDebtActivityDetails</Role>
      <ShortName>Long-Term Debt - Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureFairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - Accumulated Other Comprehensive Income (Loss) - Reclassifications (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossReclassificationsDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) - Reclassifications (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>99940902 - Disclosure - Accumulated Other Comprehensive Income (Loss) - Changes in AOCL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAoclDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) - Changes in AOCL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>99941002 - Disclosure - Income Taxes - Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxesComponentsDetails</Role>
      <ShortName>Income Taxes - Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>99941003 - Disclosure - Income Taxes - Income tax payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxesIncomeTaxPaymentsDetails</Role>
      <ShortName>Income Taxes - Income tax payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>99941004 - Disclosure - Income Taxes - Valuation allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxesValuationAllowanceDetails</Role>
      <ShortName>Income Taxes - Valuation allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>99941005 - Disclosure - Income Taxes - Income Tax Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxesIncomeTaxReconciliationDetails</Role>
      <ShortName>Income Taxes - Income Tax Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>99941006 - Disclosure - Income Taxes - Deferred Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncomeTaxesDeferredTaxesDetails</Role>
      <ShortName>Income Taxes - Deferred Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - Capital Stock - At-The-Market Equity Offering Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureCapitalStockAtMarketEquityOfferingProgramDetails</Role>
      <ShortName>Capital Stock - At-The-Market Equity Offering Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Pension Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsDetails</Role>
      <ShortName>Pension Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosurePensionBenefitsTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>99941202 - Disclosure - Pension Benefits - Assumptions for measuring benefit obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsAssumptionsForMeasuringBenefitObligationsDetails</Role>
      <ShortName>Pension Benefits - Assumptions for measuring benefit obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>99941203 - Disclosure - Pension Benefits - Net Periodic Pension (Benefit) Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsNetPeriodicPensionBenefitCostDetails</Role>
      <ShortName>Pension Benefits - Net Periodic Pension (Benefit) Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>99941204 - Disclosure - Pension Benefits - Changes in Amounts Recorded In Accumulated Other Comprehensive Income (loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsChangesInAmountsRecordedInAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Pension Benefits - Changes in Amounts Recorded In Accumulated Other Comprehensive Income (loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>99941205 - Disclosure - Pension Benefits - Investment Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsInvestmentAllocationDetails</Role>
      <ShortName>Pension Benefits - Investment Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>99941206 - Disclosure - Pension Benefits - Fair Value Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsFairValueCommonStockDetails</Role>
      <ShortName>Pension Benefits - Fair Value Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>99941207 - Disclosure - Pension Benefits - Multi-Employer Defined Benefit Pension Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosurePensionBenefitsMultiEmployerDefinedBenefitPensionPlanDetails</Role>
      <ShortName>Pension Benefits - Multi-Employer Defined Benefit Pension Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>99941301 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureLeasesTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>99941302 - Disclosure - Leases - Operating Leases and Finance Leases on Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLeasesOperatingLeasesAndFinanceLeasesOnBalanceSheetsDetails</Role>
      <ShortName>Leases - Operating Leases and Finance Leases on Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>99941303 - Disclosure - Leases - Supplemental information related to leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLeasesSupplementalInformationRelatedToLeasesDetails</Role>
      <ShortName>Leases - Supplemental information related to leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>99941304 - Disclosure - Leases - Lease term and discount rate for our ROU (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLeasesLeaseTermAndDiscountRateForOurRouDetails</Role>
      <ShortName>Leases - Lease term and discount rate for our ROU (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>99941305 - Disclosure - Leases - Maturity of lease liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureLeasesMaturityOfLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Maturity of lease liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>99941401 - Disclosure - Commitments and Contingencies - Collective Bargaining (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureCommitmentsAndContingenciesCollectiveBargainingDetails</Role>
      <ShortName>Commitments and Contingencies - Collective Bargaining (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>99941501 - Disclosure - Incentive Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlansDetails</Role>
      <ShortName>Incentive Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureIncentivePlansTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>99941502 - Disclosure - Incentive Plans - Performance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlansPerformanceDetails</Role>
      <ShortName>Incentive Plans - Performance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>99941503 - Disclosure - Incentive Plans - Restricted Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlansRestrictedStockDetails</Role>
      <ShortName>Incentive Plans - Restricted Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>99941504 - Disclosure - Incentive Plans - Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlansStockOptionsDetails</Role>
      <ShortName>Incentive Plans - Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>99941505 - Disclosure - Incentive Plans - Other Vested (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlansOtherVestedDetails</Role>
      <ShortName>Incentive Plans - Other Vested (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>99941506 - Disclosure - Incentive Plans - Share-based payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureIncentivePlansShareBasedPaymentsDetails</Role>
      <ShortName>Incentive Plans - Share-based payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>99941601 - Disclosure - Business Segment Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureBusinessSegmentInformationNarrativeDetails</Role>
      <ShortName>Business Segment Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>99941602 - Disclosure - Business Segment Information - Reportable segment results (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureBusinessSegmentInformationReportableSegmentResultsDetails</Role>
      <ShortName>Business Segment Information - Reportable segment results (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>99941701 - Disclosure - Assets Held for Sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureAssetsHeldForSaleDetails</Role>
      <ShortName>Assets Held for Sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureAssetsHeldForSaleTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>99941801 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="bgs-20260103x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>99941901 - Schedule - Schedule II Schedule of Valuation and Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bgfoods.com/role/ScheduleScheduleIiScheduleOfValuationAndQualifyingAccountsDetails</Role>
      <ShortName>Schedule II Schedule of Valuation and Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bgfoods.com/role/DisclosureScheduleIiScheduleOfValuationAndQualifyingAccounts</ParentRole>
      <Position>96</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>bgs-20260103.xsd</File>
    <File>bgs-20260103_cal.xml</File>
    <File>bgs-20260103_def.xml</File>
    <File>bgs-20260103_lab.xml</File>
    <File>bgs-20260103_pre.xml</File>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="bgs-20260103x10k.htm">bgs-20260103x10k.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>bgs-20260103x10k002.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1336">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="38">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>
