XML 107 R79.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Leases and Other Commitments - Additional Information (Details) $ in Millions | 12 Months Ended
--- | ---
Jun. 28, 2024 USD ($) option
Sale Leaseback Transaction [Line Items] |
Net cash proceeds | $ 191
Gain on the sale | 85
Annual lease rate | $ 16
Sale leaseback, increase percentage | 3.00%
Through January 1, 2039 |
Sale Leaseback Transaction [Line Items] |
Number of renewal options | option | 3
Renewal option terms | 5 years
Through December 2057 |
Sale Leaseback Transaction [Line Items] |
Number of renewal options | option | 1
Renewal option terms | 4 years

X
- Definition Amount of gain (loss) on sale and leaseback transaction from transfer of asset accounted for as sale. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 53 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479589/842-20-55-53 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479741/842-40-50-2 + Details
Name: | us-gaap_SaleAndLeasebackTransactionGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481295/840-40-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479741/842-40-50-2 + Details
Name: | us-gaap_SaleLeasebackTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sale Leaseback Transaction, Annual Lease Rate + References No definition available. + Details
Name: | wdc_SaleLeasebackTransactionAnnualLeaseRate
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sale Leaseback Transaction, Increase Percentage + References No definition available. + Details
Name: | wdc_SaleLeasebackTransactionIncreasePercentage
Namespace Prefix: | wdc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sale Leaseback Transaction, Net Cash Proceeds + References No definition available. + Details
Name: | wdc_SaleLeasebackTransactionNetCashProceeds
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sale Leaseback Transaction, Number Of Renewal Options + References No definition available. + Details
Name: | wdc_SaleLeasebackTransactionNumberOfRenewalOptions
Namespace Prefix: | wdc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sale Leaseback Transaction, Renewal Options Term + References No definition available. + Details
Name: | wdc_SaleLeasebackTransactionRenewalOptionsTerm
Namespace Prefix: | wdc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LeaseContractualTermAxis=wdc_ThroughJanuary12039Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LeaseContractualTermAxis=wdc_ThroughDecember2057Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |