<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.2.u1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>247</ContextCount>
  <ElementCount>269</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>38</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF EARNINGS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGSUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF EARNINGS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYUnauditedParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.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>9</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.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>10</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Summary of Significant Accounting Policies and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAndBasisOfPresentation</Role>
      <ShortName>Summary of Significant Accounting Policies and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Adoption of New Accounting Standards and Recently Issued Accounting Standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureAdoptionOfNewAccountingStandardsAndRecentlyIssuedAccountingStandards</Role>
      <ShortName>Adoption of New Accounting Standards and Recently Issued Accounting Standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Restructuring and Asset Impairment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairment</Role>
      <ShortName>Restructuring and Asset Impairment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Derivatives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureDerivatives</Role>
      <ShortName>Derivatives</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Associate Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureAssociateRetirementPlans</Role>
      <ShortName>Associate Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensation1</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995585 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRevenue</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Restructuring and Asset Impairment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentTables</Role>
      <ShortName>Restructuring and Asset Impairment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairment</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureFairValueMeasurements</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995655 - Disclosure - Derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureDerivativesTables</Role>
      <ShortName>Derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/DisclosureDerivatives</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995665 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensation1</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureEarningsPerShare</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995685 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/DisclosureSegmentInformation</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995705 - Disclosure - Revenue - Summary of Information about Disaggregated Revenue of Reportable Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRevenueSummaryOfInformationAboutDisaggregatedRevenueOfReportableSegmentsDetail</Role>
      <ShortName>Revenue - Summary of Information about Disaggregated Revenue of Reportable Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995715 - Disclosure - Revenue - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail</Role>
      <ShortName>Revenue - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Revenue - Summary of Changes in Allowance for Credit Losses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRevenueSummaryOfChangesInAllowanceForCreditLossesDetail</Role>
      <ShortName>Revenue - Summary of Changes in Allowance for Credit Losses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Acquisitions (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails</Role>
      <ShortName>Acquisitions (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Changes in carrying amount of goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfChangesInCarryingAmountOfGoodwillDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Changes in carrying amount of goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995755 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Changes in the carrying amount of indefinite-lived intangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfChangesInTheCarryingAmountOfIndefinitelivedIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Changes in the carrying amount of indefinite-lived intangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Restructuring and Asset Impairment - Schedule of Activity of Reserves for Closed Properties (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentScheduleOfActivityOfReservesForClosedPropertiesDetail</Role>
      <ShortName>Restructuring and Asset Impairment - Schedule of Activity of Reserves for Closed Properties (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Restructuring and Asset Impairment - Schedule of Restructuring and Asset Impairment, Net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentScheduleOfRestructuringAndAssetImpairmentNetDetail</Role>
      <ShortName>Restructuring and Asset Impairment - Schedule of Restructuring and Asset Impairment, Net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995795 - Disclosure - Restructuring and Asset Impairment - Schedule of Restructuring and Asset Impairment, Net (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureRestructuringAndAssetImpairmentScheduleOfRestructuringAndAssetImpairmentNetParentheticalDetails</Role>
      <ShortName>Restructuring and Asset Impairment - Schedule of Restructuring and Asset Impairment, Net (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Restructuring and Asset Impairment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentAdditionalInformationDetail</Role>
      <ShortName>Restructuring and Asset Impairment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Fair Value Measurements - Schedule of Book Value and Estimated Fair Value of Debt Instruments, Excluding Debt Financing Costs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureFairValueMeasurementsScheduleOfBookValueAndEstimatedFairValueOfDebtInstrumentsExcludingDebtFinancingCostsDetail</Role>
      <ShortName>Fair Value Measurements - Schedule of Book Value and Estimated Fair Value of Debt Instruments, Excluding Debt Financing Costs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995825 - Disclosure - Fair Value Measurements (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureFairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995835 - Disclosure - Derivatives - Schedule of pay-fixed, receive-floating interest rate swap contract (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureDerivativesScheduleOfPayfixedReceivefloatingInterestRateSwapContractDetails</Role>
      <ShortName>Derivatives - Schedule of pay-fixed, receive-floating interest rate swap contract (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995845 - Disclosure - Derivatives - Schedule of fair value of the interest rate swap (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureDerivativesScheduleOfFairValueOfTheInterestRateSwapDetails</Role>
      <ShortName>Derivatives - Schedule of fair value of the interest rate swap (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995855 - Disclosure - Derivatives - Schedule of gains recognized in the condensed consolidated statements of earnings for the interest rate swap, presented on a pre-tax basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureDerivativesScheduleOfGainsRecognizedInTheCondensedConsolidatedStatementsOfEarningsForTheInterestRateSwapPresentedOnAPretaxBasi</Role>
      <ShortName>Derivatives - Schedule of gains recognized in the condensed consolidated statements of earnings for the interest rate swap, presented on a pre-tax basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995865 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995875 - Disclosure - Associate Retirement Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureAssociateRetirementPlansAdditionalInformationDetail</Role>
      <ShortName>Associate Retirement Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995885 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995895 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995905 - Disclosure - Stock-Based Compensation - Summary of Allocation of Stock-Based Compensation Expense in Consolidated Statements of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensationSummaryOfAllocationOfStockbasedCompensationExpenseInConsolidatedStatementsOfOperationsDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Allocation of Stock-Based Compensation Expense in Consolidated Statements of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995915 - Disclosure - Stock-Based Compensation - Summary of Stock Incentive Plans Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensationSummaryOfStockIncentivePlansActivityDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock Incentive Plans Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995925 - Disclosure - Stock-Based Compensation - Summarizes The Unrecognized Compensation Cost And Weighted Average Recognition Period For Awards Granted Under The Company's Stock Incentive Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensationSummarizesTheUnrecognizedCompensationCostAndWeightedAverageRecognitionPeriodForAwardsGrantedUnderTheCompanys</Role>
      <ShortName>Stock-Based Compensation - Summarizes The Unrecognized Compensation Cost And Weighted Average Recognition Period For Awards Granted Under The Company's Stock Incentive Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995935 - Disclosure - Stock-Based Compensation - Summary of Share-based Payment Expense Recognized as a Reduction of Net Sales in Condensed Consolidated Statements of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensationSummaryOfSharebasedPaymentExpenseRecognizedAsAReductionOfNetSalesInCondensedConsolidatedStatementsOfOperat</Role>
      <ShortName>Stock-Based Compensation - Summary of Share-based Payment Expense Recognized as a Reduction of Net Sales in Condensed Consolidated Statements of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995945 - Disclosure - Stock-Based Compensation - Summary of Stock Warrant Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureStockbasedCompensationSummaryOfStockWarrantActivityDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock Warrant Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995955 - Disclosure - Earnings Per Share - Schedule of Computation of Basic and Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfComputationOfBasicAndDilutedEarningsPerShareDetail</Role>
      <ShortName>Earnings Per Share - Schedule of Computation of Basic and Diluted Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995965 - Disclosure - Earnings Per Share (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureEarningsPerShareAdditionalInformationDetails</Role>
      <ShortName>Earnings Per Share (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureEarningsPerShareTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995975 - Disclosure - Supplemental Cash Flow Information - Schedule of Supplemental Cash Flow Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationScheduleOfSupplementalCashFlowInformationDetail</Role>
      <ShortName>Supplemental Cash Flow Information - Schedule of Supplemental Cash Flow Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="sptn-20240713.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995985 - Disclosure - Segment Information - Schedule of Segment Reporting Information, by Operating Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20240713/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationByOperatingSegmentDetail</Role>
      <ShortName>Segment Information - Schedule of Segment Reporting Information, by Operating Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="sptn-20240713.htm">sptn-20240713.htm</File>
    <File>sptn-20240713.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img255262431_0.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="729">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
