XML 98 R62.htm IDEA: XBRL DOCUMENT
v3.20.1

DERIVATIVES - Outstanding Swap Contracts (Details) - USD ($) $ in Millions | Oct. 29, 2021 | Jun. 30, 2021 | Apr. 29, 2021 | Oct. 30, 2020 | May 02, 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 |  |  |  |  |  | $ 2,092.5 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest Rate Swap 1 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, Notional Amount |  |  |  |  |  | 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  | 2.449% |  |  |  |  |  |  |  |  |  |  |
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.959% |  |  |  |  |  |
Interest Rate Swap 32 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, Notional Amount |  |  |  |  |  | 50.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1] |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.958% |  |  |  |  |  |
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 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, Notional Amount |  | $ 100.0 | $ 150.0 | $ 100.0 | $ 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast [Member] | Interest Rate Swap 17 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[4] |  |  |  | 0.454% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast [Member] | Interest Rate Swap 20 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[5] |  |  | 0.568% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast [Member] | Interest Rate Swap 21 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, forward interest rate | [1],[6] |  | 0.607% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast [Member] | 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.0 million to $84.0 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: | credit
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=109980867&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=109980867&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_InterestRateSwap1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |