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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2006-06-05</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001109808</issuerCik>
        <issuerName>AVOCENT CORP</issuerName>
        <issuerTradingSymbol>AVCT</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001204358</rptOwnerCik>
            <rptOwnerName>COOPER JOHN REX</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>4991 CORPORATE DRIVE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>HUNTSVILLE</rptOwnerCity>
            <rptOwnerState>AL</rptOwnerState>
            <rptOwnerZipCode>35805</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Chairman, CEO</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2006-06-05</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>22.99</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>80803</value>
                    <footnoteId id="F5"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>IRA</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Options (rights to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>52.4375</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2000-09-18</value>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <value>2010-09-18</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>40000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>40000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Options (rights to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>21.56</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2002-02-22</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2012-02-22</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>130000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>130000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Options (rights to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>27.25</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2003-03-07</value>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-03-07</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>112500</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>112500</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Options (rights to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>40.98</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2004-02-05</value>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <value>2014-02-05</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>75000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>75000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Options (rights to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>26.14</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2005-06-30</value>
                <footnoteId id="F4"/>
            </exerciseDate>
            <expirationDate>
                <value>2015-06-30</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>28000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>28000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Grant date, exercisable in 24 equal monthly installments beginning one month from date of grant.</footnote>
        <footnote id="F2">Grant date is 2/22/02, vesting begins on 3/4/02, 15% vests every six months for the first 12 months, 6.25% vests quarterly for the following 24 months and 5% vests quarterly for the remaining 12 months.</footnote>
        <footnote id="F3">Grant date, 25% vests after 6 months and in 10 equal quarterly installments thereafter.  Vesting of unvested options accelerated and became 100% vested on December 25, 2005.</footnote>
        <footnote id="F4">Grant date, 100% vests on December 31, 2005.</footnote>
        <footnote id="F5">Includes 43,872 time-based restricted shares: 18065 shares vest equally over two years, 50% on January 1, 2007 and 50% on January 1, 2008; 25807 shares vest equally over three years, 1/3 on January 1, 2007, 1/3 on January 1, 2008 and 1/3 on January 1, 2009.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>John R. Cooper</signatureName>
        <signatureDate>2006-06-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
