XML 71 R47.htm IDEA: XBRL DOCUMENT
v3.23.3

SIGNIFICANT ACCOUNTING POLICIES - Basis of Presentation (Details) | 12 Months Ended
--- | ---
Jul. 30, 2022 store
Accounting Policies [Abstract] |
Number of stores sold | 2

X
- Definition Number Of Stores Sold + References No definition available. + Details
Name: | unfi_NumberOfStoresSold
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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