XML 93 R73.htm IDEA: XBRL DOCUMENT
v3.20.2

DERIVATIVES (Details) - USD ($) $ in Millions | Oct. 29, 2021 | Jun. 30, 2021 | Apr. 29, 2021 | Oct. 30, 2020 | Aug. 01, 2020 | Jun. 28, 2019 | Jun. 10, 2019 | Apr. 02, 2019 | Mar. 21, 2019 | Jan. 24, 2019 | Jan. 23, 2019 | Jan. 11, 2019 | Nov. 30, 2018 | Nov. 16, 2018 | Oct. 26, 2018 | Jun. 24, 2016 | Jun. 09, 2016 | Aug. 03, 2015 | Mar. 31, 2015 | Jan. 23, 2015
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | $ 1,992.5 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 2 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.824% |  |  |  |  |
Interest rate swap 3 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 25.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.065% |  |  |
Interest rate swap 4 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 25.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.926% |  |  |  |
Interest rate swap 5 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  | 2.55% |  |  |  |  |  |  |  |  |
Interest rate swap 6 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  | 2.252% |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 7 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  | 2.229% |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 8 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  | 2.8084% |  |  |  |  |  |  |
Interest rate swap 9 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  | 2.3645% |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 10 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  | 2.217% |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 11 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  | 2.184% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 12 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount | [2] |  |  |  |  | 55.5 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[2] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.795% |  |
Interest rate swap 13 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount | [3] |  |  |  |  | 37.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[3] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.795% |  |
Interest rate swap 14 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.8915% |  |  |  |  |
Interest rate swap 15 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  | 2.4678% |  |  |  |  |  |  |  |
Interest rate swap 16 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  | 2.5255% |  |  |  |  |  |  |  |  |
Interest rate swap 17 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount | [4] |  |  |  |  | 0.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 18 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 150.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.895% |  |  |  |  |  |
Interest rate swap 19 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  | 2.5292% |  |  |  |  |  |  |  |  |
Interest rate swap 20 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount | [5] |  |  |  |  | 0.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 21 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount | [6] |  |  |  |  | 0.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 22 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  | 2.8315% |  |  |  |  |  |  |
Interest rate swap 23 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount | [7] |  |  |  |  | 0.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swap 24 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.921% |  |  |  |  |
Interest rate swap 25 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  | 2.477% |  |  |  |  |  |  |  |
Interest rate swap 26 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  | 2.542% |  |  |  |  |  |  |  |  |
Interest rate swap 27 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  | 2.848% |  |  |  |  |  |  |
Interest rate swap 28 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  | 2.501% |  |  |  |  |  |  |  |
Interest rate swap 29 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  | 2.521% |  |  |  |  |  |  |  |  |  |
Interest rate swap 30 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.955% |  |  |  |  |
Interest rate swap 31 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.958% |  |  |  |  |  |
Interest rate swap 32 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.959% |  |  |  |  |  |
Interest rate swap 33 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | $ 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  | 2.5558% |  |  |  |  |  |  |  |  |  |
Interest rate swap |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 84.0 | $ 140.0
Quarterly notional principal reduction |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1.0 | $ 1.5 |
Forecast |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, notional amount |  | $ 100.0 | $ 150.0 | $ 100.0 | $ 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast | Interest rate swap 17 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[4] |  |  |  | 0.454% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast | Interest rate swap 20 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[5] |  |  | 0.568% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast | Interest rate swap 21 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[6] |  | 0.607% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast | Interest rate swap 23 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[7] | 0.681% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
[1] | For these swap contracts that are indexed to LIBOR, the Company is monitoring and evaluating risks related to the expected future cessation of LIBOR.
[2] | On March 31, 2015, the Company amended the original contract to reduce the beginning notional principal amount from $140 million to $84 million. The swap contract has an amortizing notional principal amount which is reduced by $1.5 million on a quarterly basis.
[3] | The swap contract has an amortizing notional principal amount which is reduced by $1.0 million on a quarterly basis.
[4] | This forward starting swap contract has a notional principal amount of $100.0 million.
[5] | This forward starting swap contract has a notional principal amount of $100.0 million.
[6] | This forward starting swap contract has a notional principal amount of $150.0 million.
[7] | This forward starting swap contract has a notional principal amount of $100.0 million.

X
- Definition Quarterly notional principal reduction + References No definition available. + Details
Name: | unfi_Quarterlynotionalprincipalreduction
Namespace Prefix: | unfi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Stated rate on an interest rate forward or futures contract. + References No definition available. + Details
Name: | us-gaap_DerivativeForwardInterestRate
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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap5Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap6MemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap7Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap8Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap9Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap10Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap11Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap12Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap13Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap14MemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap15Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap16Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap17Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap18Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap19Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap20Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap21Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap22Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap23Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap24Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap25Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap26Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap27Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap28Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap29Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap30Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap31Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap32Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=unfi_InterestRateSwap33Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |