<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="shyf-20250701.xsd" xlink:type="simple"/>
    <context id="c20250701to20250701">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000743238</identifier>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2025-07-01</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20250701to20250701"
      id="Fact_dd0ebfa2a47f4a77b34f3427c63e7b18">false</dei:AmendmentFlag>
    <dei:CurrentFiscalYearEndDate
      contextRef="c20250701to20250701"
      id="Fact_ca7445ae47a046439daf8aea49e65937">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:EntityCentralIndexKey
      contextRef="c20250701to20250701"
      id="Fact_d3d447a047a84917b2e42edabb14dd6c">0000743238</dei:EntityCentralIndexKey>
    <dei:SecurityExchangeName
      contextRef="c20250701to20250701"
      id="Fact_ab1b5c380e3640c3b034f7c500e1db43">NASDAQ</dei:SecurityExchangeName>
    <dei:DocumentType
      contextRef="c20250701to20250701"
      id="Fact_6eecead53f4042f38ce1ce1ebc9d68fb">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20250701to20250701"
      id="Fact_352b95619b754e0881f8fa0637c58285">2025-07-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20250701to20250701"
      id="Fact_19f41f0f8a3a47238434f4906f96065a">THE SHYFT GROUP, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20250701to20250701"
      id="Fact_a8112d1bdc3d4412a711309e07daa5fa">MI</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20250701to20250701"
      id="Fact_3402c4697be04b629d666007dcd9da51">001-33582</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20250701to20250701"
      id="Fact_f0df278ca3df41f8ac0aca88950affed">38-2078923</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20250701to20250701"
      id="Fact_d679a29d60934915a986e7e8452a8560">41280 Bridge Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20250701to20250701"
      id="Fact_072b57f4d27e49ab984ef1f2c3c05a7c">Novi</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20250701to20250701"
      id="Fact_1bb30f41d42e4a51893022abe8ca1539">MI</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20250701to20250701"
      id="Fact_19e1857d4ddb46ed9d82041a08f7c08d">48375</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20250701to20250701"
      id="Fact_cf7ebcde84314e15afaf60e0b11dd128">517</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20250701to20250701"
      id="Fact_485c88594c754f82810ef02bc087d74a">543-6400</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20250701to20250701"
      id="Fact_409cda628fc84e5880c2521acf75b6be">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20250701to20250701"
      id="Fact_eeaac231d49e428da9aec851b2e9a539">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20250701to20250701"
      id="Fact_2be8b908ff1b4142b5648893cd8ae979">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20250701to20250701"
      id="Fact_9767d1a0fff946f68631bcffd7e85911">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20250701to20250701"
      id="Fact_2f4c9862085a433aad947cad46aabebe">Common stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20250701to20250701"
      id="Fact_f3e8c9dbdf4147b4a941efa3a1a761c1">SHYF</dei:TradingSymbol>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20250701to20250701"
      id="Fact_cbf8f55ec22f420c84286d419074526a">false</dei:EntityEmergingGrowthCompany>
</xbrl>
