2.4.0.840403 - Disclosure - Long-Term Debt (Outstanding Long-Term Debt) (Details)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$As_Of_6_30_2013http://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$As_Of_12_31_2012http://www.sec.gov/CIK0000898173instant2012-12-31T00:00:000001-01-01T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 4us-gaap_UnsecuredDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsetruefalse2truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying value as of the balance sheet date of uncollateralized debt obligations (with maturities initially due after one year or beyond the operating cycle if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Article 5 -Subsection 19, 20, 22 false22false 4us-gaap_CapitalLeaseObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse131000131USD$falsefalsefalse2truefalsefalse322000322USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount equal to the present value (the principal) at the beginning of the lease term of minimum lease payments during the lease term (excluding that portion of the payments representing executory costs such as insurance, maintenance, and taxes to be paid by the lessor, together with any profit thereon) net of payments or other amounts applied to the principal through the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 7 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6455398&loc=d3e45280-112737 false23false 4us-gaap_DebtAndCapitalLeaseObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse13959910001395991USD$falsefalsefalse2truefalsefalse10959560001095956USD$falsefalsefalsexbrli:monetaryItemTypemonetarySum of the carrying values as of the balance sheet date of all debt, including all short-term borrowings, long-term debt, and capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13,16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 true24false 4us-gaap_CapitalLeaseObligationsCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse6900069USD$falsefalsefalse2truefalsefalse222000222[1]USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of capital lease obligation due within one year or the normal operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19 -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.20) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6455398&loc=d3e45280-112737 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6455314&loc=d3e45023-112735 false25false 4us-gaap_LongTermDebtAndCapitalLeaseObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13959220001395922USD$falsefalsefalse2truefalsefalse10957340001095734[1]USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of long-term debt and capital lease obligation due after one year or beyond the normal operating cycle, if longer.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 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 6 -Section H false26false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$As_Of_6_30_2013_us-gaap_LongtermDebtTypeAxis_orly_SeniorNotesDue2021At4875Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2021 at 4.875% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2021At4875Memberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse07false 4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse497349000497349USD$falsefalsefalse2truefalsefalse497173000497173USD$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 false28false 4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse27000002700USD$falsefalsefalse2truefalsefalse28000002800USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 false29false 4us-gaap_DebtInstrumentInterestRateEffectivePercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.049720.04972falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureEffective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false010false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false USDtruefalse$As_Of_6_30_2013_us-gaap_LongtermDebtTypeAxis_orly_SeniorNotesDue2021At4625Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2021 at 4.625% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2021At4625Memberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse011false 4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse299572000299572USD$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 false212false 4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse400000400USD$falsefalsefalse2truefalsefalse500000500USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 false213false 4us-gaap_DebtInstrumentInterestRateEffectivePercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.046490.04649falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureEffective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false014false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7false USDtruefalse$As_Of_6_30_2013_us-gaap_LongtermDebtTypeAxis_orly_SeniorNotesDue2022At3800Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2022 at 3.800% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2022At3800Memberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse015false 4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse298963000298963USD$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 false216false 4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10000001000USD$falsefalsefalse2truefalsefalse11000001100USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 false217false 4us-gaap_DebtInstrumentInterestRateEffectivePercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.038450.03845falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureEffective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false018false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse9false USDtruefalse$As_Of_6_30_2013_us-gaap_LongtermDebtTypeAxis_orly_SeniorNotesDue2023At3850Memberhttp://www.sec.gov/CIK0000898173instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSenior Notes due 2023 at 3.850% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SeniorNotesDue2023At3850Memberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse019false 4us-gaap_SeniorLongTermNotesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse299976000299976USD$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 false220false 4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2400024USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 false221false 4us-gaap_DebtInstrumentInterestRateEffectivePercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.038510.03851falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureEffective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false01The balance sheet at December 31, 2012, has been derived from the audited consolidated financial statements at that date, but does not include all of the information and footnotes required by accounting principles generally accepted in the United States for complete financial statements.falseLong-Term Debt (Outstanding Long-Term Debt) (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.oreillyauto.com/role/DisclosureLongTermDebtOutstandingLongTermDebtDetails221