2.2.0.7 true Stock-Based Compensation (Details) (USD $) 0609 - Disclosure - Stock-Based Compensation (Details) true false Share data in Millions, except Per Share data, unless otherwise specified false false 1 USD false false Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 $ false 2 USD false false Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 $ 2 2 wdc_StockOptionPlansAbstract wdc false na duration Stock option plans. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string Stock option plans. false 3 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber us-gaap true na instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false 9400000 9.4 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares The number of shares reserved for issuance under stock option agreements awarded under the plan that validly exist and are outstanding as of the balance-sheet date, including vested options. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(b) false 4 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false true false false periodstartlabel true 1 true true false false 20.61 20.61 false false false 2 false false false false 0 0 false false false us-types:perShareItemType decimal The weighted average price as of the beginning of the year at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) false 5 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 2400000 2.4 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares The quantity of shares issuable on stock options awarded under the plan during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(d) false 6 2 wdc_ShareBasedCompensationOptionsGrantedWeightedAverageExercisePrice wdc false na duration The weighted average exercise price of options granted as share based compensation. false false false false false false false false false false false verboselabel true 1 true true false false 26.14 26.14 false false false 2 false false false false 0 0 false false false us-types:perShareItemType decimal The weighted average exercise price of options granted as share based compensation. No authoritative reference available. false 7 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -100000 -0.1 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares The decrease in the number of reserved shares that could potentially be issued attributable to the exercise or conversion during the reporting period of previously issued stock options under the option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(e) false 8 2 wdc_ShareBasedCompensationOptionsExercisesInPeriodWeightedAverageExercisePrice wdc false na duration The weighted average price at which option holders acquired shares when converting their stock options into shares. false false false false false false false false false false false verboselabel true 1 true true false false 12.21 12.21 false false false 2 false false false false 0 0 false false false us-types:perShareItemType decimal The weighted average price at which option holders acquired shares when converting their stock options into shares. No authoritative reference available. false 9 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -100000 -0.1 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares For presentations that combine terminations, the number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan or that expired. No authoritative reference available. false 10 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel true 1 true true false false 27.04 27.04 false false false 2 false false false false 0 0 false false false us-types:perShareItemType decimal For presentations that combine terminations, the weighted average price of expired options and the price at which grantees could have acquired the underlying shares with respect to stock options that were terminated during the reporting period due to noncompliance with plan terms during the reporting period . No authoritative reference available. false 11 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber us-gaap true na instant No definition available. false false false false false false false false false true false periodendlabel false 1 false true false false 11600000 11.6 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares The number of shares reserved for issuance under stock option agreements awarded under the plan that validly exist and are outstanding as of the balance-sheet date, including vested options. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(b) false 12 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false true false periodendlabel true 1 true true false false 21.82 21.82 false false false 2 false false false false 0 0 false false false us-types:perShareItemType decimal The weighted average price as of the beginning of the year at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) false 13 2 wdc_ShareBasedCompensationOptionsOutstandingRemainingContractualLife wdc false na instant The weighted average remaining contractual life of options outstanding at the end of the period expressed in years. false false false false false false false false false false false verboselabel false 1 false true false false 5.1 5.1 false false false 2 false false false false 0 0 false false false xbrli:decimalItemType decimal The weighted average remaining contractual life of options outstanding at the end of the period expressed in years. No authoritative reference available. false 14 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 true true false false 86000000 86000000 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary The total dollar difference between fair values of the underlying shares reserved for issuance and exercise prices pertaining to options outstanding under the plan as of the balance-sheet date. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(1) true 15 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber us-gaap true na instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 5200000 5.2 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares The number of shares into which fully or partially vested stock options outstanding as of the balance-sheet date can be currently converted under the option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(c), d(2) true 16 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false totallabel true 1 true true false false 17.4 17.4 false false false 2 false false false false 0 0 false false false us-types:perShareItemType decimal The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(c) true 17 2 wdc_ShareBasedCompensationOptionsExercisableRemainingContractualLife wdc false na instant The weighted average remaining contractual life of options exercisable at the end of the period expressed in years. false false false false false false false false false false false totallabel false 1 false true false false 4.1 4.1 false false false 2 false false false false 0 0 false false false xbrli:decimalItemType decimal The weighted average remaining contractual life of options exercisable at the end of the period expressed in years. No authoritative reference available. true 18 2 wdc_ShareBasedCompensationOptionsExercisableIntrinsicValue wdc false debit instant The total dollar difference between fair values of the underlying shares reserved for issuance and exercise prices of vested... false false false false false false false false false false false totallabel false 1 false true false false 59000000 59000000 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary The total dollar difference between fair values of the underlying shares reserved for issuance and exercise prices of vested portions of options outstanding and exercisable as of the end of the period. No authoritative reference available. true 19 2 wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsOptionsVestedAndExpectedToVestNumberOfShares wdc false na duration Share Based Compensation Arrangement By Share Based Payment Awards Options Vested And Expected To Vest Number of Shares. false false false false false false false false false false false verboselabel false 1 false true false false 11400000 11.4 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares Share Based Compensation Arrangement By Share Based Payment Awards Options Vested And Expected To Vest Number of Shares. No authoritative reference available. false 20 2 wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice wdc false na duration Share Based Compensation Arrangement By Share Based Payment Awards Options Vested And Expected To Vest Exercisable Weighted... false false false false false false false false false false false verboselabel true 1 true true false false 21.74 21.74 false false false 2 false false false false 0 0 false false false us-types:perShareItemType decimal Share Based Compensation Arrangement By Share Based Payment Awards Options Vested And Expected To Vest Exercisable Weighted Average Exercise Price. No authoritative reference available. false 21 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 5.1 5.1 false false false 2 false false false false 0 0 false false false xbrli:decimalItemType decimal The weighted-average period between the balance-sheet date and expiration date for fully vested and expected to vest options that are exercisable (or convertible) under the plan, which may be expressed in a decimal value for number of years. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(2) false 22 2 wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionVestedAndExpectedToVestExercisableAggregateIntrinsicValue wdc false debit duration Share Based Compensation Arrangement By Share Based Payment Award Options Vested And Expected To Vest Exercisable Aggregate... false false false false false false false false false false false verboselabel false 1 false true false false 85000000 85000000 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Share Based Compensation Arrangement By Share Based Payment Award Options Vested And Expected To Vest Exercisable Aggregate Intrinsic Value. No authoritative reference available. false 23 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 24 2 wdc_ShareBasedCompensationFairValueAssumptionsSuboptimalExerciseFactor wdc false na duration Factor to estimate the amount of option exercises prior to the end of their respective term. false false false false false false false false false false false verboselabel false 1 false true false false 1.81 1.81 false false false 2 false true false false 1.73 1.73 false false false xbrli:decimalItemType decimal Factor to estimate the amount of option exercises prior to the end of their respective term. No authoritative reference available. false 27 2 wdc_ShareBasedCompensationFairValueAssumptionsWeightedAverageExpectedVolatility wdc false na duration Weighted average expected volatility. false false false false false false false false false false false verboselabel false 1 false true false false 0.52 0.52 false false false 2 false true false false 0.57 0.57 false false false xbrli:decimalItemType decimal Weighted average expected volatility. No authoritative reference available. false 28 2 wdc_ShareBasedCompensationFairValueAssumptionsPostVestingTerminationRate wdc false na duration Factor to estimate the amount of vested options that will be exercised within 90 days as a result of employee termination. false false false false false false false false false false false verboselabel false 1 false true false false 0.0242 0.0242 false false false 2 false true false false 0.0357 0.0357 false false false us-types:percentItemType pure Factor to estimate the amount of vested options that will be exercised within 90 days as a result of employee termination. No authoritative reference available. false 29 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendPayments us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary The estimated amount of dividends to be paid to holders of the underlying shares (expected dividends) over the option's term. Dividends are taken into account because payment of dividends to shareholders reduces the fair value of the underlying shares, and option holders generally do not receive dividends. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph e(2)(c) false 30 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel true 1 true true false false 11.26 11.26 false false false 2 true true false false 17.08 17.08 false false false us-types:perShareItemType decimal The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph c(1) false 31 2 wdc_StockBasedCompensationTextualsAbstract wdc false na duration Stock based compensation. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string Stock based compensation. false 32 2 wdc_StockBasedCompensationExpense wdc false debit duration The noncash expense that accounts for the value of stock options distributed to employees as compensation and of employee... false false false false false false false false false false false verboselabel false 1 false true false false 11000000 11000000 false false false 2 false true false false 7000000 7000000 false false false xbrli:monetaryItemType monetary The noncash expense that accounts for the value of stock options distributed to employees as compensation and of employee stock purchase plan rights. No authoritative reference available. false 33 2 wdc_UnvestedEmployeeServiceShareBasedCompensationStockOptionAwardsAndEmployeeStockPurchasePlanRightsIssuedButNotYetRecognized wdc false debit instant As of the balance sheet date, the aggregate unrecognized cost of stock option awards made to employees under share-based... false false false false false false false false false false false verboselabel false 1 false true false false 72000000 72000000 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary As of the balance sheet date, the aggregate unrecognized cost of stock option awards made to employees under share-based compensation plans and employee stock purchase plan rights that have yet to vest. No authoritative reference available. false 34 2 wdc_UnvestedEmployeeServiceShareBasedStockOptionAwardsAndEmployeeStockPurchasePlanRightsTotalUnrecognizedCostPeriodForRecognition wdc false na duration The weighted average period over which unrecognized cost is expected to be recognized for employee service share-based stock... false false false false false false false false false false false verboselabel false 1 false true false false 2.6 2.6 false false false 2 false false false false 0 0 false false false xbrli:decimalItemType decimal The weighted average period over which unrecognized cost is expected to be recognized for employee service share-based stock option awards and employee stock purchase plan rights, using a decimal to express in number of years. No authoritative reference available. false 35 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 900000 0.9 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares The number of shares issuable under a share-based award plan pertaining to grants made during the period on other than stock option plans (for example, phantom stock plan, stock appreciation rights plan, performance target plan). Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(2)(c) false 36 2 wdc_MarketValueOfSharesUnderlyingRestrictedStockUnitAwards wdc false credit instant Market value of the shares underlying the restricted stock unit awards. false false false false false false false false false false false verboselabel false 1 false true false false 23000000 23000000 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Market value of the shares underlying the restricted stock unit awards. No authoritative reference available. false 37 2 wdc_ForfeitureRateOfRestrictedStockUnit wdc false na duration Forfeiture rate of restricted stock unit. false false false false false false false false false false false verboselabel false 1 false true false false 0.018 0.018 false false false 2 false false false false 0 0 false false false us-types:percentItemType pure Forfeiture rate of restricted stock unit. No authoritative reference available. false 38 2 wdc_UnamortizedFairValueOfAllRestrictedStockUnitAwards wdc false credit instant Unamortized fair value of all restricted stock unit awards. false false false false false false false false false false false verboselabel false 1 false true false false 66000000 66000000 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Unamortized fair value of all restricted stock unit awards. No authoritative reference available. false 39 2 us-gaap_EmployeeServiceShareBasedCompensationUnrecognizedCompensationCostsOnNonvestedAwardsWeightedAveragePeriodOfRecognition us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1.9 1.9 false false false 2 false false false false 0 0 false false false xbrli:decimalItemType decimal The weighted average period over which unrecognized share-based compensation costs are expected to be reported. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph h false 40 2 us-gaap_RestrictedStockExpense us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 8000000 8000000 false false false 2 false true false false 6000000 6000000 false false false xbrli:monetaryItemType monetary The noncash expense that represents the cost of restricted stock distributed to employees as compensation. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 false 41 2 wdc_OptionsOutstandingToPurchaseAggregateShares wdc false na instant Options Outstanding To Purchase Aggregate Shares. false false false false false false false false false false false verboselabel false 1 false true false false 10200000 10.2 false false false 2 false false false false 0 0 false false false xbrli:sharesItemType shares Options Outstanding To Purchase Aggregate Shares. No authoritative reference available. false 42 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 86000000 86000000 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary The total dollar difference between fair values of the underlying shares reserved for issuance and exercise prices pertaining to options outstanding under the plan as of the balance-sheet date. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(1) false 43 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue us-gaap true debit duration No definition available. false false false false false false false false false false false false 1 true true false false 2000000 2000000 false false false 2 true true false false 17000000 17000000 false false false xbrli:monetaryItemType monetary The total accumulated difference between fair values of underlying shares on dates of exercise and exercise price on options which were exercised (or share units converted) into shares during the reporting period under the plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph c(2) false 44 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedTerm us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 4.7 4.7 false false false 2 false true false false 4.6 4.6 false false false xbrli:decimalItemType decimal The period of time a share-based award is expected to be outstanding. A share-based award's expected term shall be determined based on, among other factors, the instrument's contractual term and the effects of employees' expected exercise and post-vesting employment termination behavior. An entity is required to aggregate individual awards into relatively homogeneous groups. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph e(2)(a) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section D -Subsection 2 false 45 0 na true na na No definition available. false true false false false false false false false false false http://westerndigital.com/role/stockbasedcompensationdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 3 true false false false Maximum [Member] us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi wdc_MaximumMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 false 4 true false false false Maximum [Member] us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi wdc_MaximumMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 na No definition available. No authoritative reference available. false 67 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 69 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0.019 0.019 false false false 2 false true false false 0.0283 0.0283 false false false us-types:percentItemType pure The risk-free interest rate assumption that is used in valuing an option on its own shares. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph e(2)(d) false 70 2 wdc_ShareBasedCompensationFairValueAssumptionsRangeOfExpectedStockPriceVolatility wdc false na duration Range of expected price volatility in the Company's stock price. false false false false false false false false false false false verboselabel false 1 false true false false 0.59 0.59 false false false 2 false true false false 0.72 0.72 false false false xbrli:decimalItemType decimal Range of expected price volatility in the Company's stock price. No authoritative reference available. false 89 0 na true na na No definition available. false true false false false false false false false false false http://westerndigital.com/role/stockbasedcompensationdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 5 true false false false Minimum [Member] us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi wdc_MinimumMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 false 6 true false false false Minimum [Member] us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi wdc_MinimumMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 na No definition available. No authoritative reference available. false 111 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 113 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0.0026 0.0026 false false false 2 false true false false 0.0037 0.0037 false false false us-types:percentItemType pure The risk-free interest rate assumption that is used in valuing an option on its own shares. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph e(2)(d) false 114 2 wdc_ShareBasedCompensationFairValueAssumptionsRangeOfExpectedStockPriceVolatility wdc false na duration Range of expected price volatility in the Company's stock price. false false false false false false false false false false false verboselabel false 1 false true false false 0.42 0.42 false false false 2 false true false false 0.51 0.51 false false false xbrli:decimalItemType decimal Range of expected price volatility in the Company's stock price. No authoritative reference available. false 2 49 false NoRounding HundredThousands NoRounding true true