XML 107 R89.htm IDEA: XBRL DOCUMENT
v3.21.2

Income Tax Expense - Additional Information (Details) - USD ($) $ / shares in Units, $ in Millions | 1 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2021 | May 31, 2020 | Jul. 02, 2021 | Jul. 03, 2020 | Jun. 28, 2019
Income Tax Disclosure [Line Items] |  |  |  |  |
Valuation allowance, deferred tax asset, increase (decrease), amount |  |  | $ (66) |  |
U.S. Federal statutory rate |  |  | 21.00% | 21.00% | 21.00%
Income tax holiday, aggregate amount |  |  | $ 390 | $ 464 | $ 393
Income tax benefits (in dollars in share) |  |  | $ 1.26 | $ 1.54 | $ 1.33
Penalties and interest accrued on unrecognized tax benefits |  |  | $ 138 | $ 137 | $ 123
Payables related to unrecognized tax benefits |  |  | 750 | $ 720 | $ 699
State and Local Jurisdiction |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Operating loss carryforward, valuation allowance |  |  | 245 |  |
Tax credit carryforward, valuation allowance |  |  | 2 |  |
Domestic Tax Authority |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Operating loss carryforward, valuation allowance |  |  | 134 |  |
Tax credit carryforward, valuation allowance |  |  | 27 |  |
Tax Year 2008 Through 2009 |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Federal tax related to adjustments for transfer pricing |  |  | 335 |  |
Tax Years 2010 Through 2012 |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Federal tax related to adjustments for transfer pricing |  |  | 922 |  |
Internal Revenue Service (IRS) | Tax Years 2010 Through 2012 |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Federal tax, subject to interest |  | $ 340 |  |  |
Internal Revenue Service (IRS) | Tax Years 2013 Through 2015 |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |
Income tax examination additional tax |  |  | $ 343 |  |
Income tax examination, penalties expense | $ 109 |  |  |  |

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.Fact.4) -URI http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(2)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Estimated amount of loss resulting from an adverse tax position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (d)(3) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of estimated penalties recognized in the period arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income taxes from which a reporting entity is exempt or for which it will receive a reduction in income taxes as a result of the income tax holiday granted by the taxing jurisdiction. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 11.C) -URI http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817 + Details
Name: | us-gaap_IncomeTaxHolidayAggregateDollarAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Per share amount effect of the income tax benefit resulting from the income tax holidays granted by taxing jurisdictions. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 11.C) -URI http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817 + Details
Name: | us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount recognized for uncertainty in income taxes classified as noncurrent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LiabilityForUncertainTaxPositionsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The portion of the valuation allowance pertaining to the deferred tax asset representing potential future taxable deductions from net operating loss carryforwards for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_OperatingLossCarryforwardsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of valuation allowance pertaining to the deferred tax asset representing potential future taxable deductions from tax credit carryforwards for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_TaxCreditCarryforwardValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Income Tax Disclosure [Line Items] + References No definition available. + Details
Name: | wdc_IncomeTaxDisclosureLineItems
Namespace Prefix: | wdc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income Tax Examination Additional Tax + References No definition available. + Details
Name: | wdc_IncomeTaxExaminationAdditionalTax
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Income Tax Examination, Estimate of Possible Loss Resulting From Transfer Pricing Adjustments + References No definition available. + Details
Name: | wdc_IncomeTaxExaminationEstimateofPossibleLossResultingFromTransferPricingAdjustments
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=wdc_TaxYear2008Through2009Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=wdc_TaxYears2010Through2012Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=us-gaap_InternalRevenueServiceIRSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=wdc_TaxYears2013Through2015Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |