XML 102 R86.htm IDEA: XBRL DOCUMENT
v3.24.0.1

INCOME TAXES (Provision for Income Taxes) (Narrative) (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Income Taxes |  |  |
Investment tax credit amount | $ 336.5 | $ 167.6 | $ 177.1
Liability for the purchase of transferrable federal renewable energy tax credits | $ 266.0 |  |

X
- Definition Liability for the purchase of transferrable federal renewable energy tax credits + References No definition available. + Details
Name: | orly_LiabilityForPurchaseOfTransferrableFederalRenewableEnergyTaxCredits
Namespace Prefix: | orly_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount deducted from an entities' taxes, reflecting a percentage of an amount invested in certain assets spread over the useful life of those assets; includes deferred investment tax credits. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 + Details
Name: | us-gaap_InvestmentTaxCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration