EX-23.1 2 dex231.htm CONSENT OF ERNST & YOUNG LLP Consent of Ernst & Young LLP

Exhibit 23.1

O’Reilly Automotive, Inc.

Profit Sharing and Savings Plan

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the Registration Statements (Forms S-8 No. 333-136958 and No. 333-59568) pertaining to the O’Reilly Automotive, Inc. Profit Sharing and Savings Plan of our report dated June 18, 2009, with respect to the financial statements and schedule of the O’Reilly Automotive, Inc. Profit Sharing and Savings Plan included in this Annual Report (Form 11-K) for the year ended December 31, 2008.

/s/ Ernst & Young LLP

Kansas City, Missouri

June 18, 2009