| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.24.0.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 358 </ContextCount> |
| <ElementCount> 363 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 98 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 10 </UnitCount> |
| <MyReports> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0000001 - Document - Cover Page </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/CoverPage </Role> |
| | | <ShortName> Cover Page </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 0000002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED BALANCE SHEETS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 0000003 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 0000004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 0000005 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 0000006 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 0000007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND SHAREHOLDERS??? EQUITY </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCONVERTIBLEPREFERREDSTOCKANDSHAREHOLDERSEQUITY </Role> |
| | | <ShortName> CONDENSED CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND SHAREHOLDERS??? EQUITY </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 0000008 - Disclosure - Organization and Basis of Presentation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/OrganizationandBasisofPresentation </Role> |
| | | <ShortName> Organization and Basis of Presentation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 0000009 - Disclosure - Recent Accounting Pronouncements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RecentAccountingPronouncements </Role> |
| | | <ShortName> Recent Accounting Pronouncements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 0000010 - Disclosure - Business Segments, Geographic Information, and Concentrations of Risk </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/BusinessSegmentsGeographicInformationandConcentrationsofRisk </Role> |
| | | <ShortName> Business Segments, Geographic Information, and Concentrations of Risk </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 0000011 - Disclosure - Supplemental Financial Statement Data </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementData </Role> |
| | | <ShortName> Supplemental Financial Statement Data </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 0000012 - Disclosure - Fair Value Measurements and Investments </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/FairValueMeasurementsandInvestments </Role> |
| | | <ShortName> Fair Value Measurements and Investments </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 0000013 - Disclosure - Derivative Instruments and Hedging Activities </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/DerivativeInstrumentsandHedgingActivities </Role> |
| | | <ShortName> Derivative Instruments and Hedging Activities </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 0000014 - Disclosure - Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/Debt </Role> |
| | | <ShortName> Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 0000015 - Disclosure - Pension and Other Post-Retirement Benefit Plans </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/PensionandOtherPostRetirementBenefitPlans </Role> |
| | | <ShortName> Pension and Other Post-Retirement Benefit Plans </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 0000016 - Disclosure - Related Parties and Related Commitments and Contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingencies </Role> |
| | | <ShortName> Related Parties and Related Commitments and Contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 0000017 - Disclosure - Leases and Other Commitments </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/LeasesandOtherCommitments </Role> |
| | | <ShortName> Leases and Other Commitments </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 0000018 - Disclosure - Shareholders' Equity and Convertible Preferred Stock </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStock </Role> |
| | | <ShortName> Shareholders' Equity and Convertible Preferred Stock </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 0000019 - Disclosure - Income Tax Expense </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/IncomeTaxExpense </Role> |
| | | <ShortName> Income Tax Expense </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 0000020 - Disclosure - Net Loss Per Common Share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/NetLossPerCommonShare </Role> |
| | | <ShortName> Net Loss Per Common Share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 0000021 - Disclosure - Employee Termination, Asset Impairment, and Other </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/EmployeeTerminationAssetImpairmentandOther </Role> |
| | | <ShortName> Employee Termination, Asset Impairment, and Other </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 0000022 - Disclosure - Supplier Finance Program </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplierFinanceProgram </Role> |
| | | <ShortName> Supplier Finance Program </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 0000023 - Disclosure - Legal Proceedings </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/LegalProceedings </Role> |
| | | <ShortName> Legal Proceedings </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 0000024 - Disclosure - Revision of Previously Issued Financial Statements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatements </Role> |
| | | <ShortName> Revision of Previously Issued Financial Statements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 995410 - Disclosure - Pay vs Performance Disclosure </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://xbrl.sec.gov/ecd/role/PvpDisclosure </Role> |
| | | <ShortName> Pay vs Performance Disclosure </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 995445 - Disclosure - Insider Trading Arrangements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements </Role> |
| | | <ShortName> Insider Trading Arrangements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 9954471 - Disclosure - Organization and Basis of Presentation (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/OrganizationandBasisofPresentationPolicies </Role> |
| | | <ShortName> Organization and Basis of Presentation (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/RecentAccountingPronouncements </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 9954472 - Disclosure - Business Segments, Geographic Information, and Concentrations of Risk (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/BusinessSegmentsGeographicInformationandConcentrationsofRiskTables </Role> |
| | | <ShortName> Business Segments, Geographic Information, and Concentrations of Risk (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/BusinessSegmentsGeographicInformationandConcentrationsofRisk </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 9954473 - Disclosure - Supplemental Financial Statement Data (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataTables </Role> |
| | | <ShortName> Supplemental Financial Statement Data (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/SupplementalFinancialStatementData </ParentRole> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 9954474 - Disclosure - Fair Value Measurements and Investments (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/FairValueMeasurementsandInvestmentsTables </Role> |
| | | <ShortName> Fair Value Measurements and Investments (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/FairValueMeasurementsandInvestments </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 9954475 - Disclosure - Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/DebtTables </Role> |
| | | <ShortName> Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/Debt </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 9954476 - Disclosure - Pension and Other Post-Retirement Benefit Plans (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/PensionandOtherPostRetirementBenefitPlansTables </Role> |
| | | <ShortName> Pension and Other Post-Retirement Benefit Plans (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/PensionandOtherPostRetirementBenefitPlans </ParentRole> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 9954477 - Disclosure - Related Parties and Related Commitments and Contingencies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingenciesTables </Role> |
| | | <ShortName> Related Parties and Related Commitments and Contingencies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingencies </ParentRole> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 9954478 - Disclosure - Leases and Other Commitments (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/LeasesandOtherCommitmentsTables </Role> |
| | | <ShortName> Leases and Other Commitments (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/LeasesandOtherCommitments </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 9954479 - Disclosure - Shareholders' Equity and Convertible Preferred Stock (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStockTables </Role> |
| | | <ShortName> Shareholders' Equity and Convertible Preferred Stock (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStock </ParentRole> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 9954480 - Disclosure - Income Tax Expense (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/IncomeTaxExpenseTables </Role> |
| | | <ShortName> Income Tax Expense (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/IncomeTaxExpense </ParentRole> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 9954481 - Disclosure - Net Loss Per Common Share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/NetLossPerCommonShareTables </Role> |
| | | <ShortName> Net Loss Per Common Share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/NetLossPerCommonShare </ParentRole> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 9954482 - Disclosure - Employee Termination, Asset Impairment, and Other (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/EmployeeTerminationAssetImpairmentandOtherTables </Role> |
| | | <ShortName> Employee Termination, Asset Impairment, and Other (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/EmployeeTerminationAssetImpairmentandOther </ParentRole> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 9954483 - Disclosure - Revision of Previously Issued Financial Statements (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatementsTables </Role> |
| | | <ShortName> Revision of Previously Issued Financial Statements (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatements </ParentRole> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 9954484 - Disclosure - Organization and Basis of Presentation - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/OrganizationandBasisofPresentationAdditionalInformationDetails </Role> |
| | | <ShortName> Organization and Basis of Presentation - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 9954485 - Disclosure - Business Segments, Geographic Information, and Concentrations of Risk - Reportable Segments (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/BusinessSegmentsGeographicInformationandConcentrationsofRiskReportableSegmentsDetails </Role> |
| | | <ShortName> Business Segments, Geographic Information, and Concentrations of Risk - Reportable Segments (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 9954486 - Disclosure - Business Segments, Geographic Information, and Concentrations of Risk - Disaggregation of Revenue (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/BusinessSegmentsGeographicInformationandConcentrationsofRiskDisaggregationofRevenueDetails </Role> |
| | | <ShortName> Business Segments, Geographic Information, and Concentrations of Risk - Disaggregation of Revenue (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 9954487 - Disclosure - Business Segments, Geographic Information, and Concentrations of Risk - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/BusinessSegmentsGeographicInformationandConcentrationsofRiskAdditionalInformationDetails </Role> |
| | | <ShortName> Business Segments, Geographic Information, and Concentrations of Risk - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 9954488 - Disclosure - Business Segments, Geographic Information, and Concentrations of Risk - Goodwill Rollforward (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/BusinessSegmentsGeographicInformationandConcentrationsofRiskGoodwillRollforwardDetails </Role> |
| | | <ShortName> Business Segments, Geographic Information, and Concentrations of Risk - Goodwill Rollforward (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 9954489 - Disclosure - Supplemental Financial Statement Data - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails </Role> |
| | | <ShortName> Supplemental Financial Statement Data - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 9954490 - Disclosure - Supplemental Financial Statement Data - Inventory (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails </Role> |
| | | <ShortName> Supplemental Financial Statement Data - Inventory (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 9954491 - Disclosure - Supplemental Financial Statement Data - Property, Plant and Equipment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantandEquipmentDetails </Role> |
| | | <ShortName> Supplemental Financial Statement Data - Property, Plant and Equipment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 9954492 - Disclosure - Supplemental Financial Statement Data - Warranty Accrual Roll Forward (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails </Role> |
| | | <ShortName> Supplemental Financial Statement Data - Warranty Accrual Roll Forward (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 9954493 - Disclosure - Supplemental Financial Statement Data - Total Warranty Accrual (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails </Role> |
| | | <ShortName> Supplemental Financial Statement Data - Total Warranty Accrual (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 9954494 - Disclosure - Supplemental Financial Statement Data - Other Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails </Role> |
| | | <ShortName> Supplemental Financial Statement Data - Other Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 9954495 - Disclosure - Supplemental Financial Statement Data - Accumulated Other Comprehensive Loss Roll Forward (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveLossRollForwardDetails </Role> |
| | | <ShortName> Supplemental Financial Statement Data - Accumulated Other Comprehensive Loss Roll Forward (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 9954496 - Disclosure - Fair Value Measurements and Investments - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/FairValueMeasurementsandInvestmentsFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails </Role> |
| | | <ShortName> Fair Value Measurements and Investments - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 9954497 - Disclosure - Fair Value Measurements and Investments - Debt Instrument Fair Value (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/FairValueMeasurementsandInvestmentsDebtInstrumentFairValueDetails </Role> |
| | | <ShortName> Fair Value Measurements and Investments - Debt Instrument Fair Value (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 9954498 - Disclosure - Derivative Instruments and Hedging Activities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/DerivativeInstrumentsandHedgingActivitiesDetails </Role> |
| | | <ShortName> Derivative Instruments and Hedging Activities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/DerivativeInstrumentsandHedgingActivities </ParentRole> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 9954499 - Disclosure - Debt - Schedule of Debt (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/DebtScheduleofDebtDetails </Role> |
| | | <ShortName> Debt - Schedule of Debt (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 9954500 - Disclosure - Debt - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/DebtAdditionalInformationDetails </Role> |
| | | <ShortName> Debt - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 9954501 - Disclosure - Pension and Other Post-Retirement Benefit Plans - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/PensionandOtherPostRetirementBenefitPlansAdditionalInformationDetails </Role> |
| | | <ShortName> Pension and Other Post-Retirement Benefit Plans - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 9954502 - Disclosure - Pension and Other Post-Retirement Benefit Plans - Obligations and Funded Status (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/PensionandOtherPostRetirementBenefitPlansObligationsandFundedStatusDetails </Role> |
| | | <ShortName> Pension and Other Post-Retirement Benefit Plans - Obligations and Funded Status (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 58 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 9954503 - Disclosure - Pension and Other Post-Retirement Benefit Plans - Unfunded Amounts Recognized on Consolidated Balance Sheets (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/PensionandOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedonConsolidatedBalanceSheetsDetails </Role> |
| | | <ShortName> Pension and Other Post-Retirement Benefit Plans - Unfunded Amounts Recognized on Consolidated Balance Sheets (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 59 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 9954504 - Disclosure - Related Parties and Related Commitments and Contingencies - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingenciesAdditionalInformationDetails </Role> |
| | | <ShortName> Related Parties and Related Commitments and Contingencies - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 60 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 9954505 - Disclosure - Related Parties and Related Commitments and Contingencies - Equity Investments (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingenciesEquityInvestmentsDetails </Role> |
| | | <ShortName> Related Parties and Related Commitments and Contingencies - Equity Investments (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 61 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 9954506 - Disclosure - Related Parties and Related Commitments and Contingencies - Maximum Loss Exposure (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingenciesMaximumLossExposureDetails </Role> |
| | | <ShortName> Related Parties and Related Commitments and Contingencies - Maximum Loss Exposure (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 62 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 9954507 - Disclosure - Related Parties and Related Commitments and Contingencies - JV Lease Guarantees (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingenciesJVLeaseGuaranteesDetails </Role> |
| | | <ShortName> Related Parties and Related Commitments and Contingencies - JV Lease Guarantees (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 63 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 9954508 - Disclosure - Related Parties and Related Commitments and Contingencies - Joint Venture Lease Amounts (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RelatedPartiesandRelatedCommitmentsandContingenciesJointVentureLeaseAmountsDetails </Role> |
| | | <ShortName> Related Parties and Related Commitments and Contingencies - Joint Venture Lease Amounts (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 9954509 - Disclosure - Leases and Other Commitments - Supplemental Balance Sheet (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/LeasesandOtherCommitmentsSupplementalBalanceSheetDetails </Role> |
| | | <ShortName> Leases and Other Commitments - Supplemental Balance Sheet (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 65 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R66.htm </HtmlFileName> |
| | | <LongName> 9954510 - Disclosure - Leases and Other Commitments - Supplemental Cash Flow (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/LeasesandOtherCommitmentsSupplementalCashFlowDetails </Role> |
| | | <ShortName> Leases and Other Commitments - Supplemental Cash Flow (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 66 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R67.htm </HtmlFileName> |
| | | <LongName> 9954511 - Disclosure - Leases and Other Commitments - Sale Leaseback (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/LeasesandOtherCommitmentsSaleLeasebackDetails </Role> |
| | | <ShortName> Leases and Other Commitments - Sale Leaseback (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 67 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R68.htm </HtmlFileName> |
| | | <LongName> 9954512 - Disclosure - Leases and Other Commitments - Long-Term Commitments (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/LeasesandOtherCommitmentsLongTermCommitmentsDetails </Role> |
| | | <ShortName> Leases and Other Commitments - Long-Term Commitments (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 68 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R69.htm </HtmlFileName> |
| | | <LongName> 9954513 - Disclosure - Shareholders' Equity and Convertible Preferred Stock - Stock-Based Compensation Expense (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStockStockBasedCompensationExpenseDetails </Role> |
| | | <ShortName> Shareholders' Equity and Convertible Preferred Stock - Stock-Based Compensation Expense (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 69 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R70.htm </HtmlFileName> |
| | | <LongName> 9954514 - Disclosure - Shareholders' Equity and Convertible Preferred Stock - Unrecognized Share-based Compensation (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStockUnrecognizedSharebasedCompensationDetails </Role> |
| | | <ShortName> Shareholders' Equity and Convertible Preferred Stock - Unrecognized Share-based Compensation (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 70 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R71.htm </HtmlFileName> |
| | | <LongName> 9954515 - Disclosure - Shareholders' Equity and Convertible Preferred Stock - Stock Option Activity (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStockStockOptionActivityDetails </Role> |
| | | <ShortName> Shareholders' Equity and Convertible Preferred Stock - Stock Option Activity (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 71 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R72.htm </HtmlFileName> |
| | | <LongName> 9954516 - Disclosure - Shareholders' Equity and Convertible Preferred Stock - Restricted Stock Units And Performance Share Units (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStockRestrictedStockUnitsAndPerformanceShareUnitsDetails </Role> |
| | | <ShortName> Shareholders' Equity and Convertible Preferred Stock - Restricted Stock Units And Performance Share Units (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 72 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R73.htm </HtmlFileName> |
| | | <LongName> 9954517 - Disclosure - Shareholders' Equity and Convertible Preferred Stock - Convertible Preferred Stock (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/ShareholdersEquityandConvertiblePreferredStockConvertiblePreferredStockDetails </Role> |
| | | <ShortName> Shareholders' Equity and Convertible Preferred Stock - Convertible Preferred Stock (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 73 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R74.htm </HtmlFileName> |
| | | <LongName> 9954518 - Disclosure - Income Tax Expense - Tax Expense and Effective Tax Rate (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/IncomeTaxExpenseTaxExpenseandEffectiveTaxRateDetails </Role> |
| | | <ShortName> Income Tax Expense - Tax Expense and Effective Tax Rate (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 74 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R75.htm </HtmlFileName> |
| | | <LongName> 9954519 - Disclosure - Income Tax Expense - Additional Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetails </Role> |
| | | <ShortName> Income Tax Expense - Additional Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 75 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R76.htm </HtmlFileName> |
| | | <LongName> 9954520 - Disclosure - Income Tax Expense - Unrecognized Tax Benefits (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/IncomeTaxExpenseUnrecognizedTaxBenefitsDetails </Role> |
| | | <ShortName> Income Tax Expense - Unrecognized Tax Benefits (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 76 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R77.htm </HtmlFileName> |
| | | <LongName> 9954521 - Disclosure - Net Loss Per Common Share - Earnings Per Share, Basic and Diluted (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/NetLossPerCommonShareEarningsPerShareBasicandDilutedDetails </Role> |
| | | <ShortName> Net Loss Per Common Share - Earnings Per Share, Basic and Diluted (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 77 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R78.htm </HtmlFileName> |
| | | <LongName> 9954522 - Disclosure - Employee Termination, Asset Impairment, and Other - Expense Recognition (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/EmployeeTerminationAssetImpairmentandOtherExpenseRecognitionDetails </Role> |
| | | <ShortName> Employee Termination, Asset Impairment, and Other - Expense Recognition (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 78 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R79.htm </HtmlFileName> |
| | | <LongName> 9954523 - Disclosure - Employee Termination, Asset Impairment, and Other - Business Realignment Activities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/EmployeeTerminationAssetImpairmentandOtherBusinessRealignmentActivitiesDetails </Role> |
| | | <ShortName> Employee Termination, Asset Impairment, and Other - Business Realignment Activities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 79 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R80.htm </HtmlFileName> |
| | | <LongName> 9954524 - Disclosure - Supplier Finance Program (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/SupplierFinanceProgramDetails </Role> |
| | | <ShortName> Supplier Finance Program (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.wdc.com/role/SupplierFinanceProgram </ParentRole> |
| | | <Position> 80 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R81.htm </HtmlFileName> |
| | | <LongName> 9954525 - Disclosure - Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Operations (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatementsCondensedConsolidatedStatementofOperationsDetails </Role> |
| | | <ShortName> Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Operations (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 81 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R82.htm </HtmlFileName> |
| | | <LongName> 9954526 - Disclosure - Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Comprehensive Loss (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatementsCondensedConsolidatedStatementofComprehensiveLossDetails </Role> |
| | | <ShortName> Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Comprehensive Loss (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 82 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R83.htm </HtmlFileName> |
| | | <LongName> 9954527 - Disclosure - Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Cash Flows (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatementsCondensedConsolidatedStatementofCashFlowsDetails </Role> |
| | | <ShortName> Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Cash Flows (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 83 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R84.htm </HtmlFileName> |
| | | <LongName> 9954528 - Disclosure - Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Shareholders??? Equity (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatementsCondensedConsolidatedStatementofShareholdersEquityDetails </Role> |
| | | <ShortName> Revision of Previously Issued Financial Statements - Condensed Consolidated Statement of Shareholders??? Equity (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 84 </Position> |
| | | </Report> |
| | <Report instance="wdc-20231229.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R85.htm </HtmlFileName> |
| | | <LongName> 9954529 - Disclosure - Revision of Previously Issued Financial Statements - Condensed Consolidated Balance Sheet (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.wdc.com/role/RevisionofPreviouslyIssuedFinancialStatementsCondensedConsolidatedBalanceSheetDetails </Role> |
| | | <ShortName> Revision of Previously Issued Financial Statements - Condensed Consolidated Balance Sheet (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 85 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="wdc-20231229.htm"> wdc-20231229.htm </File> |
| | <File> wdc-20231229.xsd </File> |
| | <File> wdc-20231229_cal.xml </File> |
| | <File> wdc-20231229_def.xml </File> |
| | <File> wdc-20231229_lab.xml </File> |
| | <File> wdc-20231229_pre.xml </File> |
| | </InputFiles> |
| <SupplementalFiles> |
| | <File> wdc-20231229_g1.gif </File> |
| | </SupplementalFiles> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="1"> http://fasb.org/srt/2023 </BaseTaxonomy> |
| | <BaseTaxonomy items="1085"> http://fasb.org/us-gaap/2023 </BaseTaxonomy> |
| | <BaseTaxonomy items="29"> http://xbrl.sec.gov/dei/2023 </BaseTaxonomy> |
| | <BaseTaxonomy items="24"> http://xbrl.sec.gov/ecd/2023 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |