XML 62 R50.htm IDEA: XBRL DOCUMENT
v3.19.1

ACQUISITIONS - Schedule of Assets Acquired and Liabilities Assumed (Details) - USD ($) $ in Thousands |  |  |  | 3 Months Ended | 9 Months Ended |
--- | --- | --- | --- | --- | --- | ---
Apr. 27, 2019 | Oct. 27, 2018 | Oct. 22, 2018 | Jan. 26, 2019 | Apr. 27, 2019 | Jul. 28, 2018
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Increase (decrease) to Other Assets and Intangible Assets |  |  |  |  |  | $ 23,700 |  |  |
Goodwill |  | $ 471,843 |  |  |  |  | $ 471,843 |  | $ 362,495
Goodwill, Acquired During Period |  |  |  |  |  |  | 444,572 |  |
Reduction of long-term debt and capital lease obligations |  |  |  |  |  | $ 23,800 |  |  |
Supervalu |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Cash and cash equivalents |  | 25,102 |  | $ 25,102 |  |  | 25,102 |  |
Accounts receivable |  | 543,570 |  | 557,680 |  |  | 543,570 |  |
Inventories |  | 1,162,175 |  | 1,162,360 |  |  | 1,162,175 |  |
Prepaid expenses and other current assets |  | 69,850 |  | 66,440 |  |  | 69,850 |  |
Current assets of discontinued operations | [1] | 204,917 |  | 196,615 |  |  | 204,917 |  |
Property, plant and equipment |  | 1,209,486 |  | 1,148,001 |  |  | 1,209,486 |  |
Goodwill |  |  |  | 347,485 |  |  |  |  |
Intangible assets(2) |  | 923,099 | [2] | 1,077,541 |  |  | 923,099 | [2] |
Other assets(2) |  | 77,266 | [2] | 109,445 |  |  | 77,266 | [2] |
Long-term assets of discontinued operations | [1] | 439,235 |  | 404,301 |  |  | 439,235 |  |
Accounts payable |  | (973,394) |  | (967,429) |  |  | (973,394) |  |
Other current liabilities |  | (327,619) |  | (282,692) |  |  | (327,619) |  |
Current portion of long term debt and capital lease obligations |  | (579,566) |  | (579,677) |  |  | (579,566) |  |
Current liabilities of discontinued operations | [1] | (150,690) |  | (150,611) |  |  | (150,690) |  |
Long-term debt and capital lease obligations | [3] | (137,644) |  | (179,262) |  |  | (137,644) |  |
Pension and other postretirement benefit obligations |  | (234,324) |  | (234,324) |  |  | (234,324) |  |
Deferred income taxes |  | (74,254) |  | (177,231) |  |  | (74,254) |  |
Other long-term liabilities | [3] | (299,598) |  | (200,913) |  |  | (299,598) |  |
Long-term liabilities of discontinued operations | [1] | (753) |  | (1,401) |  |  | (753) |  |
Total fair value of net assets acquired |  | 2,321,430 |  | 2,321,430 |  |  | 2,321,430 |  |
Plus: noncontrolling interests |  | 1,633 |  | 1,633 |  |  | 1,633 |  |
Less: cash and cash equivalents acquired | [4] | (30,596) |  | (30,596) |  |  |  |  |
Less: assumed equity award liabilities |  | (18,638) |  | (18,638) |  |  |  |  |
Plus: cash paid for equity awards |  | 8,498 |  | 0 |  |  |  |  |
Total consideration paid in cash |  | 2,282,327 |  | 2,273,829 |  |  |  |  |
Plus: unpaid assumed equity award liabilities | [5] | 9,914 |  | 18,638 |  |  |  |  |
Total consideration |  | 2,292,241 |  | $ 2,292,467 | $ 2,300,000 |  |  |  |
Wholesale |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Goodwill |  | 112,000 |  |  |  |  | 112,000 |  |
Wholesale | Operating Segments [Member] |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Goodwill | [6] | $ 461,690 |  |  |  |  | 461,690 |  | $ 352,342
Goodwill, Acquired During Period |  |  |  |  |  |  | $ 444,572 |  |
[1] | Refer to Note 19. “Discontinued Operations” for additional information regarding the carrying value of discontinued operations within the Condensed Consolidated Balance Sheets.
[2] | During the second quarter of fiscal 2019, the Company reclassified favorable operating lease intangible assets of $23.7 million from Other assets to Intangible assets within this table.
[3] | During the second quarter of fiscal 2019, the Company reclassified residual financing obligations associated with build-to-suit properties for which the Company is not obligated to fund unless it is obligated under a future extension of a lease agreement. This reclassification resulted in a reduction of Long-term debt and capital lease obligations of $23.8 million, with an offsetting increase in Other long-term liabilities assumed within this table. If the terms of the respective leases are extended and a cash obligation for a portion of this residual value balance exists, the Company will present these contractual obligations within Long-term capital lease obligations within the Condensed Consolidated Balance Sheets.
[4] | Includes cash and cash equivalents acquired attributable to continuing operations and discontinued operations.
[5] | Includes equity consideration for share-based awards that have not yet been paid, which reflects non-cash consideration for the third quarter of fiscal 2019 that will become cash consideration in subsequent periods.
[6] | Amounts are net of accumulated goodwill impairment charges of $0.0 million and $332.6 million as of July 28, 2018 and April 27, 2019, respectively.

