<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>231</ContextCount>
  <ElementCount>254</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>37</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="sptn-20230715.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/20230715/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sptn-20230715.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/20230715/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sptn-20230715.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/20230715/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sptn-20230715.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/20230715/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFEARNINGSUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF EARNINGS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sptn-20230715.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/20230715/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sptn-20230715.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/20230715/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sptn-20230715.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/20230715/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-20230715.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/20230715/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Summary of Significant Accounting Policies and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAndBasisOfPresentation</Role>
      <ShortName>Summary of Significant Accounting Policies and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Adoption of New Accounting Standards and Recently Issued Accounting Standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureAdoptionOfNewAccountingStandardsAndRecentlyIssuedAccountingStandards</Role>
      <ShortName>Adoption of New Accounting Standards and Recently Issued Accounting Standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Restructuring and Asset Impairment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairment</Role>
      <ShortName>Restructuring and Asset Impairment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Derivatives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureDerivatives</Role>
      <ShortName>Derivatives</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Associate Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureAssociateRetirementPlans</Role>
      <ShortName>Associate Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureStockbasedCompensation1</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Summary of Significant Accounting Policies and Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAndBasisOfPresentationPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies and Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAndBasisOfPresentation</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRevenue</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Restructuring and Asset Impairment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentTables</Role>
      <ShortName>Restructuring and Asset Impairment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairment</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureFairValueMeasurements</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureDerivativesTables</Role>
      <ShortName>Derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/DisclosureDerivatives</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureStockbasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/DisclosureStockbasedCompensation1</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureEarningsPerShare</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/DisclosureSegmentInformation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Revenue - Summary of Information about Disaggregated Revenue of Reportable Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRevenueSummaryOfInformationAboutDisaggregatedRevenueOfReportableSegmentsDetail</Role>
      <ShortName>Revenue - Summary of Information about Disaggregated Revenue of Reportable Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Revenue - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetail</Role>
      <ShortName>Revenue - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Revenue - Summary of Changes in Allowance for Credit Losses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRevenueSummaryOfChangesInAllowanceForCreditLossesDetail</Role>
      <ShortName>Revenue - Summary of Changes in Allowance for Credit Losses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Acquisitions (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureAcquisitionsAdditionalInformationDetails</Role>
      <ShortName>Acquisitions (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Restructuring and Asset Impairment - Schedule of Activity of Reserves for Closed Properties (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentScheduleOfActivityOfReservesForClosedPropertiesDetail</Role>
      <ShortName>Restructuring and Asset Impairment - Schedule of Activity of Reserves for Closed Properties (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Restructuring and Asset Impairment - Schedule of Restructuring and Asset Impairment, Net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentScheduleOfRestructuringAndAssetImpairmentNetDetail</Role>
      <ShortName>Restructuring and Asset Impairment - Schedule of Restructuring and Asset Impairment, Net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Restructuring and Asset Impairment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureRestructuringAndAssetImpairmentAdditionalInformationDetail</Role>
      <ShortName>Restructuring and Asset Impairment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100430 - 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/20230715/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>40</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Fair Value Measurements (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureFairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Derivatives - Schedule of pay-fixed, receive-floating interest rate swap contract (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureDerivativesScheduleOfPayfixedReceivefloatingInterestRateSwapContractDetails</Role>
      <ShortName>Derivatives - Schedule of pay-fixed, receive-floating interest rate swap contract (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Derivatives - Schedule of fair value of the interest rate swap (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureDerivativesScheduleOfFairValueOfTheInterestRateSwapDetails</Role>
      <ShortName>Derivatives - Schedule of fair value of the interest rate swap (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100470 - 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/20230715/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>44</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Associate Retirement Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureAssociateRetirementPlansAdditionalInformationDetail</Role>
      <ShortName>Associate Retirement Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100510 - 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/20230715/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>48</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Stock-Based Compensation - Summary of Stock Incentive Plans Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureStockbasedCompensationSummaryOfStockIncentivePlansActivityDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock Incentive Plans Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureStockbasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100540 - 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/20230715/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>51</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Stock-Based Compensation - Summary of Stock Warrant Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/DisclosureStockbasedCompensationSummaryOfStockWarrantActivityDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock Warrant Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Earnings Per Share - Schedule of Computation of Basic and Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/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>53</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Supplemental Cash Flow Information - Schedule of Supplemental Cash Flow Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationScheduleOfSupplementalCashFlowInformationDetail</Role>
      <ShortName>Supplemental Cash Flow Information - Schedule of Supplemental Cash Flow Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sptn-20230715.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Reporting Segment Information - Schedule of Segment Reporting Information, by Operating Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.spartannash.com/20230715/taxonomy/role/Role_DisclosureReportingSegmentInformationScheduleOfSegmentReportingInformationByOperatingSegmentDetail</Role>
      <ShortName>Reporting Segment Information - Schedule of Segment Reporting Information, by Operating Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</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" original="sptn-20230715.htm">sptn-20230715.htm</File>
    <File>sptn-20230715.xsd</File>
    <File>sptn-20230715_cal.xml</File>
    <File>sptn-20230715_def.xml</File>
    <File>sptn-20230715_lab.xml</File>
    <File>sptn-20230715_pre.xml</File>
    <File>sptn-ex31_1.htm</File>
    <File>sptn-ex31_2.htm</File>
    <File>sptn-ex32_1.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img254338912_0.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="707">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
