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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2010-02-08</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000723458</issuerCik>
        <issuerName>STATE BANCORP INC</issuerName>
        <issuerTradingSymbol>stbc</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001381048</rptOwnerCik>
            <rptOwnerName>OBrien Thomas M</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O STATE BANK OF LONG ISLAND</rptOwnerStreet1>
            <rptOwnerStreet2>2 JERICHO PLAZA</rptOwnerStreet2>
            <rptOwnerCity>JERICHO</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>11753</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>President &amp; CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>State Bancorp, Inc. Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2010-02-08</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>15160</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.1498</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>280914</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>State Bancorp, Inc. Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2254.7308</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Through ESOP</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>State Bancorp, Inc. Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>155.9418</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Non-qualified stock option</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>17.84</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2006-11-06</value>
            </exerciseDate>
            <expirationDate>
                <value>2016-11-06</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>STBC Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>164745</value>
                    <footnoteId id="F4"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>164745</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Total includes 10,061 shares acquired as restricted stock granted to Mr. O'Brien as part of his 2007 Incentive Compensation package.  Shares vest over a five year period; one third to vest after the expiration of year three; one-third to vest after the expiration of year four; and the remainder to vest after the expiration of year five.  To date, zero shares have vested.</footnote>
        <footnote id="F2">Total also includes 83,612 shares of restricted stock granted in consideration for the reproting person's acceptance of employment with the issuer and execution of an Amended and Restated Employment Agreement dated December 10, 2007.  The restricted shares vest in 20 equal quarterly installments commencing with the end of the first quarter in which employment commences subject to acceleration upon death, disability and termination without cause or termination by the reporting person with good reason.  To date, 54,353 shares have vested.</footnote>
        <footnote id="F3">Through Company 401(K) Matching Program.</footnote>
        <footnote id="F4">These options are subject to a five year vesting schedule (20% the first year and 20% each of the following four years).  To date, 98,847 shares have vested.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Thomas M. O'Brien</signatureName>
        <signatureDate>2010-02-09</signatureDate>
    </ownerSignature>
</ownershipDocument>
