XML 40 R27.htm IDEA: XBRL DOCUMENT
v3.7.0.1

RECENTLY ISSUED ACCOUNTING PRONOUNCEMENTS (Details) - USD ($) $ in Thousands | 6 Months Ended |
--- | --- | ---
Jan. 28, 2017 | Jan. 30, 2016 | Jul. 30, 2016
Recent Accounting Pronouncements [Abstract] |  |  |
Deferred income taxes | $ 35,225 |  | $ 35,228
Adjustment to Additional Paid in Capital, Income Tax Effect from Share-based Compensation, Net | $ 1,400 | $ 200 |

X
- Definition Recent Accounting Pronouncements [Abstract] + References No definition available. + Details
Name: | unfi_RecentAccountingPronouncementsAbstract
Namespace Prefix: | unfi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in additional paid in capital (APIC) resulting from a tax benefit (deficiency) associated with an share-based compensation plan other than an employee stock ownership plan (ESOP). + References No definition available. + Details
Name: | us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards classified as current. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32537-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31917-109318 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31931-109318 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31928-109318 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e31958-109318 + Details
Name: | us-gaap_DeferredTaxAssetsNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant