XML 86 R70.htm IDEA: XBRL DOCUMENT
v3.23.2

Related Parties and Related Commitments and Contingencies - Additional Information (Details) $ in Millions | 12 Months Ended
--- | ---
Jun. 30, 2023 USD ($) entity | Jul. 01, 2022 USD ($) | Jul. 02, 2021 USD ($)
Related Party Transactions [Abstract] |  |  |
Number of legal entities | entity | 3 |  |
Undistributed earnings | $ 55 | $ 43 |
Investment funding commitments | 50.00% |  |
Percent of total manufacturing capacity in operation | 100.00% |  |
Costs incurred associated with reduction in utilization | $ 286 |  |
Costs incurred with unexpected power outage incident |  | 207 |
Western Digital Corp | Minimum |  |  |
Related Party Transactions [Abstract] |  |  |
Investment funding commitments | 49.90% |  |
Western Digital Corp | Maximum |  |  |
Related Party Transactions [Abstract] |  |  |
Investment funding commitments | 50.00% |  |
Equity Method Investee |  |  |
Related Party Transactions [Abstract] |  |  |
Payments for equity method investments | $ 4,200 | 4,700 | $ 4,360
Accounts payable | $ 292 | $ 320 |
Kioxia |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 49.90% |  |
Kioxia | Prepayments of Future Depreciation |  |  |
Related Party Transactions [Abstract] |  |  |
Other commitment | $ 220 |  |
Flash Ventures |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 49.90% |  |
Flash Ventures | Prepayments of Future Depreciation |  |  |
Related Party Transactions [Abstract] |  |  |
Other commitment | $ 355 |  |
Depreciation prepayments, 2024 | $ 21 |  |
Flash Ventures | Kioxia |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 50.10% |  |
Unis Venture |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 49.00% |  |
Unis Venture | Revenue from Contract with Customer | Product Concentration Risk |  |  |
Related Party Transactions [Abstract] |  |  |
Concentration risk, percentage | 3.00% | 4.00% | 3.00%
Unis Venture | Accounts Receivable Benchmark | Product Concentration Risk |  |  |
Related Party Transactions [Abstract] |  |  |
Concentration risk, percentage | 8.00% | 5.00% |
Unis Venture | Unissoft (Wuxi) Group Co Ltd. |  |  |
Related Party Transactions [Abstract] |  |  |
Partner's ownership in venture business | 51.00% |  |

X
- Definition Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_AccountsPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-42 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-21 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-20 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482861/275-10-50-18 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482861/275-10-50-20 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions. + References No definition available. + Details
Name: | us-gaap_OtherCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consolidated retained earnings that represent undistributed (not yet received) earnings from 50 percent or less owned persons accounted for by the equity method (equity method investees). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(e)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Costs Associated With Underutilized Capacity As A Result Of A Temporary Abnormal Reduction In Production + References No definition available. + Details
Name: | wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Costs Associated With Underutilized Capacity As A Result Of Unexpected Power Outage Incident + References No definition available. + Details
Name: | wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfUnexpectedPowerOutageIncident
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percent of commitment by the Company to fund a venture's investment in situations where the venture's sales are insufficient to cover the investments. + References No definition available. + Details
Name: | wdc_InvestmentFundingCommitments
Namespace Prefix: | wdc_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Manufacturing Capacity Percent Operating + References No definition available. + Details
Name: | wdc_ManufacturingCapacityPercentOperating
Namespace Prefix: | wdc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Legal Entities + References No definition available. + Details
Name: | wdc_NumberOfLegalEntities
Namespace Prefix: | wdc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other Commitment, Future Building Depreciation Prepayment + References No definition available. + Details
Name: | wdc_OtherCommitmentFutureBuildingDepreciationPrepayment
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Partner's Ownership In Venture Business + References No definition available. + Details
Name: | wdc_PartnersOwnershipInVentureBusiness
Namespace Prefix: | wdc_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | wdc_EquityMethodInvestorNameAxis=wdc_WesternDigitalCorpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_EquityMethodInvesteeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=wdc_KioxiaCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OtherCommitmentsAxis=wdc_PrepaymentsOfFutureDepreciationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=wdc_FlashVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=wdc_KioxiaCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=wdc_UnisVentureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_RevenueFromContractWithCustomerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_ProductConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=wdc_AccountsReceivableBenchmarkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=wdc_UnissoftWuxiGroupCoLtd.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |