2.4.0.840202 - Disclosure - Fair Value Measurements (Fair Value of Senior Notes) (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$As_Of_6_30_2013_us-gaap_DebtInstrumentAxis_orly_SeniorNotesDue2021At4875Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$As_Of_12_31_2012_us-gaap_DebtInstrumentAxis_orly_SeniorNotesDue2021At4875Memberhttp://www.sec.gov/CIK0000898173instant2012-12-31T00:00:000001-01-01T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1falseUSDtruefalse$As_Of_6_30_2013_us-gaap_DebtInstrumentAxis_orly_SeniorNotesDue2021At4875Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2021 at 4.875% [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2021At4875Memberus-gaap_DebtInstrumentAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02false4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse497349000497349USD$falsetruefalse2truefalsefalse497173000497173USD$falsetruefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: 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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false23false4us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse531007000531007USD$falsefalsefalse2truefalsefalse559870000559870USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of obligations measured on a recurring basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a),(b)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
false24false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falseUSDtruefalse$As_Of_6_30_2013_us-gaap_DebtInstrumentAxis_orly_SeniorNotesDue2021At4625Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2021 at 4.625% [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2021At4625Memberus-gaap_DebtInstrumentAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse05false4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse299572000299572USD$falsefalsefalse2truefalsefalse299545000299545USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: 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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false26false4us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse313321000313321USD$falsefalsefalse2truefalsefalse331224000331224USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of obligations measured on a recurring basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a),(b)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
false27false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5falseUSDtruefalse$As_Of_6_30_2013_us-gaap_DebtInstrumentAxis_orly_SeniorNotesDue2022At3800Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2022 at 3.800% [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2022At3800Memberus-gaap_DebtInstrumentAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse08false4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse298963000298963USD$falsefalsefalse2truefalsefalse298916000298916USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: 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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false29false4us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse295167000295167USD$falsefalsefalse2truefalsefalse313890000313890USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of obligations measured on a recurring basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a),(b)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
false210false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7falseUSDtruefalse$As_Of_6_30_2013_us-gaap_DebtInstrumentAxis_orly_SeniorNotesDue2023At3850Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2023 at 3.850% [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2023At3850Memberus-gaap_DebtInstrumentAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse011false4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse299976000299976USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: 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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false212false4us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse291803000291803USD$falsetruefalse2truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value of obligations measured on a recurring basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a),(b)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
false2falseFair Value Measurements (Fair Value of Senior Notes) (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseNoteshttp://www.oreillyauto.com/role/DisclosureFairValueMeasurementsFairValueOfSeniorNotesDetails212