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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2007-10-21</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001056794</issuerCik>
        <issuerName>AVANEX CORP</issuerName>
        <issuerTradingSymbol>AVNX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001237685</rptOwnerCik>
            <rptOwnerName>BARBAROSSA GIOVANNI</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O AVANEX CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>40919 ENCYCLOPEDIA CIRCLE</rptOwnerStreet2>
            <rptOwnerCity>FREMONT</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94538</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Chief Technology Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2007-10-21</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>30000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>.001</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>143680</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                    <footnoteId id="F5"/>
                    <footnoteId id="F6"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2007-10-23</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>833</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>1.67</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>142847</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                    <footnoteId id="F5"/>
                    <footnoteId id="F6"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Employee Stock Option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>1.64</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2007-10-21</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>70000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F7"/>
            </exerciseDate>
            <expirationDate>
                <value>2017-10-21</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>70000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>70000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The sale reported in this Form 4 was effected pursuant to a Rule 10b5-1 trading plan adopted by the reporting person on June 7, 2006.</footnote>
        <footnote id="F2">Includes 21,667 unvested Restricted Stock Units granted on December 20, 2005 that are vesting according to the following schedule: approximately 834 of the Restricted Stock Units shall vest each month hereafter, such that 100% of the Restricted Stock Units will be fully vested on December 20, 2009, subject to the Reporting Person continuing to be a Service Provider through such date.</footnote>
        <footnote id="F3">Includes 28,261 unvested Restricted Stock Units granted on February 1, 2006 that are vesting according to the following schedule: approximately 28,261 of the Restricted Stock Units shall vest each quarter hereafter, such that 100% of the Restricted Units will be fully vested on December 31, 2007, subject to the Reporting Person continuing to be a Service Provider through such date.</footnote>
        <footnote id="F4">Includes 15,000 unvested Restricted Stock Units granted on October 9, 2006 that will vest according to the following schedule: 25% of the Restricted Stock Units awarded shall vest on October 9, 2007 and 1/48 of the Restricted Stock Units awarded shall vest each month thereafter, such that 100% of the Restricted Stock Units will be fully vested on October 9, 2010, subject to the Reporting Person continuing to be a Service Provider through such date.</footnote>
        <footnote id="F5">Includes 10,715 unvested Restricted Stock Units granted on March 21, 2007 that will vest according to the following schedule: 25% of the Restricted Stock Units awarded shall vest on February 15, 2008, and 1/48 of the Restricted Stock Units awarded shall vest each month thereafter, such that 100% of the Restricted Stock Units will be fully vested on February 15, 2011, subject to the Reporting Person continuing to be a Service Provider through such date.</footnote>
        <footnote id="F6">Includes 30,000 unvested Restricted Stock Units granted on October 21, 2007 that will vest according to the following schedule: 25% of the Restricted Stock Units awarded shall vest on each anniversary of October 21, 2007, such that 100% of the Restricted Stock Units will be fully vested on October 21, 2011, subject to the Reporting Person continuing to be a Service Provider through such date.</footnote>
        <footnote id="F7">The options will vest and become exercisable as to 25% of the underlying shares on October 21, 2008 and the remaining options will vest monthly thereafter, such that 100% of the options will be fully vested on October 21, 2011, subject to the Reporting Person continuing to be a Service Provider through such date.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Richard C. Blake, Attorney-in-Fact for Giovanni Barbarossa</signatureName>
        <signatureDate>2007-10-23</signatureDate>
    </ownerSignature>
</ownershipDocument>
