XML 69 R53.htm IDEA: XBRL DOCUMENT
v3.21.2

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

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=123570139&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: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |