XML 134 R114.htm IDEA: XBRL DOCUMENT
v3.21.2

INCOME TAXES - Uncertain Tax Positions, Narrative (Details) - USD ($) $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Jul. 31, 2021 | Aug. 01, 2020 | Aug. 03, 2019
Income Tax Disclosure [Abstract] |  |  |
Payments to government agencies | $ 8 |  |
Total accrued interest and penalties | 6 | $ 7 | $ 16
Possible decrease in amount of unrecognized tax benefits | $ 7 |  |

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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (d)(3) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant