XML 64 R44.htm IDEA: XBRL DOCUMENT
v3.21.2

SIGNIFICANT ACCOUNTING POLICIES - Discontinued Operations (Details) - store | 3 Months Ended |
--- | --- | ---
Jul. 31, 2021 | May 01, 2021
Accounting Policies [Abstract] |  |
Number of stores reclassified to continuing operations | 2 |
Number of stores held for sale |  | 4

X
- Definition Number Of Stores Held For Sale + References No definition available. + Details
Name: | unfi_NumberOfStoresHeldForSale
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Stores Reclassified To Continuing Operations + References No definition available. + Details
Name: | unfi_NumberOfStoresReclassifiedToContinuingOperations
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