XML 41 R28.htm IDEA: XBRL DOCUMENT
v3.7.0.1

ACQUISITIONS (Details) - USD ($) $ in Thousands |  | 3 Months Ended | 6 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | ---
Mar. 31, 2016 | Jan. 28, 2017 | Jan. 28, 2017 | Aug. 10, 2016 | Jul. 30, 2016 | Jan. 30, 2016
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Goodwill |  | $ 370,393 | $ 370,393 |  | $ 366,168 | $ 265,230
Business Acquisition, Nor-Cal Produce [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Accounts Receivable |  | 8,483 | 8,483 |  | 8,483 |
Measurement Period Adjustment, Accounts Receivable |  |  | 0 |  |  |
Inventories |  | 1,902 | 1,902 |  | 1,902 |
Measurement Period Adjustment, Inventories |  |  | 0 |  |  |
Property and Equipment |  | 10,029 | 10,029 |  | 10,029 |
Measurement Period Adjustment, Property and Equipment |  |  | 0 |  |  |
Other Assets |  | 125 | 125 |  | 125 |
Measurement Period Adjustment, Other Assets |  |  | 0 |  |  |
Goodwill |  | 37,433 | 37,433 |  | 40,342 |
Goodwill, Purchase Accounting Adjustments |  |  | (2,909) |  |  |
Total assets |  | 89,772 | 89,772 |  | 92,681 |
Measurement Period Adjustment, Total Assets |  |  | 2,909 |  |  |
Liabilities |  | 21,192 | 21,192 |  | 24,101 |
Measurement Period Adjustment, Liabilities |  |  | 2,909 |  |  |
Total purchase price |  | 68,580 | 68,580 |  | 68,580 |
Measurement Period Adjustment, Total purchase price |  |  | 0 |  |  |
Payments to Acquire Businesses, Gross | $ 68,600 |  |  |  |  |
Business Acquisition, Nor-Cal Produce [Member] | Customer Lists |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Finite-Lived Customer Relationships, Gross |  | $ 30,300 | 30,300 |  | 30,300 |
Measurement Period Adjustment, Intangibles |  |  | 0 |  |  |
Finite-Lived Intangible Asset, Useful Life |  | 13 years |  |  |  |
Business Acquisition, Nor-Cal Produce [Member] | Trade Names [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Measurement Period Adjustment, Intangibles |  |  | 0 |  |  |
Finite-Lived Intangible Asset, Useful Life |  | 5 years |  |  |  |
Finite-Lived Trade Names, Gross |  | $ 1,000 | 1,000 |  | 1,000 |
Business Acquisition, Nor-Cal Produce [Member] | Noncompete Agreements [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Measurement Period Adjustment, Intangibles |  |  | 0 |  |  |
Finite-Lived Intangible Asset, Useful Life |  | 5 years |  |  |  |
Finite-Lived Noncompete Agreements, Gross |  | $ 500 | 500 |  | 500 |
Gourmet Guru, Inc. [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Finite-Lived Customer Relationships, Gross |  |  |  | $ 1,000 |  |
Goodwill |  | 9,600 | 9,600 |  |  |
Total purchase price |  |  |  | $ 10,000 |  |
Measurement Period Adjustment, Total purchase price |  |  | 100 |  |  |
Haddon House Food Products, Inc. [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Accounts Receivable |  | 40,134 | 40,134 |  | 40,434 |
Measurement Period Adjustment, Accounts Receivable |  |  | (300) |  |  |
Other Receivable |  | 3,621 | 3,621 |  | 3,621 |
Measurement Period Adjustment, Other Receivable |  |  | 0 |  |  |
Inventories |  | 46,440 | 46,440 |  | 46,138 |
Measurement Period Adjustment, Inventories |  |  | 302 |  |  |
Prepaid Expense and Other Current Assets |  | 1,744 | 1,744 |  | 1,645 |
Measurement Period Adjustment, Prepaid Expenses and Other Current Assets |  |  | 99 |  |  |
Property and Equipment |  | 54,501 | 54,501 |  | 54,501 |
Measurement Period Adjustment, Property and Equipment |  |  | 0 |  |  |
Other Assets |  | 280 | 280 |  | 280 |
Measurement Period Adjustment, Other Assets |  |  | 0 |  |  |
Goodwill |  | 43,585 | 43,585 |  | 45,851 |
Goodwill, Purchase Accounting Adjustments |  |  | (2,266) |  |  |
Total assets |  | 256,405 | 256,405 |  | 258,570 |
Measurement Period Adjustment, Total Assets |  |  | (2,165) |  |  |
Liabilities |  | 38,910 | 38,910 |  | 39,510 |
Measurement Period Adjustment, Liabilities |  |  | (600) |  |  |
Total purchase price |  | 217,495 | 217,495 |  | 219,060 |
Measurement Period Adjustment, Total purchase price |  |  | (1,565) |  |  |
Haddon House Food Products, Inc. [Member] | Customer Lists |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Finite Lived Intangible Assets |  | $ 62,700 | 62,700 |  | 62,700 |
Measurement Period Adjustment, Intangibles |  |  | 0 |  |  |
Finite-Lived Intangible Asset, Useful Life |  | 13 years |  |  |  |
Haddon House Food Products, Inc. [Member] | Trade Names [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Finite Lived Intangible Assets |  | $ 700 | 700 |  | 700 |
Measurement Period Adjustment, Intangibles |  |  | 0 |  |  |
Finite-Lived Intangible Asset, Useful Life |  | 3 years |  |  |  |
Haddon House Food Products, Inc. [Member] | Noncompete Agreements [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Finite Lived Intangible Assets |  | $ 700 | 700 |  | 700 |
Measurement Period Adjustment, Intangibles |  |  | 0 |  |  |
Finite-Lived Intangible Asset, Useful Life |  | 5 years |  |  |  |
Trademarks [Member] | Haddon House Food Products, Inc. [Member] |  |  |  |  |  |
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net [Abstract] |  |  |  |  |  |
Other Intangible Assets |  | $ 2,000 | 2,000 |  | $ 2,000 |
Measurement Period Adjustment, Intangibles |  |  | $ 0 |  |  |

X
- Definition Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Accounts Receivable + References No definition available. + Details
Name: | unfi_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentAccountsReceivable
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Assets + References No definition available. + Details
Name: | unfi_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentAssets
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Current Assets, Prepaid Expense and Other Assets + References No definition available. + Details
Name: | unfi_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentCurrentAssetsPrepaidExpenseandOtherAssets
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Current Assets, Receivables + References No definition available. + Details
Name: | unfi_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentCurrentAssetsReceivables
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Other Assets + References No definition available. + Details
Name: | unfi_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentOtherAssets
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Other Receivables + References No definition available. + Details
Name: | unfi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedCurrentAssetsOtherReceivables
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to items of consideration transferred in connection with a business combination for which the initial accounting was incomplete. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 4A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=SL65897772-128472 + Details
Name: | us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentConsiderationTransferred
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to financial liabilities assumed in connection with a business combination for which the initial accounting was incomplete. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 4A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=SL65897772-128472 + Details
Name: | us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentFinancialLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to intangibles acquired in connection with a business combination for which the initial accounting was incomplete. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 4A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=SL65897772-128472 + Details
Name: | us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to inventory acquired in connection with a business combination for which the initial accounting was incomplete. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 4A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=SL65897772-128472 + Details
Name: | us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentInventory
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to property, plant, and equipment acquired in connection with a business combination for which the initial accounting was incomplete. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 4A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=SL65897772-128472 + Details
Name: | us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of assets acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of assets, excluding financial assets and goodwill, that lack physical substance, having a projected indefinite period of benefit, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIndefiniteLivedIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of identifiable intangible assets recognized as of the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=73531372&loc=d3e2207-128464 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of inventory recognized as of the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=73531372&loc=d3e2207-128464 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=73531372&loc=d3e2207-128464 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Gross carrying amount before accumulated amortization as of the balance sheet date to an asset acquired in a business combination representing a favorable existing relationship with customers having a finite beneficial life. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedCustomerRelationshipsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Gross carrying amount before accumulated amortization as of the balance sheet date of payments made to third parties in exchange for their agreement not to engage in specified competitive practices in specified geographic territories for a specified period of time. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedNoncompeteAgreementsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Gross carrying amount before accumulated amortization as of the balance sheet date of the rights acquired through registration of a trade name to gain or protect exclusive use thereof for a reasonably expected period of economic benefit. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedTradeNamesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=64834752&loc=SL49117168-202975 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=73531572&loc=d3e961-128460 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillPurchaseAccountingAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=unfi_BusinessAcquisitionNorCalProduceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerListsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_NoncompeteAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=unfi_GourmetGuruInc.Domain
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=unfi_HaddonHouseFoodProductsInc.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TrademarksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |