2.2.0.7 true Long-Term Debt (Schedule of Interest Rate Swap Transactions) (Details) (USD $) 40403 - Disclosure - Long-Term Debt (Schedule of Interest Rate Swap Transactions) (Details) true false In Thousands false false 1 USD false false Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Unit14 Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 Unit1 Standard http://www.xbrl.org/2003/instance shares xbrli 0 Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 $ 5 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 true true false false 450000000 450000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 10 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 2 USD true false false false BBT Counterparty 6.93% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_BbtCounterpartySixPointNineThreeEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 11 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 BBT false false false xbrli:stringItemType string Counterparty 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. false 12 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-07-24 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 13 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-08-01 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 14 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 100000000 100000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 15 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0343 0.0343 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 16 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.035 0.035 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 17 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0693 0.0693 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 18 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2010-08-01 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 19 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 3 USD true false false false SunTrust Counterparty 7.33% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_SuntrustCounterpartySevenPointThreeEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 20 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 SunTrust false false false xbrli:stringItemType string Counterparty 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. false 21 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-07-24 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 22 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-08-01 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 23 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 25000000 25000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 24 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0383 0.0383 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 25 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.035 0.035 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 26 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0733 0.0733 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 27 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2011-08-01 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 28 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 4 USD true false false false SunTrust Counterparty 6.08% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_SuntrustCounterpartySixPointZeroEightEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 29 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 SunTrust false false false xbrli:stringItemType string Counterparty 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. false 30 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-07-24 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 31 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-08-01 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 32 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 50000000 50000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 33 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0383 0.0383 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 34 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 35 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0608 0.0608 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 36 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2011-08-01 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 37 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 5 USD true false false false BA Counterparty 6.08% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_BaCounterpartySixPointZeroEightEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 38 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 BA false false false xbrli:stringItemType string Counterparty 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. false 39 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-07-24 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 40 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-08-01 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 41 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 75000000 75000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 42 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0383 0.0383 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 43 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 44 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0608 0.0608 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 45 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2011-08-01 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 46 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 6 USD true false false false BBT Counterparty 5.24% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_BbtCounterpartyFivePointTwoFourEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 47 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 BBT false false false xbrli:stringItemType string Counterparty 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. false 48 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-10-14 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 49 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-10-17 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 50 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 25000000 25000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 51 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0299 0.0299 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 52 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 53 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0524 0.0524 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 54 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2010-10-17 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 55 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 7 USD true false false false BBT Counterparty 5.26% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_BbtCounterpartyFivePointTwoSixEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 56 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 BBT false false false xbrli:stringItemType string Counterparty 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. false 57 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-10-14 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 58 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-10-17 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 59 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 25000000 25000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 60 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0301 0.0301 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 61 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 62 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0526 0.0526 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 63 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2010-10-17 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 64 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 8 USD true false false false BA Counterparty 5.30% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_BaCounterpartyFivePointThreeZeroEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 65 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 BA false false false xbrli:stringItemType string Counterparty 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. false 66 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-10-14 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 67 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-10-17 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 68 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 25000000 25000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 69 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0305 0.0305 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 70 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 71 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.053 0.053 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 72 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2010-10-17 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 73 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 9 USD true false false false SunTrust Counterparty 5.24% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_SuntrustCounterpartyFivePointTwoFourEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 74 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 SunTrust false false false xbrli:stringItemType string Counterparty 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. false 75 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-10-14 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 76 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-10-17 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 77 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 25000000 25000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 78 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0299 0.0299 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 79 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 80 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0524 0.0524 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 81 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2010-10-17 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 82 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 10 USD true false false false BA Counterparty 5.81% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_BaCounterpartyFivePointEightOneEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 83 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 BA false false false xbrli:stringItemType string Counterparty 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. false 84 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2008-10-14 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 85 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2008-10-17 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 86 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 false true false false 50000000 50000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 87 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0356 0.0356 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 88 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 89 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0581 0.0581 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 90 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2011-10-17 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 91 0 na true na na No definition available. false true false false false false false false false false false http://www.oreillyauto.com/role/disclosurelongtermdebtscheduleofinterestrateswaptransactionsdetails false 1 false false false false 0 0 false false false false 11 USD true false false false Barclays Counterparty 2.78% Effective Interest Rate [Member] us-gaap_LongtermDebtTypeAxis xbrldi http://xbrl.org/2006/xbrldi orly_BarclaysCounterpartyTwoPointSevenEightEffectiveInterestRateMember us-gaap_LongtermDebtTypeAxis explicitMember Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 92 2 orly_CounterpartyOfCashFlowHedgeInstrument orly false na duration Counterparty with which the Company entered into an interest rate swap agreement. The counterparty is obligated to make... false false false false false false false false false false false terselabel false 1 false false false false 0 0 Barclays false false false xbrli:stringItemType string Counterparty 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. false 93 2 us-gaap_DerivativeInceptionDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2010-01-21 false false false xbrli:dateItemType date The date the entity entered into the derivative. No authoritative reference available. false 94 2 orly_EffectiveDateOfCashFlowHedgeInstrument orly false na instant Date the interest rate swap agreement was effective. false false false false false false false false false false false terselabel false 1 false false false false 0 0 2010-01-22 false false false xbrli:dateItemType date Date the interest rate swap agreement was effective. No authoritative reference available. false 95 2 us-gaap_NotionalAmountOfCashFlowHedgeInstruments us-gaap true debit instant No definition available. false false false false false false false false false false false label false 1 true true false false 50000000 50000 false false false xbrli:monetaryItemType monetary Aggregate 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. false 96 2 us-gaap_DerivativeFixedInterestRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0053 0.0053 false false false us-types:percentItemType pure Fixed interest rate related to the interest rate derivative. No authoritative reference available. false 97 2 us-gaap_DerivativeBasisSpreadOnVariableRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.0225 0.0225 false false false us-types:percentItemType pure The percentage points added to the reference rate to compute the variable rate on the interest rate derivative. No authoritative reference available. false 98 2 orly_EffectiveInterestRateOfCashFlowHedgeInstrument orly false na duration The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. false false false false false false false false false false false terselabel false 1 false true false false 0.0278 0.0278 false false false us-types:percentItemType pure The effective interest rate of an instrument designated as a cash flow hedge as of the balance sheet date. No authoritative reference available. false 99 2 us-gaap_DerivativeMaturityDate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 2011-01-31 false false false xbrli:dateItemType date The date the derivative matures. No authoritative reference available. false 1 91 false Thousands UnKnown UnKnown false true