XML 85 R65.htm IDEA: XBRL DOCUMENT
v3.21.2

FAIR VALUE MEASUREMENTS OF FINANCIAL INSTRUMENTS - Narrative (Details) $ in Millions | 12 Months Ended
--- | ---
Jul. 31, 2021 USD ($)
Fair Value Disclosures [Abstract] |
Effect of one percent increase on fair value of interest rate fair value hedging instruments | $ 31
Effect of one percent decrease on fair value of interest rate fair value hedging instruments | $ 32

X
- Definition Effect of One Percent Decrease on Fair Value of Interest Rate Fair Value Hedging Instruments + References No definition available. + Details
Name: | unfi_EffectofOnePercentDecreaseonFairValueofInterestRateFairValueHedgingInstruments
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Effect of One Percent Increase on Fair Value of Interest Rate Fair Value Hedging Instruments + References No definition available. + Details
Name: | unfi_EffectofOnePercentIncreaseonFairValueofInterestRateFairValueHedgingInstruments
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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