SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

O’Reilly Automotive, Inc. – ‘10-K’ for 12/31/23 – ‘XML’

On:  Wednesday, 2/28/24, at 4:30pm ET   ·   For:  12/31/23   ·   Accession #:  898173-24-9   ·   File #:  0-21318

Previous ‘10-K’:  ‘10-K’ on 2/28/23 for 12/31/22   ·   Latest ‘10-K’:  This Filing   ·   29 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size

 2/28/24  O’Reilly Automotive, Inc.         10-K       12/31/23  116:12M

Annual Report   —   Form 10-K   —   SEA’34

Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-K        Annual Report                                       HTML   2.92M 
 2: EX-21.1     Subsidiaries List                                   HTML     33K 
 3: EX-23.1     Consent of Expert or Counsel                        HTML     32K 
 8: EX-97.1     Clawback Policy re: Recovery of Erroneously         HTML    192K 
                Awarded Compensation                                             
 9: EX-97.2     Clawback Policy re: Recovery of Erroneously         HTML     36K 
                Awarded Compensation                                             
 4: EX-31.1     Certification -- §302 - SOA'02                      HTML     39K 
 5: EX-31.2     Certification -- §302 - SOA'02                      HTML     39K 
 6: EX-32.1     Certification -- §906 - SOA'02                      HTML     34K 
 7: EX-32.2     Certification -- §906 - SOA'02                      HTML     34K 
15: R1          Document and Entity Information                     HTML    100K 
16: R2          Consolidated Balance Sheets                         HTML    136K 
17: R3          Consolidated Balance Sheets (Parenthetical)         HTML     54K 
18: R4          Consolidated Statements of Income                   HTML    104K 
19: R5          Consolidated Statements of Comprehensive Income     HTML     54K 
20: R6          Consolidated Statements of Shareholders' Equity     HTML     87K 
                (Deficit)                                                        
21: R7          Consolidated Statements of Cash Flows               HTML    131K 
22: R8          Summary of Significant Accounting Policies          HTML     98K 
23: R9          Fair Value Measurements                             HTML     82K 
24: R10         Allowance for Doubtful Accounts                     HTML     45K 
25: R11         Property and Equipment                              HTML     61K 
26: R12         Leases                                              HTML     96K 
27: R13         Goodwill and Other Intangibles                      HTML    118K 
28: R14         Supplier Finance Programs                           HTML     34K 
29: R15         Financing                                           HTML     83K 
30: R16         Warranties                                          HTML     47K 
31: R17         Share Repurchase Program                            HTML     46K 
32: R18         Accumulated Other Comprehensive Income (Loss)       HTML     50K 
33: R19         Revenue                                             HTML     53K 
34: R20         Share-Based Compensation and Benefit Plans          HTML    171K 
35: R21         Commitments                                         HTML     37K 
36: R22         Related Parties                                     HTML     37K 
37: R23         Income Taxes                                        HTML    160K 
38: R24         Earnings Per Share                                  HTML     75K 
39: R25         Quarterly Results (Unaudited)                       HTML     90K 
40: R26         Subsequent Event                                    HTML     34K 
41: R27         Summary of Significant Accounting Policies          HTML    171K 
                (Policies)                                                       
42: R28         Summary of Significant Accounting Policies          HTML     40K 
                (Tables)                                                         
43: R29         Fair Value Measurements (Tables)                    HTML     77K 
44: R30         Allowance for Doubtful Accounts (Tables)            HTML     45K 
45: R31         Property and Equipment (Tables)                     HTML     58K 
46: R32         Leases (Tables)                                     HTML     97K 
47: R33         Goodwill and Other Intangibles (Tables)             HTML    121K 
48: R34         Financing (Tables)                                  HTML     73K 
49: R35         Warranties (Tables)                                 HTML     45K 
50: R36         Share Repurchase Program (Tables)                   HTML     43K 
51: R37         Accumulated Other Comprehensive Income (Loss)       HTML     48K 
                (Tables)                                                         
52: R38         Revenue (Tables)                                    HTML     48K 
53: R39         Share-Based Compensation and Benefit Plans          HTML    179K 
                (Tables)                                                         
54: R40         Income Taxes (Tables)                               HTML    160K 
55: R41         Earnings Per Share (Tables)                         HTML     74K 
56: R42         Quarterly Results (Unaudited) (Tables)              HTML     88K 
57: R43         Summary of Significant Accounting Policies          HTML     85K 
                (Narrative) (Details)                                            
58: R44         Summary of Significant Accounting Policies          HTML     34K 
                (Components of Self-Insurance Reserves) (Details)                
59: R45         Fair Value Measurements (Narrative) (Details)       HTML     35K 
60: R46         Fair Value Measurements (Fair Value of Marketable   HTML     35K 
                Securities) (Details)                                            
61: R47         Fair Value Measurements (Fair Value of Senior       HTML     37K 
                Notes) (Details)                                                 
62: R48         Allowance for Doubtful Accounts (Changes in         HTML     41K 
                Allowance for Doubtful Accounts) (Details)                       
63: R49         Property and Equipment (Narrative) (Details)        HTML     41K 
64: R50         Property and Equipment (Property and Equipment,     HTML     65K 
                Including Original Useful Lives) (Details)                       
65: R51         Leases (Narrative) (Details)                        HTML     40K 
66: R52         Leases (Summary of Total Lease Cost) (Details)      HTML     42K 
67: R53         Leases (Supplemental Cash Flow Information)         HTML     35K 
                (Details)                                                        
68: R54         Leases (Future Minimum Lease Payments) (Details)    HTML     65K 
69: R55         Goodwill and Other Intangibles (Narrative)          HTML     44K 
                (Details)                                                        
70: R56         Goodwill and Other Intangibles (Changes in Net      HTML     37K 
                Goodwill) (Details)                                              
71: R57         Goodwill and Other Intangibles (Intangibles Other   HTML     61K 
                Than Goodwill) (Details)                                         
72: R58         Goodwill and Other Intangibles (Estimated           HTML     46K 
                Amortization of Intangibles) (Details)                           
73: R59         Supplier Finance Programs (Details)                 HTML     45K 
74: R60         Financing (Unsecured Revolving Credit Facility)     HTML     86K 
                (Narrative) (Details)                                            
75: R61         Financing (Commercial Paper Program) (Narrative)    HTML     38K 
                (Details)                                                        
76: R62         Financing (Senior Notes) (Narrative) (Details)      HTML     69K 
77: R63         Financing (Outstanding Financing Facilities)        HTML     88K 
                (Details)                                                        
78: R64         Financing (Principal Maturities of Financing        HTML     50K 
                Facilities) (Details)                                            
79: R65         Warranties (Product Warranty Liabilities)           HTML     40K 
                (Details)                                                        
80: R66         Share Repurchase Program (Narrative) (Details)      HTML     54K 
81: R67         Share Repurchase Program (Schedule of Shares        HTML     38K 
                Repurchased) (Details)                                           
82: R68         Accumulated Other Comprehensive Income (Loss)       HTML     44K 
                (Details)                                                        
83: R69         Revenue (Narrative) (Details)                       HTML     45K 
84: R70         Revenue (Disaggregation of Revenue) (Details)       HTML     48K 
85: R71         Share-Based Compensation and Benefit Plans (Stock   HTML     53K 
                Option) (Narrative) (Details)                                    
86: R72         Share-Based Compensation and Benefit Plans          HTML     44K 
                (Restricted Stock) (Narrative) (Details)                         
87: R73         Share-Based Compensation and Benefit Plans          HTML     36K 
                (Employee Stock Purchase Plan) (Narrative)                       
                (Details)                                                        
88: R74         Share-Based Compensation and Benefit Plans (Profit  HTML     43K 
                Sharing and Savings Plan) (Narrative) (Detail)                   
89: R75         Share-Based Compensation and Benefit Plans          HTML     42K 
                (Nonqualified Deferred Compensation Plan)                        
                (Narrative) (Details)                                            
90: R76         Share-Based Compensation and Benefit Plans (Stock   HTML     61K 
                Appreciation Rights) (Narrative) (Details)                       
91: R77         Share-Based Compensation and Benefit Plans          HTML     51K 
                (Summary of Shares Authorized and Available for                  
                Future Issuance Under Benefit and Compensation                   
                Plans) (Details)                                                 
92: R78         Share-Based Compensation and Benefit Plans          HTML     88K 
                (Summary of Stock Options) (Details)                             
93: R79         Share-Based Compensation and Benefit Plans          HTML     50K 
                (Black-Scholes Option Pricing Model) (Details)                   
94: R80         Share-Based Compensation and Benefit Plans (Stock   HTML     56K 
                Option Activity) (Details)                                       
95: R81         Share-Based Compensation and Benefit Plans          HTML     66K 
                (Summary of Restricted Stock) (Details)                          
96: R82         Share-Based Compensation and Benefit Plans          HTML     54K 
                (Restricted Stock Activity) (Details)                            
97: R83         Share-Based Compensation and Benefit Plans          HTML     41K 
                (Employee Stock Purchase Plan Activity) (Details)                
98: R84         Commitments (Commitments) (Narrative) (Details)     HTML     44K 
99: R85         Related Parties (Narrative) (Details)               HTML     45K 
100: R86         Income Taxes (Provision for Income Taxes)           HTML     35K  
                (Narrative) (Details)                                            
101: R87         Income Taxes (Unrecognized Tax Benefits)            HTML     41K  
                (Narrative) (Details)                                            
102: R88         Income Taxes (Components of Income from Continuing  HTML     40K  
                Operations) (Details)                                            
103: R89         Income Taxes (Schedule of Components of the         HTML     57K  
                Provision for Income Taxes) (Details)                            
104: R90         Income Taxes (Reconciliation of the Provision for   HTML     47K  
                Income Taxes to the Amounts Computed at the                      
                Federal Statutory Rate) (Details)                                
105: R91         Income Taxes (Schedule of Components of Deferred    HTML     57K  
                Tax Assets and Liabilities) (Details)                            
106: R92         Income Taxes (Summary of Changes in Gross Amount    HTML     40K  
                of Unrecognized Tax Benefits) (Details)                          
107: R93         Earnings Per Share (Computation of Basic and        HTML     74K  
                Diluted Earnings Per Share) (Details)                            
108: R94         Quarterly Results (Unaudited) (Unaudited Operating  HTML     74K  
                Data) (Details)                                                  
109: R95         Subsequent Event (Details)                          HTML     44K  
110: R96         Pay vs Performance Disclosure                       HTML     44K  
111: R97         Insider Trading Arrangements                        HTML     47K  
113: XML         IDEA XML File -- Filing Summary                      XML    220K  
116: XML         XBRL Instance -- orly-20231231x10k_htm               XML   2.81M  
112: EXCEL       IDEA Workbook of Financial Report Info              XLSX    200K  
11: EX-101.CAL  XBRL Calculations -- orly-20231231_cal               XML    223K 
12: EX-101.DEF  XBRL Definitions -- orly-20231231_def                XML    748K 
13: EX-101.LAB  XBRL Labels -- orly-20231231_lab                     XML   1.61M 
14: EX-101.PRE  XBRL Presentations -- orly-20231231_pre              XML   1.22M 
10: EX-101.SCH  XBRL Schema -- orly-20231231                         XSD    214K 
114: JSON        XBRL Instance as JSON Data -- MetaLinks              620±   954K  
115: ZIP         XBRL Zipped Folder -- 0000898173-24-000009-xbrl      Zip    584K  


‘XML’   —   IDEA XML File — Filing Summary


This Document is an IDEA XML File.


                                                                                                                                                                                
<?xml version="1.0" encoding="windows-1252"?>
<FilingSummary>
<Version> 3.24.0.1 </Version>
<ProcessingTime/>
<ReportFormat> html </ReportFormat>
<ContextCount> 226 </ContextCount>
<ElementCount> 443 </ElementCount>
<EntityCount> 1 </EntityCount>
<FootnotesReported> false </FootnotesReported>
<SegmentCount> 72 </SegmentCount>
<ScenarioCount> 0 </ScenarioCount>
<TuplesReported> false </TuplesReported>
<UnitCount> 11 </UnitCount>
<MyReports>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R1.htm </HtmlFileName>
<LongName> 00090 - Document - Document and Entity Information </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DocumentDocumentAndEntityInformation </Role>
<ShortName> Document and Entity Information </ShortName>
<MenuCategory> Cover </MenuCategory>
<Position> 1 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R2.htm </HtmlFileName>
<LongName> 00100 - Statement - CONSOLIDATED BALANCE SHEETS </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/StatementConsolidatedBalanceSheets </Role>
<ShortName> CONSOLIDATED BALANCE SHEETS </ShortName>
<MenuCategory> Statements </MenuCategory>
<Position> 2 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R3.htm </HtmlFileName>
<LongName> 00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/StatementConsolidatedBalanceSheetsParenthetical </Role>
<ShortName> CONSOLIDATED BALANCE SHEETS (Parenthetical) </ShortName>
<MenuCategory> Statements </MenuCategory>
<Position> 3 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R4.htm </HtmlFileName>
<LongName> 00200 - Statement - CONSOLIDATED STATEMENTS OF INCOME </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/StatementConsolidatedStatementsOfIncome </Role>
<ShortName> CONSOLIDATED STATEMENTS OF INCOME </ShortName>
<MenuCategory> Statements </MenuCategory>
<Position> 4 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R5.htm </HtmlFileName>
<LongName> 00300 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/StatementConsolidatedStatementsOfComprehensiveIncome </Role>
<ShortName> CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME </ShortName>
<MenuCategory> Statements </MenuCategory>
<Position> 5 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R6.htm </HtmlFileName>
<LongName> 00400 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (DEFICIT) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/StatementConsolidatedStatementsOfShareholdersEquityDeficit </Role>
<ShortName> CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (DEFICIT) </ShortName>
<MenuCategory> Statements </MenuCategory>
<Position> 6 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R7.htm </HtmlFileName>
<LongName> 00500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/StatementConsolidatedStatementsOfCashFlows </Role>
<ShortName> CONSOLIDATED STATEMENTS OF CASH FLOWS </ShortName>
<MenuCategory> Statements </MenuCategory>
<Position> 7 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R8.htm </HtmlFileName>
<LongName> 10101 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPolicies </Role>
<ShortName> SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 8 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R9.htm </HtmlFileName>
<LongName> 10201 - Disclosure - FAIR VALUE MEASUREMENTS </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFairValueMeasurements </Role>
<ShortName> FAIR VALUE MEASUREMENTS </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 9 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R10.htm </HtmlFileName>
<LongName> 10301 - Disclosure - ALLOWANCE FOR DOUBTFUL ACCOUNTS </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureAllowanceForDoubtfulAccounts </Role>
<ShortName> ALLOWANCE FOR DOUBTFUL ACCOUNTS </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 10 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R11.htm </HtmlFileName>
<LongName> 10401 - Disclosure - PROPERTY AND EQUIPMENT </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosurePropertyAndEquipment </Role>
<ShortName> PROPERTY AND EQUIPMENT </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 11 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R12.htm </HtmlFileName>
<LongName> 10501 - Disclosure - LEASES </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureLeases </Role>
<ShortName> LEASES </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 12 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R13.htm </HtmlFileName>
<LongName> 10601 - Disclosure - GOODWILL AND OTHER INTANGIBLES </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangibles </Role>
<ShortName> GOODWILL AND OTHER INTANGIBLES </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 13 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R14.htm </HtmlFileName>
<LongName> 10701 - Disclosure - SUPPLIER FINANCE PROGRAMS </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSupplierFinancePrograms </Role>
<ShortName> SUPPLIER FINANCE PROGRAMS </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 14 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R15.htm </HtmlFileName>
<LongName> 10801 - Disclosure - FINANCING </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFinancing </Role>
<ShortName> FINANCING </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 15 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R16.htm </HtmlFileName>
<LongName> 10901 - Disclosure - WARRANTIES </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureWarranties </Role>
<ShortName> WARRANTIES </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 16 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R17.htm </HtmlFileName>
<LongName> 11001 - Disclosure - SHARE REPURCHASE PROGRAM </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareRepurchaseProgram </Role>
<ShortName> SHARE REPURCHASE PROGRAM </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 17 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R18.htm </HtmlFileName>
<LongName> 11101 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss </Role>
<ShortName> ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 18 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R19.htm </HtmlFileName>
<LongName> 11201 - Disclosure - REVENUE </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureRevenue </Role>
<ShortName> REVENUE </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 19 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R20.htm </HtmlFileName>
<LongName> 11301 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlans </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 20 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R21.htm </HtmlFileName>
<LongName> 11401 - Disclosure - COMMITMENTS </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureCommitments </Role>
<ShortName> COMMITMENTS </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 21 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R22.htm </HtmlFileName>
<LongName> 11501 - Disclosure - RELATED PARTIES </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureRelatedParties </Role>
<ShortName> RELATED PARTIES </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 22 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R23.htm </HtmlFileName>
<LongName> 11601 - Disclosure - INCOME TAXES </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxes </Role>
<ShortName> INCOME TAXES </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 23 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R24.htm </HtmlFileName>
<LongName> 11701 - Disclosure - EARNINGS PER SHARE </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureEarningsPerShare </Role>
<ShortName> EARNINGS PER SHARE </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 24 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R25.htm </HtmlFileName>
<LongName> 11801 - Disclosure - QUARTERLY RESULTS (Unaudited) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureQuarterlyResultsUnaudited </Role>
<ShortName> QUARTERLY RESULTS (Unaudited) </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 25 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R26.htm </HtmlFileName>
<LongName> 11901 - Disclosure - SUBSEQUENT EVENT </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSubsequentEvent </Role>
<ShortName> SUBSEQUENT EVENT </ShortName>
<MenuCategory> Notes </MenuCategory>
<Position> 26 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R27.htm </HtmlFileName>
<LongName> 20102 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies </Role>
<ShortName> SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies) </ShortName>
<MenuCategory> Policies </MenuCategory>
<Position> 27 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R28.htm </HtmlFileName>
<LongName> 30103 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables </Role>
<ShortName> SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPolicies </ParentRole>
<Position> 28 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R29.htm </HtmlFileName>
<LongName> 30203 - Disclosure - FAIR VALUE MEASUREMENTS (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFairValueMeasurementsTables </Role>
<ShortName> FAIR VALUE MEASUREMENTS (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFairValueMeasurements </ParentRole>
<Position> 29 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R30.htm </HtmlFileName>
<LongName> 30303 - Disclosure - ALLOWANCE FOR DOUBTFUL ACCOUNTS (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureAllowanceForDoubtfulAccountsTables </Role>
<ShortName> ALLOWANCE FOR DOUBTFUL ACCOUNTS (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureAllowanceForDoubtfulAccounts </ParentRole>
<Position> 30 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R31.htm </HtmlFileName>
<LongName> 30403 - Disclosure - PROPERTY AND EQUIPMENT (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosurePropertyAndEquipmentTables </Role>
<ShortName> PROPERTY AND EQUIPMENT (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosurePropertyAndEquipment </ParentRole>
<Position> 31 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R32.htm </HtmlFileName>
<LongName> 30503 - Disclosure - LEASES (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureLeasesTables </Role>
<ShortName> LEASES (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureLeases </ParentRole>
<Position> 32 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R33.htm </HtmlFileName>
<LongName> 30603 - Disclosure - GOODWILL AND OTHER INTANGIBLES (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesTables </Role>
<ShortName> GOODWILL AND OTHER INTANGIBLES (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangibles </ParentRole>
<Position> 33 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R34.htm </HtmlFileName>
<LongName> 30803 - Disclosure - FINANCING (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFinancingTables </Role>
<ShortName> FINANCING (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFinancing </ParentRole>
<Position> 34 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R35.htm </HtmlFileName>
<LongName> 30903 - Disclosure - WARRANTIES (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureWarrantiesTables </Role>
<ShortName> WARRANTIES (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureWarranties </ParentRole>
<Position> 35 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R36.htm </HtmlFileName>
<LongName> 31003 - Disclosure - SHARE REPURCHASE PROGRAM (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareRepurchaseProgramTables </Role>
<ShortName> SHARE REPURCHASE PROGRAM (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareRepurchaseProgram </ParentRole>
<Position> 36 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R37.htm </HtmlFileName>
<LongName> 31103 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables </Role>
<ShortName> ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss </ParentRole>
<Position> 37 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R38.htm </HtmlFileName>
<LongName> 31203 - Disclosure - REVENUE (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureRevenueTables </Role>
<ShortName> REVENUE (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureRevenue </ParentRole>
<Position> 38 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R39.htm </HtmlFileName>
<LongName> 31303 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlans </ParentRole>
<Position> 39 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R40.htm </HtmlFileName>
<LongName> 31603 - Disclosure - INCOME TAXES (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </Role>
<ShortName> INCOME TAXES (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxes </ParentRole>
<Position> 40 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R41.htm </HtmlFileName>
<LongName> 31703 - Disclosure - EARNINGS PER SHARE (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureEarningsPerShareTables </Role>
<ShortName> EARNINGS PER SHARE (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureEarningsPerShare </ParentRole>
<Position> 41 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R42.htm </HtmlFileName>
<LongName> 31803 - Disclosure - QUARTERLY RESULTS (Unaudited) (Tables) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureQuarterlyResultsUnauditedTables </Role>
<ShortName> QUARTERLY RESULTS (Unaudited) (Tables) </ShortName>
<MenuCategory> Tables </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureQuarterlyResultsUnaudited </ParentRole>
<Position> 42 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R43.htm </HtmlFileName>
<LongName> 40101 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPoliciesNarrativeDetails </Role>
<ShortName> SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables </ParentRole>
<Position> 43 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R44.htm </HtmlFileName>
<LongName> 40102 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Components of Self-Insurance Reserves) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPoliciesComponentsOfSelfInsuranceReservesDetails </Role>
<ShortName> SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Components of Self-Insurance Reserves) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables </ParentRole>
<Position> 44 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R45.htm </HtmlFileName>
<LongName> 40201 - Disclosure - FAIR VALUE MEASUREMENTS (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFairValueMeasurementsNarrativeDetails </Role>
<ShortName> FAIR VALUE MEASUREMENTS (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFairValueMeasurementsTables </ParentRole>
<Position> 45 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R46.htm </HtmlFileName>
<LongName> 40202 - Disclosure - FAIR VALUE MEASUREMENTS (Fair Value of Marketable Securities) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFairValueMeasurementsFairValueOfMarketableSecuritiesDetails </Role>
<ShortName> FAIR VALUE MEASUREMENTS (Fair Value of Marketable Securities) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFairValueMeasurementsTables </ParentRole>
<Position> 46 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R47.htm </HtmlFileName>
<LongName> 40203 - Disclosure - FAIR VALUE MEASUREMENTS (Fair Value of Senior Notes) (Details) </LongName>
<ReportType> Notes </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFairValueMeasurementsFairValueOfSeniorNotesDetails </Role>
<ShortName> FAIR VALUE MEASUREMENTS (Fair Value of Senior Notes) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFairValueMeasurementsTables </ParentRole>
<Position> 47 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R48.htm </HtmlFileName>
<LongName> 40301 - Disclosure - ALLOWANCE FOR DOUBTFUL ACCOUNTS (Changes in Allowance for Doubtful Accounts) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureAllowanceForDoubtfulAccountsChangesInAllowanceForDoubtfulAccountsDetails </Role>
<ShortName> ALLOWANCE FOR DOUBTFUL ACCOUNTS (Changes in Allowance for Doubtful Accounts) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureAllowanceForDoubtfulAccountsTables </ParentRole>
<Position> 48 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R49.htm </HtmlFileName>
<LongName> 40401 - Disclosure - PROPERTY AND EQUIPMENT (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosurePropertyAndEquipmentNarrativeDetails </Role>
<ShortName> PROPERTY AND EQUIPMENT (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosurePropertyAndEquipmentTables </ParentRole>
<Position> 49 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R50.htm </HtmlFileName>
<LongName> 40402 - Disclosure - PROPERTY AND EQUIPMENT (Property and Equipment, Including Original Useful Lives) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosurePropertyAndEquipmentPropertyAndEquipmentIncludingOriginalUsefulLivesDetails </Role>
<ShortName> PROPERTY AND EQUIPMENT (Property and Equipment, Including Original Useful Lives) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosurePropertyAndEquipmentTables </ParentRole>
<Position> 50 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R51.htm </HtmlFileName>
<LongName> 40501 - Disclosure - LEASES (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureLeasesNarrativeDetails </Role>
<ShortName> LEASES (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureLeasesTables </ParentRole>
<Position> 51 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R52.htm </HtmlFileName>
<LongName> 40502 - Disclosure - LEASES (Summary of Total Lease Cost) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureLeasesSummaryOfTotalLeaseCostDetails </Role>
<ShortName> LEASES (Summary of Total Lease Cost) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureLeasesTables </ParentRole>
<Position> 52 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R53.htm </HtmlFileName>
<LongName> 40503 - Disclosure - LEASES (Supplemental Cash Flow Information) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails </Role>
<ShortName> LEASES (Supplemental Cash Flow Information) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureLeasesTables </ParentRole>
<Position> 53 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R54.htm </HtmlFileName>
<LongName> 40504 - Disclosure - LEASES (Future Minimum Lease Payments) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails </Role>
<ShortName> LEASES (Future Minimum Lease Payments) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureLeasesTables </ParentRole>
<Position> 54 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R55.htm </HtmlFileName>
<LongName> 40601 - Disclosure - GOODWILL AND OTHER INTANGIBLES (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesNarrativeDetails </Role>
<ShortName> GOODWILL AND OTHER INTANGIBLES (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesTables </ParentRole>
<Position> 55 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R56.htm </HtmlFileName>
<LongName> 40602 - Disclosure - GOODWILL AND OTHER INTANGIBLES (Changes in Net Goodwill) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesChangesInNetGoodwillDetails </Role>
<ShortName> GOODWILL AND OTHER INTANGIBLES (Changes in Net Goodwill) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesTables </ParentRole>
<Position> 56 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R57.htm </HtmlFileName>
<LongName> 40603 - Disclosure - GOODWILL AND OTHER INTANGIBLES (Intangibles Other Than Goodwill) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesIntangiblesOtherThanGoodwillDetails </Role>
<ShortName> GOODWILL AND OTHER INTANGIBLES (Intangibles Other Than Goodwill) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesTables </ParentRole>
<Position> 57 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R58.htm </HtmlFileName>
<LongName> 40604 - Disclosure - GOODWILL AND OTHER INTANGIBLES (Estimated Amortization of Intangibles) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesEstimatedAmortizationOfIntangiblesDetails </Role>
<ShortName> GOODWILL AND OTHER INTANGIBLES (Estimated Amortization of Intangibles) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureGoodwillAndOtherIntangiblesTables </ParentRole>
<Position> 58 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R59.htm </HtmlFileName>
<LongName> 40701 - Disclosure - SUPPLIER FINANCE PROGRAMS (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSupplierFinanceProgramsDetails </Role>
<ShortName> SUPPLIER FINANCE PROGRAMS (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureSupplierFinancePrograms </ParentRole>
<Position> 59 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R60.htm </HtmlFileName>
<LongName> 40801 - Disclosure - FINANCING (Unsecured Revolving Credit Facility) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFinancingUnsecuredRevolvingCreditFacilityNarrativeDetails </Role>
<ShortName> FINANCING (Unsecured Revolving Credit Facility) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFinancingTables </ParentRole>
<Position> 60 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R61.htm </HtmlFileName>
<LongName> 40802 - Disclosure - FINANCING (Commercial Paper Program) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFinancingCommercialPaperProgramNarrativeDetails </Role>
<ShortName> FINANCING (Commercial Paper Program) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFinancingTables </ParentRole>
<Position> 61 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R62.htm </HtmlFileName>
<LongName> 40803 - Disclosure - FINANCING (Senior Notes) (Narrative) (Details) </LongName>
<ReportType> Notes </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFinancingSeniorNotesNarrativeDetails </Role>
<ShortName> FINANCING (Senior Notes) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFinancingTables </ParentRole>
<Position> 62 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R63.htm </HtmlFileName>
<LongName> 40804 - Disclosure - FINANCING (Outstanding Financing Facilities) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFinancingOutstandingFinancingFacilitiesDetails </Role>
<ShortName> FINANCING (Outstanding Financing Facilities) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFinancingTables </ParentRole>
<Position> 63 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R64.htm </HtmlFileName>
<LongName> 40805 - Disclosure - FINANCING (Principal Maturities of Financing Facilities) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureFinancingPrincipalMaturitiesOfFinancingFacilitiesDetails </Role>
<ShortName> FINANCING (Principal Maturities of Financing Facilities) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureFinancingTables </ParentRole>
<Position> 64 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R65.htm </HtmlFileName>
<LongName> 40901 - Disclosure - WARRANTIES (Product Warranty Liabilities) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureWarrantiesProductWarrantyLiabilitiesDetails </Role>
<ShortName> WARRANTIES (Product Warranty Liabilities) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureWarrantiesTables </ParentRole>
<Position> 65 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R66.htm </HtmlFileName>
<LongName> 41001 - Disclosure - SHARE REPURCHASE PROGRAM (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareRepurchaseProgramNarrativeDetails </Role>
<ShortName> SHARE REPURCHASE PROGRAM (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareRepurchaseProgramTables </ParentRole>
<Position> 66 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R67.htm </HtmlFileName>
<LongName> 41002 - Disclosure - SHARE REPURCHASE PROGRAM (Schedule of Shares Repurchased) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareRepurchaseProgramScheduleOfSharesRepurchasedDetails </Role>
<ShortName> SHARE REPURCHASE PROGRAM (Schedule of Shares Repurchased) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareRepurchaseProgramTables </ParentRole>
<Position> 67 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R68.htm </HtmlFileName>
<LongName> 41101 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossDetails </Role>
<ShortName> ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables </ParentRole>
<Position> 68 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R69.htm </HtmlFileName>
<LongName> 41201 - Disclosure - REVENUE (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureRevenueNarrativeDetails </Role>
<ShortName> REVENUE (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureRevenueTables </ParentRole>
<Position> 69 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R70.htm </HtmlFileName>
<LongName> 41202 - Disclosure - REVENUE (Disaggregation of Revenue) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureRevenueDisaggregationOfRevenueDetails </Role>
<ShortName> REVENUE (Disaggregation of Revenue) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureRevenueTables </ParentRole>
<Position> 70 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R71.htm </HtmlFileName>
<LongName> 41301 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Stock Option) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansStockOptionNarrativeDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Stock Option) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 71 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R72.htm </HtmlFileName>
<LongName> 41302 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Restricted Stock) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansRestrictedStockNarrativeDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Restricted Stock) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 72 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R73.htm </HtmlFileName>
<LongName> 41303 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Employee Stock Purchase Plan) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansEmployeeStockPurchasePlanNarrativeDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Employee Stock Purchase Plan) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 73 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R74.htm </HtmlFileName>
<LongName> 41304 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Profit Sharing and Savings Plan) (Narrative) (Detail) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansProfitSharingAndSavingsPlanNarrativeDetail </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Profit Sharing and Savings Plan) (Narrative) (Detail) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 74 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R75.htm </HtmlFileName>
<LongName> 41305 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Nonqualified Deferred Compensation Plan) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansNonqualifiedDeferredCompensationPlanNarrativeDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Nonqualified Deferred Compensation Plan) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 75 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R76.htm </HtmlFileName>
<LongName> 41306 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Stock Appreciation Rights) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansStockAppreciationRightsNarrativeDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Stock Appreciation Rights) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 76 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R77.htm </HtmlFileName>
<LongName> 41307 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Summary of Shares Authorized and Available for Future Issuance Under Benefit and Compensation Plans) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansSummaryOfSharesAuthorizedAndAvailableForFutureIssuanceUnderBenefitAndCompensationPlansDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Summary of Shares Authorized and Available for Future Issuance Under Benefit and Compensation Plans) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 77 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R78.htm </HtmlFileName>
<LongName> 41308 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Summary of Stock Options) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansSummaryOfStockOptionsDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Summary of Stock Options) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 78 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R79.htm </HtmlFileName>
<LongName> 41309 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Black-Scholes Option Pricing Model) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansBlackScholesOptionPricingModelDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Black-Scholes Option Pricing Model) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 79 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R80.htm </HtmlFileName>
<LongName> 41310 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Stock Option Activity) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansStockOptionActivityDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Stock Option Activity) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 80 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R81.htm </HtmlFileName>
<LongName> 41312 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Summary of Restricted Stock) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansSummaryOfRestrictedStockDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Summary of Restricted Stock) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 81 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R82.htm </HtmlFileName>
<LongName> 41313 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Restricted Stock Activity) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansRestrictedStockActivityDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Restricted Stock Activity) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 82 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R83.htm </HtmlFileName>
<LongName> 41314 - Disclosure - SHARE-BASED COMPENSATION AND BENEFIT PLANS (Employee Stock Purchase Plan Activity) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansEmployeeStockPurchasePlanActivityDetails </Role>
<ShortName> SHARE-BASED COMPENSATION AND BENEFIT PLANS (Employee Stock Purchase Plan Activity) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureShareBasedCompensationAndBenefitPlansTables </ParentRole>
<Position> 83 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R84.htm </HtmlFileName>
<LongName> 41401 - Disclosure - COMMITMENTS (Commitments) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureCommitmentsCommitmentsNarrativeDetails </Role>
<ShortName> COMMITMENTS (Commitments) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureCommitments </ParentRole>
<Position> 84 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R85.htm </HtmlFileName>
<LongName> 41501 - Disclosure - RELATED PARTIES (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureRelatedPartiesNarrativeDetails </Role>
<ShortName> RELATED PARTIES (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureRelatedParties </ParentRole>
<Position> 85 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R86.htm </HtmlFileName>
<LongName> 41601 - Disclosure - INCOME TAXES (Provision for Income Taxes) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesProvisionForIncomeTaxesNarrativeDetails </Role>
<ShortName> INCOME TAXES (Provision for Income Taxes) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </ParentRole>
<Position> 86 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R87.htm </HtmlFileName>
<LongName> 41602 - Disclosure - INCOME TAXES (Unrecognized Tax Benefits) (Narrative) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesUnrecognizedTaxBenefitsNarrativeDetails </Role>
<ShortName> INCOME TAXES (Unrecognized Tax Benefits) (Narrative) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </ParentRole>
<Position> 87 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R88.htm </HtmlFileName>
<LongName> 41603 - Disclosure - INCOME TAXES (Components of Income from Continuing Operations) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesComponentsOfIncomeFromContinuingOperationsDetails </Role>
<ShortName> INCOME TAXES (Components of Income from Continuing Operations) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </ParentRole>
<Position> 88 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R89.htm </HtmlFileName>
<LongName> 41604 - Disclosure - INCOME TAXES (Schedule of Components of the Provision for Income Taxes) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxesDetails </Role>
<ShortName> INCOME TAXES (Schedule of Components of the Provision for Income Taxes) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </ParentRole>
<Position> 89 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R90.htm </HtmlFileName>
<LongName> 41605 - Disclosure - INCOME TAXES (Reconciliation of the Provision for Income Taxes to the Amounts Computed at the Federal Statutory Rate) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesReconciliationOfProvisionForIncomeTaxesToAmountsComputedAtFederalStatutoryRateDetails </Role>
<ShortName> INCOME TAXES (Reconciliation of the Provision for Income Taxes to the Amounts Computed at the Federal Statutory Rate) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </ParentRole>
<Position> 90 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R91.htm </HtmlFileName>
<LongName> 41606 - Disclosure - INCOME TAXES (Schedule of Components of Deferred Tax Assets and Liabilities) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesScheduleOfComponentsOfDeferredTaxAssetsAndLiabilitiesDetails </Role>
<ShortName> INCOME TAXES (Schedule of Components of Deferred Tax Assets and Liabilities) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </ParentRole>
<Position> 91 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R92.htm </HtmlFileName>
<LongName> 41607 - Disclosure - INCOME TAXES (Summary of Changes in Gross Amount of Unrecognized Tax Benefits) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureIncomeTaxesSummaryOfChangesInGrossAmountOfUnrecognizedTaxBenefitsDetails </Role>
<ShortName> INCOME TAXES (Summary of Changes in Gross Amount of Unrecognized Tax Benefits) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureIncomeTaxesTables </ParentRole>
<Position> 92 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R93.htm </HtmlFileName>
<LongName> 41701 - Disclosure - EARNINGS PER SHARE (Computation of Basic and Diluted Earnings Per Share) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureEarningsPerShareComputationOfBasicAndDilutedEarningsPerShareDetails </Role>
<ShortName> EARNINGS PER SHARE (Computation of Basic and Diluted Earnings Per Share) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureEarningsPerShareTables </ParentRole>
<Position> 93 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R94.htm </HtmlFileName>
<LongName> 41801 - Disclosure - QUARTERLY RESULTS (Unaudited) (Unaudited Operating Data) (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureQuarterlyResultsUnauditedUnauditedOperatingDataDetails </Role>
<ShortName> QUARTERLY RESULTS (Unaudited) (Unaudited Operating Data) (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureQuarterlyResultsUnauditedTables </ParentRole>
<Position> 94 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R95.htm </HtmlFileName>
<LongName> 41901 - Disclosure - SUBSEQUENT EVENT (Details) </LongName>
<ReportType> Sheet </ReportType>
<Role> http://www.oreillyauto.com/role/DisclosureSubsequentEventDetails </Role>
<ShortName> SUBSEQUENT EVENT (Details) </ShortName>
<MenuCategory> Details </MenuCategory>
<ParentRole> http://www.oreillyauto.com/role/DisclosureSubsequentEvent </ParentRole>
<Position> 95 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R96.htm </HtmlFileName>
<LongName> 995410 - Disclosure - Pay vs Performance Disclosure </LongName>
<ReportType> Sheet </ReportType>
<Role> http://xbrl.sec.gov/ecd/role/PvpDisclosure </Role>
<ShortName> Pay vs Performance Disclosure </ShortName>
<MenuCategory> Uncategorized </MenuCategory>
<Position> 96 </Position>
</Report>
<Report instance="orly-20231231x10k.htm">
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<HtmlFileName> R97.htm </HtmlFileName>
<LongName> 995445 - Disclosure - Insider Trading Arrangements </LongName>
<ReportType> Sheet </ReportType>
<Role> http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements </Role>
<ShortName> Insider Trading Arrangements </ShortName>
<MenuCategory> Cover </MenuCategory>
<Position> 97 </Position>
</Report>
<Report>
<IsDefault> false </IsDefault>
<HasEmbeddedReports> false </HasEmbeddedReports>
<LongName> All Reports </LongName>
<ReportType> Book </ReportType>
<ShortName> All Reports </ShortName>
</Report>
</MyReports>
<InputFiles>
<File> orly-20231231.xsd </File>
<File> orly-20231231_cal.xml </File>
<File> orly-20231231_def.xml </File>
<File> orly-20231231_lab.xml </File>
<File> orly-20231231_pre.xml </File>
<File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="orly-20231231x10k.htm"> orly-20231231x10k.htm </File>
</InputFiles>
<SupplementalFiles>
<File> orly-20231231x10k003.jpg </File>
<File> orly-20231231x10k007.jpg </File>
</SupplementalFiles>
<BaseTaxonomies>
<BaseTaxonomy items="1066"> http://fasb.org/us-gaap/2023 </BaseTaxonomy>
<BaseTaxonomy items="38"> http://xbrl.sec.gov/dei/2023 </BaseTaxonomy>
<BaseTaxonomy items="9"> http://xbrl.sec.gov/ecd/2023 </BaseTaxonomy>
</BaseTaxonomies>
<HasPresentationLinkbase> true </HasPresentationLinkbase>
<HasCalculationLinkbase> true </HasCalculationLinkbase>
</FilingSummary>


29 Previous Filings that this Filing References

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

11/20/23  O’Reilly Automotive, Inc.         8-K:1,9    11/20/23   13:462K                                   Toppan Merrill/FA
11/14/23  O’Reilly Automotive, Inc.         8-K:1,9    11/13/23   11:432K                                   Toppan Merrill/FA
 8/09/23  O’Reilly Automotive, Inc.         8-K:1,2,9   8/09/23   11:506K
 8/08/23  O’Reilly Automotive, Inc.         10-Q        6/30/23   79:6.4M
 5/09/23  O’Reilly Automotive, Inc.         10-Q        3/31/23   77:7.8M
 6/15/22  O’Reilly Automotive, Inc.         8-K:1,9     6/15/22   13:467K                                   Toppan Merrill/FA
 6/16/21  O’Reilly Automotive, Inc.         8-K:1,2,8,9 6/15/21   11:1.3M
 2/26/21  O’Reilly Automotive, Inc.         10-K       12/31/20  112:12M
 9/23/20  O’Reilly Automotive, Inc.         8-K:1,9     9/23/20   13:471K                                   Toppan Merrill/FA
 8/07/20  O’Reilly Automotive, Inc.         10-Q        6/30/20   82:6.4M                                   Toppan Merrill Bridge/FA
 5/26/20  O’Reilly Automotive, Inc.         8-K:5,9     5/19/20   14:736K
 3/27/20  O’Reilly Automotive, Inc.         8-K:1,9     3/25/20   14:680K                                   Toppan Merrill/FA
 2/28/20  O’Reilly Automotive, Inc.         10-K       12/31/19  113:11M
 5/20/19  O’Reilly Automotive, Inc.         8-K:1,9     5/20/19    5:922K                                   Toppan Merrill/FA
 5/17/18  O’Reilly Automotive, Inc.         8-K:1,9     5/17/18    4:329K                                   Toppan Merrill/FA
 8/17/17  O’Reilly Automotive, Inc.         8-K:1,9     8/17/17    4:324K                                   Toppan Merrill/FA
 8/07/17  O’Reilly Automotive, Inc.         10-Q        6/30/17   59:3.7M
 3/24/17  O’Reilly Automotive, Inc.         DEF 14A    12/31/16    1:1.4M
 3/08/16  O’Reilly Automotive, Inc.         8-K:1,9     3/08/16    5:1.1M                                   Toppan Merrill/FA
 2/04/15  O’Reilly Automotive, Inc.         8-K:2,5,8,9 1/29/15    4:639K
 8/19/13  O’Reilly Automotive, Inc.         8-K:1,9     8/14/13    3:242K
 8/08/12  O’Reilly Automotive, Inc.         10-Q        6/30/12   69:8.1M
 3/23/12  O’Reilly Automotive, Inc.         DEF 14A     5/08/12    1:882K                                   Donnelley … Solutions/FA
 2/26/10  O’Reilly Automotive, Inc.         10-K       12/31/09    8:1.5M                                   Donnelley … Solutions/FA
 3/20/09  O’Reilly Automotive, Inc.         DEF 14A     5/05/09    1:613K                                   Donnelley … Solutions/FA
 3/29/02  O’Reilly Automotive, Inc.         10-K       12/31/01    1:156K
 5/15/98  O’Reilly Automotive, Inc.         10-Q        3/31/98   10:378K
 3/31/98  O’Reilly Automotive, Inc.         10-K       12/31/97    7:141K
 3/31/97  O’Reilly Automotive, Inc.         10-K       12/31/96    9:136K                                   Donnelley Fin’l S… 03/FA
Top
Filing Submission 0000898173-24-000009   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Wed., May 15, 2:06:03.4am ET