<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="wdc-20191004.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20191004.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="wdc-20191004.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="wdc-20191004.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="wdc-20191004.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfShareholdersEquity" xlink:href="wdc-20191004.xsd#CondensedConsolidatedStatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CoverPage" xlink:href="wdc-20191004.xsd#CoverPage" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20191004.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#DebtAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtScheduleOfDebtDetails" xlink:href="wdc-20191004.xsd#DebtScheduleOfDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20191004.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:href="wdc-20191004.xsd#DerivativesInstrumentsAndHedgingActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20191004.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20191004.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:href="wdc-20191004.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20191004.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20191004.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:href="wdc-20191004.xsd#FairValueMeasurementsAndInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:href="wdc-20191004.xsd#FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20191004.xsd#FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsTables" xlink:href="wdc-20191004.xsd#FairValueMeasurementsAndInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpense" xlink:href="wdc-20191004.xsd#IncomeTaxExpense" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#IncomeTaxExpenseAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:href="wdc-20191004.xsd#IncomeTaxExpenseTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTaxExpenseAndEffectiveTaxRateDetails" xlink:href="wdc-20191004.xsd#IncomeTaxExpenseTaxExpenseAndEffectiveTaxRateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsLongTermCommitmentsDetails" xlink:href="wdc-20191004.xsd#LeasesAndOtherCommitmentsLongTermCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsNotes" xlink:href="wdc-20191004.xsd#LeasesAndOtherCommitmentsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalBalanceSheetDetails" xlink:href="wdc-20191004.xsd#LeasesAndOtherCommitmentsSupplementalBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalCashFlowDetails" xlink:href="wdc-20191004.xsd#LeasesAndOtherCommitmentsSupplementalCashFlowDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsTables" xlink:href="wdc-20191004.xsd#LeasesAndOtherCommitmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20191004.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:href="wdc-20191004.xsd#NetIncomeLossPerCommonShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#NetIncomeLossPerCommonShareAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareTables" xlink:href="wdc-20191004.xsd#NetIncomeLossPerCommonShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentation" xlink:href="wdc-20191004.xsd#OrganizationAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:href="wdc-20191004.xsd#OrganizationAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20191004.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20191004.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20191004.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20191004.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAccountingPronouncements" xlink:href="wdc-20191004.xsd#RecentlyAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAccountingPronouncementsAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#RecentlyAccountingPronouncementsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingencies" xlink:href="wdc-20191004.xsd#RelatedPartiesAndRelatedCommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesEquityInvestmentsDetails" xlink:href="wdc-20191004.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:href="wdc-20191004.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:href="wdc-20191004.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesMaximumLossExposureDetails" xlink:href="wdc-20191004.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesMaximumLossExposureDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesTables" xlink:href="wdc-20191004.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Revenues" xlink:href="wdc-20191004.xsd#Revenues" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#RevenuesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:href="wdc-20191004.xsd#RevenuesDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetails" xlink:href="wdc-20191004.xsd#RevenuesRevenueRemainingPerformanceObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesTables" xlink:href="wdc-20191004.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:href="wdc-20191004.xsd#SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingBalanceSheetDetails" xlink:href="wdc-20191004.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfCashFlowsDetails" xlink:href="wdc-20191004.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfComprehensiveIncomeLossDetails" xlink:href="wdc-20191004.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfOperationsDetails" xlink:href="wdc-20191004.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:href="wdc-20191004.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20191004.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetails" xlink:href="wdc-20191004.xsd#ShareholdersEquityDividendsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:href="wdc-20191004.xsd#ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetails" xlink:href="wdc-20191004.xsd#ShareholdersEquityShareRepurchaseProgramDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20191004.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetails" xlink:href="wdc-20191004.xsd#ShareholdersEquityStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20191004.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20191004.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20191004.xsd#SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfShareholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_421EE2FD8B28374E312F5BED93BDE66F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_FF8C2B33C51F13721CAE5BED93BBA4FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_421EE2FD8B28374E312F5BED93BDE66F" xlink:to="loc_us-gaap_StatementTable_FF8C2B33C51F13721CAE5BED93BBA4FF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_77E10174DDAD89C954935BED93BC4266" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_FF8C2B33C51F13721CAE5BED93BBA4FF" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_77E10174DDAD89C954935BED93BC4266" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_77E10174DDAD89C954935BED93BC4266" xlink:to="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_77E10174DDAD89C954935BED93BC4266" xlink:to="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_E8FDB9C17C56B6EDC80B5BED93BCA69E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE" xlink:to="loc_us-gaap_CommonStockMember_E8FDB9C17C56B6EDC80B5BED93BCA69E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_FA41610C8339CAC7681E5BED93BCEFB9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE" xlink:to="loc_us-gaap_TreasuryStockMember_FA41610C8339CAC7681E5BED93BCEFB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_5E6BD03CA378B21570DB5BED93BDFD96" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_5E6BD03CA378B21570DB5BED93BDFD96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_56BF8B130224FA995D4E5BED93BD553D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_56BF8B130224FA995D4E5BED93BD553D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_FFC07288F074E47351835BED93BD262A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4304EA0BC457138055125BED93BC3ECE" xlink:to="loc_us-gaap_RetainedEarningsMember_FFC07288F074E47351835BED93BD262A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_421EE2FD8B28374E312F5BED93BDE66F" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_B2BD5E8E2FE994B794365BED93BD09CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_StockholdersEquity_B2BD5E8E2FE994B794365BED93BD09CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_E77E551547CE8561F3905BED93BE392C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_SharesIssued_E77E551547CE8561F3905BED93BE392C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_CF401EF377170BF7C3A25BED93BE2005" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_NetIncomeLoss_CF401EF377170BF7C3A25BED93BE2005" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_C7AEBDB31C33DA9150555BED93BED751" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_C7AEBDB31C33DA9150555BED93BED751" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_9FA4753689776F2A99CA5BED93BE9585" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_9FA4753689776F2A99CA5BED93BE9585" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_61C3CD4A3F1FADE613C85BED93BE88B5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_61C3CD4A3F1FADE613C85BED93BE88B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_969B3813ED7DDF3FDFF75BED93BF849F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_969B3813ED7DDF3FDFF75BED93BF849F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_AFAD06AB11F7F85C15D75BED93BFF9BB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_AFAD06AB11F7F85C15D75BED93BFF9BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_D625CBAB3B664D1F30115BED93BF1380" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_D625CBAB3B664D1F30115BED93BF1380" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_DividendsDeclared" xlink:label="loc_wdc_DividendsDeclared_E742E3DE4C473E6FFCE85BED93BF36FE" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_wdc_DividendsDeclared_E742E3DE4C473E6FFCE85BED93BF36FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_B429E8014DADA44ACEAD5BED93BFE173" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_B429E8014DADA44ACEAD5BED93BFE173" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_CC93B07C70BA7D8EAFB85BED93BF7073" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_CC93B07C70BA7D8EAFB85BED93BF7073" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetofTax" xlink:label="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetofTax_EDBEFDC30FA5DDF4E3CA5BED93BF3A33" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_C54E4FF88A082A3135525BED93BDCF30" xlink:to="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetofTax_EDBEFDC30FA5DDF4E3CA5BED93BF3A33" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CoverPage" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_1F074218049725390B8BF426233C2136" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_2882D605CCA29F3C578BF4262334529F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1F074218049725390B8BF426233C2136" xlink:to="loc_us-gaap_DebtInstrumentTable_2882D605CCA29F3C578BF4262334529F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_592482318BCCA65D8CA3F426233A9C53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2882D605CCA29F3C578BF4262334529F" xlink:to="loc_us-gaap_DebtInstrumentAxis_592482318BCCA65D8CA3F426233A9C53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_77822C9F69D91FCF9C7FF426233A923A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_592482318BCCA65D8CA3F426233A9C53" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_77822C9F69D91FCF9C7FF426233A923A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_77822C9F69D91FCF9C7FF426233A923A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_592482318BCCA65D8CA3F426233A9C53" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_77822C9F69D91FCF9C7FF426233A923A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_U.S.TermLoanB4Member" xlink:label="loc_wdc_U.S.TermLoanB4Member_226A73CD586DDC946BBBF426233BD0B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_77822C9F69D91FCF9C7FF426233A923A" xlink:to="loc_wdc_U.S.TermLoanB4Member_226A73CD586DDC946BBBF426233BD0B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_F93D65F93D18DE7D9622F42B02DE5930" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1F074218049725390B8BF426233C2136" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_F93D65F93D18DE7D9622F42B02DE5930" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtScheduleOfDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_B2A57F7E68928ED3F83AF4262347A6E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:to="loc_us-gaap_DebtInstrumentTable_B2A57F7E68928ED3F83AF4262347A6E0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_AC5AF8A297D439959A2BF42623471456" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_B2A57F7E68928ED3F83AF4262347A6E0" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_AC5AF8A297D439959A2BF42623471456" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_EC1C3381B451D405363FF426234858AC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_AC5AF8A297D439959A2BF42623471456" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_EC1C3381B451D405363FF426234858AC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_EC1C3381B451D405363FF426234858AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_AC5AF8A297D439959A2BF42623471456" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_EC1C3381B451D405363FF426234858AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_33621539DBD892EC1286F4262348F9A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_EC1C3381B451D405363FF426234858AC" xlink:to="loc_us-gaap_ConvertibleDebtMember_33621539DBD892EC1286F4262348F9A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_2C38772327CB84B5FE8EF426234865DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_B2A57F7E68928ED3F83AF4262347A6E0" xlink:to="loc_us-gaap_DebtInstrumentAxis_2C38772327CB84B5FE8EF426234865DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_2C38772327CB84B5FE8EF426234865DD" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_2C38772327CB84B5FE8EF426234865DD" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_4D40D040D5FE781D6029F42623496216" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_4D40D040D5FE781D6029F42623496216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_05648BDAE775810B4EC6F4262349FD27" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_05648BDAE775810B4EC6F4262349FD27" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_TermLoanA1Member" xlink:label="loc_wdc_TermLoanA1Member_C3839C625281B8A3FFCDF42623498968" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:to="loc_wdc_TermLoanA1Member_C3839C625281B8A3FFCDF42623498968" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_U.S.TermLoanB4Member" xlink:label="loc_wdc_U.S.TermLoanB4Member_6E4880DF87C93CC248E3F42623496506" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:to="loc_wdc_U.S.TermLoanB4Member_6E4880DF87C93CC248E3F42623496506" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember" xlink:label="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_17BF60E2ABCFC046BA34F42623493F6C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:to="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_17BF60E2ABCFC046BA34F42623493F6C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember" xlink:label="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_6A6740C69EFFD9AEC0B5F426234AD1F6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D7A28973124B7AD5E587F4262348C43D" xlink:to="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_6A6740C69EFFD9AEC0B5F426234AD1F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_BEA41AD4FECE50906A26F426234A64FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_BEA41AD4FECE50906A26F426234A64FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_B87E40E9FA61B2BBEE4AF426234AEF1B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_B87E40E9FA61B2BBEE4AF426234AEF1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_CAD25B8DD8C1F269D603F426234A72EF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_CAD25B8DD8C1F269D603F426234A72EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_CE5C6512F5978FCE8261F426234AA18D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:to="loc_us-gaap_LongTermDebt_CE5C6512F5978FCE8261F426234AA18D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_6716C93B6B583E042240F426234B9AAE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:to="loc_us-gaap_LongTermDebtCurrent_6716C93B6B583E042240F426234B9AAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_10B05DA0DF759A3D4E91F426234BF5FD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_23246683955DC2672520F426234A2AB0" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_10B05DA0DF759A3D4E91F426234BF5FD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_E9E19D72322D75F477BB82AFD6F838FD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D0417E10B8AA3DFBBB0782AFD6F06DF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E9E19D72322D75F477BB82AFD6F838FD" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D0417E10B8AA3DFBBB0782AFD6F06DF5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_B5E98CC1533BFFFC09EC82AFD6F15CD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D0417E10B8AA3DFBBB0782AFD6F06DF5" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_B5E98CC1533BFFFC09EC82AFD6F15CD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_6E04A867A6786983F98582AFD6F628A7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_B5E98CC1533BFFFC09EC82AFD6F15CD5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_6E04A867A6786983F98582AFD6F628A7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_6E04A867A6786983F98582AFD6F628A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_B5E98CC1533BFFFC09EC82AFD6F15CD5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_6E04A867A6786983F98582AFD6F628A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_A8BAB758C3F70D18BE9082AFD6F6C7B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_6E04A867A6786983F98582AFD6F628A7" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_A8BAB758C3F70D18BE9082AFD6F6C7B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_BACB17076E1F0E6DF73E82AFD6F7186E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_6E04A867A6786983F98582AFD6F628A7" xlink:to="loc_us-gaap_ContractTerminationMember_BACB17076E1F0E6DF73E82AFD6F7186E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_8084092B7640FED5FCB082AFD6F7D601" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D0417E10B8AA3DFBBB0782AFD6F06DF5" xlink:to="loc_us-gaap_RestructuringPlanAxis_8084092B7640FED5FCB082AFD6F7D601" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_D2BB7286B9E67D44336582AFD6F753E3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_8084092B7640FED5FCB082AFD6F7D601" xlink:to="loc_us-gaap_RestructuringPlanDomain_D2BB7286B9E67D44336582AFD6F753E3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_D2BB7286B9E67D44336582AFD6F753E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_8084092B7640FED5FCB082AFD6F7D601" xlink:to="loc_us-gaap_RestructuringPlanDomain_D2BB7286B9E67D44336582AFD6F753E3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_E92F2AE99A3CBC0DF39582AFD6F7B35A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_D2BB7286B9E67D44336582AFD6F753E3" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_E92F2AE99A3CBC0DF39582AFD6F7B35A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_49DC8034845F435E5A0A82AFD6F8D6CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E9E19D72322D75F477BB82AFD6F838FD" xlink:to="loc_us-gaap_RestructuringReserveRollForward_49DC8034845F435E5A0A82AFD6F8D6CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_3A8CA2159FAFF9C9EACA82AFD6F88351" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_49DC8034845F435E5A0A82AFD6F8D6CD" xlink:to="loc_us-gaap_RestructuringReserve_3A8CA2159FAFF9C9EACA82AFD6F88351" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_B15D1DF639CC4B96EC0582AFD6F87B09" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_49DC8034845F435E5A0A82AFD6F8D6CD" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_B15D1DF639CC4B96EC0582AFD6F87B09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_42E92EA65D52C7458C2182AFD6F91440" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_49DC8034845F435E5A0A82AFD6F8D6CD" xlink:to="loc_us-gaap_PaymentsForRestructuring_42E92EA65D52C7458C2182AFD6F91440" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_DB574FD1E4BDAF60D9DF82AFD70F638C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D19D413402C9F8EEC6C182AFD7071481" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DB574FD1E4BDAF60D9DF82AFD70F638C" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D19D413402C9F8EEC6C182AFD7071481" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_E83E1977EE5D62F4965382AFD7089074" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D19D413402C9F8EEC6C182AFD7071481" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_E83E1977EE5D62F4965382AFD7089074" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_23FB4059A50043B0390E82AFD7089632_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E83E1977EE5D62F4965382AFD7089074" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_23FB4059A50043B0390E82AFD7089632_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_23FB4059A50043B0390E82AFD7089632" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E83E1977EE5D62F4965382AFD7089074" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_23FB4059A50043B0390E82AFD7089632" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_7645D7BD658BCF75171D82AFD7085EC5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_23FB4059A50043B0390E82AFD7089632" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_7645D7BD658BCF75171D82AFD7085EC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_74B76CAA50A670AA614782AFD7095235" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_23FB4059A50043B0390E82AFD7089632" xlink:to="loc_us-gaap_ContractTerminationMember_74B76CAA50A670AA614782AFD7095235" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_84BD96409041E7F7A20E82AFD709567C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D19D413402C9F8EEC6C182AFD7071481" xlink:to="loc_us-gaap_RestructuringPlanAxis_84BD96409041E7F7A20E82AFD709567C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_965FDD12E9AA2B40B3B682AFD7096B3E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_84BD96409041E7F7A20E82AFD709567C" xlink:to="loc_us-gaap_RestructuringPlanDomain_965FDD12E9AA2B40B3B682AFD7096B3E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_965FDD12E9AA2B40B3B682AFD7096B3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_84BD96409041E7F7A20E82AFD709567C" xlink:to="loc_us-gaap_RestructuringPlanDomain_965FDD12E9AA2B40B3B682AFD7096B3E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_751F62FD30DED7E2F57282AFD70E3239" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_965FDD12E9AA2B40B3B682AFD7096B3E" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_751F62FD30DED7E2F57282AFD70E3239" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_93DEB1A3EBFC4CCB16DB82AFD70F01B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_DB574FD1E4BDAF60D9DF82AFD70F638C" xlink:to="loc_us-gaap_RestructuringReserveRollForward_93DEB1A3EBFC4CCB16DB82AFD70F01B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_89ECDB4F6DFA1DC90ADF82AFD70F9CF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_93DEB1A3EBFC4CCB16DB82AFD70F01B5" xlink:to="loc_us-gaap_RestructuringReserve_89ECDB4F6DFA1DC90ADF82AFD70F9CF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_24657FB68ACCE2B7625D82AFD70F77E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_93DEB1A3EBFC4CCB16DB82AFD70F01B5" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_24657FB68ACCE2B7625D82AFD70F77E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_E11634DBDDA398E80A2A82AFD71014E7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_93DEB1A3EBFC4CCB16DB82AFD70F01B5" xlink:to="loc_us-gaap_PaymentsForRestructuring_E11634DBDDA398E80A2A82AFD71014E7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_832BDCCEA5ACA681D1AA3C46DFEC65C7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_7FD5B4F21D9D13B54D633C46DFEB9994" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_832BDCCEA5ACA681D1AA3C46DFEC65C7" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_7FD5B4F21D9D13B54D633C46DFEB9994" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_C0BCA1CEF145102694233C46DFEBFBC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_7FD5B4F21D9D13B54D633C46DFEB9994" xlink:to="loc_us-gaap_RestructuringPlanAxis_C0BCA1CEF145102694233C46DFEBFBC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_D0074E899003B043AD5A3C46DFEBE1F2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_C0BCA1CEF145102694233C46DFEBFBC9" xlink:to="loc_us-gaap_RestructuringPlanDomain_D0074E899003B043AD5A3C46DFEBE1F2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_D0074E899003B043AD5A3C46DFEBE1F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_C0BCA1CEF145102694233C46DFEBFBC9" xlink:to="loc_us-gaap_RestructuringPlanDomain_D0074E899003B043AD5A3C46DFEBE1F2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_F145DE24A77218267D853C46DFEBAD84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_D0074E899003B043AD5A3C46DFEBE1F2" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_F145DE24A77218267D853C46DFEBAD84" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_494443B5D41FE140D0C93C46DFEC2D52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_D0074E899003B043AD5A3C46DFEBE1F2" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_494443B5D41FE140D0C93C46DFEC2D52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_E0210A374361513B8F043C46DFEC6EC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_832BDCCEA5ACA681D1AA3C46DFEC65C7" xlink:to="loc_us-gaap_RestructuringCharges_E0210A374361513B8F043C46DFEC6EC8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_FE8B28BC43B957348BFA672AFF50428D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_2FF25EA4AD4A5256B361199A188E9BD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_FE8B28BC43B957348BFA672AFF50428D" xlink:to="loc_us-gaap_DebtInstrumentTable_2FF25EA4AD4A5256B361199A188E9BD1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D7A35018C1C95929BF4EA0442BCF970C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2FF25EA4AD4A5256B361199A188E9BD1" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D7A35018C1C95929BF4EA0442BCF970C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_69D8A18EC941F68374A9B03DD95EAFF4_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D7A35018C1C95929BF4EA0442BCF970C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_69D8A18EC941F68374A9B03DD95EAFF4_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_02EE46AC0D1158A881E8EF474B354815" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D7A35018C1C95929BF4EA0442BCF970C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_02EE46AC0D1158A881E8EF474B354815" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_615F4E19217C549BB1AC86A7F1BF55E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_02EE46AC0D1158A881E8EF474B354815" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_615F4E19217C549BB1AC86A7F1BF55E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_98CAEF20773B5B5BB0262D1233CCEB04" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2FF25EA4AD4A5256B361199A188E9BD1" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_98CAEF20773B5B5BB0262D1233CCEB04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_57665595A7D807D629B8B03DD95FD0E8_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_98CAEF20773B5B5BB0262D1233CCEB04" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_57665595A7D807D629B8B03DD95FD0E8_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B35428E4C3EA56F9AE7196CB4D9FB9FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_98CAEF20773B5B5BB0262D1233CCEB04" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B35428E4C3EA56F9AE7196CB4D9FB9FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_C345F6FB373259E9933490462ACBB250" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B35428E4C3EA56F9AE7196CB4D9FB9FA" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_C345F6FB373259E9933490462ACBB250" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_9557CC2CDB0B55DA9495545109E026FC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B35428E4C3EA56F9AE7196CB4D9FB9FA" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_9557CC2CDB0B55DA9495545109E026FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_64B23B9BACAA580A9A8FAE5533794879" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B35428E4C3EA56F9AE7196CB4D9FB9FA" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_64B23B9BACAA580A9A8FAE5533794879" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_3D3FB2A734D153B8824095F8FBBECF89" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2FF25EA4AD4A5256B361199A188E9BD1" xlink:to="loc_us-gaap_DebtInstrumentAxis_3D3FB2A734D153B8824095F8FBBECF89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_221A4E7FA76C6768D895B03DD9605787_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_3D3FB2A734D153B8824095F8FBBECF89" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_221A4E7FA76C6768D895B03DD9605787_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_54D2E2E70DF358D28B4E3A472AEACC70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_3D3FB2A734D153B8824095F8FBBECF89" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_54D2E2E70DF358D28B4E3A472AEACC70" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_D2ED363751A554588FD97C44243D1C9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_54D2E2E70DF358D28B4E3A472AEACC70" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_D2ED363751A554588FD97C44243D1C9A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_TermLoanA1Member" xlink:label="loc_wdc_TermLoanA1Member_E333F743E7485F6AA2DAA3FA5C2F1BD9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_54D2E2E70DF358D28B4E3A472AEACC70" xlink:to="loc_wdc_TermLoanA1Member_E333F743E7485F6AA2DAA3FA5C2F1BD9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_U.S.TermLoanB4Member" xlink:label="loc_wdc_U.S.TermLoanB4Member_A5371B03E8FC516CA64E69048DF26075" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_54D2E2E70DF358D28B4E3A472AEACC70" xlink:to="loc_wdc_U.S.TermLoanB4Member_A5371B03E8FC516CA64E69048DF26075" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember" xlink:label="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_D8C039D9F0EF557A93F3C3741CBFDFDF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_54D2E2E70DF358D28B4E3A472AEACC70" xlink:to="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_D8C039D9F0EF557A93F3C3741CBFDFDF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember" xlink:label="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_5F42D3663C065370903F42D103CC9E0E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_54D2E2E70DF358D28B4E3A472AEACC70" xlink:to="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_5F42D3663C065370903F42D103CC9E0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_A6881104DF715CAAAC0B99E9792FA55A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_FE8B28BC43B957348BFA672AFF50428D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_A6881104DF715CAAAC0B99E9792FA55A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_25BC9FDA3AB55AA68DC94572EE36882D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_FE8B28BC43B957348BFA672AFF50428D" xlink:to="loc_us-gaap_LongTermDebtFairValue_25BC9FDA3AB55AA68DC94572EE36882D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6DBD5DF4AE32A2D011FD1DCBF88CC4FA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_47E0439BE53AD84FB05C1DCBF889EFC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6DBD5DF4AE32A2D011FD1DCBF88CC4FA" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_47E0439BE53AD84FB05C1DCBF889EFC7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B17317548CCCD081B1F51DCBF8898CFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_47E0439BE53AD84FB05C1DCBF889EFC7" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B17317548CCCD081B1F51DCBF8898CFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_6AB13A6166B3AE378FEA1DCBF8890944_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B17317548CCCD081B1F51DCBF8898CFB" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_6AB13A6166B3AE378FEA1DCBF8890944_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_6AB13A6166B3AE378FEA1DCBF8890944" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B17317548CCCD081B1F51DCBF8898CFB" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_6AB13A6166B3AE378FEA1DCBF8890944" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_D8BE6BEB5F3A02FA4D4B1DCBF8894A5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_6AB13A6166B3AE378FEA1DCBF8890944" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_D8BE6BEB5F3A02FA4D4B1DCBF8894A5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_97CFFE04890A23F3108D1DCBF88AF0CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_47E0439BE53AD84FB05C1DCBF889EFC7" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_97CFFE04890A23F3108D1DCBF88AF0CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_97CFFE04890A23F3108D1DCBF88AF0CB" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_97CFFE04890A23F3108D1DCBF88AF0CB" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_07C8655D86D22A998E951DCBF88A21E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB" xlink:to="loc_us-gaap_MoneyMarketFundsMember_07C8655D86D22A998E951DCBF88A21E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_83AEA8BF2D24722A96061DCBF88AA795" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB" xlink:to="loc_us-gaap_CertificatesOfDepositMember_83AEA8BF2D24722A96061DCBF88AA795" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_B25C3D87F1DF744BDA431DCBF88BBE07" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB" xlink:to="loc_us-gaap_ForeignExchangeContractMember_B25C3D87F1DF744BDA431DCBF88BBE07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_3EEB5275D74A0383E2C41DCBF88B4AE6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_24CF2BD31AF98E20819D1DCBF88A41AB" xlink:to="loc_us-gaap_InterestRateSwapMember_3EEB5275D74A0383E2C41DCBF88B4AE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B0DFFEC0004344578A821DCBF88B913C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_47E0439BE53AD84FB05C1DCBF889EFC7" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B0DFFEC0004344578A821DCBF88B913C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D46C4D29D81796E120851DCBF88BB61C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B0DFFEC0004344578A821DCBF88B913C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D46C4D29D81796E120851DCBF88BB61C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D46C4D29D81796E120851DCBF88BB61C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B0DFFEC0004344578A821DCBF88B913C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D46C4D29D81796E120851DCBF88BB61C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_4A58443750AB012A3C851DCBF88B9964" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D46C4D29D81796E120851DCBF88BB61C" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_4A58443750AB012A3C851DCBF88B9964" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_9E97BD3D015D1A486E8C1DCBF88C7C0B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D46C4D29D81796E120851DCBF88BB61C" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_9E97BD3D015D1A486E8C1DCBF88C7C0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_B6C97A9E489D879A0D8B1DCBF88CA1CF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D46C4D29D81796E120851DCBF88BB61C" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_B6C97A9E489D879A0D8B1DCBF88CA1CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_1C9CC0A5AE0D78A73EF41DCBF88CE7C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6DBD5DF4AE32A2D011FD1DCBF88CC4FA" xlink:to="loc_us-gaap_AssetsAbstract_1C9CC0A5AE0D78A73EF41DCBF88CE7C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_E06B187B5E62B22BA0B91DCBF88CC1CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_1C9CC0A5AE0D78A73EF41DCBF88CE7C0" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_E06B187B5E62B22BA0B91DCBF88CC1CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_D93EB11A06D2751131E71DCBF88DC90C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_1C9CC0A5AE0D78A73EF41DCBF88CE7C0" xlink:to="loc_us-gaap_DerivativeAssets_D93EB11A06D2751131E71DCBF88DC90C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_68BF3717EA6BF048C7B41DCBF88DE063" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_1C9CC0A5AE0D78A73EF41DCBF88CE7C0" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_68BF3717EA6BF048C7B41DCBF88DE063" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_095F425D145A855393B71DCBF88D4F68" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_6DBD5DF4AE32A2D011FD1DCBF88CC4FA" xlink:to="loc_us-gaap_LiabilitiesAbstract_095F425D145A855393B71DCBF88D4F68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_30CCD1EB0EC1634BC0E21DCBF88D7C9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_095F425D145A855393B71DCBF88D4F68" xlink:to="loc_us-gaap_DerivativeLiabilities_30CCD1EB0EC1634BC0E21DCBF88D7C9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_872BC27A89326CB948691DCBF88D71B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_095F425D145A855393B71DCBF88D4F68" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_872BC27A89326CB948691DCBF88D71B5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpense" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20191004.xsd#wdc_IncomeTaxDisclosureLineItems" xlink:label="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:type="locator" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_IncomeTaxDisclosureTable" xlink:label="loc_wdc_IncomeTaxDisclosureTable_D3DA432F2874EC218CCA46D2F413DC88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_wdc_IncomeTaxDisclosureTable_D3DA432F2874EC218CCA46D2F413DC88" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_8E47554034D7D5C65C5A46D2F417E31E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_D3DA432F2874EC218CCA46D2F413DC88" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_8E47554034D7D5C65C5A46D2F417E31E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_E401AEE679F7C201536746D2F41796EE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_8E47554034D7D5C65C5A46D2F417E31E" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_E401AEE679F7C201536746D2F41796EE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_E401AEE679F7C201536746D2F41796EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_8E47554034D7D5C65C5A46D2F417E31E" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_E401AEE679F7C201536746D2F41796EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_7A82B5AF21947411B96846D2F417B6C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_E401AEE679F7C201536746D2F41796EE" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_7A82B5AF21947411B96846D2F417B6C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_ABEF529F2ACB36EF4C7F46D2F417D7BC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_D3DA432F2874EC218CCA46D2F413DC88" xlink:to="loc_us-gaap_TaxPeriodAxis_ABEF529F2ACB36EF4C7F46D2F417D7BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_F8921F8631151F15DC7C46D2F4175A90_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxPeriodAxis_ABEF529F2ACB36EF4C7F46D2F417D7BC" xlink:to="loc_us-gaap_TaxPeriodDomain_F8921F8631151F15DC7C46D2F4175A90_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_F8921F8631151F15DC7C46D2F4175A90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxPeriodAxis_ABEF529F2ACB36EF4C7F46D2F417D7BC" xlink:to="loc_us-gaap_TaxPeriodDomain_F8921F8631151F15DC7C46D2F4175A90" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_TaxYear2008Through2009Member" xlink:label="loc_wdc_TaxYear2008Through2009Member_273887D2E3557527583A46D2F4178DFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_F8921F8631151F15DC7C46D2F4175A90" xlink:to="loc_wdc_TaxYear2008Through2009Member_273887D2E3557527583A46D2F4178DFB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_TaxYears2010Through2012Member" xlink:label="loc_wdc_TaxYears2010Through2012Member_5357401D891E786E249346D2F417523D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_F8921F8631151F15DC7C46D2F4175A90" xlink:to="loc_wdc_TaxYears2010Through2012Member_5357401D891E786E249346D2F417523D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_9487EA14A5B9FC5E5BA346D2F417B41E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_9487EA14A5B9FC5E5BA346D2F417B41E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_TaxCutsAndJobsActOf2017ChangeInTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsAndJobsActOf2017ChangeInTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_3DC18F4F82D2BB30D97046D2F4176EC3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_wdc_TaxCutsAndJobsActOf2017ChangeInTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_3DC18F4F82D2BB30D97046D2F4176EC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss" xlink:label="loc_us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss_62FD4CAE8BB6CC93A04746D2F41EFE11" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss_62FD4CAE8BB6CC93A04746D2F41EFE11" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_IncomeTaxExaminationEstimateofPossibleLossResultingFromTransferPricingAdjustments" xlink:label="loc_wdc_IncomeTaxExaminationEstimateofPossibleLossResultingFromTransferPricingAdjustments_C0DD313A92783B6F182446D2F41EE4D7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_wdc_IncomeTaxExaminationEstimateofPossibleLossResultingFromTransferPricingAdjustments_C0DD313A92783B6F182446D2F41EE4D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_E52F47A97ABA14C089D546D2F41E80B0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_E52F47A97ABA14C089D546D2F41E80B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_1558C86E9C7FA7C5F71246D2F41E0790" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_1558C86E9C7FA7C5F71246D2F41E0790" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_UnrecognizedTaxBenefitsPayable" xlink:label="loc_wdc_UnrecognizedTaxBenefitsPayable_12DBE85CDBC6ECFA791246D39A3CF17A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_E32DBF74CA4D681BFD5446D2F417349F" xlink:to="loc_wdc_UnrecognizedTaxBenefitsPayable_12DBE85CDBC6ECFA791246D39A3CF17A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTaxExpenseAndEffectiveTaxRateDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsLongTermCommitmentsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalBalanceSheetDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalCashFlowDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedings" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_9564AFA6188EBB438E195BC37A6194B1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_0D60C56C7B7D4BC193335BC37A5F638D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_9564AFA6188EBB438E195BC37A6194B1" xlink:to="loc_us-gaap_LossContingenciesTable_0D60C56C7B7D4BC193335BC37A5F638D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_LitigationCaseAxis" xlink:label="loc_srt_LitigationCaseAxis_D78FAF7CBA23DC845A245BC37A5FE446" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0D60C56C7B7D4BC193335BC37A5F638D" xlink:to="loc_srt_LitigationCaseAxis_D78FAF7CBA23DC845A245BC37A5FE446" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_LitigationCaseTypeDomain" xlink:label="loc_srt_LitigationCaseTypeDomain_CAD1D8C577E76FD3E29B5BC37A5FB1C3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_D78FAF7CBA23DC845A245BC37A5FE446" xlink:to="loc_srt_LitigationCaseTypeDomain_CAD1D8C577E76FD3E29B5BC37A5FB1C3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_LitigationCaseTypeDomain" xlink:label="loc_srt_LitigationCaseTypeDomain_CAD1D8C577E76FD3E29B5BC37A5FB1C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_D78FAF7CBA23DC845A245BC37A5FE446" xlink:to="loc_srt_LitigationCaseTypeDomain_CAD1D8C577E76FD3E29B5BC37A5FB1C3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember" xlink:label="loc_wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember_C1A6CD1B48416DF0B0195BC37A609079" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_CAD1D8C577E76FD3E29B5BC37A5FB1C3" xlink:to="loc_wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember_C1A6CD1B48416DF0B0195BC37A609079" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_2D0789BFE3608A1EEFC75BC37A60DB89" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0D60C56C7B7D4BC193335BC37A5F638D" xlink:to="loc_dei_LegalEntityAxis_2D0789BFE3608A1EEFC75BC37A60DB89" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_D42001B8D9E2112D6CD15BC37A602E9A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_2D0789BFE3608A1EEFC75BC37A60DB89" xlink:to="loc_dei_EntityDomain_D42001B8D9E2112D6CD15BC37A602E9A_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_D42001B8D9E2112D6CD15BC37A602E9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_2D0789BFE3608A1EEFC75BC37A60DB89" xlink:to="loc_dei_EntityDomain_D42001B8D9E2112D6CD15BC37A602E9A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_B99136E378B864B2F5D65BC37A61D984" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_D42001B8D9E2112D6CD15BC37A602E9A" xlink:to="loc_wdc_SanDiskMember_B99136E378B864B2F5D65BC37A61D984" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LitigationStatusAxis" xlink:label="loc_us-gaap_LitigationStatusAxis_0B110A5876D8AE8897C35BC37A61BF6C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0D60C56C7B7D4BC193335BC37A5F638D" xlink:to="loc_us-gaap_LitigationStatusAxis_0B110A5876D8AE8897C35BC37A61BF6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_FF53EDCFC43369ED1D9A5BC37A614B8B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationStatusAxis_0B110A5876D8AE8897C35BC37A61BF6C" xlink:to="loc_us-gaap_LitigationStatusDomain_FF53EDCFC43369ED1D9A5BC37A614B8B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_FF53EDCFC43369ED1D9A5BC37A614B8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationStatusAxis_0B110A5876D8AE8897C35BC37A61BF6C" xlink:to="loc_us-gaap_LitigationStatusDomain_FF53EDCFC43369ED1D9A5BC37A614B8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PendingLitigationMember" xlink:label="loc_us-gaap_PendingLitigationMember_6FFAEE127F71BA8585305BC37A61E6A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationStatusDomain_FF53EDCFC43369ED1D9A5BC37A614B8B" xlink:to="loc_us-gaap_PendingLitigationMember_6FFAEE127F71BA8585305BC37A61E6A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingencyNumberOfPlaintiffs" xlink:label="loc_us-gaap_LossContingencyNumberOfPlaintiffs_59797A07896EB815D3615BC37A62A798" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_9564AFA6188EBB438E195BC37A6194B1" xlink:to="loc_us-gaap_LossContingencyNumberOfPlaintiffs_59797A07896EB815D3615BC37A62A798" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingencyNewClaimsFiledNumber" xlink:label="loc_us-gaap_LossContingencyNewClaimsFiledNumber_267C6DE73F93D04C4B965BC37A6270F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_9564AFA6188EBB438E195BC37A6194B1" xlink:to="loc_us-gaap_LossContingencyNewClaimsFiledNumber_267C6DE73F93D04C4B965BC37A6270F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingencyPendingClaimsNumber" xlink:label="loc_us-gaap_LossContingencyPendingClaimsNumber_10A01590EC94C36444B75BC37A62637A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_9564AFA6188EBB438E195BC37A6194B1" xlink:to="loc_us-gaap_LossContingencyPendingClaimsNumber_10A01590EC94C36444B75BC37A62637A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice_931C3AEF90F8AC187F295BC37A62C12C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_9564AFA6188EBB438E195BC37A6194B1" xlink:to="loc_us-gaap_SharePrice_931C3AEF90F8AC187F295BC37A62C12C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_EE11EFE65A53156EE39CA91F57135C3F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_7BAC8CE8DD404C6EBB26A91F5711C61F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_EE11EFE65A53156EE39CA91F57135C3F" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_7BAC8CE8DD404C6EBB26A91F5711C61F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationAxis" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_75EE1140FDAF6366FF42A91F57117A71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_7BAC8CE8DD404C6EBB26A91F5711C61F" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_75EE1140FDAF6366FF42A91F57117A71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_ACF54B74901BC78476CAA91F57113716_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_75EE1140FDAF6366FF42A91F57117A71" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_ACF54B74901BC78476CAA91F57113716_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_ACF54B74901BC78476CAA91F57113716" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_75EE1140FDAF6366FF42A91F57117A71" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_ACF54B74901BC78476CAA91F57113716" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignPlanMember" xlink:label="loc_us-gaap_ForeignPlanMember_6A8B874052A0D6965D4FA91F57126FB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_ACF54B74901BC78476CAA91F57113716" xlink:to="loc_us-gaap_ForeignPlanMember_6A8B874052A0D6965D4FA91F57126FB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_8BD0D65B8D7B50B07635A91F57127D82" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_7BAC8CE8DD404C6EBB26A91F5711C61F" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_8BD0D65B8D7B50B07635A91F57127D82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_DCDF033B9EA22C2F6679A91F57128521_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_8BD0D65B8D7B50B07635A91F57127D82" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_DCDF033B9EA22C2F6679A91F57128521_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_DCDF033B9EA22C2F6679A91F57128521" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_8BD0D65B8D7B50B07635A91F57127D82" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_DCDF033B9EA22C2F6679A91F57128521" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_63386D0FEA09CCB20030A91F57128DDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_DCDF033B9EA22C2F6679A91F57128521" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_63386D0FEA09CCB20030A91F57128DDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_D21EFFE16FFB2DB25B1FA91F57134D93" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_EE11EFE65A53156EE39CA91F57135C3F" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_D21EFFE16FFB2DB25B1FA91F57134D93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_44A0719DCCB1F2EFDE2BA91F57136EAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_D21EFFE16FFB2DB25B1FA91F57134D93" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_44A0719DCCB1F2EFDE2BA91F57136EAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_D15877434E54743EC755A91F57130E27" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_D21EFFE16FFB2DB25B1FA91F57134D93" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_D15877434E54743EC755A91F57130E27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_96DA0BF2AA363AD105D0A91F57136E8D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_D21EFFE16FFB2DB25B1FA91F57134D93" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_96DA0BF2AA363AD105D0A91F57136E8D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BDFEB88B94A4BE9C3BC282B2FA953CA4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F9540AF127DB1CE54AA482B2FA9344BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BDFEB88B94A4BE9C3BC282B2FA953CA4" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F9540AF127DB1CE54AA482B2FA9344BC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationAxis" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_A4BC9F101F413F02558D82B2FA94C280" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F9540AF127DB1CE54AA482B2FA9344BC" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_A4BC9F101F413F02558D82B2FA94C280" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_CE2369ABC5E515092FDB82B2FA947252_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_A4BC9F101F413F02558D82B2FA94C280" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_CE2369ABC5E515092FDB82B2FA947252_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_CE2369ABC5E515092FDB82B2FA947252" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_A4BC9F101F413F02558D82B2FA94C280" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_CE2369ABC5E515092FDB82B2FA947252" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ForeignPlanMember" xlink:label="loc_us-gaap_ForeignPlanMember_A35CB1D76C7CEA864E1C82B2FA94A1EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_CE2369ABC5E515092FDB82B2FA947252" xlink:to="loc_us-gaap_ForeignPlanMember_A35CB1D76C7CEA864E1C82B2FA94A1EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_1702E89CCED33D3A52E182B2FA942AB8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F9540AF127DB1CE54AA482B2FA9344BC" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_1702E89CCED33D3A52E182B2FA942AB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_DF02CCB1990677888A5382B2FA950EB5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1702E89CCED33D3A52E182B2FA942AB8" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_DF02CCB1990677888A5382B2FA950EB5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_DF02CCB1990677888A5382B2FA950EB5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1702E89CCED33D3A52E182B2FA942AB8" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_DF02CCB1990677888A5382B2FA950EB5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_27934F07535EA6329CAD82B2FA95547C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_DF02CCB1990677888A5382B2FA950EB5" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_27934F07535EA6329CAD82B2FA95547C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_1F235C5C0CF626325A1782B2FA95BEF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BDFEB88B94A4BE9C3BC282B2FA953CA4" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_1F235C5C0CF626325A1782B2FA95BEF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_C39644847B25B4C8B24682B2FA965E92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BDFEB88B94A4BE9C3BC282B2FA953CA4" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_C39644847B25B4C8B24682B2FA965E92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_7BB1FAE8B98E90E55FDA82B2FA961307" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BDFEB88B94A4BE9C3BC282B2FA953CA4" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_7BB1FAE8B98E90E55FDA82B2FA961307" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAccountingPronouncementsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_26FF4D7406D3C2FDA09D5BED9397F0D9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_898064D170F307471F1B5BED9396AAB6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_26FF4D7406D3C2FDA09D5BED9397F0D9" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_898064D170F307471F1B5BED9396AAB6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3D00D71C567C40D017E25BED93960FCF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_898064D170F307471F1B5BED9396AAB6" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3D00D71C567C40D017E25BED93960FCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_DAB6C47EC77ED4B5AE5C5BED93964C53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3D00D71C567C40D017E25BED93960FCF" xlink:to="loc_us-gaap_TypeOfAdoptionMember_DAB6C47EC77ED4B5AE5C5BED93964C53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_DAB6C47EC77ED4B5AE5C5BED93964C53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_3D00D71C567C40D017E25BED93960FCF" xlink:to="loc_us-gaap_TypeOfAdoptionMember_DAB6C47EC77ED4B5AE5C5BED93964C53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_09F3F59D925CEF0854F25BED9397EF48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_DAB6C47EC77ED4B5AE5C5BED93964C53" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_09F3F59D925CEF0854F25BED9397EF48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2A4B3BF0F6C8FF627E155BED93976A7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_26FF4D7406D3C2FDA09D5BED9397F0D9" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2A4B3BF0F6C8FF627E155BED93976A7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_A7DAA36D63C63ED81E405BED93977E1B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_26FF4D7406D3C2FDA09D5BED9397F0D9" xlink:to="loc_us-gaap_OperatingLeaseLiability_A7DAA36D63C63ED81E405BED93977E1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_01E10C683CD877BFF0655BED93983575" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_26FF4D7406D3C2FDA09D5BED9397F0D9" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_01E10C683CD877BFF0655BED93983575" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_61C2FB7A2B99325F0ACA5C05A4B70A6C" xlink:type="locator" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable" xlink:label="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_61C2FB7A2B99325F0ACA5C05A4B70A6C" xlink:to="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_EEA37764BAE870F6D1635C05A4B09E50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_EEA37764BAE870F6D1635C05A4B09E50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_043439AE491B9F03A59E5C05A4B0E8FC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_EEA37764BAE870F6D1635C05A4B09E50" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_043439AE491B9F03A59E5C05A4B0E8FC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_043439AE491B9F03A59E5C05A4B0E8FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_EEA37764BAE870F6D1635C05A4B09E50" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_043439AE491B9F03A59E5C05A4B0E8FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProductConcentrationRiskMember" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_9C87355EE89AEAF333915C05A4B091F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_043439AE491B9F03A59E5C05A4B0E8FC" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_9C87355EE89AEAF333915C05A4B091F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_543C4D274C323BBE78175C05A4B15186" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_543C4D274C323BBE78175C05A4B15186" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D02DB4503B1AF37741175C05A4B1DE2D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_543C4D274C323BBE78175C05A4B15186" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D02DB4503B1AF37741175C05A4B1DE2D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D02DB4503B1AF37741175C05A4B1DE2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_543C4D274C323BBE78175C05A4B15186" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D02DB4503B1AF37741175C05A4B1DE2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_64E6185AFA8F847F86FF5C05A4B19F28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_D02DB4503B1AF37741175C05A4B1DE2D" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_64E6185AFA8F847F86FF5C05A4B19F28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsAxis" xlink:label="loc_us-gaap_OtherCommitmentsAxis_E096C3406B27BBA248CC5C05A4B164A3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_us-gaap_OtherCommitmentsAxis_E096C3406B27BBA248CC5C05A4B164A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_2C90FC0A1E3A3C12D67A5C05A4B270CB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_E096C3406B27BBA248CC5C05A4B164A3" xlink:to="loc_us-gaap_OtherCommitmentsDomain_2C90FC0A1E3A3C12D67A5C05A4B270CB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsDomain" xlink:label="loc_us-gaap_OtherCommitmentsDomain_2C90FC0A1E3A3C12D67A5C05A4B270CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_E096C3406B27BBA248CC5C05A4B164A3" xlink:to="loc_us-gaap_OtherCommitmentsDomain_2C90FC0A1E3A3C12D67A5C05A4B270CB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EquipmentInvestmentsRelocationCostsAndStartUpCostsMember" xlink:label="loc_wdc_EquipmentInvestmentsRelocationCostsAndStartUpCostsMember_688827C930D5E68BC36F5C05A4B2D00E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_2C90FC0A1E3A3C12D67A5C05A4B270CB" xlink:to="loc_wdc_EquipmentInvestmentsRelocationCostsAndStartUpCostsMember_688827C930D5E68BC36F5C05A4B2D00E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_PrepaymentsOfFutureDepreciationMember" xlink:label="loc_wdc_PrepaymentsOfFutureDepreciationMember_ABF674F5D6379C6383695C05A4B2390E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_2C90FC0A1E3A3C12D67A5C05A4B270CB" xlink:to="loc_wdc_PrepaymentsOfFutureDepreciationMember_ABF674F5D6379C6383695C05A4B2390E" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1172E2D558A3ED5B49DE5C05A4B22F18" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_dei_LegalEntityAxis_1172E2D558A3ED5B49DE5C05A4B22F18" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_0987C9AC49E14AEC4D275C05A4B3B4C7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_1172E2D558A3ED5B49DE5C05A4B22F18" xlink:to="loc_dei_EntityDomain_0987C9AC49E14AEC4D275C05A4B3B4C7_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_0987C9AC49E14AEC4D275C05A4B3B4C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_1172E2D558A3ED5B49DE5C05A4B22F18" xlink:to="loc_dei_EntityDomain_0987C9AC49E14AEC4D275C05A4B3B4C7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_UnissoftWuxiGroupCoLtd.Member" xlink:label="loc_wdc_UnissoftWuxiGroupCoLtd.Member_83DC05101BDFD52904285C05A4B34883" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0987C9AC49E14AEC4D275C05A4B3B4C7" xlink:to="loc_wdc_UnissoftWuxiGroupCoLtd.Member_83DC05101BDFD52904285C05A4B34883" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_419CF4BF78AC07146E6B5C05A4B323F1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_419CF4BF78AC07146E6B5C05A4B323F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_78608A9D2DB50EC795595C05A4B38FF7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_419CF4BF78AC07146E6B5C05A4B323F1" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_78608A9D2DB50EC795595C05A4B38FF7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_78608A9D2DB50EC795595C05A4B38FF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_419CF4BF78AC07146E6B5C05A4B323F1" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_78608A9D2DB50EC795595C05A4B38FF7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FlashVenturesMember" xlink:label="loc_wdc_FlashVenturesMember_0C78935B6D35ECA45F205C05A4B436B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_78608A9D2DB50EC795595C05A4B38FF7" xlink:to="loc_wdc_FlashVenturesMember_0C78935B6D35ECA45F205C05A4B436B8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_UnisVentureMember" xlink:label="loc_wdc_UnisVentureMember_51737D28C4D48F27D6C35C05A4B4B9F8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_78608A9D2DB50EC795595C05A4B38FF7" xlink:to="loc_wdc_UnisVentureMember_51737D28C4D48F27D6C35C05A4B4B9F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D8001D97998B602CAD615C05A4B43F37" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D8001D97998B602CAD615C05A4B43F37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1BB909FC3EBE410D14735C05A4B4D357_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D8001D97998B602CAD615C05A4B43F37" xlink:to="loc_us-gaap_RelatedPartyDomain_1BB909FC3EBE410D14735C05A4B4D357_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1BB909FC3EBE410D14735C05A4B4D357" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D8001D97998B602CAD615C05A4B43F37" xlink:to="loc_us-gaap_RelatedPartyDomain_1BB909FC3EBE410D14735C05A4B4D357" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_B690892E405E755FEFD75C05A4B40391" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_1BB909FC3EBE410D14735C05A4B4D357" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_B690892E405E755FEFD75C05A4B40391" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EquityMethodInvestorNameAxis" xlink:label="loc_wdc_EquityMethodInvestorNameAxis_0C46EC3C1E71CEED1D555C05A4B51FD4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_wdc_EquityMethodInvestorNameAxis_0C46EC3C1E71CEED1D555C05A4B51FD4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_A60E218F4CBB2191A7B35C05A4B59718_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_0C46EC3C1E71CEED1D555C05A4B51FD4" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_A60E218F4CBB2191A7B35C05A4B59718_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_A60E218F4CBB2191A7B35C05A4B59718" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_0C46EC3C1E71CEED1D555C05A4B51FD4" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_A60E218F4CBB2191A7B35C05A4B59718" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_WesternDigitalCorpMember" xlink:label="loc_wdc_WesternDigitalCorpMember_EBB74C8763F856669AA65C05A4B5EDC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_A60E218F4CBB2191A7B35C05A4B59718" xlink:to="loc_wdc_WesternDigitalCorpMember_EBB74C8763F856669AA65C05A4B5EDC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_EE666E6FA2CA2E3B631B5C05A4B55DD9" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_788FFCA752C332E263E55C05A4AFD72F" xlink:to="loc_srt_RangeAxis_EE666E6FA2CA2E3B631B5C05A4B55DD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1CCE2F1152B83AEB36745C05A4B609C0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_EE666E6FA2CA2E3B631B5C05A4B55DD9" xlink:to="loc_srt_RangeMember_1CCE2F1152B83AEB36745C05A4B609C0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1CCE2F1152B83AEB36745C05A4B609C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_EE666E6FA2CA2E3B631B5C05A4B55DD9" xlink:to="loc_srt_RangeMember_1CCE2F1152B83AEB36745C05A4B609C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_2C4EA9A7ABA7C02E6BBE5C05A4B63AAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1CCE2F1152B83AEB36745C05A4B609C0" xlink:to="loc_srt_MinimumMember_2C4EA9A7ABA7C02E6BBE5C05A4B63AAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_DF39E5CB9A259102C92B5C05A4B61E54" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1CCE2F1152B83AEB36745C05A4B609C0" xlink:to="loc_srt_MaximumMember_DF39E5CB9A259102C92B5C05A4B61E54" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_OtherCommitmentPeriod" xlink:label="loc_wdc_OtherCommitmentPeriod_2A26D2DC82182F7A75145C05A4B76DAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_61C2FB7A2B99325F0ACA5C05A4B70A6C" xlink:to="loc_wdc_OtherCommitmentPeriod_2A26D2DC82182F7A75145C05A4B76DAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_61C2FB7A2B99325F0ACA5C05A4B70A6C" xlink:to="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_C26AC9A17271959621B45C05A4B7B0F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_C26AC9A17271959621B45C05A4B7B0F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_84CED5042AD46F7B5DBB5C05A4B8D2C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_84CED5042AD46F7B5DBB5C05A4B8D2C6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_InvestmentFundingCommitments" xlink:label="loc_wdc_InvestmentFundingCommitments_8AC8FD3C3BF441A909275C05A4B8DA86" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_wdc_InvestmentFundingCommitments_8AC8FD3C3BF441A909275C05A4B8DA86" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction" xlink:label="loc_wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction_43378AD8BB5FA5C2058E5C05A4B8FF9E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction_43378AD8BB5FA5C2058E5C05A4B8FF9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_8BD6723F422E0427A7145C05A4B807A0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_8BD6723F422E0427A7145C05A4B807A0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_PartnersOwnershipInVentureBusiness" xlink:label="loc_wdc_PartnersOwnershipInVentureBusiness_28BB58F57B4E1733109D5C05A4B81860" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_wdc_PartnersOwnershipInVentureBusiness_28BB58F57B4E1733109D5C05A4B81860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitment" xlink:label="loc_us-gaap_OtherCommitment_2467CF4DEAD22F1CC1F55C05A4B88574" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_us-gaap_OtherCommitment_2467CF4DEAD22F1CC1F55C05A4B88574" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_3BE84B4230D591B22A085C05A4B90E46" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4F0530081F60899F9D015C05A4B70027" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_3BE84B4230D591B22A085C05A4B90E46" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_86A44BD6D7FA56CD988623AB84988311" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_8CF0420C1485D7AAD32623AB84966EBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_86A44BD6D7FA56CD988623AB84988311" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_8CF0420C1485D7AAD32623AB84966EBC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B28740E0F3FECECA1E0723AB8497E69D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_8CF0420C1485D7AAD32623AB84966EBC" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B28740E0F3FECECA1E0723AB8497E69D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B28740E0F3FECECA1E0723AB8497E69D" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B28740E0F3FECECA1E0723AB8497E69D" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FlashPartnersLtdMember" xlink:label="loc_wdc_FlashPartnersLtdMember_E13C9F081990953F304223AB84975220" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235" xlink:to="loc_wdc_FlashPartnersLtdMember_E13C9F081990953F304223AB84975220" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FlashAllianceLtdMember" xlink:label="loc_wdc_FlashAllianceLtdMember_01737394BE35640508D323AB84983775" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235" xlink:to="loc_wdc_FlashAllianceLtdMember_01737394BE35640508D323AB84983775" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FlashForwardLtdMember" xlink:label="loc_wdc_FlashForwardLtdMember_9B160D9E8D2151221CFA23AB8498EFFB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235" xlink:to="loc_wdc_FlashForwardLtdMember_9B160D9E8D2151221CFA23AB8498EFFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_541AE02192430878A10D23AB849836CF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_7C1E0E1A73D2B0A4C36323AB8497D235" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_541AE02192430878A10D23AB849836CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_7843A1A6ACF16E3613E523AB8498DCB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_86A44BD6D7FA56CD988623AB84988311" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_7843A1A6ACF16E3613E523AB8498DCB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_2632CBC2554296406EDB23AB8499ADB8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_86A44BD6D7FA56CD988623AB84988311" xlink:to="loc_us-gaap_Investments_2632CBC2554296406EDB23AB8499ADB8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_0959C8A001EEF31E6F1B23AB849955EE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_86A44BD6D7FA56CD988623AB84988311" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_0959C8A001EEF31E6F1B23AB849955EE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_713B8DBCE7861E1BD39123AB848C4A66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_713B8DBCE7861E1BD39123AB848C4A66" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3DC60416326E7920A3C023AB848CEA12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_713B8DBCE7861E1BD39123AB848C4A66" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3DC60416326E7920A3C023AB848CEA12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_67FC894DB05FB8D9E80623AB848D8BE2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3DC60416326E7920A3C023AB848CEA12" xlink:to="loc_us-gaap_RelatedPartyDomain_67FC894DB05FB8D9E80623AB848D8BE2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_67FC894DB05FB8D9E80623AB848D8BE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_3DC60416326E7920A3C023AB848CEA12" xlink:to="loc_us-gaap_RelatedPartyDomain_67FC894DB05FB8D9E80623AB848D8BE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_9BC7CC821D0F49331E9A23AB848D9474" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_67FC894DB05FB8D9E80623AB848D8BE2" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_9BC7CC821D0F49331E9A23AB848D9474" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_0125980A5CED85BAB09F23AB848D8400" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_713B8DBCE7861E1BD39123AB848C4A66" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_0125980A5CED85BAB09F23AB848D8400" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_9C863BE32A9DCAF2F2C923AB848DE084_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_0125980A5CED85BAB09F23AB848D8400" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_9C863BE32A9DCAF2F2C923AB848DE084_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_9C863BE32A9DCAF2F2C923AB848DE084" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_0125980A5CED85BAB09F23AB848D8400" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_9C863BE32A9DCAF2F2C923AB848DE084" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_PaymentOfPrincipalAmortizationMember" xlink:label="loc_wdc_PaymentOfPrincipalAmortizationMember_FBA8DE45C3C37EF1A4AF23AB848EE0F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_9C863BE32A9DCAF2F2C923AB848DE084" xlink:to="loc_wdc_PaymentOfPrincipalAmortizationMember_FBA8DE45C3C37EF1A4AF23AB848EE0F1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_PurchaseOptionExercisePriceMember" xlink:label="loc_wdc_PurchaseOptionExercisePriceMember_6DD9049D3783E15B7F9E23AB848EC806" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_9C863BE32A9DCAF2F2C923AB848DE084" xlink:to="loc_wdc_PurchaseOptionExercisePriceMember_6DD9049D3783E15B7F9E23AB848EC806" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_DF3D351FAD0F8AE2B66723AB848EA311" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_DF3D351FAD0F8AE2B66723AB848EA311" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_A01CE3C147802F3FDE9223AB848FBC36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_A01CE3C147802F3FDE9223AB848FBC36" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_2F81F873C8B6762504B223AB848F859C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_2F81F873C8B6762504B223AB848F859C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_5C84F50FEF27371E2B8B23AB848FFA15" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_5C84F50FEF27371E2B8B23AB848FFA15" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_1F39DFC531F7806D3BCD23AB848F8F2C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_1F39DFC531F7806D3BCD23AB848F8F2C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_GuaranteeObligationsMaximumExposureThereafter" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_B80607EC8EBEE48F6B2C23AB848FDB15" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_B80607EC8EBEE48F6B2C23AB848FDB15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_D35DDD8DF9E56119AF7723AB848FD81A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_B000D6519216C1C9047823AB848E6314" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_D35DDD8DF9E56119AF7723AB848FD81A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_61ACE02B5327FEA2F5E723AB86F25C9B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_028E59AC083399F75E8723AB86F083F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_61ACE02B5327FEA2F5E723AB86F25C9B" xlink:to="loc_us-gaap_LossContingenciesTable_028E59AC083399F75E8723AB86F083F2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_75A802583D1E70F68E4F23AB86F0802D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_028E59AC083399F75E8723AB86F083F2" xlink:to="loc_wdc_BalanceSheetInformationAxis_75A802583D1E70F68E4F23AB86F0802D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_41397F8F52A825ACCE7D23AB86F1F02A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_75A802583D1E70F68E4F23AB86F0802D" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_41397F8F52A825ACCE7D23AB86F1F02A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_41397F8F52A825ACCE7D23AB86F1F02A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_75A802583D1E70F68E4F23AB86F0802D" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_41397F8F52A825ACCE7D23AB86F1F02A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_2368729DD98151711A8623AB86F10B47" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_41397F8F52A825ACCE7D23AB86F1F02A" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_2368729DD98151711A8623AB86F10B47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_0A1520E3398BDCDC4B5F23AB86F164BD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_028E59AC083399F75E8723AB86F083F2" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_0A1520E3398BDCDC4B5F23AB86F164BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_CF4B5FFED1EE6E8F865223AB86F23909_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_0A1520E3398BDCDC4B5F23AB86F164BD" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_CF4B5FFED1EE6E8F865223AB86F23909_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_CF4B5FFED1EE6E8F865223AB86F23909" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_0A1520E3398BDCDC4B5F23AB86F164BD" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_CF4B5FFED1EE6E8F865223AB86F23909" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_7CCF84339C99C1B3F3C923AB86F26107" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_CF4B5FFED1EE6E8F865223AB86F23909" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_7CCF84339C99C1B3F3C923AB86F26107" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_73F3E977CD4515864C2223AB86F2A777" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_61ACE02B5327FEA2F5E723AB86F25C9B" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_73F3E977CD4515864C2223AB86F2A777" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesMaximumLossExposureDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_CDB480DD63CA6A0951AB23AB81CBC2E0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_CEE39B1D07D065FBA31323AB81C9BA11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_CDB480DD63CA6A0951AB23AB81CBC2E0" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_CEE39B1D07D065FBA31323AB81C9BA11" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_6DC4CF2C68CA7742774023AB81C98D3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_CEE39B1D07D065FBA31323AB81C9BA11" xlink:to="loc_wdc_BalanceSheetInformationAxis_6DC4CF2C68CA7742774023AB81C98D3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_6DC4CF2C68CA7742774023AB81C98D3B" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_6DC4CF2C68CA7742774023AB81C98D3B" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NotesReceivableMember" xlink:label="loc_us-gaap_NotesReceivableMember_255923C7059ED94E045423AB81C92FF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F" xlink:to="loc_us-gaap_NotesReceivableMember_255923C7059ED94E045423AB81C92FF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_6756E008ECB5660C6F0D23AB81CAEB0B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_6756E008ECB5660C6F0D23AB81CAEB0B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_6CE9AF7BEAB1CC2A98BD23AB81CA9E2B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_6CE9AF7BEAB1CC2A98BD23AB81CA9E2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_CE8EBC13A0012ABBC21A23AB81CA3F15" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_60461D11B0B389A73B8123AB81C9409F" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_CE8EBC13A0012ABBC21A23AB81CA3F15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_844818618F84A31A6A4323AB81CA320D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_CEE39B1D07D065FBA31323AB81C9BA11" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_844818618F84A31A6A4323AB81CA320D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_78DB3FD46487DDEC2CA923AB81CA2FFF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_844818618F84A31A6A4323AB81CA320D" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_78DB3FD46487DDEC2CA923AB81CA2FFF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_78DB3FD46487DDEC2CA923AB81CA2FFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_844818618F84A31A6A4323AB81CA320D" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_78DB3FD46487DDEC2CA923AB81CA2FFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_3A0AE3F24535460A6C0923AB81CB4366" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_78DB3FD46487DDEC2CA923AB81CA2FFF" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_3A0AE3F24535460A6C0923AB81CB4366" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_2F67547FF54D5578097823AB81CB149B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_CDB480DD63CA6A0951AB23AB81CBC2E0" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_2F67547FF54D5578097823AB81CB149B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_207E9CAFA5A1B9643F2523AB81CB9079" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_CDB480DD63CA6A0951AB23AB81CBC2E0" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_207E9CAFA5A1B9643F2523AB81CB9079" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryGross" xlink:label="loc_us-gaap_InventoryGross_BB3F916A03F5B1184E4223AB81CC2C55" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_CDB480DD63CA6A0951AB23AB81CBC2E0" xlink:to="loc_us-gaap_InventoryGross_BB3F916A03F5B1184E4223AB81CC2C55" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/Revenues" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RevenuesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_20A14F8F490AFBECC3521DC9DA5CA796" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_51EF4AB0125754291E1E1DC9DA5920D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_20A14F8F490AFBECC3521DC9DA5CA796" xlink:to="loc_us-gaap_ConcentrationRiskTable_51EF4AB0125754291E1E1DC9DA5920D8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6DE42BE477D579360A6D1DC9DA590A36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_51EF4AB0125754291E1E1DC9DA5920D8" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6DE42BE477D579360A6D1DC9DA590A36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_CE48B332AD5B9BBCA2741DC9DA591FD3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6DE42BE477D579360A6D1DC9DA590A36" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_CE48B332AD5B9BBCA2741DC9DA591FD3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_CE48B332AD5B9BBCA2741DC9DA591FD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6DE42BE477D579360A6D1DC9DA590A36" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_CE48B332AD5B9BBCA2741DC9DA591FD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_B0D869D61853CEFFE5711DC9DA5A0363" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_CE48B332AD5B9BBCA2741DC9DA591FD3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_B0D869D61853CEFFE5711DC9DA5A0363" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_BAC7E7DB63E4E3E38B021DC9DA5A78A0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_51EF4AB0125754291E1E1DC9DA5920D8" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_BAC7E7DB63E4E3E38B021DC9DA5A78A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_3F1A35ADCD9D1CC72E031DC9DA5A9580_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_BAC7E7DB63E4E3E38B021DC9DA5A78A0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_3F1A35ADCD9D1CC72E031DC9DA5A9580_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_3F1A35ADCD9D1CC72E031DC9DA5A9580" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_BAC7E7DB63E4E3E38B021DC9DA5A78A0" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_3F1A35ADCD9D1CC72E031DC9DA5A9580" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_321A3DCFF9314FF3D5361DC9DA5AAC02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_3F1A35ADCD9D1CC72E031DC9DA5A9580" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_321A3DCFF9314FF3D5361DC9DA5AAC02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MajorCustomersAxis" xlink:label="loc_srt_MajorCustomersAxis_E67C3CBE6CEC91EACB6B1DC9DA5B5CD5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_51EF4AB0125754291E1E1DC9DA5920D8" xlink:to="loc_srt_MajorCustomersAxis_E67C3CBE6CEC91EACB6B1DC9DA5B5CD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srt_NameOfMajorCustomerDomain_4E7F7945981C531AE0F61DC9DA5B051E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_E67C3CBE6CEC91EACB6B1DC9DA5B5CD5" xlink:to="loc_srt_NameOfMajorCustomerDomain_4E7F7945981C531AE0F61DC9DA5B051E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srt_NameOfMajorCustomerDomain_4E7F7945981C531AE0F61DC9DA5B051E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_E67C3CBE6CEC91EACB6B1DC9DA5B5CD5" xlink:to="loc_srt_NameOfMajorCustomerDomain_4E7F7945981C531AE0F61DC9DA5B051E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_TopTenCustomersMember" xlink:label="loc_wdc_TopTenCustomersMember_A9CECE0F437EA70F167F1DC9DA5B678C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_4E7F7945981C531AE0F61DC9DA5B051E" xlink:to="loc_wdc_TopTenCustomersMember_A9CECE0F437EA70F167F1DC9DA5B678C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_CustomerAMember" xlink:label="loc_wdc_CustomerAMember_71DBACE472B5519E0CD61DC9DA5BE690" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_4E7F7945981C531AE0F61DC9DA5B051E" xlink:to="loc_wdc_CustomerAMember_71DBACE472B5519E0CD61DC9DA5BE690" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_CustomerBMember" xlink:label="loc_wdc_CustomerBMember_755FA6F419435A749EC91DC9DA5CA05B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_4E7F7945981C531AE0F61DC9DA5B051E" xlink:to="loc_wdc_CustomerBMember_755FA6F419435A749EC91DC9DA5CA05B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_174DD34E517AC0E60A551DC9DA5C8683" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_20A14F8F490AFBECC3521DC9DA5CA796" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_174DD34E517AC0E60A551DC9DA5C8683" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_7CDBE937684622662DF51DC9DA5DE9C1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_20A14F8F490AFBECC3521DC9DA5CA796" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_7CDBE937684622662DF51DC9DA5DE9C1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_4E899BF2636E2C5D476DFB0CB646F4AD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_3B3A9328B3F60C719A0CFB0CB6411087" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_4E899BF2636E2C5D476DFB0CB646F4AD" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_3B3A9328B3F60C719A0CFB0CB6411087" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FormFactorAxis" xlink:label="loc_wdc_FormFactorAxis_65F477928C2FC7DA56D8FB0CB641BC37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_3B3A9328B3F60C719A0CFB0CB6411087" xlink:to="loc_wdc_FormFactorAxis_65F477928C2FC7DA56D8FB0CB641BC37" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FormFactorDomain" xlink:label="loc_wdc_FormFactorDomain_0CF19787852F351B5CF9FB0CB641E068_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_FormFactorAxis_65F477928C2FC7DA56D8FB0CB641BC37" xlink:to="loc_wdc_FormFactorDomain_0CF19787852F351B5CF9FB0CB641E068_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FormFactorDomain" xlink:label="loc_wdc_FormFactorDomain_0CF19787852F351B5CF9FB0CB641E068" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_FormFactorAxis_65F477928C2FC7DA56D8FB0CB641BC37" xlink:to="loc_wdc_FormFactorDomain_0CF19787852F351B5CF9FB0CB641E068" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_HDDMember" xlink:label="loc_wdc_HDDMember_774DD71D8D7BCDD49DEFFB0CB641DE95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FormFactorDomain_0CF19787852F351B5CF9FB0CB641E068" xlink:to="loc_wdc_HDDMember_774DD71D8D7BCDD49DEFFB0CB641DE95" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FlashbasedMember" xlink:label="loc_wdc_FlashbasedMember_897902712A899364CA92FB0CB6414E67" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FormFactorDomain_0CF19787852F351B5CF9FB0CB641E068" xlink:to="loc_wdc_FlashbasedMember_897902712A899364CA92FB0CB6414E67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_69AB09366860A6992242FB0CB645EABD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_3B3A9328B3F60C719A0CFB0CB6411087" xlink:to="loc_srt_ProductOrServiceAxis_69AB09366860A6992242FB0CB645EABD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_438C05CC7B73479F7B47FB0CB64584D6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_69AB09366860A6992242FB0CB645EABD" xlink:to="loc_srt_ProductsAndServicesDomain_438C05CC7B73479F7B47FB0CB64584D6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_438C05CC7B73479F7B47FB0CB64584D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_69AB09366860A6992242FB0CB645EABD" xlink:to="loc_srt_ProductsAndServicesDomain_438C05CC7B73479F7B47FB0CB64584D6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ClientDevicesMember" xlink:label="loc_wdc_ClientDevicesMember_F1684FA90ED7A2E6F025FB0CB6465A57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_438C05CC7B73479F7B47FB0CB64584D6" xlink:to="loc_wdc_ClientDevicesMember_F1684FA90ED7A2E6F025FB0CB6465A57" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_DataCenterDevicesSolutionsMember" xlink:label="loc_wdc_DataCenterDevicesSolutionsMember_12609B51604CC9B72A15FB0CB64639E1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_438C05CC7B73479F7B47FB0CB64584D6" xlink:to="loc_wdc_DataCenterDevicesSolutionsMember_12609B51604CC9B72A15FB0CB64639E1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ClientSolutionsMember" xlink:label="loc_wdc_ClientSolutionsMember_A3EF12E07C97ECAE2168FB0CB646E17D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_438C05CC7B73479F7B47FB0CB64584D6" xlink:to="loc_wdc_ClientSolutionsMember_A3EF12E07C97ECAE2168FB0CB646E17D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_31E4110B27DFB80ACF2CFB0CB641BDB6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_3B3A9328B3F60C719A0CFB0CB6411087" xlink:to="loc_srt_StatementGeographicalAxis_31E4110B27DFB80ACF2CFB0CB641BDB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_41333D61E1B8C70C3790FB0CB641C733_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_31E4110B27DFB80ACF2CFB0CB641BDB6" xlink:to="loc_srt_SegmentGeographicalDomain_41333D61E1B8C70C3790FB0CB641C733_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_41333D61E1B8C70C3790FB0CB641C733" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_31E4110B27DFB80ACF2CFB0CB641BDB6" xlink:to="loc_srt_SegmentGeographicalDomain_41333D61E1B8C70C3790FB0CB641C733" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_AmericasMember" xlink:label="loc_srt_AmericasMember_78FD0E1AFEE9908C24A7FB0CB645FBF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_41333D61E1B8C70C3790FB0CB641C733" xlink:to="loc_srt_AmericasMember_78FD0E1AFEE9908C24A7FB0CB645FBF7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EuropeMiddleEastAndAfricaMember" xlink:label="loc_wdc_EuropeMiddleEastAndAfricaMember_F4977025EF75EA52FD00FB0CB645811A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_41333D61E1B8C70C3790FB0CB641C733" xlink:to="loc_wdc_EuropeMiddleEastAndAfricaMember_F4977025EF75EA52FD00FB0CB645811A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_AsiaMember" xlink:label="loc_srt_AsiaMember_56D0725A073DFBD6E0C3FB0CB645E5FC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_41333D61E1B8C70C3790FB0CB641C733" xlink:to="loc_srt_AsiaMember_56D0725A073DFBD6E0C3FB0CB645E5FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7460179A598319C21C81FB0CB646304A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_4E899BF2636E2C5D476DFB0CB646F4AD" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7460179A598319C21C81FB0CB646304A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_E6A6F0B74BC0C9E46A5E13FC4703E94A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_00FAD7C1AE428BA7A5D613FC4703C28C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_E6A6F0B74BC0C9E46A5E13FC4703E94A" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_00FAD7C1AE428BA7A5D613FC4703C28C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_308CF4F536061F8900C613FC47038C16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_00FAD7C1AE428BA7A5D613FC4703C28C" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_308CF4F536061F8900C613FC47038C16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_7DCD6CB8DF80BF394DF313FC47030FBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_E6A6F0B74BC0C9E46A5E13FC4703E94A" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_7DCD6CB8DF80BF394DF313FC47030FBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_12C47383BB215E68120913FC470414B8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_E6A6F0B74BC0C9E46A5E13FC4703E94A" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_12C47383BB215E68120913FC470414B8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RevenuesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_B9F8E066305603B1E1B747A4843E1F64" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_DEA9467EAC4D5E05FF8B47A4843C1D02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_B9F8E066305603B1E1B747A4843E1F64" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_DEA9467EAC4D5E05FF8B47A4843C1D02" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_F31523C414FEE2ED42D547A4843D92A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_DEA9467EAC4D5E05FF8B47A4843C1D02" xlink:to="loc_us-gaap_DebtInstrumentAxis_F31523C414FEE2ED42D547A4843D92A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_116393A8CBEEAA1B1AFD47A4843EEE7C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_F31523C414FEE2ED42D547A4843D92A7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_116393A8CBEEAA1B1AFD47A4843EEE7C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_116393A8CBEEAA1B1AFD47A4843EEE7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_F31523C414FEE2ED42D547A4843D92A7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_116393A8CBEEAA1B1AFD47A4843EEE7C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember" xlink:label="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_97C0A72D08A88EF3A1A947A49A84BFFA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_116393A8CBEEAA1B1AFD47A4843EEE7C" xlink:to="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_97C0A72D08A88EF3A1A947A49A84BFFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_A6708ED9B698D301A58647A4843F666C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_B9F8E066305603B1E1B747A4843E1F64" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_A6708ED9B698D301A58647A4843F666C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_24A69B6CB3EB340D15FF5C05CCEB6363" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedBalanceSheetStatementTable" xlink:label="loc_srt_CondensedBalanceSheetStatementTable_D77062AF7C1D72BEA8945C05CCE9C64F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_24A69B6CB3EB340D15FF5C05CCEB6363" xlink:to="loc_srt_CondensedBalanceSheetStatementTable_D77062AF7C1D72BEA8945C05CCE9C64F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_812FE5EAB49F65F936955C05CCE9FC8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_D77062AF7C1D72BEA8945C05CCE9C64F" xlink:to="loc_srt_ConsolidationItemsAxis_812FE5EAB49F65F936955C05CCE9FC8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_90D9AB976C11FBEF34715C05CCE9DDD5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_812FE5EAB49F65F936955C05CCE9FC8B" xlink:to="loc_srt_ConsolidationItemsDomain_90D9AB976C11FBEF34715C05CCE9DDD5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_90D9AB976C11FBEF34715C05CCE9DDD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_812FE5EAB49F65F936955C05CCE9FC8B" xlink:to="loc_srt_ConsolidationItemsDomain_90D9AB976C11FBEF34715C05CCE9DDD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_A5C6A0F5A9C23CC0861D5C05CCE9B8C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_90D9AB976C11FBEF34715C05CCE9DDD5" xlink:to="loc_srt_ConsolidationEliminationsMember_A5C6A0F5A9C23CC0861D5C05CCE9B8C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_02D291DFF4883DE351E55C05CCEA9BB4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_D77062AF7C1D72BEA8945C05CCE9C64F" xlink:to="loc_srt_ConsolidatedEntitiesAxis_02D291DFF4883DE351E55C05CCEA9BB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_1EDE158AEF9BCA7D04355C05CCEA5E4B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_02D291DFF4883DE351E55C05CCEA9BB4" xlink:to="loc_srt_ConsolidatedEntitiesDomain_1EDE158AEF9BCA7D04355C05CCEA5E4B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_1EDE158AEF9BCA7D04355C05CCEA5E4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_02D291DFF4883DE351E55C05CCEA9BB4" xlink:to="loc_srt_ConsolidatedEntitiesDomain_1EDE158AEF9BCA7D04355C05CCEA5E4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_2DCF9A55B52F512583595C05CCEA8781" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_1EDE158AEF9BCA7D04355C05CCEA5E4B" xlink:to="loc_srt_ParentCompanyMember_2DCF9A55B52F512583595C05CCEA8781" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_EF4AAFA1A65EB1E151745C05CCEA7CFD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_1EDE158AEF9BCA7D04355C05CCEA5E4B" xlink:to="loc_srt_GuarantorSubsidiariesMember_EF4AAFA1A65EB1E151745C05CCEA7CFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_658FDD9B8C194899360C5C05CCEB1BB8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_1EDE158AEF9BCA7D04355C05CCEA5E4B" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_658FDD9B8C194899360C5C05CCEB1BB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_181675A55C7493E900105C05CCEB9D44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_24A69B6CB3EB340D15FF5C05CCEB6363" xlink:to="loc_us-gaap_AssetsAbstract_181675A55C7493E900105C05CCEB9D44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_181675A55C7493E900105C05CCEB9D44" xlink:to="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_F1B6968EAF871600BABC5C05CCEC708B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_F1B6968EAF871600BABC5C05CCEC708B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_76F2E94C8C07337467935C05CCECFD2D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_76F2E94C8C07337467935C05CCECFD2D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_IntercompanyReceivableNetCurrent" xlink:label="loc_wdc_IntercompanyReceivableNetCurrent_FFC403BF6E7D175FA8255C05CCEC35C4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:to="loc_wdc_IntercompanyReceivableNetCurrent_FFC403BF6E7D175FA8255C05CCEC35C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_F64D8B2AF4EC84EDD8CA5C05CCEC884B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:to="loc_us-gaap_InventoryNet_F64D8B2AF4EC84EDD8CA5C05CCEC884B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_CB8F8F54E9CACFF2489A5C05CCEC9778" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_CB8F8F54E9CACFF2489A5C05CCEC9778" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_823005CEB1C5678A1B705C05CCEC42DD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:to="loc_us-gaap_OtherAssetsCurrent_823005CEB1C5678A1B705C05CCEC42DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_03F48F91AEA45C097BF05C05CCED3085" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_18CFCF7435B3A85B35115C05CCEBC2DB" xlink:to="loc_us-gaap_AssetsCurrent_03F48F91AEA45C097BF05C05CCED3085" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_181675A55C7493E900105C05CCEB9D44" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_E9ABB6C233FDB6E1694E5C05CCED04CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_E9ABB6C233FDB6E1694E5C05CCED04CA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_216D4D7C0409DBCA231D5C05CCED8F86" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_216D4D7C0409DBCA231D5C05CCED8F86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_93AC0ED51C8B51344D825C05CCED34E9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:to="loc_us-gaap_Goodwill_93AC0ED51C8B51344D825C05CCED34E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_31BCD1C336B3441BDFEE5C05CCEDE30D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_31BCD1C336B3441BDFEE5C05CCEDE30D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_AED5828061291B3BEBE85C05CCEE7531" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_AED5828061291B3BEBE85C05CCEE7531" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_EBB1D8CAA642DEA8820C5C05CCEE9DDE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_EBB1D8CAA642DEA8820C5C05CCEE9DDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_51E4BED3EDFCA511E2625C05CCEE30B3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B9770EE17A0E552B50ED5C05CCED6EFB" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_51E4BED3EDFCA511E2625C05CCEE30B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_A4A4A1B144970EED18265C05CCEE31CF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_181675A55C7493E900105C05CCEB9D44" xlink:to="loc_us-gaap_Assets_A4A4A1B144970EED18265C05CCEE31CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_A8E9063595A6DD7970185C05CCEE90C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_24A69B6CB3EB340D15FF5C05CCEB6363" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_A8E9063595A6DD7970185C05CCEE90C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_AB7618F82330DDB0D4335C05CCEEDC1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_A8E9063595A6DD7970185C05CCEE90C8" xlink:to="loc_us-gaap_LiabilitiesAbstract_AB7618F82330DDB0D4335C05CCEEDC1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_AB7618F82330DDB0D4335C05CCEEDC1F" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_2089D975403322FD6BE15C05CCEF0905" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_us-gaap_AccountsPayableCurrent_2089D975403322FD6BE15C05CCEF0905" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_8C3EEBCD87790F6881915C05CCEFF633" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_8C3EEBCD87790F6881915C05CCEFF633" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_IntercompanyPayableCurrent" xlink:label="loc_wdc_IntercompanyPayableCurrent_C7EA88B1F25D7DBA1EC35C05CCEF402F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_wdc_IntercompanyPayableCurrent_C7EA88B1F25D7DBA1EC35C05CCEF402F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_EC0763BF5E5750C038795C05CCF0519E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_EC0763BF5E5750C038795C05CCF0519E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_BB2E4A4EC13AF35D79B95C05CCF0897A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_BB2E4A4EC13AF35D79B95C05CCF0897A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_49D5EA723F0BC73ECF0C5C05CCF033EF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_us-gaap_DueToAffiliateCurrent_49D5EA723F0BC73ECF0C5C05CCF033EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_5FA4A2331DE28F43459F5C05CCF014AE" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_us-gaap_LongTermDebtCurrent_5FA4A2331DE28F43459F5C05CCF014AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_BC97E6F39B31B7BB8F495C05CCF0823F" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ADE734E01604FDD5408D5C05CCEFD3EF" xlink:to="loc_us-gaap_LiabilitiesCurrent_BC97E6F39B31B7BB8F495C05CCF0823F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_6CA78770D11729B38BED5C05CCF08FDF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_AB7618F82330DDB0D4335C05CCEEDC1F" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_6CA78770D11729B38BED5C05CCF08FDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_B483376D2CC2BB49C48D5C05CCF04E4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_6CA78770D11729B38BED5C05CCF08FDF" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_B483376D2CC2BB49C48D5C05CCF04E4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_976DEC29C8C1CB4F74465C05CCF12FAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_6CA78770D11729B38BED5C05CCF08FDF" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_976DEC29C8C1CB4F74465C05CCF12FAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_96555DAEB3B8A560C5475C05CCF10079" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_6CA78770D11729B38BED5C05CCF08FDF" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_96555DAEB3B8A560C5475C05CCF10079" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_F2DA382EEB7257E5C78D5C05CCF10ACC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_AB7618F82330DDB0D4335C05CCEEDC1F" xlink:to="loc_us-gaap_Liabilities_F2DA382EEB7257E5C78D5C05CCF10ACC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_9F467D61810743B9F0445C05CCF101CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_A8E9063595A6DD7970185C05CCEE90C8" xlink:to="loc_us-gaap_StockholdersEquityAbstract_9F467D61810743B9F0445C05CCF101CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_DBF3748CDD175D87E5FF5C05CCF190F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_9F467D61810743B9F0445C05CCF101CD" xlink:to="loc_us-gaap_StockholdersEquity_DBF3748CDD175D87E5FF5C05CCF190F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_0FE033A674EFF177B2635C05CCF251D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_A8E9063595A6DD7970185C05CCEE90C8" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_0FE033A674EFF177B2635C05CCF251D3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedCashFlowStatementTable" xlink:label="loc_srt_CondensedCashFlowStatementTable_13B26BEA5BB25DE3A5525C05CCBBAC2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:to="loc_srt_CondensedCashFlowStatementTable_13B26BEA5BB25DE3A5525C05CCBBAC2B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_9C37A0CB268382AE74505C05CCBC1EC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedCashFlowStatementTable_13B26BEA5BB25DE3A5525C05CCBBAC2B" xlink:to="loc_srt_ConsolidationItemsAxis_9C37A0CB268382AE74505C05CCBC1EC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_3B631D410FCCD14CD39E5C05CCBCBC21_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_9C37A0CB268382AE74505C05CCBC1EC9" xlink:to="loc_srt_ConsolidationItemsDomain_3B631D410FCCD14CD39E5C05CCBCBC21_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_3B631D410FCCD14CD39E5C05CCBCBC21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_9C37A0CB268382AE74505C05CCBC1EC9" xlink:to="loc_srt_ConsolidationItemsDomain_3B631D410FCCD14CD39E5C05CCBCBC21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_EE3D83C1AE2D971BAD405C05CCBC6306" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_3B631D410FCCD14CD39E5C05CCBCBC21" xlink:to="loc_srt_ConsolidationEliminationsMember_EE3D83C1AE2D971BAD405C05CCBC6306" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_B98F2B8AF388FA1D19EB5C05CCBCB16E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedCashFlowStatementTable_13B26BEA5BB25DE3A5525C05CCBBAC2B" xlink:to="loc_srt_ConsolidatedEntitiesAxis_B98F2B8AF388FA1D19EB5C05CCBCB16E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_C506D42F3798909940125C05CCBD3D3C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_B98F2B8AF388FA1D19EB5C05CCBCB16E" xlink:to="loc_srt_ConsolidatedEntitiesDomain_C506D42F3798909940125C05CCBD3D3C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_C506D42F3798909940125C05CCBD3D3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_B98F2B8AF388FA1D19EB5C05CCBCB16E" xlink:to="loc_srt_ConsolidatedEntitiesDomain_C506D42F3798909940125C05CCBD3D3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_5CD660CB1255FED942505C05CCBD7E96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_C506D42F3798909940125C05CCBD3D3C" xlink:to="loc_srt_ParentCompanyMember_5CD660CB1255FED942505C05CCBD7E96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_D452658D568DA7A7D4B05C05CCBDC910" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_C506D42F3798909940125C05CCBD3D3C" xlink:to="loc_srt_GuarantorSubsidiariesMember_D452658D568DA7A7D4B05C05CCBDC910" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_DB251B565C3262091BC35C05CCBD15E3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_C506D42F3798909940125C05CCBD3D3C" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_DB251B565C3262091BC35C05CCBD15E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_58801293BDD20B76BEFF5C05CCBE426B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_58801293BDD20B76BEFF5C05CCBE426B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_F13DBB0034D31B06326D5C05CCBE082D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_58801293BDD20B76BEFF5C05CCBE426B" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_F13DBB0034D31B06326D5C05CCBE082D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_67C797875CA5788EF6B15C05CCBE0A5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_67C797875CA5788EF6B15C05CCBE0A5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_CA4801D5738F8116D9E25C05CCBFD6E2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_CA4801D5738F8116D9E25C05CCBFD6E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_DD9DBAC7D49A79E657D65C05CCBF9A9B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_DD9DBAC7D49A79E657D65C05CCBF9A9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_5347D91E6EC3AFD5A4DF5C05CCBF917D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_5347D91E6EC3AFD5A4DF5C05CCBF917D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_0CCBDE66B351F133A4825C05CCBF4A92" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_0CCBDE66B351F133A4825C05CCBF4A92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_B3C27A506512CFD249045C05CCBF8A32" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_B3C27A506512CFD249045C05CCBF8A32" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_10B6EA339D8405784A965C05CCBF5A2C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_10B6EA339D8405784A965C05CCBF5A2C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_9FC542EBE496EECD58865C05CCC0242E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_9FC542EBE496EECD58865C05CCC0242E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_BBFD7D5B5600DB9888EC5C05CCC062B6" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_BBFD7D5B5600DB9888EC5C05CCC062B6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_9CA63DAF3FA6863A9A1E5C05CCC0819B" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_9CA63DAF3FA6863A9A1E5C05CCC0819B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_70CA7DAD27905A55BAA85C05CCC07CC3" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_70CA7DAD27905A55BAA85C05CCC07CC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_C9927321535DD5190D205C05CCC06358" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_534AD25A6AFAAC2712D35C05CCBE0F9A" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_C9927321535DD5190D205C05CCC06358" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_30F05F2344675E47AE1F5C05CCC15110" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_30F05F2344675E47AE1F5C05CCC15110" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_207BB3E80FF6E654E7F75C05CCC1BAF5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_207BB3E80FF6E654E7F75C05CCC1BAF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_54B14B8752F89A8938F45C05CCC18553" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_54B14B8752F89A8938F45C05CCC18553" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_8CF24ECDAA7A05664E405C05CCC1F903" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_us-gaap_PaymentsOfDividends_8CF24ECDAA7A05664E405C05CCC1F903" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_DAF76E313ACEA859C6555C05CCC1D557" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_DAF76E313ACEA859C6555C05CCC1D557" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_52FFBE86782E3F2641685C05CCC1D571" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_52FFBE86782E3F2641685C05CCC1D571" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_090FE2D76B0493F6EACB5C05CCC20A03" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_090FE2D76B0493F6EACB5C05CCC20A03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_25840B85719B374EF1615C05CCC2FAD7" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_6E40C81FB5CAC533C8585C05CCC0F1E9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_25840B85719B374EF1615C05CCC2FAD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_A15197F92A6BBDA268055C05CCC20607" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_A15197F92A6BBDA268055C05CCC20607" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_E5E58AFAE0E4D25A5F045C05CCC294A9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_E5E58AFAE0E4D25A5F045C05CCC294A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_C9DE50C3EEA8BC4770A15C05CCC2150A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_A37FAE80CE88313A8F7B5C05CCBDE0EA" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_C9DE50C3EEA8BC4770A15C05CCC2150A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedStatementOfIncomeCaptionsLineItems" xlink:label="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedStatementOfComprehensiveIncomeTable" xlink:label="loc_srt_CondensedStatementOfComprehensiveIncomeTable_3BFE871AB657AEB62EFB5C05CCC91777" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_srt_CondensedStatementOfComprehensiveIncomeTable_3BFE871AB657AEB62EFB5C05CCC91777" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_235866C52900C1C6C0AE5C05CCCAF470" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedStatementOfComprehensiveIncomeTable_3BFE871AB657AEB62EFB5C05CCC91777" xlink:to="loc_srt_ConsolidationItemsAxis_235866C52900C1C6C0AE5C05CCCAF470" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_4808C86060F95B16BA9D5C05CCCAD164_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_235866C52900C1C6C0AE5C05CCCAF470" xlink:to="loc_srt_ConsolidationItemsDomain_4808C86060F95B16BA9D5C05CCCAD164_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_4808C86060F95B16BA9D5C05CCCAD164" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_235866C52900C1C6C0AE5C05CCCAF470" xlink:to="loc_srt_ConsolidationItemsDomain_4808C86060F95B16BA9D5C05CCCAD164" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_44EE0151A41CE7519ECA5C05CCCA6D41" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_4808C86060F95B16BA9D5C05CCCAD164" xlink:to="loc_srt_ConsolidationEliminationsMember_44EE0151A41CE7519ECA5C05CCCA6D41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_8593E5061BDC9940DE455C05CCCA74F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedStatementOfComprehensiveIncomeTable_3BFE871AB657AEB62EFB5C05CCC91777" xlink:to="loc_srt_ConsolidatedEntitiesAxis_8593E5061BDC9940DE455C05CCCA74F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_10144B54645B6D99A1FE5C05CCCBFF41_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8593E5061BDC9940DE455C05CCCA74F2" xlink:to="loc_srt_ConsolidatedEntitiesDomain_10144B54645B6D99A1FE5C05CCCBFF41_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_10144B54645B6D99A1FE5C05CCCBFF41" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8593E5061BDC9940DE455C05CCCA74F2" xlink:to="loc_srt_ConsolidatedEntitiesDomain_10144B54645B6D99A1FE5C05CCCBFF41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_6867AF168EB1F555A46B5C05CCCB3372" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_10144B54645B6D99A1FE5C05CCCBFF41" xlink:to="loc_srt_ParentCompanyMember_6867AF168EB1F555A46B5C05CCCB3372" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_5D4CB6D0C2A9DB38523E5C05CCCB6614" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_10144B54645B6D99A1FE5C05CCCBFF41" xlink:to="loc_srt_GuarantorSubsidiariesMember_5D4CB6D0C2A9DB38523E5C05CCCB6614" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_7D84ECBB31F8B19C1B555C05CCCB2BD5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_10144B54645B6D99A1FE5C05CCCBFF41" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_7D84ECBB31F8B19C1B555C05CCCB2BD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_135886B67A6A04BDCB415C05CCCC408B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_us-gaap_NetIncomeLoss_135886B67A6A04BDCB415C05CCCC408B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_F45CAD26AD63763B9C845C05CCCCC067" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_F45CAD26AD63763B9C845C05CCCCC067" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_8AD7BB57D450E28BADAA5C05CCCC04D8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_8AD7BB57D450E28BADAA5C05CCCC04D8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_5B0CBE5E143DD48306A35C05CCCC8CA0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_5B0CBE5E143DD48306A35C05CCCC8CA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_5BCAA87731450DDB0B305C05CCCC3C7E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_5BCAA87731450DDB0B305C05CCCC3C7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_17F31EC86B533B3162CA5C05CCCDE382" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_17F31EC86B533B3162CA5C05CCCDE382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_03BD67CBB9D65CF8806C5C05CCCDFFBB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_03BD67CBB9D65CF8806C5C05CCCDFFBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_24CCD87534394FA2A73C5C05CCCDA18C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_54432B26B3A67CD8CF185C05CCCB7710" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_24CCD87534394FA2A73C5C05CCCDA18C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesCondensedConsolidatingStatementOfOperationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedIncomeStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CondensedIncomeStatementTable" xlink:label="loc_srt_CondensedIncomeStatementTable_9C26352F691DD7AA07EA5C05CCD4D697" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_srt_CondensedIncomeStatementTable_9C26352F691DD7AA07EA5C05CCD4D697" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_F7E54E504E0BE063CE485C05CCD56E07" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedIncomeStatementTable_9C26352F691DD7AA07EA5C05CCD4D697" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_F7E54E504E0BE063CE485C05CCD56E07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CA5B1ADD33DFE1466E415C05CCD540A2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F7E54E504E0BE063CE485C05CCD56E07" xlink:to="loc_us-gaap_EquityComponentDomain_CA5B1ADD33DFE1466E415C05CCD540A2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CA5B1ADD33DFE1466E415C05CCD540A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F7E54E504E0BE063CE485C05CCD56E07" xlink:to="loc_us-gaap_EquityComponentDomain_CA5B1ADD33DFE1466E415C05CCD540A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_04764A8CA3E782BED9725C05CCD5CBF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CA5B1ADD33DFE1466E415C05CCD540A2" xlink:to="loc_us-gaap_RetainedEarningsMember_04764A8CA3E782BED9725C05CCD5CBF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_16181BEF7AD8D3B85BC35C05CCD549D5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedIncomeStatementTable_9C26352F691DD7AA07EA5C05CCD4D697" xlink:to="loc_srt_ConsolidationItemsAxis_16181BEF7AD8D3B85BC35C05CCD549D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1A6F5249DA5CCB7F80145C05CCD6B51E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_16181BEF7AD8D3B85BC35C05CCD549D5" xlink:to="loc_srt_ConsolidationItemsDomain_1A6F5249DA5CCB7F80145C05CCD6B51E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1A6F5249DA5CCB7F80145C05CCD6B51E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_16181BEF7AD8D3B85BC35C05CCD549D5" xlink:to="loc_srt_ConsolidationItemsDomain_1A6F5249DA5CCB7F80145C05CCD6B51E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_4153AA8DD5A6EB2B0E8A5C05CCD63165" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_1A6F5249DA5CCB7F80145C05CCD6B51E" xlink:to="loc_srt_ConsolidationEliminationsMember_4153AA8DD5A6EB2B0E8A5C05CCD63165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_4D2687DAADCE136F7E565C05CCD616CC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedIncomeStatementTable_9C26352F691DD7AA07EA5C05CCD4D697" xlink:to="loc_srt_ConsolidatedEntitiesAxis_4D2687DAADCE136F7E565C05CCD616CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_3F1004D944AD3CDF422D5C05CCD6CE66_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_4D2687DAADCE136F7E565C05CCD616CC" xlink:to="loc_srt_ConsolidatedEntitiesDomain_3F1004D944AD3CDF422D5C05CCD6CE66_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_3F1004D944AD3CDF422D5C05CCD6CE66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_4D2687DAADCE136F7E565C05CCD616CC" xlink:to="loc_srt_ConsolidatedEntitiesDomain_3F1004D944AD3CDF422D5C05CCD6CE66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_E96228CB5E9F98F2CA245C05CCD74A40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_3F1004D944AD3CDF422D5C05CCD6CE66" xlink:to="loc_srt_ParentCompanyMember_E96228CB5E9F98F2CA245C05CCD74A40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_18160D005FA2A0985EBC5C05CCD702BE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_3F1004D944AD3CDF422D5C05CCD6CE66" xlink:to="loc_srt_GuarantorSubsidiariesMember_18160D005FA2A0985EBC5C05CCD702BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_849A498D4044893420C05C05CCD7D996" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_3F1004D944AD3CDF422D5C05CCD6CE66" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_849A498D4044893420C05C05CCD7D996" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_41CD3EDB243B4E386E9C5C05CCD70AAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_41CD3EDB243B4E386E9C5C05CCD70AAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_D10B11C028F5642A59705C05CCD8C023" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_D10B11C028F5642A59705C05CCD8C023" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_E44D0549135893CFFE9D5C05CCD83ED1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_GrossProfit_E44D0549135893CFFE9D5C05CCD83ED1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_F5D08B5AC6A3DAC4D4C65C05CCD8383B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_OperatingExpensesAbstract_F5D08B5AC6A3DAC4D4C65C05CCD8383B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_B42315566841B97494025C05CCD84E09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_F5D08B5AC6A3DAC4D4C65C05CCD8383B" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_B42315566841B97494025C05CCD84E09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0BF219E4E3933CAF9E435C05CCD86F84" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_F5D08B5AC6A3DAC4D4C65C05CCD8383B" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0BF219E4E3933CAF9E435C05CCD86F84" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_9000C5603F50601E908B5C05CCD8F7D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_F5D08B5AC6A3DAC4D4C65C05CCD8383B" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_9000C5603F50601E908B5C05CCD8F7D3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_7E4DD0110A14DEA36CAB5C05CCD9CBC6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_F5D08B5AC6A3DAC4D4C65C05CCD8383B" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_7E4DD0110A14DEA36CAB5C05CCD9CBC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_FA5A76CC730AB035EEB55C05CCD9D2C3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_F5D08B5AC6A3DAC4D4C65C05CCD8383B" xlink:to="loc_us-gaap_OperatingExpenses_FA5A76CC730AB035EEB55C05CCD9D2C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_60C473759400E1BCEC0A5C05CCD97695" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_OperatingIncomeLoss_60C473759400E1BCEC0A5C05CCD97695" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_232BA265AE4E6C179CF35C05CCD987A1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_InvestmentIncomeInterest_232BA265AE4E6C179CF35C05CCD987A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_6690F1191489DE604D8A5C05CCD97862" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_InterestExpense_6690F1191489DE604D8A5C05CCD97862" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_2FD6B5B26932312610345C05CCD964A6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_2FD6B5B26932312610345C05CCD964A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_1B59250A0A42BD0814095C05CCDAEF48" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_1B59250A0A42BD0814095C05CCDAEF48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_CDB160E39179AC7665CE5C05CCDA7620" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_CDB160E39179AC7665CE5C05CCDA7620" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_0337506859CD748CE84F5C05CCDA4BC3" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_0337506859CD748CE84F5C05CCDA4BC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_711C5E3456EC0845A7555C05CCDA07CD" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_711C5E3456EC0845A7555C05CCDA07CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_0916E24BDD5DB600A02D5C05CCDA6EED" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_E376DE77807B1EC0BA9C5C05CCD7425C" xlink:to="loc_us-gaap_NetIncomeLoss_0916E24BDD5DB600A02D5C05CCDA6EED" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityDividendsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_02E219374F306AB3CE5C3C46E08AE3F8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_03056D05ACAD9FB9BEC53C46E0897BE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_02E219374F306AB3CE5C3C46E08AE3F8" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_03056D05ACAD9FB9BEC53C46E0897BE9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B6458DE0A49B1D796E883C46E089BAD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_03056D05ACAD9FB9BEC53C46E0897BE9" xlink:to="loc_us-gaap_AwardTypeAxis_B6458DE0A49B1D796E883C46E089BAD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8F8B4926D9D0A2BE345A3C46E089E47E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B6458DE0A49B1D796E883C46E089BAD5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8F8B4926D9D0A2BE345A3C46E089E47E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8F8B4926D9D0A2BE345A3C46E089E47E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B6458DE0A49B1D796E883C46E089BAD5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8F8B4926D9D0A2BE345A3C46E089E47E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember" xlink:label="loc_wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember_4E288E38E639076FF6D73C46E08A2FB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8F8B4926D9D0A2BE345A3C46E089E47E" xlink:to="loc_wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember_4E288E38E639076FF6D73C46E08A2FB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_CE58A1393AE4638C626E3C46E08A788F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_02E219374F306AB3CE5C3C46E08AE3F8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_CE58A1393AE4638C626E3C46E08A788F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_CBC308C6E526033D52F53C46E08AE0AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_CE58A1393AE4638C626E3C46E08A788F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_CBC308C6E526033D52F53C46E08AE0AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_EBA5D68773AD9FD3C6283C46E08B4F17" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_CE58A1393AE4638C626E3C46E08A788F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_EBA5D68773AD9FD3C6283C46E08B4F17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_8913A43BE5E3D356A8153C46E08B440B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_CE58A1393AE4638C626E3C46E08A788F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_8913A43BE5E3D356A8153C46E08B440B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_57CCCDC78A8B3FA696493C46E08BB183" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_CE58A1393AE4638C626E3C46E08A788F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_57CCCDC78A8B3FA696493C46E08BB183" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A2A26F4473461EEBDF6B3C46E08B29AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_02E219374F306AB3CE5C3C46E08AE3F8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A2A26F4473461EEBDF6B3C46E08B29AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_B8DE45C934E7E6230ED63C46E08B9799" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A2A26F4473461EEBDF6B3C46E08B29AC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_B8DE45C934E7E6230ED63C46E08B9799" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_FEE8EF480059D50B6DDE3C46E08C19A5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A2A26F4473461EEBDF6B3C46E08B29AC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_FEE8EF480059D50B6DDE3C46E08C19A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_21E3055CA43BE6E998593C46E08C13B1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A2A26F4473461EEBDF6B3C46E08B29AC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_21E3055CA43BE6E998593C46E08C13B1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_F207B971ED54CA0C92F53C46E08CA6A2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_A2A26F4473461EEBDF6B3C46E08B29AC" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_F207B971ED54CA0C92F53C46E08CA6A2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_AggregateValueOfRestrictedStockAwardsVested" xlink:label="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_8BE146BC299F028C6BB93C46E08CA3DA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_02E219374F306AB3CE5C3C46E08AE3F8" xlink:to="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_8BE146BC299F028C6BB93C46E08CA3DA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_253D3929FACE221C6F2FB35F62F3AFCF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_155354D170015C4EE992B35F62F31711" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_253D3929FACE221C6F2FB35F62F3AFCF" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_155354D170015C4EE992B35F62F31711" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_A15FEC6A134F931E3CD7B35F62F37B48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_155354D170015C4EE992B35F62F31711" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_A15FEC6A134F931E3CD7B35F62F37B48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_F26BE7C11A177C5ED04FB35F62F38BF1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_A15FEC6A134F931E3CD7B35F62F37B48" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_F26BE7C11A177C5ED04FB35F62F38BF1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_F26BE7C11A177C5ED04FB35F62F38BF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_A15FEC6A134F931E3CD7B35F62F37B48" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_F26BE7C11A177C5ED04FB35F62F38BF1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member" xlink:label="loc_wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member_94392EC7E9CD97E8AF18B35F62F3EE5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_F26BE7C11A177C5ED04FB35F62F38BF1" xlink:to="loc_wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member_94392EC7E9CD97E8AF18B35F62F3EE5D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ShareRepurchaseProgramMember" xlink:label="loc_wdc_ShareRepurchaseProgramMember_9D231EB1F17BF7860A9AB35F62F3D3DA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_F26BE7C11A177C5ED04FB35F62F38BF1" xlink:to="loc_wdc_ShareRepurchaseProgramMember_9D231EB1F17BF7860A9AB35F62F3D3DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_9341187D8079174BCD06B35F62F3AAA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_253D3929FACE221C6F2FB35F62F3AFCF" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_9341187D8079174BCD06B35F62F3AAA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_F664415EC83B916F9825B35F62F37E4C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_253D3929FACE221C6F2FB35F62F3AFCF" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_F664415EC83B916F9825B35F62F37E4C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_077F702734628E1E636B1DCCDBB10D99" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0DA088B1A607C6068F21DCCDBAFB99F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_077F702734628E1E636B1DCCDBB10D99" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0DA088B1A607C6068F21DCCDBAFB99F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A91FE563386249A99A471DCCDBAF03F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0DA088B1A607C6068F21DCCDBAFB99F" xlink:to="loc_us-gaap_AwardTypeAxis_A91FE563386249A99A471DCCDBAF03F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ABD5D8EBD34D3D18D4111DCCDBAF3B29_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A91FE563386249A99A471DCCDBAF03F9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ABD5D8EBD34D3D18D4111DCCDBAF3B29_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ABD5D8EBD34D3D18D4111DCCDBAF3B29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A91FE563386249A99A471DCCDBAF03F9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ABD5D8EBD34D3D18D4111DCCDBAF3B29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_6798D0B0A04A5B9FC4C51DCCDBB01623" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ABD5D8EBD34D3D18D4111DCCDBAF3B29" xlink:to="loc_us-gaap_EmployeeStockOptionMember_6798D0B0A04A5B9FC4C51DCCDBB01623" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_F47710E660AC8EAAB3231DCCDBB0698B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ABD5D8EBD34D3D18D4111DCCDBAF3B29" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_F47710E660AC8EAAB3231DCCDBB0698B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_6477CAC79455ECFB188B1DCCDBB03BA9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ABD5D8EBD34D3D18D4111DCCDBAF3B29" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_6477CAC79455ECFB188B1DCCDBB03BA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_FCD080C6F81429441E0E1DCCDBB0E8E5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0DA088B1A607C6068F21DCCDBAFB99F" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_FCD080C6F81429441E0E1DCCDBB0E8E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_76CB416763D80DC4E3ED1DCCDBB08DFF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_FCD080C6F81429441E0E1DCCDBB0E8E5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_76CB416763D80DC4E3ED1DCCDBB08DFF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_76CB416763D80DC4E3ED1DCCDBB08DFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_FCD080C6F81429441E0E1DCCDBB0E8E5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_76CB416763D80DC4E3ED1DCCDBB08DFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_F0E299F9475780FF218F1DCCDBB13FB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_76CB416763D80DC4E3ED1DCCDBB08DFF" xlink:to="loc_us-gaap_CostOfSalesMember_F0E299F9475780FF218F1DCCDBB13FB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_EF4786A3CEC0A9315A421DCCDBB129DB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_76CB416763D80DC4E3ED1DCCDBB08DFF" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_EF4786A3CEC0A9315A421DCCDBB129DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_6EC65670B6879CD14A341DCCDBB156D0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_76CB416763D80DC4E3ED1DCCDBB08DFF" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_6EC65670B6879CD14A341DCCDBB156D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_7EF105E7255EF23B075A1DCCDBB1156E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_077F702734628E1E636B1DCCDBB10D99" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_7EF105E7255EF23B075A1DCCDBB1156E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_C11919889448F8AA39DC1DCCDBB2930B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_077F702734628E1E636B1DCCDBB10D99" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_C11919889448F8AA39DC1DCCDBB2930B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_1696BE3C5EF1F8A5B08C1DCCDBB2D5A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_077F702734628E1E636B1DCCDBB10D99" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_1696BE3C5EF1F8A5B08C1DCCDBB2D5A5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_BAD9268FFC3EF348863E600388659BD0" xlink:type="locator" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_27A2AE8C148697255ACB6003886380CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_BAD9268FFC3EF348863E600388659BD0" xlink:to="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_27A2AE8C148697255ACB6003886380CE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_367656984B6818842148600388647F05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_27A2AE8C148697255ACB6003886380CE" xlink:to="loc_us-gaap_AwardTypeAxis_367656984B6818842148600388647F05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D70349B235381568C88F600388649D65_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_367656984B6818842148600388647F05" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D70349B235381568C88F600388649D65_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D70349B235381568C88F600388649D65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_367656984B6818842148600388647F05" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D70349B235381568C88F600388649D65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_48A8EBD5F9DC3AC7C8EE60038864378D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D70349B235381568C88F600388649D65" xlink:to="loc_us-gaap_EmployeeStockOptionMember_48A8EBD5F9DC3AC7C8EE60038864378D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_9889345A6BAF7BA0E960600388653521" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D70349B235381568C88F600388649D65" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_9889345A6BAF7BA0E960600388653521" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_7C9840F1B97721FD6D8D60038865F0AB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D70349B235381568C88F600388649D65" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_7C9840F1B97721FD6D8D60038865F0AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_C0D03A831D9BEBE73FF860038865ED10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_BAD9268FFC3EF348863E600388659BD0" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_C0D03A831D9BEBE73FF860038865ED10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_09A91887330319D5FBA6600388657A5D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_BAD9268FFC3EF348863E600388659BD0" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_09A91887330319D5FBA6600388657A5D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_FF3A0A5E82C2996F33F3F426238E88F1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_77AE418C88425180B9BCF426238C3E27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_FF3A0A5E82C2996F33F3F426238E88F1" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_77AE418C88425180B9BCF426238C3E27" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_ACFC2541F4BC3ACB9E49F426238D8354" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_77AE418C88425180B9BCF426238C3E27" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_ACFC2541F4BC3ACB9E49F426238D8354" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_ACFC2541F4BC3ACB9E49F426238D8354" xlink:to="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_ACFC2541F4BC3ACB9E49F426238D8354" xlink:to="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_092083D3BDD8C2005511F426238DB88D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_092083D3BDD8C2005511F426238DB88D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedTranslationAdjustmentMember" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_1BA02C45EF650181B697F426238E93E7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_1BA02C45EF650181B697F426238E93E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_D0910188900E6267520BF426238E512E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_D0910188900E6267520BF426238E512E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_C8D0B74422FEA3158038F426238E0DCB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_597F858F9DDBC0912921F426238DE4BB" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_C8D0B74422FEA3158038F426238E0DCB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:label="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_0A3B6D0468D895BEF39AF426238E8821" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_FF3A0A5E82C2996F33F3F426238E88F1" xlink:to="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_0A3B6D0468D895BEF39AF426238E8821" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_476489E8B7C644F6C2B3F426238E8939" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_0A3B6D0468D895BEF39AF426238E8821" xlink:to="loc_us-gaap_StockholdersEquity_476489E8B7C644F6C2B3F426238E8939" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_6638809D64CDE618A75DF426238F1A58" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_0A3B6D0468D895BEF39AF426238E8821" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_6638809D64CDE618A75DF426238F1A58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_D54A22A8F7475D7DD3B6F426238F1FD1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_0A3B6D0468D895BEF39AF426238E8821" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_D54A22A8F7475D7DD3B6F426238F1FD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_595AB69DCDB39C3169BCF426238FD37C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_0A3B6D0468D895BEF39AF426238E8821" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_595AB69DCDB39C3169BCF426238FD37C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72450FD1C74430234A1EF426238F42A9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_0A3B6D0468D895BEF39AF426238E8821" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72450FD1C74430234A1EF426238F42A9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_5D16C7D3393665DF54304283EAE1F170" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_CDE3722CB6EFAF7FAA5D4283EADF7C70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_5D16C7D3393665DF54304283EAE1F170" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_CDE3722CB6EFAF7FAA5D4283EADF7C70" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_FFD7C19ADEF64C854FD94283EAE02B9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_CDE3722CB6EFAF7FAA5D4283EADF7C70" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_FFD7C19ADEF64C854FD94283EAE02B9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_0C1CF6B3A2107E94475B4283EAE00E27_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_FFD7C19ADEF64C854FD94283EAE02B9E" xlink:to="loc_us-gaap_ReceivableTypeDomain_0C1CF6B3A2107E94475B4283EAE00E27_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_0C1CF6B3A2107E94475B4283EAE00E27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_FFD7C19ADEF64C854FD94283EAE02B9E" xlink:to="loc_us-gaap_ReceivableTypeDomain_0C1CF6B3A2107E94475B4283EAE00E27" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_FactoredReceivablesMember" xlink:label="loc_wdc_FactoredReceivablesMember_5B8A5EBF715D6CA7C7294283EAE0587D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_0C1CF6B3A2107E94475B4283EAE00E27" xlink:to="loc_wdc_FactoredReceivablesMember_5B8A5EBF715D6CA7C7294283EAE0587D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaap_NotesReceivableNet_67B37746AF770C7F5E834283EAE19226" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_5D16C7D3393665DF54304283EAE1F170" xlink:to="loc_us-gaap_NotesReceivableNet_67B37746AF770C7F5E834283EAE19226" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleAndCollectionOfReceivables" xlink:label="loc_us-gaap_ProceedsFromSaleAndCollectionOfReceivables_67FAE2BDEECD515EABE14283EAE136C1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_5D16C7D3393665DF54304283EAE1F170" xlink:to="loc_us-gaap_ProceedsFromSaleAndCollectionOfReceivables_67FAE2BDEECD515EABE14283EAE136C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_3FAEB79847A97EC72AEC4283EAE16253" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_5D16C7D3393665DF54304283EAE1F170" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_3FAEB79847A97EC72AEC4283EAE16253" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherIntangibleAssetsNet" xlink:label="loc_us-gaap_OtherIntangibleAssetsNet_33EB7B2A857140E3F25A4283EAE1F007" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_5D16C7D3393665DF54304283EAE1F170" xlink:to="loc_us-gaap_OtherIntangibleAssetsNet_33EB7B2A857140E3F25A4283EAE1F007" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_576C6070E2A4A13C18D24283EAE28CCB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_5D16C7D3393665DF54304283EAE1F170" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_576C6070E2A4A13C18D24283EAE28CCB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20191004.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_0BC8915D10CF5BC79329ACEAAA36AA2F" xlink:type="locator" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_AACCBCF2E400568081669F94CDD2609F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_0BC8915D10CF5BC79329ACEAAA36AA2F" xlink:to="loc_wdc_SupplementalFinancialInformationTable_AACCBCF2E400568081669F94CDD2609F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EECC2A634D7F514481FE17EA70241048" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_AACCBCF2E400568081669F94CDD2609F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EECC2A634D7F514481FE17EA70241048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_862C5359A1C1A554BB73B03DD99FBF05_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EECC2A634D7F514481FE17EA70241048" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_862C5359A1C1A554BB73B03DD99FBF05_760E0A0C22C75791B6A50AA8047D5F4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EECC2A634D7F514481FE17EA70241048" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_3FAE855D97D45477AB0180E3141E6A89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:to="loc_us-gaap_LandMember_3FAE855D97D45477AB0180E3141E6A89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_FC2AF90F9CF259709D6D5D5BEE9E22B2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_FC2AF90F9CF259709D6D5D5BEE9E22B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_16C85F775FB45C02A1150452F7ECCD0E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_16C85F775FB45C02A1150452F7ECCD0E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20191004.xsd#wdc_ComputerEquipmentandSoftwareMember" xlink:label="loc_wdc_ComputerEquipmentandSoftwareMember_B95613C7F722556E8EDEEAF4B0A2E33F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:to="loc_wdc_ComputerEquipmentandSoftwareMember_B95613C7F722556E8EDEEAF4B0A2E33F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_5BF420C0F5DC59E69DC04677EC8FF667" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_5BF420C0F5DC59E69DC04677EC8FF667" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_D25781CD7FCB5564835F3A02E9D0D7C3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_F45BDB7421475F9393D4F5AA427B09A1" xlink:to="loc_us-gaap_ConstructionInProgressMember_D25781CD7FCB5564835F3A02E9D0D7C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_3788C163164A591AB995D3E08CA735EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_0BC8915D10CF5BC79329ACEAAA36AA2F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_3788C163164A591AB995D3E08CA735EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_D07DA4D0C70559ACA4FDD93EF27ADFF9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_3788C163164A591AB995D3E08CA735EC" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_D07DA4D0C70559ACA4FDD93EF27ADFF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_A00DB81DFDEF58F0A8B244B1F4B7581B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_3788C163164A591AB995D3E08CA735EC" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_A00DB81DFDEF58F0A8B244B1F4B7581B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_BAE74B649ACB5B0FABB94B69D8DB275A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_3788C163164A591AB995D3E08CA735EC" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_BAE74B649ACB5B0FABB94B69D8DB275A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="extended" />
</link:linkbase>
