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_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1truetruefalsefalse450000000450000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false100natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse2USDtruefalsefalsefalseBBT Counterparty 6.93% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_BbtCounterpartySixPointNineThreeEffectiveInterestRateMemberus-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...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.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_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse100000000100000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false152us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03430.0343falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false162us-gaap_DerivativeBasisSpreadOnVariableRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.0350.035falsefalsefalseus-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.06930.0693falsefalsefalseus-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.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-08-01falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false190natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseSunTrust Counterparty 7.33% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SuntrustCounterpartySevenPointThreeEffectiveInterestRateMemberus-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_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.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.0350.035falsefalsefalseus-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.07330.0733falsefalsefalseus-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/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse4USDtruefalsefalsefalseSunTrust Counterparty 6.08% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_SuntrustCounterpartySixPointZeroEightEffectiveInterestRateMemberus-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...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.false302us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-07-24falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false312orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-08-01falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false322us-gaap_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse5000000050000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false332us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03830.0383falsefalsefalseus-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.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.false362us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-08-01falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false370natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalseBA 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.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-07-24falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false402orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-08-01falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false412us-gaap_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse7500000075000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false422us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03830.0383falsefalsefalseus-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.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.false452us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-08-01falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false460natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse6USDtruefalsefalsefalseBBT 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.false472orly_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.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_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.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/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalseBBT Counterparty 5.26% Effective Interest Rate [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiorly_BbtCounterpartyFivePointTwoSixEffectiveInterestRateMemberus-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...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.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_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false602us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03010.0301falsefalsefalseus-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.05260.0526falsefalsefalseus-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.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false640natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse8USDtruefalsefalsefalseBA 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.false652orly_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.false662us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-10-14falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false672orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-10-17falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false682us-gaap_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false692us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03050.0305falsefalsefalseus-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.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.false722us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false730natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse9USDtruefalsefalsefalseSunTrust 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.false742orly_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.false752us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-10-14falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false762orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-10-17falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false772us-gaap_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse2500000025000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false782us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.02990.0299falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false792us-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.false802orly_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.false812us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false820natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse10USDtruefalsefalsefalseBA 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.false832orly_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.false842us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002008-10-14falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false852orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002008-10-17falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false862us-gaap_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse5000000050000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false872us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.03560.0356falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false882us-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.false892orly_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.false902us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-10-17falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false910natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse11USDtruefalsefalsefalseBarclays 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.false922orly_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.false932us-gaap_DerivativeInceptionDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002010-01-21falsefalsefalsexbrli:dateItemTypedateThe date the entity entered into the derivative.No authoritative reference available.false942orly_EffectiveDateOfCashFlowHedgeInstrumentorlyfalsenainstantDate the interest rate swap agreement was effective.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse002010-01-22falsefalsefalsexbrli:dateItemTypedateDate the interest rate swap agreement was effective.No authoritative reference available.false952us-gaap_NotionalAmountOfCashFlowHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1truetruefalsefalse5000000050000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as cash flow hedging instruments. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false962us-gaap_DerivativeFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse0.00530.0053falsefalsefalseus-types:percentItemTypepureFixed interest rate related to the interest rate derivative.No authoritative reference available.false972us-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.false982orly_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.false992us-gaap_DerivativeMaturityDateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse002011-01-31falsefalsefalsexbrli:dateItemTypedateThe date the derivative matures.No authoritative reference available.false191falseThousandsUnKnownUnKnownfalsetrue