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

    <schemaVersion>X0203</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2010-01-25</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001170010</issuerCik>
        <issuerName>CARMAX INC</issuerName>
        <issuerTradingSymbol>KMX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001483194</rptOwnerCik>
            <rptOwnerName>Wood William C Jr.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>12800 TUCKAHOE CREEK PARKWAY</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>RICHMOND</rptOwnerCity>
            <rptOwnerState>VA</rptOwnerState>
            <rptOwnerZipCode>23238</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>SVP, Sales</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>17659</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Options (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>7.143</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2004-04-02</value>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-04-02</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>50000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>SARS</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>7.143</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2004-04-02</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-04-02</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>50000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Options (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>14.803</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2005-04-01</value>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <value>2014-04-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>40000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>SARS</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>14.803</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2005-04-01</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2014-04-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>40000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Options (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>13.19</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2006-06-24</value>
                <footnoteId id="F4"/>
            </exerciseDate>
            <expirationDate>
                <value>2015-06-24</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>40000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>SARS</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>13.19</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2006-06-24</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2015-06-24</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>40000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Options (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>17.195</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2007-05-01</value>
                <footnoteId id="F5"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-05-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>40000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>SARS</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>17.195</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2007-05-01</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-05-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>40000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Options (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>24.99</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2008-04-03</value>
                <footnoteId id="F6"/>
            </exerciseDate>
            <expirationDate>
                <value>2014-04-03</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>30800</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>SARS</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>24.99</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2008-04-03</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2014-04-03</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>30800</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Options (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>19.82</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2009-04-07</value>
                <footnoteId id="F7"/>
            </exerciseDate>
            <expirationDate>
                <value>2015-04-07</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>48000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>SARS</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>19.82</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2009-04-07</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2015-04-07</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>48000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Stock Options (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>11.43</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2010-04-07</value>
                <footnoteId id="F8"/>
            </exerciseDate>
            <expirationDate>
                <value>2016-04-07</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>49656</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>SARS</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>11.43</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2010-04-07</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2016-04-07</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>49656</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>0.00</value>
                <footnoteId id="F10"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F9"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F9"/>
                <footnoteId id="F10"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>4451</value>
                    <footnoteId id="F10"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The stock option vested in four equal installments on each of April 2, 2004, April 2, 2005, April 2, 2006 and April 2, 2007 and is now fully exercisable.</footnote>
        <footnote id="F2">The stock options and the stock appreciation rights (SARS) were granted in tandem. Accordingly, the exercise of one results in the surrender to the Issuer of the other. The SARS, which will entitle the Reporting Person to receive the cash value of the options in lieu of exercising the options, become exercisable only following a change in control of the Issuer as set forth in the Issuer's 2002 Stock Incentive Plan, as amended and restated.</footnote>
        <footnote id="F3">The stock option vested in four equal installments on each of April 1, 2005, April 1, 2006, April 1, 2007 and April 1, 2008 and is now fully exercisable.</footnote>
        <footnote id="F4">The stock option vested in four equal installments on each of June 24, 2006, June 24, 2007, June 24, 2008 and June 24, 2009 and is now fully exercisable.</footnote>
        <footnote id="F5">The stock options are exercisable with respect to one-fourth of the underlying shares of Common Stock on each of May 1, 2007, May 1, 2008, May 1, 2009 and May 1, 2010.</footnote>
        <footnote id="F6">The stock options are exercisable with respect to one-fourth of the underlying shares of Common Stock on each of April 3, 2008, April 3, 2009, April 3, 2010 and April 3, 2011.</footnote>
        <footnote id="F7">The stock options are exercisable with respect to one-fourth of the underlying shares of Common Stock on each of April 7, 2009, April 7, 2010, April 7, 2011 and April 7, 2012.</footnote>
        <footnote id="F8">The stock options are exercisable with respect to one-fourth of the underlying shares of Common Stock on each of April 7, 2010, April 7, 2011, April 7, 2012 and April 7, 2013.</footnote>
        <footnote id="F9">The restricted stock units shall vest on April 7, 2012.</footnote>
        <footnote id="F10">Shares of Company common stock will be issued to the Reporting Person upon vesting of the restricted stock units, which are referred to by the Company as market stock units (the ?MSUs?), in accordance with the terms of the Form of Notice of Market Stock Unit Grant filed as Exhibit 10.2 to the Company's Current Report on Form 8-K filed on April 2, 2009. The minimum number of shares of Company common stock that will be issued to the Reporting Person at vesting is zero, and the maximum number of shares of Company common stock that will be issued at vesting is two times the number of MSUs.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Tammy Jackson</signatureName>
        <signatureDate>2010-02-04</signatureDate>
    </ownerSignature>
</ownershipDocument>
