XML 85 R73.htm IDEA: XBRL DOCUMENT
v3.19.1

LONG-TERM DEBT - Narrative (Details) |  |  | 3 Months Ended | 9 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 22, 2018 USD ($) | Oct. 01, 2018 USD ($) | Apr. 27, 2019 USD ($) | Apr. 27, 2019 USD ($) quarter | Apr. 28, 2018 USD ($) | Oct. 19, 2018 USD ($) | Aug. 29, 2018 USD ($) | Jul. 28, 2018 USD ($) | Aug. 14, 2014 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Repayments of Long-term Debt |  |  |  | $ 736,949,000 | $ 9,043,000 |  |  |  |
Loss on debt extinguishment |  |  |  | 2,562,000 | $ 0 |  |  |  |
Real Estate Pledged as Collateral |  |  | $ 556,800,000 | 556,800,000 |  |  |  |  |
Long term debt, including current portion, carrying value |  |  | 2,943,992,000 | 2,943,992,000 |  |  |  | $ 308,836,000 |
Debt Issuance Costs, Net |  |  | 57,608,000 | 57,608,000 |  |  |  | 1,164,000 |
Debt Instrument, Unamortized Discount |  |  | 42,729,000 | 42,729,000 |  |  |  | 0 |
Notes Payable |  |  | 2,943,992,000 | 2,943,992,000 |  |  |  | $ 308,836,000 |
Assets Held-in-trust |  |  | 566,400,000 | $ 566,400,000 |  |  |  |  |
ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 4.07% |  |  |  |  |
Term loan |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Proceeds from borrowings of long-term debt |  |  |  |  |  |  |  |  | $ 150,000,000
Fixed charge coverage ratio, minimum |  |  |  | 1.20 |  |  |  |  |
Fixed charge coverage ratio, number of quarters | quarter |  |  |  | 4 |  |  |  |  |
Funded debt ratio, number of quarters | quarter |  |  |  | 4 |  |  |  |  |
Maximum funded debt ratio |  |  |  | 3.00 |  |  |  |  |
Maximum outstanding borrowings, percentage of mortgaged property value |  |  |  | 75.00% |  |  |  |  |
Repayments of Long-term Debt |  | $ 110,000,000 |  |  |  |  |  |  |
Loss on debt extinguishment |  | $ 400,000 |  |  |  |  |  |  |
Term Loan Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 6.64% |  |  |  |  |
Loss on debt extinguishment |  |  | (200,000) |  |  |  |  |  |
Loss on Unamortized Original Issue Discount |  |  | $ 100,000 |  |  |  |  |  |
Supervalu Senior Notes |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage | 7.75% |  | 6.75% | 6.75% |  |  |  |  |
Senior Notes | $ 350,000,000 |  | $ 180,000,000 | $ 180,000,000 |  |  |  |  |
Base Rate | Term loan |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 0.75% |  |  |  |  |
LIBOR |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Minimum LIBOR rate | 0.00% |  |  |  |  |  |  |  |
LIBOR | Term loan |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 1.75% |  |  |  |  |
Secured Debt [Member] | Term Loan Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount | $ 1,950,000,000 |  |  |  |  |  |  |  |
Line of Credit, Additional Borrowing Capacity | 656,250,000 |  |  |  |  |  |  |  |
Debt Instrument, Guarantees Exception, Carrying Value of Owned Real Property | 10,000,000 |  |  |  |  |  |  |  |
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 | $ 10,000,000 |  |  |  |  |
Debt Issuance Costs, Net |  |  | 44,100,000 | 44,100,000 |  |  |  |  |
Debt Instrument, Unamortized Discount |  |  | 42,200,000 | 42,200,000 |  |  |  |  |
Secured Debt [Member] | Term B Tranche |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Repayments of Debt |  |  |  | 5,500,000 |  |  |  |  |
Debt Instrument, Face Amount | $ 1,800,000,000 |  | 1,794,500,000 | 1,794,500,000 |  |  |  |  |
Debt Instrument, Term | 7 years |  |  |  |  |  |  |  |
Debt, Current |  |  | 17,000,000 | 17,000,000 |  |  |  |  |
Secured Debt [Member] | 364-day Tranche |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Repayments of Debt |  |  | 47,000,000 | 8,700,000 |  |  |  |  |
Unamortized Debt Issuance Expense |  |  | 1,000,000 | 1,000,000 |  |  |  |  |
Debt Instrument, Face Amount | $ 150,000,000 |  | 94,300,000 | 94,300,000 |  |  |  |  |
Debt Instrument, Term | 364 days |  |  |  |  |  |  |  |
Debt, Current |  |  | 94,300,000 | $ 94,300,000 |  |  |  |  |
Secured Debt [Member] | Minimum | Term Loan Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of loans outstanding required to be paid following specified term following fiscal year end |  |  |  | 0.00% |  |  |  |  |
Secured Debt [Member] | Maximum | Term Loan Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of loans outstanding required to be paid following specified term following fiscal year end |  |  |  | 75.00% |  |  |  |  |
Secured Debt [Member] | Base Rate | Term B Tranche |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 3.25% |  |  |  |  |  |  |  |
Secured Debt [Member] | Base Rate | 364-day Tranche |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 1.00% |  |  |  |  |  |  |  |
Secured Debt [Member] | LIBOR | Term B Tranche |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 4.25% |  |  |  |  |  |  |  |
Secured Debt [Member] | LIBOR | 364-day Tranche |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 2.00% |  |  |  |  |  |  |  |
Revolving Credit Facility | Line of Credit |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Unused available credit |  |  | 791,352,000 | $ 791,352,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 |  |  |
Debt Issuance Costs, Net |  |  | 13,500,000 | $ 13,500,000 |  |  |  |  |
Maximum borrowing capacity, optional increase |  |  |  |  |  | 600,000,000.0 |  |  |
Notes Payable |  |  | 1,217,100,000 | 1,217,100,000 |  |  |  |  |
Letters of credit outstanding, amount |  |  | 80,600,000 | 80,600,000 |  |  |  |  |
Unused available credit |  |  | 791,400,000 | $ 791,400,000 |  |  |  |  |
Unused facility fees |  |  |  | 0.375% |  |  |  |  |
Revolving Credit Facility | Line of Credit | Former ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  | $ 900,000,000.0 |  |
Revolving Credit Facility | UNITED STATES | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  | 2,050,000,000.0 | $ 2,050,000,000.0 |  | 2,050,000,000.0 |  |  |
Line of credit facility, reserves |  |  | 93,400,000 | 93,400,000 |  |  |  |  |
Current borrowing capacity |  |  | 2,149,000,000 | 2,149,000,000 |  |  |  |  |
Revolving Credit Facility | UNITED STATES | Line of Credit | Base Rate | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 0.50% |  |  |  |  |  |  |  |
Revolving Credit Facility | UNITED STATES | Line of Credit | LIBOR | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 1.50% |  |  |  |  |  |  |  |
Revolving Credit Facility | CANADA | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | 50,000,000.0 |  |  |
Line of credit facility, reserves |  |  | 3,600,000 | 3,600,000 |  |  |  |  |
Current borrowing capacity | $ 2,089,000,000 |  | 39,000,000 | $ 39,000,000 |  |  |  |  |
Revolving Credit Facility | CANADA | Line of Credit | Prime Rate | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 0.50% |  |  |  |  |  |  |  |
Revolving Credit Facility | CANADA | Line of Credit | Bankers Acceptance Equivalent Rate | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 1.50% |  |  |  |  |  |  |  |
Letter of Credit | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Fixed charge coverage ratio, minimum |  |  |  | 1.0 |  |  |  |  |
Fixed charge coverage ratio, number of quarters | quarter |  |  |  | 4 |  |  |  |  |
Fronting fee percentage |  |  |  | 0.125% |  |  |  |  |
Maximum aggregate availability of the aggregate borrowing base |  |  | $ 235,000,000 | $ 235,000,000 |  |  |  |  |
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] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | 125,000,000.0 |  |  |
Letter of Credit | CANADA | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | 5,000,000.0 |  |  |
Bridge Loan | UNITED STATES | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | 100,000,000.0 |  |  |
Bridge Loan | CANADA | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | $ 3,500,000.0 |  |  |
SUPERVALU [Member] |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Payments for business acquisitions | $ 1,300,000,000 |  |  |  |  |  |  |  |
SUPERVALU [Member] | Revolving Credit Facility | Line of Credit | ABL Credit Facility |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Payments for business acquisitions | $ 1,475,000,000 |  |  |  |  |  |  |  |
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% |  |  |
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, Covenant, Funded Debt Ratio, Maximum + References No definition available. + Details
Name: | unfi_DebtInstrumentCovenantFundedDebtRatioMaximum
Namespace Prefix: | unfi_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Funded Debt Ratio, Number of Quarters + References No definition available. + Details
Name: | unfi_DebtInstrumentCovenantFundedDebtRatioNumberofQuarters
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Maximum Outstanding Borrowings, Percentage of Mortgaged Property Value + References No definition available. + Details
Name: | unfi_DebtInstrumentCovenantMaximumOutstandingBorrowingsPercentageofMortgagedPropertyValue
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the number of rolling quarters used to calculate the fixed charge coverage ratio under the debt instrument covenants. + References No definition available. + Details
Name: | unfi_DebtInstrumentFixedChargeCoverageRatioNumberOfQuarters
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
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 Loss on Unamortized Original Issue Discount + References No definition available. + Details
Name: | unfi_LossonUnamortizedOriginalIssueDiscount
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of cash and securities held by third party trustees pursuant to terms of debt instruments or other agreements as of the date of each statement of financial position presented, which can be used by the trustee only to pay the noncurrent portion of specified obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(b)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_AssetsHeldInTrust
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sum of the carrying values as of the balance sheet date of all debt, including all short-term borrowings, long-term debt, and capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13,16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_DebtAndCapitalLeaseObligations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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://www.xbrl.org/2003/role/presentationRef -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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=64930739&loc=d3e28878-108400 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=64930739&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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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_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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=49170532&loc=d3e12317-112629 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=49170532&loc=d3e12355-112629 + 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://www.xbrl.org/2003/role/presentationRef -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://www.xbrl.org/2003/role/presentationRef -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://www.xbrl.org/2003/role/presentationRef -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/presentationRef -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=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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 3: http://www.xbrl.org/2003/role/presentationRef -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://www.xbrl.org/2003/role/presentationRef -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 2: http://www.xbrl.org/2003/role/presentationRef -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=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&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://www.xbrl.org/2003/role/presentationRef -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 No definition available. + 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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer). Senior note holders are paid off in full before any payments are made to junior note holders. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16(a)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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_SeniorNotes
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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://www.xbrl.org/2003/role/presentationRef -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_ABLCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_RealestatebackedtermloanMember
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_DebtInstrumentAxis=unfi_SupervaluSeniorNotesMember
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_LongtermDebtTypeAxis=us-gaap_SecuredDebtMember
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_DebtInstrumentAxis=unfi_A2018TermLoanFacility364dayTrancheMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
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: | us-gaap_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_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_OutstandingBorrowingsEqualOrGreaterThan25PercentOfAggregateCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |