<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2007-07-03</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000743238</issuerCik>
        <issuerName>SPARTAN MOTORS INC</issuerName>
        <issuerTradingSymbol>(&quot;SPAR&quot;)</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001034652</rptOwnerCik>
            <rptOwnerName>FOSTER WILLIAM F</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O SPARTAN MOTORS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>1165 REYNOLDS ROAD</rptOwnerStreet2>
            <rptOwnerCity>CHARLOTTE</rptOwnerCity>
            <rptOwnerState>MI</rptOwnerState>
            <rptOwnerZipCode>48813</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
                <footnoteId id="F1"/>
                <footnoteId id="F2"/>
            </securityTitle>
            <transactionDate>
                <value>2007-07-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>18900</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1909489</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Share amounts reflect adjustments for a 3-for-2 split of Spartan Motors, Inc. Common Stock on June 28, 2007.</footnote>
        <footnote id="F2">This Form 4 reports the grant of 18,900 shares of restricted stock under the Spartan Motors, Inc. Stock Incentive Plan of 2005 (the &quot;Plan&quot;).  These shares will vest over 5 years beginning on July 3, 2007 and will be fully vested on July 3, 2012.  Prior to vesting, the shares will remain subject to restrictions in accordance with the Plan and the terms of the grant.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Stephen C. Waterbury, by power of attorney</signatureName>
        <signatureDate>2007-07-06</signatureDate>
    </ownerSignature>
</ownershipDocument>
