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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2011-02-04</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001408145</rptOwnerCik>
            <rptOwnerName>Schaubeck Patricia M</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O STATE BANCORP, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>TWO JERICHO PLAZA</rptOwnerStreet2>
            <rptOwnerCity>JERICHO</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>11753</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>General Counsel</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>State Bancorp, Inc. Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2011-02-04</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>250</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>9.7</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>25823</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>State Bancorp, Inc. Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4285.3309</value>
                    <footnoteId id="F4"/>
                </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>320.3397</value>
                    <footnoteId id="F5"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Total includes 11,306 shares of restricted stock granted to Ms. Schaubeck as part of her 2009 incentive compensation.  Shares are granted under the Company's 2006 Equity Compensation Plan and will vest over a five year period; one-third to vest on April 2, 2013, one-third to vest on April 2, 2014 and the remainder to vest on April 2, 2015.  To date, zero shares have vested.</footnote>
        <footnote id="F2">Total includes 5,517 shares of restricted stock granted to Ms. Schaubeck as part of her 2008 incentive compensation package.  Shares vest over a five year period; one-third to vest on March 25, 2012, one-third to vest on March 25, 2013 and the remainder to vest on March 25, 2014.  To date, zero shares have vested.</footnote>
        <footnote id="F3">Total includes 4,000 shares of restricted stock granted to Ms. Schaubeck as part of her 2007 incentive compensation package.  Shares vest over a five year period; one-third to vest on March 25, 2011, one-third to vest on March 25, 2012 and the remainder to vest on March 25, 2013.  To date, zero shares have vested.</footnote>
        <footnote id="F4">Shares credited to Ms. Schaubeck under the State Bancorp, Inc. Employee Stock Ownership Plan.</footnote>
        <footnote id="F5">Through Company 401(K) Matching Program.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Patricia M. Schaubeck</signatureName>
        <signatureDate>2011-02-04</signatureDate>
    </ownerSignature>
</ownershipDocument>
