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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2010-06-11</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000730000</issuerCik>
        <issuerName>SUPERTEX INC</issuerName>
        <issuerTradingSymbol>supx</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001351519</rptOwnerCik>
            <rptOwnerName>Masood Ahmed</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1235 BORDEAUX DR.</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>SUNNYVALE</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94089</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>VP, Marketing</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>common stock</value>
            </securityTitle>
            <transactionDate>
                <value>2010-06-11</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>10000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>21.75</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>11000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>common stock</value>
            </securityTitle>
            <transactionDate>
                <value>2010-06-11</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>17.39</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>ISO stock options (to exercise common stock)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>21.75</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2010-06-11</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>10000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>21.75</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2010-06-11</value>
            </exerciseDate>
            <expirationDate>
                <value>2011-12-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>common stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>10000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>49000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>ISO stock options (to exercise common stock)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>17.39</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2010-06-11</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>17.39</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2010-06-01</value>
            </exerciseDate>
            <expirationDate>
                <value>2012-06-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>common stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>48000</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                    <footnoteId id="F5"/>
                    <footnoteId id="F6"/>
                    <footnoteId id="F7"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">NQ Option (to exercise common stock).  Exercise price: $17.39.  Shares granted: 4,000.  Shares exercised: 2,000. Shares exercisable: 2,000.  Expiration date: 6/1/2012.   Held Direct.</footnote>
        <footnote id="F2">NQ Option (to exercise common stock).  Exercise price: $21.75.  Shares granted: 7,015. Shares exercised: 2,806.  Shares exercisable: 4,209.     Expiration date: 12/1/2011.   Held Direct.</footnote>
        <footnote id="F3">ISO Option (to exercise common stock).  Exercise price: $21.75.  Shares granted: 22,985.  Shares exercised: 9,194.  Shares currently exercising: 10,000 Shares exercisable: 3,791.  Expiration date: 12/1/2011.   Held Direct</footnote>
        <footnote id="F4">ISO Option (to exercise common stock).  Exercise Price: $33.67.  Shares Granted:  4,900.  Shares Exercisable: 2,450.   2,450 shares Exercisable 3/1/2011.  Expiration Date:  3/1/2013.   Held Direct.</footnote>
        <footnote id="F5">NQ Option (to exercise common stock).  Exercise Price: $33.67.  Shares Granted:  8,100.  Shares Exercisable: 3,550. 4,550 shares Exercisable 3/1/2011.  Expiration Date:  3/1/2013.   Held Direct.</footnote>
        <footnote id="F6">ISO Option (to exercise common stock).  Exercise price: $17.39.  Shares granted: 1,000.  Currently exercising: 1,000.  Expiration date: 6/1/2012.   Held Direct.</footnote>
        <footnote id="F7">NQ Option (to exercise common stock). Exercise price: $20.85.  Shares granted: 25,000. Currently exercisable: 5,000. 5,000 shares exercisable on 12/01/2010.  5,000 shares exercisable on 12/01/2011.  5,000 shares exercisable on 12/01/2012.  5,000 shares exercisable on 12/01/2013. Expiration Date: 12/1/2018.   Held Direct.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Ahmed Masood</signatureName>
        <signatureDate>2010-06-11</signatureDate>
    </ownerSignature>
</ownershipDocument>
