XML 83 R69.htm IDEA: XBRL DOCUMENT
v3.22.1

Shareholders' Equity - Share Repurchase Program (Details) | Apr. 01, 2022 USD ($)
--- | ---
Stock Repurchase Program Effective Until July 25, 2023 |
Equity, Class of Treasury Stock [Line Items] |
Stock repurchase program, number of shares authorized to be repurchased | $ 5,000,000,000
Share Repurchase Program |
Equity, Class of Treasury Stock [Line Items] |
Stock repurchase program, remaining authorized repurchase, amount | $ 4,500,000,000

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

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount remaining of a stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=wdc_ShareRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |