2.2.0.7trueLONG-TERM DEBT (Schedule of Interest Rate Swap Transactions) (Details) (USD $)40403 - Disclosure - LONG-TERM DEBT (Schedule of Interest Rate Swap Transactions) (Details)truefalseIn Thousandsfalsefalse1USDfalsefalseUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170Unit14Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0$52us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1truetruefalsefalse325000000325000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false100natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse2USDtruefalsefalsefalseBA Counterparty 6.08% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_BaCounterpartySixPointZeroEightEffectiveInterestRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false112orly_CounterpartyOfCashFlowHedgeInstrumentorlyfalsenadurationCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00BAfalsefalsefalsexbrli:stringItemTypestringCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make certain monthly floating rate payments to the Company.No authoritative reference available.false122us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-07-24falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false132orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-08-01falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false142us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse7500000075000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false152us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03830.0383falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false162us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02250.0225falsefalsefalseus-types:percentItemTypepureThe percentage points added to the reference rate to compute the variable rate on the interest rate derivative.No authoritative reference available.false172orly_EffectiveInterestRateOfCashFlowHedgeInstrumentorlyfalsenadurationThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse0.06080.0608falsefalsefalseus-types:percentItemTypepureThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.No authoritative reference available.false182us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-08-01falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false190natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseSunTrust Counterparty 6.08% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SuntrustCounterpartySixPointZeroEightPercentEffectiveInterestRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false202orly_CounterpartyOfCashFlowHedgeInstrumentorlyfalsenadurationCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00SunTrustfalsefalsefalsexbrli:stringItemTypestringCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make certain monthly floating rate payments to the Company.No authoritative reference available.false212us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-07-24falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false222orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-08-01falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false232us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse7500000075000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false242us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03830.0383falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false252us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02250.0225falsefalsefalseus-types:percentItemTypepureThe percentage points added to the reference rate to compute the variable rate on the interest rate derivative.No authoritative reference available.false262orly_EffectiveInterestRateOfCashFlowHedgeInstrumentorlyfalsenadurationThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse0.06080.0608falsefalsefalseus-types:percentItemTypepureThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.No authoritative reference available.false272us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-08-01falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false280natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse4USDtruefalsefalsefalseBBT Counterparty 5.24% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_BbtCounterpartyFivePointTwoFourEffectiveInterestRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false292orly_CounterpartyOfCashFlowHedgeInstrumentorlyfalsenadurationCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00BBTfalsefalsefalsexbrli:stringItemTypestringCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make certain monthly floating rate payments to the Company.No authoritative reference available.false302us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-10-14falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false312orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-10-17falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false322us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false332us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02990.0299falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false342us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02250.0225falsefalsefalseus-types:percentItemTypepureThe percentage points added to the reference rate to compute the variable rate on the interest rate derivative.No authoritative reference available.false352orly_EffectiveInterestRateOfCashFlowHedgeInstrumentorlyfalsenadurationThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse0.05240.0524falsefalsefalseus-types:percentItemTypepureThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.No authoritative reference available.false362us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false370natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalseBA Counterparty 5.30% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_BaCounterpartyFivePointThreeZeroEffectiveInterestRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false382orly_CounterpartyOfCashFlowHedgeInstrumentorlyfalsenadurationCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00BAfalsefalsefalsexbrli:stringItemTypestringCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make certain monthly floating rate payments to the Company.No authoritative reference available.false392us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-10-14falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false402orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-10-17falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false412us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false422us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03050.0305falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false432us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02250.0225falsefalsefalseus-types:percentItemTypepureThe percentage points added to the reference rate to compute the variable rate on the interest rate derivative.No authoritative reference available.false442orly_EffectiveInterestRateOfCashFlowHedgeInstrumentorlyfalsenadurationThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse0.0530.053falsefalsefalseus-types:percentItemTypepureThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.No authoritative reference available.false452us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false460natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse6USDtruefalsefalsefalseSunTrust Counterparty 5.24% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SuntrustCounterpartyFivePointTwoFourEffectiveInterestRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false472orly_CounterpartyOfCashFlowHedgeInstrumentorlyfalsenadurationCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00SunTrustfalsefalsefalsexbrli:stringItemTypestringCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make certain monthly floating rate payments to the Company.No authoritative reference available.false482us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-10-14falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false492orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-10-17falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false502us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false512us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02990.0299falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false522us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02250.0225falsefalsefalseus-types:percentItemTypepureThe percentage points added to the reference rate to compute the variable rate on the interest rate derivative.No authoritative reference available.false532orly_EffectiveInterestRateOfCashFlowHedgeInstrumentorlyfalsenadurationThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse0.05240.0524falsefalsefalseus-types:percentItemTypepureThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.No authoritative reference available.false542us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false550natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalseBA Counterparty 5.81% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_BaCounterpartyFivePointEightOneEffectiveInterestRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false562orly_CounterpartyOfCashFlowHedgeInstrumentorlyfalsenadurationCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00BAfalsefalsefalsexbrli:stringItemTypestringCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make certain monthly floating rate payments to the Company.No authoritative reference available.false572us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-10-14falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false582orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-10-17falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false592us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse5000000050000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false602us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03560.0356falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false612us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02250.0225falsefalsefalseus-types:percentItemTypepureThe percentage points added to the reference rate to compute the variable rate on the interest rate derivative.No authoritative reference available.false622orly_EffectiveInterestRateOfCashFlowHedgeInstrumentorlyfalsenadurationThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse0.05810.0581falsefalsefalseus-types:percentItemTypepureThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.No authoritative reference available.false632us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false640natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse8USDtruefalsefalsefalseBarclays Counterparty 2.78% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_BarclaysCounterpartyTwoPointSevenEightEffectiveInterestRateMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUnit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false652orly_CounterpartyOfCashFlowHedgeInstrumentorlyfalsenadurationCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00Barclaysfalsefalsefalsexbrli:stringItemTypestringCounterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make certain monthly floating rate payments to the Company.No authoritative reference available.false662us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-01-21falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false672orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002010-01-22falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false682us-gaap_NotionalAmountOfInterestRateCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1truetruefalsefalse5000000050000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false692us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.00530.0053falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false702us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02250.0225falsefalsefalseus-types:percentItemTypepureThe percentage points added to the reference rate to compute the variable rate on the interest rate derivative.No authoritative reference available.false712orly_EffectiveInterestRateOfCashFlowHedgeInstrumentorlyfalsenadurationThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse0.02780.0278falsefalsefalseus-types:percentItemTypepureThe effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date.No authoritative reference available.false722us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-01-31falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false164falseThousandsUnKnownUnKnownfalsetrue