XML 110 R92.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Income Tax Expense - NOL Carryforward (Details) - USD ($) $ in Millions | Jul. 01, 2022 | Jul. 02, 2021
--- | --- | ---
Operating Loss Carryforwards [Line Items] |  |
Tax credit carryforward | $ 483 | $ 461
Malaysia |  |
Operating Loss Carryforwards [Line Items] |  |
Operating Loss Carryforwards | 122 |
Belgium |  |
Operating Loss Carryforwards [Line Items] |  |
Operating Loss Carryforwards | 106 |
Japan |  |
Operating Loss Carryforwards [Line Items] |  |
Operating Loss Carryforwards | 84 |
Spain |  |
Operating Loss Carryforwards [Line Items] |  |
Operating Loss Carryforwards | 46 |
Netherlands |  |
Operating Loss Carryforwards [Line Items] |  |
Operating Loss Carryforwards | 12 |
Federal NOL (Pre 2017 Act Generation) |  |
Operating Loss Carryforwards [Line Items] |  |
Operating Loss Carryforwards | 627 |
State and Local Jurisdiction |  |
Operating Loss Carryforwards [Line Items] |  |
Operating Loss Carryforwards | 364 |
Tax credit carryforward | 691 |
Domestic Tax Authority |  |
Operating Loss Carryforwards [Line Items] |  |
Tax credit carryforward | $ 57 |

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_OperatingLossCarryforwardsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 + Details
Name: | us-gaap_TaxCreditCarryforwardAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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

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

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

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

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: |