CHAR1\1707693v4 January 19, 2021 CarMax Auto Superstores, Inc. 12800 Tuckahoe Creek Parkway Richmond, Virginia 23238 Re: First Amendment to Credit Agreement, dated as of June 7, 2019 (as amended, restated, extended, supplemented or otherwise modified...

CHAR1\1707693v4 January 19, 2021 CarMax Auto Superstores, Inc. 00000 Xxxxxxxx Xxxxx Xxxxxxx Xxxxxxxx, Xxxxxxxx 00000 Re: First Amendment to Credit Agreement, dated as of June 7, 2019 (as amended, restated, extended, supplemented or otherwise modified in writing from time to time, the “Credit Agreement”) among CarMax Auto Superstores, Inc., a Virginia corporation, CarMax, Inc., a Virginia corporation, the Designated Borrowers from time to time party thereto, the Lenders from time to time party thereto, Bank of America, N.A., as Administrative Agent, Swing Line Lender, New Vehicle Swing Line Lender and L/C Issuer, and JPMorgan Chase Bank, N.A., as L/C Issuer. Ladies and Gentlemen: Reference is made to the Credit Agreement. Capitalized terms used herein and not otherwise defined herein shall have the meanings assigned thereto in the Credit Agreement. The parties hereto agree that: 1. New Definitions. Section 1.01 of the Credit Agreement is amended by adding the following new defined terms in appropriate alphabetical order: “ “Affected Financial Institution” means (a) any EEA Financial Institution or (b) any UK Financial Institution. ” “ “Immaterial Subsidiary” means any Subsidiary that neither (a) has total assets in excess of 5% of the consolidated total assets of the Company and its Subsidiaries (based upon and as of the date of the most recent consolidated financial statements of the Company and its Subsidiaries delivered pursuant to Section 6.01), nor (b) has total revenues in excess of 5% of the consolidated total revenues of the Company and its Subsidiaries for the most recent four-quarter period (based upon and ending on the date of the most recent consolidated financial statements of the Company and its Subsidiaries delivered pursuant to Section 6.01), with any Subsidiary which was previously an Immaterial Subsidiary ceasing to be an Immaterial Subsidiary on the date financial statements delivered pursuant to Section 6.01 demonstrate that such Subsidiary ceases to qualify as an Immaterial Subsidiary; provided, that, (i) the total assets held by all Subsidiaries treated as Immaterial Subsidiaries hereunder shall not exceed 15% of the consolidated total assets of the Company and its Subsidiaries (based upon and as of the date of the most recent consolidated financial statements of the Company and its Subsidiaries delivered pursuant to Section 6.01) and (ii) the total revenues generated by all Subsidiaries treated as Immaterial Subsidiaries hereunder shall not exceed 15% of the consolidated total revenues of the Company and its Subsidiaries for the most recent four-quarter period (based upon and ending on the date of the most recent consolidated financial statements of the Company and its Subsidiaries delivered pursuant to Section 6.01). ” “ “Resolution Authority” means an EEA Resolution Authority or, with respect to any UK Financial Institution, a UK Resolution Authority. ” CarMax Auto Superstores, Inc. January 19, 2021 Page 2 CHAR1\1707693v4 “ “UK Financial Institution” means any BRRD Undertaking (as such term is defined under the PRA Rulebook (as amended from time to time) promulgated by the United Kingdom Prudential Regulation Authority) or any person subject to IFPRU 11.6 of the FCA Handbook (as amended from time to time) promulgated by the United Kingdom Financial Conduct Authority, which includes certain credit institutions and investment firms, and certain affiliates of such credit institutions or investment firms. ” “ “UK Resolution Authority” means the Bank of England or any other public administrative authority having responsibility for the resolution of any UK Financial Institution. ” 2. Existing Definitions. Section 1.01 of the Credit Agreement is amended by amending and restating in their entirety the definitions of “Bail-In Action”, “Bail-In Legislation”, “Excluded Subsidiaries” and “Write-Down and Conversion Powers” contained therein to read as follows: “ “Bail-In Action” means the exercise of any Write-Down and Conversion Powers by the applicable Resolution Authority in respect of any liability of an Affected Financial Institution. ” “ “Bail-In Legislation” means, (a) with respect to any EEA Member Country implementing Article 55 of Directive 2014/59/EU of the European Parliament and of the Council of the European Union, the implementing law, rule, regulation or requirement for such EEA Member Country from time to time which is described in the EU Bail-In Legislation Schedule, and (b) with respect to the United Kingdom, Part I of the United Kingdom Banking Act 2009 (as amended from time to time) and any other law, regulation or rule applicable in the United Kingdom relating to the resolution of unsound or failing banks, investment firms or other financial institutions or their affiliates (other than through liquidation, administration or other insolvency proceedings). ” “ “Excluded Subsidiaries” means (a) Xxxx Xxxxx Insurance, Ltd., a Bermuda company and any other captive insurance subsidiary; (b) each Excluded Special Purpose Finance Subsidiary; (c) any Subsidiary of the Company that is (i) a Foreign Subsidiary or a Subsidiary of a Foreign Subsidiary, (ii) a FSHCO or (iii) a Subsidiary that is not wholly- owned by a Loan Party; (d) any Subsidiary of the Company (i) that is prohibited from guaranteeing the Obligations by applicable Law, (ii) that would require governmental (including regulatory) consent, approval, license or authorization to provide a guarantee, in each case unless such consent, approval, license or authorization has been received or (iii) that is prohibited from guaranteeing the Obligations by any agreement or other undertaking to which such Subsidiary is a party (with any Person other than another Subsidiary or an Affiliate of the Company) or by which its property or assets is bound existing on the Closing Date, or with respect to any Subsidiary acquired after the Closing Date, existing as of the date of acquisition (as long as such agreement or other undertaking was not incurred in contemplation of such acquisition and is disclosed to the Administrative Agent), in each case, as long as such prohibition is in effect; (e) each Immaterial Subsidiary; and (f) any not-for-profit subsidiary; provided that in no event shall any borrower or guarantor in respect of the Term Loan Facility be an Excluded Subsidiary.” “ “Write-Down and Conversion Powers” means, (a) with respect to any EEA Resolution Authority, the write-down and conversion powers of such EEA Resolution CarMax Auto Superstores, Inc. January 19, 2021 Page 3 CHAR1\1707693v4 Authority from time to time under the Bail-In Legislation for the applicable EEA Member Country, which write-down and conversion powers are described in the EU Bail-In Legislation Schedule, and (b) with respect to the United Kingdom, any powers of the applicable Resolution Authority under the Bail-In Legislation to cancel, reduce, modify or change the form of a liability of any UK Financial Institution or any contract or instrument under which that liability arises, to convert all or part of that liability into shares, securities or obligations of that person or any other person, to provide that any such contract or instrument is to have effect as if a right had been exercised under it or to suspend any obligation in respect of that liability or any of the powers under that Bail-In Legislation that are related to or ancillary to any of those powers. ” 3. Section 5.21. Section 5.21 of the Credit Agreement is amended and restated in its entirety to read as follows: “5.21 No Affected Financial Institutions. No Loan Party is an Affected Financial Institution.” 4. New Subsidiaries. Section 6.12 of the Credit Agreement is amended and restated in its entirety to read as follows: “6.12 New Subsidiaries. As soon as practicable but in any event within 30 days (or such longer period as the Administrative Agent may agree in its reasonable discretion) (a) following the acquisition or creation of any Subsidiary (other than an Excluded Subsidiary) by a Loan Party (including by way of division), or (b) following a Subsidiary which was previously an Immaterial Subsidiary ceasing to be an Immaterial Subsidiary as provided in the definition thereof, cause to be delivered to the Administrative Agent each of the following: (i) a Joinder Agreement duly executed by such Subsidiary (with all schedules thereto appropriately completed), which Joinder Agreement will, if such Subsidiary will engage in the business of selling or leasing new motor vehicles, designate such Subsidiary as a Designated Borrower; (ii) if reasonably requested by the Administrative Agent, an opinion or opinions of counsel to such Subsidiary dated as of the date of delivery of such Joinder Agreements (and other Loan Documents) provided for in this Section 6.12 and addressed to the Administrative Agent, in form and substance reasonably acceptable to the Administrative Agent; and (iii) current copies of the Organization Documents of such Subsidiary, minutes of duly called and conducted meetings (or duly effected consent actions) of the Board of Directors, partners, or appropriate committees (and, if required by such Organization Documents or applicable law, of the shareholders, members or partners) of such Subsidiary authorizing the actions and the execution and delivery of documents described in this Section 6.12, all certified by the applicable Governmental Authority (in the case of certificates of incorporation, certificates of formation or equivalent organizational documents) or appropriate officer as the Administrative Agent may reasonably request.” CarMax Auto Superstores, Inc. January 19, 2021 Page 4 CHAR1\1707693v4 5. Section 10.19. Section 10.19 of the Credit Agreement is amended and restated in its entirety to read as follows: “10.19 Acknowledgement and Consent to Bail-In of Affected Financial Institutions. Solely to the extent any Lender or L/C Issuer that is an Affected Financial Institution is a party to this Agreement and notwithstanding anything to the contrary in any Loan Document or in any other agreement, arrangement or understanding among any such parties, each party hereto acknowledges that any liability of any Lender or L/C Issuer that is an Affected Financial Institution arising under any Loan Document, to the extent such liability is unsecured, may be subject to the Write-Down and Conversion Powers of the applicable Resolution Authority and agrees and consents to, and acknowledges and agrees to be bound by: (a) the application of any Write-Down and Conversion Powers by the applicable Resolution Authority to any such liabilities arising hereunder which may be payable to it by any Lender or L/C Issuer that is an Affected Financial Institution; and (b) the effects of any Bail-In Action on any such liability, including, if applicable: (i) a reduction in full or in part or cancellation of any such liability; (ii) a conversion of all, or a portion of, such liability into shares or other instruments of ownership in such Affected Financial Institution, its parent entity, or a bridge institution that may be issued to it or otherwise conferred on it, and that such shares or other instruments of ownership will be accepted by it in lieu of any rights with respect to any such liability under this Agreement or any other Loan Document; or (iii) the variation of the terms of such liability in connection with the exercise of the Write-Down and Conversion Powers of the applicable Resolution Authority.” 6. Restricted Deposit Accounts. Schedule 10.08 to the Credit Agreement is replaced and superseded by the new Schedule 10.08 attached hereto. 7. Release. The Company has requested that the Administrative Agent and the Lenders release CarMax of Laurel, LLC from its Obligations under the Credit Agreement and the other Loan Documents. The Administrative Agent and the Lenders hereby agree that, effective as of the date hereof, CarMax of Laurel, LLC shall automatically (i) be released from all of its liabilities and obligations under the Credit Agreement and the other Loan Documents (including, without limitation, its liabilities and obligations as a Borrower and a Subsidiary Guarantor) and (ii) cease to be a Loan Party under the Credit Agreement and the other Loan Documents. 8. New Subsidiary. (a) The Company represents and warrants to the Administrative Agent and the Lenders that the Company has formed Everest Endeavors, Inc. (the “New Subsidiary”) as a new wholly-owned subsidiary of the Revolving Borrower and that the New Subsidiary has at all times since its formation met the definition of an “Immaterial Subsidiary” as defined in the Credit Agreement as amended hereby. The New Subsidiary has not previously been joined to the Subsidiary Guaranty Agreement as a Subsidiary Guarantor under Section 6.12 of the Credit Agreement pursuant to the agreement of the

[Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 SUBSIDIARY GUARANTORS CARMAX OF LAUREL, LLC, a Virginia limited liability company By: /s/ Xxxxxxx Mayor-Xxxx Name: Xxxxxxx Mayor-Xxxx Title: Senior Vice President and Chief Financial Officer CARMAX AUTO MALL, LLC, a Virginia limited liability company By: /s/ Xxxxxxx Mayor-Xxxx Name: Xxxxxxx Mayor-Xxxx Title: Senior Vice President and Chief Financial Officer CARMAX AUTO SUPERSTORES CALIFORNIA, LLC, a Virginia limited liability company By: /s/ Xxxxxxx Mayor-Xxxx Name: Xxxxxxx Mayor-Xxxx Title: Senior Vice President and Chief Financial Officer CARMAX BUSINESS SERVICES, LLC, a Delaware limited liability company By: /s/ Xxxxxxx Mayor-Xxxx Name: Xxxxxxx Mayor-Xxxx Title: Senior Vice President and Chief Financial Officer CARMAX AUTO SUPERSTORES WEST COAST, INC., a Virginia corporation By: /s/ Xxxxxxx Mayor-Xxxx Name: Xxxxxxx Mayor-Xxxx Title: Senior Vice President and Chief Financial Officer [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 CARMAX PROPERTIES, LLC, a Virginia limited liability company By: /s/ Xxxxxxx Mayor-Xxxx Name: Xxxxxxx Mayor-Xxxx Title: President CARMAX AUTO SUPERSTORES SERVICES, INC., a Virginia corporation By: /s/ Xxxxxxx Mayor-Xxxx Name: Xxxxxxx Mayor-Xxxx Title: Senior Vice President and Chief Financial Officer [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 BANK OF AMERICA, N.A., as Administrative Agent By: /s/ Xxxxx Lov Name: Xxxxx Lov Title: Assistant Vice President [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 BANK OF AMERICA, N.A., as a Lender, L/C Issuer, Swing Ling Lender and New Vehicle Swing Line Lender By: /s/ A. Xxxxxx Xxxxxx Name: A. Xxxxxx Xxxxxx Title: Senior Vice President

[Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 JPMORGAN CHASE BANK, N.A., as a Lender and L/C Issuer By: /s/ Xxxx Xxxxxx Name: Xxxx Xxxxxx Title: Vice President [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 XXXXX FARGO BANK, NATIONAL ASSOCIATION, as a Lender By: /s/ Xxxxxxx X. Xxxxxxx, Xx. Name: Xxxxxxx X. Xxxxxxx, Xx. Title: Senior Vice President [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 TOYOTA MOTOR CREDIT CORPORATION, as a Lender By: /s/ Xxxxx Xxxxxx Name: Xxxxx Xxxxxx Title: National Accounts Manager [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 U.S. BANK NATIONAL ASSOCIATION, as a Lender By: /s/ Xxxxxx Xxxxxxxx Name: Xxxxxx Xxxxxxxx Title: Vice President

[Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 BARCLAYS BANK PLC, as a Lender By: /s/ Xxxx Xxx Name: Xxxx Xxx Title: Assistant Vice President [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 ROYAL BANK OF CANADA, as a Lender By: /s/ Xxxxxxxx Xxxxxx Name: Xxxxxxxx Xxxxxx Title: Authorized Signatory [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 MUFG BANK, LTD., as a Lender By: /s/ Xxxx Xxxxxxxxxxx Name: Xxxx Xxxxxxxxxxx Title: Director [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 CAPITAL ONE, NATIONAL ASSOCIATION, as a Lender By: /s/ Xxxxxxx Xxxx Name: Xxxxxxx Xxxx Title: Duly Authorized Signatory

[Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 THE BANK OF NOVA SCOTIA, as a Lender By: /s/ Xxxxxxxx Xxxxxxxx Name: Xxxxxxxx Xxxxxxxx Title: Managing Director [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 SUMITOMO MITSUI BANKING CORPORATION, as a Lender By: /s/ Xxxxxxx Xxxxxxx Name: Xxxxxxx Xxxxxxx Title: Managing Director [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 TRUIST BANK (FORMERLY BRANCH BANKING & TRUST COMPANY), as a Lender By: /s/ Xxxxx Xxxxxx Name: Xxxxx Xxxxxx Title: Director [Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 BNP PARIBAS, as a Lender By: /s/ Xxxx Xxxxxxx Name: Xxxx Xxxxxxx Title: Managing Director By: /s/ Xxxxxx Xxxxxx Name: Xxxxxx Xxxxxx Title: Vice President

[Signature page to First Amendment to CarMax Credit Agreement] CHAR1\1707693v4 PNC BANK, NATIONAL ASSOCIATION, as a Lender By: /s/ Xxxxx Xxxxxx Name: Xxxxx Xxxxxx Title: Senior Vice President