XML 13 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2017
Jul. 31, 2017
Document and Entity Information    
Document type 10-Q  
Amendment flag false  
Document period end date Jun. 30, 2017  
Document fiscal year focus 2017  
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   88,016,684