<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="sptn-20230524.xsd" xlink:type="simple"/>
    <context id="C_4047b567-2ea1-4ea9-b080-6e4c4732c472">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000877422</identifier>
        </entity>
        <period>
            <startDate>2023-05-24</startDate>
            <endDate>2023-05-24</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_b2d73fa9-32a2-4d95-a967-c4608ca67d9e">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_fb1cad99-92f3-436f-b58e-8a673c746da3">0000877422</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_00f6caa4-5fb2-4150-a238-af246d20cdbb">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_ee096c7e-1c9d-4d98-b623-b098dd8422e5">2023-05-24</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_fc20d9aa-d2aa-4b2a-a004-9999a96e1d33">SpartanNash Company</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_9ebc808c-8122-495d-9ddb-d9223359c4f1">MI</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_c3682877-e322-4f1f-98f0-e901d4aa46b2">000-31127</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_a85724f7-110a-404f-9cfd-da2e98b0d941">38-0593940</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_9df20f6f-90f3-430e-93c6-e3e7feb5b0af">850 76th Street, S.W.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_76f67a82-f6f0-47b4-ac6c-a783ae1d5ecd">P.O. Box 8700</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_30c4bb9b-b9b1-4ebf-b537-fe47dae3c9e6">Grand Rapids</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_1c2bf2d6-93f9-4e27-bdb5-860d75770ab7">MI</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_3bca2664-212b-4eef-9c68-f8d60acf9a93">49518-8700</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_2489b809-dcac-4b08-8bfc-e5930601e2e3">(616)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_6541f436-5d62-46e0-aa76-3c3da36c30f6">878-2000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_4d3cb966-0263-4b18-8f7b-95104bf9340c">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_f7201da7-b41f-4c26-8901-5a68435204c9">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_bb72b2d7-1f52-4df4-8926-2ad8af4791fa">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_90061a57-b857-4821-99bf-7c655a01447a">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_c4b6c228-ab22-40ed-b04e-4a7bb25f0804">Common Stock, no par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_0fc0dbfc-5247-4b00-bca4-63fc8d66379b">SPTN</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_be8ae473-6724-4bba-859f-818a6c98112b">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_e228b2d1-5f70-4403-b18f-309f65409b76">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription
      contextRef="C_4047b567-2ea1-4ea9-b080-6e4c4732c472"
      id="F_5acb7ce8-56ad-4a78-a153-fbfaeac23bbe">This Current Report on Form 8-K/A (this "Amendment") amends the Current Report on Form 8-K filed by SpartanNash Company (the "Company") with the Securities and Exchange Commission on May 25, 2023 (the "Original Filing"). The sole purpose of this Amendment is to disclose the Company's decision regarding how frequently it will conduct shareholder advisory votes on the compensation of the Company's named executive officers. No other changes have been made to the Original Filing.</dei:AmendmentDescription>
</xbrl>
