XML 33 R63.htm IDEA: XBRL DOCUMENT
v3.19.3

RESTRUCTURING, ACQUISITION AND INTEGRATION RELATED EXPENSES (Details) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jul. 28, 2018 USD ($) store | Jan. 27, 2018 store | Aug. 03, 2019 USD ($) lease store | Jul. 28, 2018 USD ($) store | Jul. 29, 2017 USD ($)
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Number of stores | store |  |  | 17 |  |
Number of property leases with reserves terminated | lease |  |  | 12 |  |
Restructuring costs | $ |  |  | $ 153,539 | $ 9,738 | $ 6,864
Loss on disposition of assets | $ | $ 2,700 |  |  |  |
Earth Origins Market |  |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |  |
Number of stores closed | store |  | 3 |  |  |
Number of stores | store | 12 |  |  | 12 |
Restructuring costs | $ |  |  |  | $ 9,700 |

X
- Definition Number of Property Leases With Reserves Terminated + References No definition available. + Details
Name: | unfi_NumberofPropertyLeasesWithReservesTerminated
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Stores Closed + References No definition available. + Details
Name: | unfi_NumberofStoresClosed
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnDispositionOfAssets1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the number of stores. + References No definition available. + Details
Name: | us-gaap_NumberOfStores
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
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_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of restructuring charges, remediation cost, and asset impairment loss. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 + Details
Name: | us-gaap_RestructuringSettlementAndImpairmentProvisions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringPlanAxis=unfi_EarthOriginsMarketMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |