2.2.0.25truefalse40701 - Disclosure - Exit Activities (Narrative) (Details)truefalseIn Millionsfalse1falsefalseUSDtruefalse{us-gaap_RestructuringReserveByTypeOfRestructuringAxis} : Store Closure Liabilities [Member] 1/1/2010 - 12/31/2010 USD ($) $Duration_1_1_2010_To_12_31_201027http://www.sec.gov/CIK0000898173duration2010-01-01T00:00:002010-12-31T00:00:00falsefalseStore Closure Liabilities [Member]us-gaap_RestructuringReserveByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FacilityClosingMemberus-gaap_RestructuringReserveByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false0natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosureexitactivitiesnarrativedetails1falsefalsefalse00falsefalsefalsefalsefalse1falsefalseUSDtruefalse{us-gaap_RestructuringReserveByTypeOfRestructuringAxis} : Store Closure Liabilities [Member] 1/1/2010 - 12/31/2010 USD ($) $Duration_1_1_2010_To_12_31_201027http://www.sec.gov/CIK0000898173duration2010-01-01T00:00:002010-12-31T00:00:00falsefalseStore Closure Liabilities [Member]us-gaap_RestructuringReserveByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FacilityClosingMemberus-gaap_RestructuringReserveByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$OthernaNo definition available.No authoritative reference available.falsefalse2false0orly_RestructuringAndRelatedActivitiesCompletedDateorlyfalsenainstantDate when the exit and disposal activities were completed or are expected to be completed.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabel1falsefalsefalse00April of 2023falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringDate when the exit and disposal activities were completed or are expected to be completed.No authoritative reference available.falsefalse3false0us-gaap_RestructuringAndRelatedCostCostIncurredToDateus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabel1truefalsefalse2340000023.4falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryAmount of costs incurred to date for the specified type of restructuring cost.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 146 -Paragraph 20 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 95-3 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 5 -Section P -Subsection 3, 4 falsefalse4false0natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosureexitactivitiesnarrativedetails1falsefalsefalse00falsefalsefalsefalsefalse2falsefalseUSDtruefalse{us-gaap_RestructuringReserveByTypeOfRestructuringAxis} : Employee Separation Liabilities [Member] 1/1/2010 - 12/31/2010 USD ($) $Duration_1_1_2010_To_12_31_2010193http://www.sec.gov/CIK0000898173duration2010-01-01T00:00:002010-12-31T00:00:00falsefalseEmployee Separation Liabilities [Member]us-gaap_RestructuringReserveByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeSeveranceMemberus-gaap_RestructuringReserveByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$OthernaNo definition available.No authoritative reference available.falsefalse5false0us-gaap_RestructuringAndRelatedCostCostIncurredToDateus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabel1truefalsefalse2940000029.4falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryAmount of costs incurred to date for the specified type of restructuring cost.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 146 -Paragraph 20 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 95-3 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 5 -Section P -Subsection 3, 4 falsefalse6false0natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosureexitactivitiesnarrativedetails1falsefalsefalse00falsefalsefalsefalsefalse3falsefalseUSDtruefalse{us-gaap_RestructuringReserveByTypeOfRestructuringAxis} : Administrative Office And Distribution Facilities Closure Liabilities [Member] 1/1/2010 - 12/31/2010 USD ($) $Duration_1_1_2010_To_12_31_201026http://www.sec.gov/CIK0000898173duration2010-01-01T00:00:002010-12-31T00:00:00falsefalseAdministrative Office And Distribution Facilities Closure Liabilities [Member]us-gaap_RestructuringReserveByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldiorly_AdministrativeOfficeAndDistributionFacilitiesClosureLiabilitiesMemberus-gaap_RestructuringReserveByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$OthernaNo definition available.No authoritative reference available.falsefalse7false0us-gaap_RestructuringAndRelatedCostCostIncurredToDateus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabel1truefalsefalse93000009.3falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryAmount of costs incurred to date for the specified type of restructuring cost.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 146 -Paragraph 20 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 95-3 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 5 -Section P -Subsection 3, 4 falsefalse17Exit Activities (Narrative) (Details) (USD $)HundredThousandsUnKnownUnKnownUnKnownfalsetrue