XML 80 R64.htm IDEA: XBRL DOCUMENT
v3.23.2

Pension and Other Post-Retirement Benefit Plans - Additional Information (Details) - USD ($) | 12 Months Ended
--- | ---
Jun. 30, 2023 | Jul. 01, 2022 | Jul. 02, 2021
Defined Benefit Plan Disclosure [Line Items] |  |  |
Expected long-term rate of return on plan assets | 2.50% |  |
Actuarial pension gain | $ (9,000,000) | $ (24,000,000) | $ (23,000,000)
Foreign Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Expected long-term rate of return on plan assets | 2.50% | 2.50% | 2.50%
Pension Plan | Foreign Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Accumulated benefit obligation | $ 273,000,000 |  |
Actuarial pension gain | 2,000,000 |  |
Prior service credits for defined benefit pension plans included in accumulated other comprehensive income at the balance sheet date | $ 0 |  |
Defined benefit pension plan, estimated expenditure (years) | 5 years |  |
Pension Plan | Debt Securities | Foreign Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Target asset allocation for securities | 55.00% |  |
Pension Plan | Equity securities | Foreign Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Target asset allocation for securities | 30.00% |  |
Pension Plan | Other Assets | Foreign Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Target asset allocation for securities | 15.00% |  |

X
- Definition Amount of actuarial present value of benefits attributed to employee service rendered, excluding assumptions about future compensation level. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average rate of return on plan assets, reflecting average rate of earnings expected on existing plan assets and expected contributions, used to determine net periodic benefit cost of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of target investment allocation to total plan assets. Includes, but is not limited to, percentage on weighted-average basis if more than one plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 10A -Subparagraph (i-k) -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-10A Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-11 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Defined benefit plan estimated annual benefits payment period. + References No definition available. + Details
Name: | wdc_DefinedBenefitPlanEstimatedAnnualBenefitsPaymentPeriod
Namespace Prefix: | wdc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prior service credits for defined benefit pension plans included in accumulated other comprehensive income at the balance sheet date. + References No definition available. + Details
Name: | wdc_PriorServiceCreditsForDefinedBenefitPensionPlansIncludedInAccumulatedOtherComprehensiveIncomeAtBalanceSheetDate
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_RetirementPlanSponsorLocationAxis=us-gaap_ForeignPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_DefinedBenefitPlanDebtSecurityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_DefinedBenefitPlanEquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=wdc_DefinedBenefitPlanOtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |