XML 67 R52.htm IDEA: XBRL DOCUMENT
v3.20.2

Debt - Additional Information (Details) - USD ($) $ in Millions | 3 Months Ended
--- | ---
Oct. 02, 2020 | Oct. 04, 2019
Debt Instrument [Line Items] |  |
Repayment of debt | $ 213 | $ 319
Variable interest rate Term Loan B-4 maturing 2023 |  |
Debt Instrument [Line Items] |  |
Repayment of debt | $ 150 |

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 The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wdc_U.S.TermLoanB4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |