XML 96 R66.htm IDEA: XBRL DOCUMENT
v3.20.1

LONG-TERM DEBT (Details) - USD ($) |  |  | 3 Months Ended | 9 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Oct. 21, 2019 | Oct. 22, 2018 | May 02, 2020 | Nov. 02, 2019 | May 02, 2020 | Aug. 03, 2019 | Oct. 19, 2018 | Aug. 29, 2018
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Notes Payable |  |  | $ 2,541,657,000 |  | $ 2,541,657,000 | $ 2,819,050,000 |  |
Debt issuance costs, net |  |  | 48,030,000 |  | 48,030,000 | 54,891,000 |  |
Pledged Assets Separately Reported, Real Estate Pledged as Collateral, at Fair Value |  |  | 649,900,000 |  | 649,900,000 |  |  |
Original issue discount on debt |  |  | 36,952,000 |  | $ 36,952,000 | $ 41,175,000 |  |
London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Minimum Variable Rate |  | 0.00% |  |  |  |  |  |
ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  | 1.96% |  |  |
Term Loan Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  | 4.65% |  |  |
Secured Debt | Term Loan Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  | $ 1,950,000,000.0 |  |  |  |  |  |
Debt issuance costs, net |  |  | 37,400,000 |  | $ 37,400,000 |  |  |
Line of Credit, Additional Borrowing Capacity |  | 656,300,000 |  |  |  |  |  |
Debt Instrument, Guarantees Exception, Carrying Value of Owned Real Property |  | 10,000,000.0 |  |  |  |  |  |
Debt Instrument, Covenant Compliance, Percentage Of Proceeds From Certain Types Of Asset Sales To Be Used To Prepay Loans Outstanding |  |  |  |  | 100.00% |  |  |
Debt Instrument, Covenant Compliance, Threshold, Loans Outstanding Required To Be Paid Following Specified Term Following Fiscal Year End |  |  | 10,000,000 |  | $ 10,000,000 |  |  |
Original issue discount on debt |  |  | 36,600,000 |  | $ 36,600,000 |  |  |
Secured Debt | Term Loan Facility | Minimum |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance, 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] |  |  |  |  |  |  |  |
Debt Instrument, Covenant Compliance, Percentage Of Loans Outstanding Required To Be Paid Following Specified Term Following Fiscal Year End |  |  |  |  | 75.00% |  |  |
Secured Debt | 2018 Term Loan Facility, Term B Tranche |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  | $ 1,800,000,000.0 | 1,777,500,000 |  | $ 1,777,500,000 |  |  |
Debt Instrument, Term |  | 7 years |  |  |  |  |  |
Debt, Current |  |  | 18,000,000.0 |  | 18,000,000.0 |  |  |
Secured Debt | 2018 Term Loan Facility, Term B Tranche | Base Rate |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 3.25% |  |  |  |  |  |
Secured Debt | 2018 Term Loan Facility, Term B Tranche | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 4.25% |  |  |  |  |  |
Secured Debt | 2018 Term Loan Facility, 364-day Tranche |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  | $ 150,000,000.0 |  |  |  |  |  |
Debt Instrument, Term |  | 364 days |  |  |  |  |  |
Outstanding Borrowings | $ 52,800,000 |  |  |  |  |  |  |
Repayments of Debt |  |  |  | $ 15,300,000 |  |  |  |
Voluntary Repayments of Debt |  |  |  | 5,800,000 |  |  |  |
Unamortized Debt Issuance Expense |  |  |  | $ 100,000 |  |  |  |
Revolving Credit Facility | Line of Credit |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Remaining availability under ABL Credit Facility |  |  | 1,153,861,000 |  | $ 1,153,861,000 |  |  |
Unused facility fees |  |  |  |  | 0.25% |  |  |
Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  | $ 2,100,000,000.0 |
Line Of Credit Facility, Maximum Borrowing Capacity, Including Optional Increase |  |  |  |  |  |  | 2,700,000,000.0 |
Line Of Credit Facility, Maximum Borrowing Capacity, Optional Increase |  |  |  |  |  |  | 600,000,000.0 |
Notes Payable |  |  | 816,000,000.0 |  | $ 816,000,000.0 |  |  |
Debt issuance costs, net |  |  | 10,600,000 |  | 10,600,000 |  |  |
Letters of Credit Outstanding, Amount |  |  | 95,100,000 |  | 95,100,000 |  |  |
Remaining availability under ABL Credit Facility |  |  | 1,153,900,000 |  | 1,153,900,000 |  |  |
Revolving Credit Facility | Line of Credit | Former ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  |  | $ 900,000,000.0
Revolving Credit Facility | UNITED STATES | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  | 2,050,000,000.0 |  | 2,050,000,000.0 |  | 2,050,000,000.0 |
Line Of Credit Facility, Borrowing Capacity, Reserves |  |  | 239,000,000.0 |  | 239,000,000.0 |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  | $ 2,027,200,000 |  | 2,027,200,000 |  |  |
Revolving Credit Facility | UNITED STATES | Line of Credit | ABL Credit Facility | Base Rate |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 0.25% |  |  |  |  |
Revolving Credit Facility | UNITED STATES | Line of Credit | ABL Credit Facility | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 1.25% |  |  |  |  |
Revolving Credit Facility | CANADA | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  | $ 50,000,000.0 |  | 50,000,000.0 |  | 50,000,000.0 |
Line Of Credit Facility, Borrowing Capacity, Reserves |  |  | 4,000,000.0 |  | 4,000,000.0 |  |  |
Line of Credit Facility, Current Borrowing Capacity |  |  | $ 37,800,000 |  | $ 37,800,000 |  |  |
Remaining availability under ABL Credit Facility |  | $ 2,065,000,000.0 |  |  |  |  |  |
Revolving Credit Facility | CANADA | Line of Credit | ABL Credit Facility | Prime Rate |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 0.25% |  |  |  |  |
Revolving Credit Facility | CANADA | Line of Credit | ABL Credit Facility | Bankers Acceptance Equivalent Rate |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 1.25% |  |  |  |  |
Letter of Credit | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line Of Credit Facility, Fronting Fee Percentage |  |  | 0.125% |  |  |  |  |
Debt Instrument, Covenant, Fixed Charge Coverage Ratio, Minimum |  |  |  |  | 1.0 |  |  |
Line of Credit Facility, Maximum Aggregate Availability of the Aggregate Borrowing Base |  |  | $ 235,000,000.0 |  | $ 235,000,000.0 |  |  |
Line of Credit Facility, Maximum Percentage of Aggregate Availability of the Aggregate Borrowing Base |  |  |  |  | 10.00% |  |  |
Letter of Credit | UNITED STATES | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  | 125,000,000.0 |
Letter of Credit | CANADA | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  | 5,000,000.0 |
Bridge Loan | UNITED STATES | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  | 100,000,000.0 |
Bridge Loan | CANADA | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  | $ 3,500,000 |
SUPERVALU |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Payments to Acquire Businesses, Gross |  | 1,300,000,000 |  |  |  |  |  |
SUPERVALU | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Payments to Acquire Businesses, Gross |  | $ 1,475,000,000.0 |  |  |  |  |  |
Accounts Receivable | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line Of Credit Facility, Borrowing Base, Eligibility Percent |  |  |  |  |  |  | 90.00% |
Credit Card Receivable | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line Of Credit Facility, Borrowing Base, Eligibility Percent |  |  |  |  |  |  | 90.00% |
Inventories | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line Of Credit Facility, Borrowing Base, Eligibility Percent |  |  |  |  |  |  | 90.00% |
Pharmacy Receivable | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Line Of Credit Facility, Borrowing Base, Eligibility Percent |  |  |  |  |  |  | 90.00% |
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 Percent 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 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 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 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_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
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_DebtInstrumentAxis=unfi_A2018TermLoanFacilityMember
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_A2018TermLoanFacilityTermBTrancheMember
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_DebtInstrumentAxis=unfi_A2018TermLoanFacility364dayTrancheMember
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_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: | 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: | 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: |