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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2008-09-24</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001066194</issuerCik>
        <issuerName>EGAIN COMMUNICATIONS CORP</issuerName>
        <issuerTradingSymbol>egan</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001262319</rptOwnerCik>
            <rptOwnerName>ROY ASHUTOSH</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>345 E. MIDDLEFIELD ROAD</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>MOUNTAIN VIEW</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94043</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>President and CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <transactionDate>
                <value>2008-09-24</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>5495329</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.95</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6347932</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Common Stock Purchase Warrants</value>
                <footnoteId id="F2"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>0.95</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2008-09-24</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1218493</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2008-09-24</value>
            </exerciseDate>
            <expirationDate>
                <value>2011-09-24</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1218493</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1218493</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">On September 24, 2008, the Issuer entered into a Conversion Agreement and Amendment to Subordinated Secured Promissory Notes (the &quot;Agreement&quot;) with Ashutosh Roy, Oak Hill Capital Partners, L.P., Oak Hill Capital Management Partners, L.P. and FW Investors V, L.P. (collectively, the &quot;Lenders&quot;). The Lenders previously loaned the Issuer an aggregate of $8,500,000 and received promissory notes with a maturity date of March 31, 2009 (the &quot;Prior Notes&quot;). Pursuant to the Agreement, the Issuer and the Lenders agreed to (i) convert a portion of the outstanding indebtedness under the Prior Notes equal to $6,535,977 into shares of the Issuer's common stock at a price per share equal to $0.95 and (ii) extend the maturity date of the remaining outstanding indebtedness accrued under the Prior Notes to March 31, 2012, as well as the period for which interest shall accrue on the Prior Notes (the &quot;Note Extension&quot;).</footnote>
        <footnote id="F2">Pursuant to the Agreement and subject to the terms and conditions contained therein, the Lenders received warrants to purchase an aggregate of 1,525,515 shares of the Issuer's common stock at a price per share equal to $0.95 as consideration for the Note Extension (the &quot;Warrants&quot;). See footnote (1) above.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Ashutosh Roy</signatureName>
        <signatureDate>2008-10-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
