EX-23.1 4 dex231.htm CONSENT OF KPMG LLP Consent of KPMG LLP

Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

The Board of Directors

CarMax, Inc.:

We consent to the incorporation by reference in the registration statements (No. 333-127486 and No. 333-100311) on Form S-8 of CarMax, Inc. (the Company) of our report dated May 12, 2006, with respect to the consolidated balance sheets of the Company as of February 28, 2006 and 2005, and the related consolidated statements of earnings, shareholders’ equity and cash flows for each of the fiscal years in the three-year period ended February 28, 2006, the related financial statement schedule, management’s assessment of the effectiveness of internal control over financial reporting as of February 28, 2006 and the effectiveness of internal control over financial reporting as of February 28, 2006, which reports are included or incorporated by reference from the annual report to shareholders in the February 28, 2006, annual report on Form 10-K of the Company.

/s/ KPMG LLP

Richmond, Virginia

May 12, 2006