XML 65 R54.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Derivative Instruments and Hedging Activities (Details) | 6 Months Ended
--- | ---
Dec. 29, 2023
Foreign Exchange Forward Contracts Designated |
Derivatives, Fair Value [Line Items] |
Derivative, term of contract (to not exceed) (in months) | 12 months

X
- Definition Period the derivative contract is outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
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_DerivativesFairValueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=wdc_ForeignExchangeForwardContractsDesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |