XML 13 R1.htm IDEA: XBRL DOCUMENT v3.10.0.1
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2018
Jul. 30, 2018
Document and Entity Information    
Document type 10-Q  
Amendment flag false  
Document period end date Jun. 30, 2018  
Document fiscal year focus 2018  
Current fiscal year end date --12-31  
Document fiscal period focus Q2  
Entity registrant name O REILLY AUTOMOTIVE INC  
Entity central index key 0000898173  
Entity filer category Large Accelerated Filer  
Entity common stock, shares outstanding   80,563,009