XML 110 R94.htm IDEA: XBRL DOCUMENT
v3.23.2

Income Tax Expense - NOL Carryforward (Details) - USD ($) $ in Millions | Jun. 30, 2023 | Jul. 01, 2022
--- | --- | ---
Operating Loss Carryforwards [Line Items] |  |
Tax credit carryforward | $ 478 | $ 483
Malaysia |  |
Operating Loss Carryforwards [Line Items] |  |
NOL Carryforward Amount | 106 |
Belgium |  |
Operating Loss Carryforwards [Line Items] |  |
NOL Carryforward Amount | 106 |
Japan |  |
Operating Loss Carryforwards [Line Items] |  |
NOL Carryforward Amount | 72 |
Spain |  |
Operating Loss Carryforwards [Line Items] |  |
NOL Carryforward Amount | 45 |
Netherlands |  |
Operating Loss Carryforwards [Line Items] |  |
NOL Carryforward Amount | 12 |
Federal NOL (Pre 2017 Act Generation) |  |
Operating Loss Carryforwards [Line Items] |  |
NOL Carryforward Amount | 594 |
State and Local Jurisdiction |  |
Operating Loss Carryforwards [Line Items] |  |
NOL Carryforward Amount | 374 |
Tax credit carryforward | 725 |
Domestic Tax Authority |  |
Operating Loss Carryforwards [Line Items] |  |
Tax credit carryforward | $ 51 |

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 -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-3 + 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 -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-3 + 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: |