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

    <schemaVersion>X0202</schemaVersion>

    <documentType>3/A</documentType>

    <periodOfReport>2007-03-28</periodOfReport>

    <dateOfOriginalSubmission>2007-03-28</dateOfOriginalSubmission>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001126741</issuerCik>
        <issuerName>GSI TECHNOLOGY INC</issuerName>
        <issuerTradingSymbol>GSIT</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001394200</rptOwnerCik>
            <rptOwnerName>Lu Ruey-Lin</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>EMPIA TECHNOLOGY</rptOwnerStreet1>
            <rptOwnerStreet2>2600 AUGUSTINE DRIVE</rptOwnerStreet2>
            <rptOwnerCity>SANTA CLARA</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>95054</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>2.10</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F1"/>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-07-15</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>8000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Option for 8,000 shares was granted on July 15, 2003, and vests and becomes exercisable at the rate of 50% as of the grant date, 25% on January 1, 2004 and 25% January 1, 2005.</footnote>
        <footnote id="F2">This amended Form 3 is being filed to correct the description of vesting, which was incorrectly reported on the Form 3 originally filed on March 28, 2007.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Caroline Y. Wu</signatureName>
        <signatureDate>2007-04-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
