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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2004-01-09</periodOfReport>

    <dateOfOriginalSubmission>2004-01-09</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001008554</issuerCik>
        <issuerName>HUMBOLDT BANCORP</issuerName>
        <issuerTradingSymbol>HBEK</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001209460</rptOwnerCik>
            <rptOwnerName>MILLS STEVEN R</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O HUMBOLDT BANCORP</rptOwnerStreet1>
            <rptOwnerStreet2>2998 DOUGLAS BLVD., SUITE 330</rptOwnerStreet2>
            <rptOwnerCity>ROSEVILLE</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>95661</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2004-01-09</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>100</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>17.38</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3300</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Open market purchase pursuant to Trading Plan (10b-5) effective August 14, 2003.</footnote>
        <footnote id="F2">Eroneously reported the incorrect amount of shares beneficially owned as of January 9, 2004. Inadvertenly inluded the number of derivative securities in addition to the securities beneficially owned. There has been no change to the nubmer of derivative securities.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Steven R. Mills</signatureName>
        <signatureDate>2004-01-09</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>Signed by Patrick J. Rusnak, Power of Attorney on File</signatureName>
        <signatureDate>2004-01-09</signatureDate>
    </ownerSignature>
</ownershipDocument>

