XML 16 R63.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

LONG-TERM DEBT LONG-TERM DEBT (Details) - USD ($) |  | 3 Months Ended |  |  |
--- | --- | --- | --- | --- | ---
Oct. 22, 2018 | Nov. 02, 2019 | Oct. 27, 2018 | Aug. 03, 2019 | Oct. 19, 2018 | Aug. 29, 2018
Debt Instrument [Line Items] |  |  |  |  |  |
Repayments of Long-term Debt |  | $ 83,510,000 | $ 110,000,000 |  |  |
Loss on debt extinguishment |  | 73,000 | $ 1,114,000 |  |  |
Real Estate Pledged as Collateral |  | 590,700,000 |  |  |  |
Long term debt, including current portion, carrying value |  | 3,051,238,000 |  | $ 2,819,050,000 |  |
Debt Issuance Costs, Net |  | 52,374,000 |  | 54,891,000 |  |
Debt Instrument, Unamortized Discount |  | 39,787,000 |  | 41,175,000 |  |
Notes Payable |  | $ 3,051,238,000 |  | $ 2,819,050,000 |  |
Term Loan Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) |  | 6.04% |  |  |  |
ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) |  | 3.14% |  |  |  |
Secured Debt | Term Loan Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt Instrument, Face Amount | $ 1,950,000,000.0 |  |  |  |  |
Line of Credit, Additional Borrowing Capacity | 656,300,000 |  |  |  |  |
Debt Instrument, Guarantees Exception, Carrying Value of Owned Real Property | 10,000,000.0 |  |  |  |  |
Percentage of Net Cash Proceeds from certain types of asset sales required to be used for loan prepayment |  | 100.00% |  |  |  |
Threshold for loans outstanding to be paid following specified term following fiscal year end |  | $ 10,000,000 |  |  |  |
Debt Issuance Costs, Net |  | 40,200,000 |  |  |  |
Debt Instrument, Unamortized Discount |  | $ 39,400,000 |  |  |  |
Secured Debt | Term Loan Facility | Minimum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Percentage of loans outstanding required to be paid following specified term following fiscal year end |  | 0.00% |  |  |  |
Secured Debt | Term Loan Facility | Maximum |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Percentage of loans outstanding required to be paid following specified term following fiscal year end |  | 75.00% |  |  |  |
Secured Debt | 2018 Term Loan Facility, 364-day Tranche |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Repayments of Debt |  | $ 15,300,000 |  |  |  |
Voluntary Repayments of Debt |  | 5,800,000 |  |  |  |
Unamortized Debt Issuance Expense |  | 100,000 |  |  |  |
Debt Instrument, Face Amount | $ 150,000,000.0 |  |  |  |  |
Debt Instrument, Term | 364 days |  |  |  |  |
Outstanding Borrowings |  | 52,800,000 |  |  |  |
Secured Debt | 2018 Term Loan Facility, Term B Tranche |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt Instrument, Face Amount | $ 1,800,000,000.0 | 1,786,500,000 |  |  |  |
Debt Instrument, Term | 7 years |  |  |  |  |
Debt, Current |  | 18,000,000.0 |  |  |  |
Revolving Credit Facility | Line of Credit |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Unused available credit |  | $ 695,704,000 |  |  |  |
Unused facility fees |  | 0.25% |  |  |  |
Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | $ 2,100,000,000.0 |
Line Of Credit Facility, Maximum Borrowing Capacity, Including Optional Increase |  |  |  |  | 2,700,000,000.0 |
Debt Issuance Costs, Net |  | $ 12,200,000 |  |  |  |
Maximum borrowing capacity, optional increase |  |  |  |  | 600,000,000.0 |
Notes Payable |  | 1,317,700,000 |  |  |  |
Letters of credit outstanding, amount |  | 77,400,000 |  |  |  |
Unused available credit |  | 695,700,000 |  |  |  |
Revolving Credit Facility | Line of Credit | Former ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | $ 900,000,000.0
Revolving Credit Facility | Line of Credit | UNITED STATES | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  | 2,050,000,000.0 |  |  | 2,050,000,000.0 |
Line of credit facility, reserves |  | 143,900,000 |  |  |  |
Current borrowing capacity |  | 2,333,700,000 |  |  |  |
Revolving Credit Facility | Line of Credit | CANADA | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | 50,000,000.0 |
Line of credit facility, reserves |  | 4,000,000.0 |  |  |  |
Current borrowing capacity | $ 2,090,800,000 | $ 40,800,000 |  |  |  |
Letter of Credit | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Fixed charge coverage ratio, minimum |  | 1.0 |  |  |  |
Fronting fee percentage |  | 0.125% |  |  |  |
Maximum aggregate availability of the aggregate borrowing base |  | $ 235,000,000.0 |  |  |  |
Maximum percentage of aggregate availability of the aggregate borrowing base |  | 10.00% |  |  |  |
Letter of Credit | Line of Credit | UNITED STATES | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | 125,000,000.0 |
Letter of Credit | Line of Credit | CANADA | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | 5,000,000.0 |
Bridge Loan | Line of Credit | UNITED STATES | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | 100,000,000.0 |
Bridge Loan | Line of Credit | CANADA | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | $ 3,500,000 |
SUPERVALU |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Payments for business acquisitions | 1,300,000,000 |  |  |  |  |
SUPERVALU | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Payments for business acquisitions | $ 1,475,000,000.0 |  |  |  |  |
Accounts Receivable | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Borrowing base, eligibility percent |  |  |  |  | 90.00% |
Credit Card Receivable | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Borrowing base, eligibility percent |  |  |  |  | 90.00% |
Inventories | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Borrowing base, eligibility percent |  |  |  |  | 90.00% |
Pharmacy Receivable | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Borrowing base, eligibility percent |  |  |  |  | 90.00% |
Base Rate | Secured Debt | 2018 Term Loan Facility, Term B Tranche |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) | 3.25% |  |  |  |  |
Base Rate | Revolving Credit Facility | Line of Credit | UNITED STATES | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) |  | 0.25% |  |  |  |
London Interbank Offered Rate (LIBOR) |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Minimum LIBOR rate | 0.00% |  |  |  |  |
London Interbank Offered Rate (LIBOR) | Secured Debt | 2018 Term Loan Facility, Term B Tranche |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) | 4.25% |  |  |  |  |
London Interbank Offered Rate (LIBOR) | Revolving Credit Facility | Line of Credit | UNITED STATES | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) |  | 1.25% |  |  |  |
Prime Rate | Revolving Credit Facility | Line of Credit | CANADA | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) |  | 0.25% |  |  |  |
Bankers Acceptance Equivalent Rate | Revolving Credit Facility | Line of Credit | CANADA | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Spread on reference rate (percent) |  | 1.25% |  |  |  |
Outstanding Borrowings Less Than 25 Percent Of Aggregate Commitments | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Unused facility fees |  | 0.375% |  |  |  |
Outstanding Borrowings Equal Or Greater Than 25% Of Aggregate Commitments | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Unused facility fees |  | 0.25% |  |  |  |

X
- Definition Debt Instrument, Covenant Compliance, Percentage Of Loans Outstanding Required To Be Paid Following Specified Term Following Fiscal Year End + References No definition available. + Details
Name: | unfi_DebtInstrumentCovenantCompliancePercentageOfLoansOutstandingRequiredToBePaidFollowingSpecifiedTermFollowingFiscalYearEnd
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant Compliance, Percentage Of Proceeds From Certain Types Of Asset Sales To Be Used To Prepay Loans Outstanding + References No definition available. + Details
Name: | unfi_DebtInstrumentCovenantCompliancePercentageOfProceedsFromCertainTypesOfAssetSalesToBeUsedToPrepayLoansOutstanding
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant Compliance, Threshold, Loans Outstanding Required To Be Paid Following Specified Term Following Fiscal Year End + References No definition available. + Details
Name: | unfi_DebtInstrumentCovenantComplianceThresholdLoansOutstandingRequiredToBePaidFollowingSpecifiedTermFollowingFiscalYearEnd
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the numerator of the minimum fixed charge coverage ratio allowable under the financial covenant. + References No definition available. + Details
Name: | unfi_DebtInstrumentCovenantFixedChargeCoverageRatioMinimum
Namespace Prefix: | unfi_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Guarantees Exception, Carrying Value of Owned Real Property + References No definition available. + Details
Name: | unfi_DebtInstrumentGuaranteesExceptionCarryingValueofOwnedRealProperty
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Instrument, Minimum Variable Rate + References No definition available. + Details
Name: | unfi_DebtInstrumentMinimumVariableRate
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line Of Credit Facility, Borrowing Base, Eligibility Percent + References No definition available. + Details
Name: | unfi_LineOfCreditFacilityBorrowingBaseEligibilityPercent
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Facility, Borrowing Capacity, Reserves + References No definition available. + Details
Name: | unfi_LineOfCreditFacilityBorrowingCapacityReserves
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line Of Credit Facility, Fronting Fee Percentage + References No definition available. + Details
Name: | unfi_LineOfCreditFacilityFrontingFeePercentage
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum amount of borrowing capacity under a line of credit that is used for calculating to minimum fixed charge ration. + References No definition available. + Details
Name: | unfi_LineOfCreditFacilityMaximumAggregateAvailabilityOfTheAggregateBorrowingBase
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line Of Credit Facility, Maximum Borrowing Capacity, Including Optional Increase + References No definition available. + Details
Name: | unfi_LineOfCreditFacilityMaximumBorrowingCapacityIncludingOptionalIncrease
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line Of Credit Facility, Maximum Borrowing Capacity, Optional Increase + References No definition available. + Details
Name: | unfi_LineOfCreditFacilityMaximumBorrowingCapacityOptionalIncrease
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The percentage of maximum amount of borrowing capacity under a line of credit that is used for calculating to minimum fixed charge ration. + References No definition available. + Details
Name: | unfi_LineOfCreditFacilityMaximumPercentageOfAggregateAvailabilityOfTheAggregateBorrowingBase
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit, Additional Borrowing Capacity + References No definition available. + Details
Name: | unfi_LineofCreditAdditionalBorrowingCapacity
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Outstanding Borrowings + References No definition available. + Details
Name: | unfi_OutstandingBorrowings
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Voluntary Repayments of Debt + References No definition available. + Details
Name: | unfi_VoluntaryRepaymentsofDebt
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of short-term debt and current maturity of long-term debt and capital lease obligations due within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, 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_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=117329964&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=117329964&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_NotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fair value, as of the date of each statement of financial position presented, of real estate which is owned but transferred to serve as collateral for the payment of the related debt obligation, and that is reclassified and separately reported in the statement of financial position because the transferee has the right by contract or custom to sell or re-pledge it. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728 + Details
Name: | us-gaap_PledgedAssetsSeparatelyReportedRealEstatePledgedAsCollateralAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_UnamortizedDebtIssuanceExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_A2018TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_ABLCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_A2018TermLoanFacility364dayTrancheMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_A2018TermLoanFacilityTermBTrancheMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_FormerABLCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_BridgeLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | unfi_BorrowingBaseEligibleAssetAxis=us-gaap_AccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | unfi_BorrowingBaseEligibleAssetAxis=us-gaap_CreditCardReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | unfi_BorrowingBaseEligibleAssetAxis=us-gaap_InventoriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | unfi_BorrowingBaseEligibleAssetAxis=unfi_PharmacyReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=unfi_BankersAcceptanceEquivalentRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | unfi_DebtCovenantTermsAxis=unfi_OutstandingBorrowingsLessThan25PercentOfAggregateCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | unfi_DebtCovenantTermsAxis=unfi_OutstandingBorrowingsEqualOrGreaterThan25PercentOfAggregateCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |