XML 116 R92.htm IDEA: XBRL DOCUMENT
v3.23.3

BENEFIT PLANS - Additional Information (Details) $ in Millions | 12 Months Ended
--- | ---
Jul. 29, 2023 USD ($) employee | Jul. 30, 2022 USD ($) | Jul. 31, 2021 USD ($)
Retirement Benefits [Abstract] |  |  |
Percentage of union employees that participate in multiemployer defined benefit pension plans under collective bargaining agreements (as a percent) | 65.00% |  |
Number of union employees | employee | 10,667 |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Settlement charge (gain) |  |  | $ 12
Derivative Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Other long-term liabilities | Other long-term liabilities |
Multiemployer pension plan, payment period (in years) | 20 years |  |
Other long-term liabilities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Multiemployer pension plan withdrawal liability | $ 73 | $ 94 |
Accrued Liabilities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Multiemployer pension plan withdrawal liability | 7 | 7 |
Postemployment Retirement Benefits |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Accrued compensation and benefits | 4 | 4 |
Pension and other postretirement benefit obligations | $ 4 | $ 5 |
Supervalu Retirement Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Change in discount rate (as a percent) | 0.81% | 1.58% |

X
- Definition Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Change In Discount Rate + References No definition available. + Details
Name: | unfi_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationChangeInDiscountRate
Namespace Prefix: | unfi_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
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 Number Of Union Employees + References No definition available. + Details
Name: | unfi_NumberOfUnionEmployees
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
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 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 Indicates line item in statement of financial position that includes derivative liability classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of entity's employees covered by collective-bargaining arrangement (CBA) to all participants in multiemployer pension plan determined to be individually significant. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 715 -SubTopic 80 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480576/715-80-50-5 + Details
Name: | us-gaap_MultiemployerPlanPensionSignificantEmployeesCoveredByCollectiveBargainingArrangementToAllParticipantsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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
- Definition Amount, after tax, of increase (decrease) to other comprehensive income from settlement and curtailment gain (loss) of defined benefit plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 15 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-15 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-11 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossFinalizationOfPensionAndNonPensionPostretirementPlanValuationNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of liability, recognized in statement of financial position, for defined benefit pension and other postretirement plans, classified as current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of liability, recognized in statement of financial position, for defined benefit pension and other postretirement plans, classified as noncurrent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(24)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent
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_BalanceSheetLocationAxis=us-gaap_AccruedLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PostemploymentRetirementBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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