XML 124 R104.htm IDEA: XBRL DOCUMENT
v3.22.2.2

BENEFIT PLANS - Multiemployer Pension Plans, Additional Information (Details) $ in Millions | 12 Months Ended
--- | ---
Jul. 30, 2022 USD ($) plan | Jul. 31, 2021 USD ($)
Defined Benefit Plan Disclosure [Line Items] |  |
Multiemployer pension plan withdrawal liability |  | $ 11
Multiemployer pension plan, payment period | 20 years |
Other long-term liabilities |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Multiemployer pension plan withdrawal liability | $ 94 | 110
Retail Multiemployer Pension Plans |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Number of multiemployer plans, withdrawal | plan | 3 |
Multi-employer pension plan withdrawal charges | $ 63 | $ 8

X
- Definition Multiemployer Plan, Pension, Number Of Plans, Withdrawal + References No definition available. + Details
Name: | unfi_MultiemployerPlanPensionNumberOfPlansWithdrawal
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Multiemployer Plan, Withdrawal Charges + References No definition available. + Details
Name: | unfi_MultiemployerPlanWithdrawalCharges
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Multiemployer Plans, Payment Period + References No definition available. + Details
Name: | unfi_MultiemployerPlansPaymentPeriod
Namespace Prefix: | unfi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the obligation recognized by withdrawing from a pension or postretirement benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers. + References No definition available. + Details
Name: | us-gaap_MultiemployerPlansWithdrawalObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=unfi_RetailMultiemployerPensionPlansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |