2.4.0.840401 - Disclosure - Long-Term Debt (Unsecured Revolving Credit Facility) (Details)truefalseIn Millions, unless otherwise specifiedfalse1falseUSDfalsefalse$Duration_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:00Unit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$Duration_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:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falsefalsefalseDuration_1_13_2011_To_1_14_2011_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMemberhttp://www.sec.gov/CIK0000898173duration2011-01-13T00:00:002011-01-14T00:00:004falseUSDfalsefalseDuration_1_1_2013_To_6_30_2013_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMemberhttp://www.sec.gov/CIK0000898173duration2013-01-01T00:00:002013-06-30T00:00:00Unit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$5falseUSDfalsefalse$As_Of_12_31_2012_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMemberhttp://www.sec.gov/CIK0000898173instant2012-12-31T00:00:000001-01-01T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false4us-gaap_LineOfCreditFacilityInitiationDate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse002011-01-14falsefalsetrue4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:dateItemTypedateDate the credit facility first became available, 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
false02false4orly_LineOfCreditFacilityAmendmentDateorly_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002013-07-02falsefalsetrue2falsefalsefalse002011-09-09falsefalsetrue3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli: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.false03false4us-gaap_DebtInstrumentTermus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse005 yearsfalsefalsefalse2falsefalsefalse005 yearsfalsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false04false4us-gaap_LineOfCreditFacilityMaximumBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse600000000600USD$falsetruefalse2truefalsefalse660000000660USD$falsetruefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryMaximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.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
false25false4us-gaap_LineOfCreditFacilityExpirationDate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002018-07-02falsefalsetrue2falsefalsefalse002016-09-09falsefalsetrue3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli: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
false06false4orly_LineOfCreditFacilityMaximumIncreaseorly_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse200000000200USD$falsefalsefalse2truefalsefalse200000000200USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe maximum aggregate amount the credit facility may be increased by at the Company's option.No definition available.false27false4us-gaap_LettersOfCreditOutstandingAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse5180000051.8USD$falsefalsefalse5truefalsefalse5730000057.3USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of the contingent obligation under letters of credit outstanding as of the reporting date.No definition available.false28false4us-gaap_LineOfCreditFacilityAmountOutstandingus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount borrowed under the credit facility as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false29false4us-gaap_LineOfCreditFacilityCommitmentFeePercentageus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.001500.00150falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.001750.00175falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used.No definition available.false010false4us-gaap_DebtInstrumentCovenantDescriptionus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00The Credit Agreement contains certain covenants, including limitations on indebtedness, a minimum consolidated fixed charge coverage ratio of 2.25 times through December 31, 2014 and 2.50 times thereafter through maturity, and a maximum consolidated leverage ratio of 3.00 times through maturity. The consolidated leverage ratio includes a calculation of adjusted earnings before interest, taxes, depreciation, amortization, rent and stock-based compensation expense to adjusted debt. Adjusted debt includes outstanding debt, outstanding stand-by letters of credit and similar instruments, six-times rent expense and excludes any premium or discount recorded in conjunction with the issuance of long-term debt. In the event that the Company should default on any covenant contained within the Credit Agreement, certain actions may be taken, including, but not limited to, possible termination of credit extensions, immediate payment of outstanding principal amounts plus accrued interest and other amounts payable under the Credit Agreement and litigation from lenders.falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of minimum financial levels (for example, tangible net worth and working capital) and achievement of certain financial ratios (for example, working capital ratio and debt service coverage ratio), and adherence to certain clauses which generally require or restrict certain actions (for example, entering into a debt arrangement with equal or greater seniority, and selling or discontinuing a certain business segment or material subsidiary) to be in compliance with the covenant clauses of the debt agreement. May also include a discussion of the adverse consequences that would result if the entity violates or fails to satisfy the covenants.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 942
-SubTopic 470
-Section 50
-Paragraph 3
-Subparagraph (g)
-URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823
false011false4us-gaap_LineOfCreditFacilityCovenantComplianceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00As of June 30, 2013, the Company remained in compliance with all covenants under the Credit Agreement.falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringIdentification of whether the entity has been in compliance with any credit facility debt covenants during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false012false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falseUSDtruefalse$Duration_7_1_2013_To_7_2_2013_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMember_us-gaap_LongtermDebtTypeAxis_us-gaap_LetterOfCreditMemberhttp://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_LineOfCreditFacilityAxisexplicitMemberfalsefalseLetter of Credit [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LetterOfCreditMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse013false4orly_LineOfCreditFacilitySublimitorly_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse200000000200USD$falsefalsefalse2truefalsefalse200000000200USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryA restriction on the borrowing capacity of the line of credit facility. The restriction places a sublimit on the amount that can be borrowed for specific purposes.No definition available.false214false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse8falseUSDtruefalse$Duration_7_1_2013_To_7_2_2013_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMember_us-gaap_LongtermDebtTypeAxis_orly_SwingLineRevolverMemberhttp://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_LineOfCreditFacilityAxisexplicitMemberfalsefalseSwing Line Revolver [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SwingLineRevolverMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse015false4orly_LineOfCreditFacilitySublimitorly_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse7500000075USD$falsetruefalse2truefalsefalse7500000075USD$falsetruefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryA restriction on the borrowing capacity of the line of credit facility. The restriction places a sublimit on the amount that can be borrowed for specific purposes.No definition available.false216false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse10falsetruefalseAs_Of_7_2_2013_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMember_us-gaap_LongtermDebtTypeAxis_orly_EuroDollarRateMemberhttp://www.sec.gov/CIK0000898173instant2013-07-02T00:00:000001-01-01T00: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_LineOfCreditFacilityAxisexplicitMemberfalsefalseEuro Dollar Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_EuroDollarRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse017false4us-gaap_DebtInstrumentInterestRateStatedPercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.009750.00975falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.0120.012falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureContractual interest rate for funds borrowed, under the debt agreement.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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false018false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse12falsetruefalseAs_Of_7_2_2013_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMember_us-gaap_LongtermDebtTypeAxis_us-gaap_BaseRateMemberhttp://www.sec.gov/CIK0000898173instant2013-07-02T00:00:000001-01-01T00: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_LineOfCreditFacilityAxisexplicitMemberfalsefalseBase Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_BaseRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse019false4us-gaap_DebtInstrumentInterestRateStatedPercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.0020.002falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureContractual interest rate for funds borrowed, under the debt agreement.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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false020false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse14falsetruefalseDuration_1_13_2011_To_1_14_2011_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMember_us-gaap_LongtermDebtTypeAxis_orly_ThroughDecember2014Memberhttp://www.sec.gov/CIK0000898173duration2011-01-13T00:00:002011-01-14T00: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_LineOfCreditFacilityAxisexplicitMemberfalsefalseThrough December 2014 [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_ThroughDecember2014Memberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse021false4orly_DebtInstrumentCoverageRatioCovenantMinimumorly_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.02250.0225falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe minimum fixed charge coverage ratio the Company is required to maintain in order to be in compliance with the covenant clauses of the debt agreement.No definition available.false022false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse15falsetruefalseDuration_1_13_2011_To_1_14_2011_us-gaap_DebtInstrumentAxis_us-gaap_UnsecuredDebtMember_us-gaap_LineOfCreditFacilityAxis_us-gaap_LineOfCreditMember_us-gaap_LongtermDebtTypeAxis_orly_ThroughMaturityMemberhttp://www.sec.gov/CIK0000898173duration2011-01-13T00:00:002011-01-14T00: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_LineOfCreditFacilityAxisexplicitMemberfalsefalseThrough Maturity [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_ThroughMaturityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse023false4orly_DebtInstrumentCoverageRatioCovenantMinimumorly_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.02500.0250falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe minimum fixed charge coverage ratio the Company is required to maintain in order to be in compliance with the covenant clauses of the debt agreement.No definition available.false024false4orly_DebtInstrumentLeverageRatioCovenantMaximumorly_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.03000.0300falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe maximum consolidated leverage ratio the Company is required to remain below in order to maintain compliance with the covenant clauses of the debt agreement.No definition available.false0falseLong-Term Debt (Unsecured Revolving Credit Facility) (Details) (Unsecured Debt [Member], Line of Credit Facility [Member], USD $)HundredThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.oreillyauto.com/role/DisclosureLongTermDebtUnsecuredRevolvingCreditFacilityDetails524