XML 114 R96.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Employee Termination, Asset Impairment and Other Charges - Additional Information (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Jul. 01, 2022 | Jul. 02, 2021 | Jul. 03, 2020
Restructuring Cost and Reserve [Line Items] |  |  |
Gain (Loss) on Sale of Assets and Asset Impairment Charges | $ (7) | $ (75) | $ (17)
Business Realignment |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |
Gain (Loss) on Sale of Assets and Asset Impairment Charges | $ (7) | $ (75) | $ (17)

X
- Definition Amount of gain (loss) from the difference between the sale price or salvage price and the book value of an asset that was sold or retired, and gain (loss) from the write down of assets from their carrying value to fair value. + 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 https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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
- Details
Name: | us-gaap_RestructuringPlanAxis=wdc_BusinessRealignmentActivitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |