XML 86 R71.htm IDEA: XBRL DOCUMENT
v3.25.3

Retirement Savings Plans - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Aug. 30, 2025 | Aug. 31, 2024 | Aug. 26, 2023
Retirement Savings Plans |  |  |
Percentage of company matching retirement savings plan contributions that vest immediately | 100.00% |  |
Percentage of savings option up to qualified earnings | 25.00% |  |
Annual contribution by employer towards 401(k) Plan | $ 42.7 | $ 39.0 | $ 37.3

X
- Definition Maximum percentage of qualified earnings that can be contributed to the savings plan. + References No definition available. + Details
Name: | azo_SavingsOptionPercentageMaximumOfQualifiedEarnings
Namespace Prefix: | azo_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Percentage of employer's matching contributions to a defined contribution plan that vests in a given year. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployersMatchingContributionAnnualVestingPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow for other postretirement benefit. Includes, but is not limited to, employer contribution to fund plan asset and payment to retiree. Excludes pension benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Subparagraph (g) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-25 + Details
Name: | us-gaap_OtherPostretirementBenefitsPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration