XML 130 R112.htm IDEA: XBRL DOCUMENT
v3.25.2

INCOME TAXES - Uncertain Tax Positions, Narrative (Details) - USD ($) | 12 Months Ended |  |
--- | --- | --- | ---
Aug. 02, 2025 | Aug. 03, 2024 | Jul. 29, 2023
Income Tax Disclosure [Abstract] |  |  |
Payments to government agencies | $ 0 |  |
Total accrued interest and penalties | 2,000,000 | $ 2,000,000 | $ 1,000,000
Decrease in unrecognized tax benefits | $ 5,000,000 |  |

X
- Definition Payments to Government Agencies + References No definition available. + Details
Name: | unfi_PaymentstoGovernmentAgencies
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease reasonably possible in the next twelve months for the unrecognized tax benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant