2.4.0.840101 - Disclosure - Basis of Presentation (Narrative) (Details)truefalsefalse1falsefalsefalseDuration_7_1_2013_To_7_2_2013_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMemberhttp://www.sec.gov/CIK0000898173duration2013-07-01T00:00:002013-07-02T00:00:002falsefalsefalseDuration_9_8_2011_To_9_9_2011_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMemberhttp://www.sec.gov/CIK0000898173duration2011-09-08T00:00:002011-09-09T00:00:001false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1falsetruefalseDuration_7_1_2013_To_7_2_2013_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMemberhttp://www.sec.gov/CIK0000898173duration2013-07-01T00:00:002013-07-02T00:00:00falsefalseUnsecured Debt [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_UnsecuredDebtMemberus-gaap_DebtInstrumentAxisexplicitMemberfalsefalseLine of Credit Facility [Member]us-gaap_LineOfCreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LineOfCreditMemberus-gaap_LineOfCreditFacilityAxisexplicitMembernanafalse02false4us-gaap_SubsequentEventDescriptionus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00On July 2, 2013, the Company entered into an amendment to its credit agreement for its unsecured revolving credit facility and an amendment to the corresponding guaranty. The amendments extended the maturity date of the credit facility to July 2, 2018, and reduced the facility fee and interest rate margins on borrowings.falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescribes the event or transaction that occurred between the balance sheet date and the date the financial statements are issued or available to be issued.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 855
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662
false03false4orly_LineOfCreditFacilityAmendmentDateorly_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002013-07-02falsefalsetrue2falsefalsefalse002011-09-09falsefalsetruexbrli:dateItemTypedateReflects when the credit facility was amended, which may be presented in a variety of ways (year, month and year, day, month and year, quarter).No definition available.false04false4us-gaap_LineOfCreditFacilityExpirationDate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002018-07-02falsefalsetrue2falsefalsefalse002016-09-09falsefalsetruexbrli:dateItemTypedateDate the credit facility terminates, in CCYY-MM-DD format.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.19(b),22(b))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false0falseBasis of Presentation (Narrative) (Details) (Unsecured Debt [Member], Line of Credit Facility [Member])UnKnownUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.oreillyauto.com/role/DisclosureBasisOfPresentationNarrativeDetails24