XML 12 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2017
May 01, 2017
Document and Entity Information    
Document type 10-Q  
Amendment flag false  
Document period end date Mar. 31, 2017  
Document fiscal year focus 2017  
Current fiscal year end date --12-31  
Document fiscal period focus Q1  
Entity registrant name O REILLY AUTOMOTIVE INC  
Entity central index key 0000898173  
Entity filer category Large Accelerated Filer  
Entity common stock, shares outstanding   91,005,027