X
- Definition Business Combination, Consideration Transferred, Equity Award Liabilities Assumed + References No definition available. + Details
Name: | unfi_BusinessCombinationConsiderationTransferredEquityAwardLiabilitiesAssumed
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Combination, Consideration Transferred, Including Unpaid Consideration + References No definition available. + Details
Name: | unfi_BusinessCombinationConsiderationTransferredIncludingUnpaidConsideration
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Combination, Consideration Transferred, Unpaid Consideration + References No definition available. + Details
Name: | unfi_BusinessCombinationConsiderationTransferredUnpaidConsideration
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities of Discontinued Operations + References No definition available. + Details
Name: | unfi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedCurrentLiabilitiesofDiscontinuedOperations
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Assets of Discontinued Operations + References No definition available. + Details
Name: | unfi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentAssetsofDiscontinuedOperations
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities of Discontinued Operations + References No definition available. + Details
Name: | unfi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedNoncurrentLiabilitiesofDiscontinuedOperations
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Pension and Other Postretirement Benefit Obligations + References No definition available. + Details
Name: | unfi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedPensionandOtherPostretirementBenefitObligations
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Increase (Decrease) In Long-term Debt And Capital Lease Obligations + References No definition available. + Details
Name: | unfi_IncreaseDecreaseInLongtermDebtAndCapitalLeaseObligations
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase (decrease) to Other Assets and Intangible Assets + References No definition available. + Details
Name: | unfi_IncreasedecreasetoOtherAssetsandIntangibleAssets
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents the fair value of the noncontrolling interest in the acquiree 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 (e)(1) -URI http://asc.fasb.org/extlink&oid=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
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=84161108&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=84161108&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 liabilities incurred for goods and services received that are used in an entity's business and related party payables, 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt due within one year or within the normal operating cycle, if longer, 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other liabilities due within one year or within the normal operating cycle, if longer, 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred tax liability attributable to taxable temporary differences assumed at the acquisition date. + References Reference 1: 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=84176650&loc=d3e31917-109318 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of intangible assets, excluding goodwill, 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
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=84161108&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=84160947&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 long-term debt due after one year or the normal operating cycle, if longer, 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other liabilities due after one year or the normal operating cycle, if longer, 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed after 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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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=84161108&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=84160947&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=84161108&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow associated with the acquisition of business during the period (for example, cash that was held by the acquired business). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 + Details
Name: | us-gaap_CashAcquiredFromAcquisition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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=77989000&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 in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination. + 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 (b) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillAcquiredDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=unfi_WholesaleSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |