2.2.0.7trueExit Activities Narrative (Details) (USD $)40502 - Disclosure - Exit Activities Narrative (Details)truefalseIn Millionsfalsefalse1USDtruefalsefalsefalseStore Closing Liabilities [Member]us-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FacilityClosingMemberus-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$10natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosureexitactivitiesnarrativedetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse1USDtruefalsefalsefalseStore Closing Liabilities [Member]us-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FacilityClosingMemberus-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false22orly_CumulativeAmountIncurredForExitActivitiesorlyfalsedebitdurationCumulative amount of cash paid, to date, to fully or partially settle a specified, previously accrued type of restructuring...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1truetruefalsefalse2270000022.7falsefalsefalsexbrli:monetaryItemTypemonetaryCumulative amount of cash paid, to date, to fully or partially settle a specified, previously accrued type of restructuring cost.No authoritative reference available.false30natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosureexitactivitiesnarrativedetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse2USDtruefalsefalsefalseAdministrative Office and Distribution Facilities Closure Liabilities [Member]us-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldiorly_AdministrativeOfficeAndDistributionFacilitiesClosureMemberus-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false42orly_CumulativeAmountIncurredForExitActivitiesorlyfalsedebitdurationCumulative amount of cash paid, to date, to fully or partially settle a specified, previously accrued type of restructuring...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1falsetruefalsefalse93000009.3falsefalsefalsexbrli:monetaryItemTypemonetaryCumulative amount of cash paid, to date, to fully or partially settle a specified, previously accrued type of restructuring cost.No authoritative reference available.false50natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.oreillyauto.com/role/disclosureexitactivitiesnarrativedetailsfalse1falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseEmployee Separation Liabilities [Member]us-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeSeveranceMemberus-gaap_RestructuringAndRelatedCostByTypeOfRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false62orly_CumulativeAmountIncurredForExitActivitiesorlyfalsedebitdurationCumulative amount of cash paid, to date, to fully or partially settle a specified, previously accrued type of restructuring...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1truetruefalsefalse2940000029.4falsefalsefalsexbrli:monetaryItemTypemonetaryCumulative amount of cash paid, to date, to fully or partially settle a specified, previously accrued type of restructuring cost.No authoritative reference available.false16falseHundredThousandsUnKnownUnKnownfalsetrue