XML 83 R63.htm IDEA: XBRL DOCUMENT
v3.22.2.2

401(k) Savings Plans - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Aug. 27, 2022 | Aug. 28, 2021 | Aug. 29, 2020
401(k) 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 | $ 37.9 | $ 34.1 | $ 29.8

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 -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585 + Details
Name: | us-gaap_OtherPostretirementBenefitsPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration