<?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/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetails" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesNotes" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:href="wdc-20181228.xsd#CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="wdc-20181228.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20181228.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="wdc-20181228.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="wdc-20181228.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="wdc-20181228.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:href="wdc-20181228.xsd#ConsolidatedStatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#DebtAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtNotes" xlink:href="wdc-20181228.xsd#DebtNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtScheduleOfDebtDetails" xlink:href="wdc-20181228.xsd#DebtScheduleOfDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20181228.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesNotes" xlink:href="wdc-20181228.xsd#DerivativesInstrumentsAndHedgingActivitiesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:href="wdc-20181228.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20181228.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:href="wdc-20181228.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesComponentsOfRestructuringChargesPaymentsAndAdjustmentsAgainstReserveDetails" xlink:href="wdc-20181228.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesComponentsOfRestructuringChargesPaymentsAndAdjustmentsAgainstReserveDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20181228.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesNotes" xlink:href="wdc-20181228.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Details" xlink:href="wdc-20181228.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Details" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20181228.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:href="wdc-20181228.xsd#FairValueMeasurementsAndInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:href="wdc-20181228.xsd#FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:href="wdc-20181228.xsd#FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20181228.xsd#FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsTables" xlink:href="wdc-20181228.xsd#FairValueMeasurementsAndInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#IncomeTaxExpenseBenefitAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitNotes" xlink:href="wdc-20181228.xsd#IncomeTaxExpenseBenefitNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitTables" xlink:href="wdc-20181228.xsd#IncomeTaxExpenseBenefitTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitTaxProvisionDetails" xlink:href="wdc-20181228.xsd#IncomeTaxExpenseBenefitTaxProvisionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsNotes" xlink:href="wdc-20181228.xsd#LegalProceedingsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShareAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#NetIncomePerCommonShareAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShareNotes" xlink:href="wdc-20181228.xsd#NetIncomePerCommonShareNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShareTables" xlink:href="wdc-20181228.xsd#NetIncomePerCommonShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" xlink:href="wdc-20181228.xsd#OrganizationAndBasisOfPresentationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:href="wdc-20181228.xsd#OrganizationAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansNotes" xlink:href="wdc-20181228.xsd#PensionsAndOtherPostRetirementBenefitPlansNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20181228.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20181228.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20181228.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#RecentlyAdoptedAccountingPronouncementsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsNotes" xlink:href="wdc-20181228.xsd#RecentlyAdoptedAccountingPronouncementsNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#RevenuesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:href="wdc-20181228.xsd#RevenuesDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesNotes" xlink:href="wdc-20181228.xsd#RevenuesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetails" xlink:href="wdc-20181228.xsd#RevenuesRevenueRemainingPerformanceObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesTables" xlink:href="wdc-20181228.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:href="wdc-20181228.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesNotes" xlink:href="wdc-20181228.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:href="wdc-20181228.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfComprehensiveIncomeLossDetails" xlink:href="wdc-20181228.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfOperationsDetails" xlink:href="wdc-20181228.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:href="wdc-20181228.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetails" xlink:href="wdc-20181228.xsd#ShareholdersEquityDividendsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityNotes" xlink:href="wdc-20181228.xsd#ShareholdersEquityNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:href="wdc-20181228.xsd#ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetails" xlink:href="wdc-20181228.xsd#ShareholdersEquityShareRepurchaseProgramDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20181228.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetails" xlink:href="wdc-20181228.xsd#ShareholdersEquityStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20181228.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20181228.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataNotes" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:href="wdc-20181228.xsd#SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20181228.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/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_2ED79417513D2B4DEF22B38A370860C2" xlink:type="locator" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable" xlink:label="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_CD35F8B63ACB5A34FC58B38A3703D081" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_2ED79417513D2B4DEF22B38A370860C2" xlink:to="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_CD35F8B63ACB5A34FC58B38A3703D081" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_450BA5B5C01CA6B3DA14B38A3704C94A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_CD35F8B63ACB5A34FC58B38A3703D081" xlink:to="loc_dei_LegalEntityAxis_450BA5B5C01CA6B3DA14B38A3704C94A" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_2FD8FE3A2C932E636B8AB38A370445AA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_450BA5B5C01CA6B3DA14B38A3704C94A" xlink:to="loc_dei_EntityDomain_2FD8FE3A2C932E636B8AB38A370445AA_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_2FD8FE3A2C932E636B8AB38A370445AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_450BA5B5C01CA6B3DA14B38A3704C94A" xlink:to="loc_dei_EntityDomain_2FD8FE3A2C932E636B8AB38A370445AA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_UnissoftWuxiGroupCoLtd.Member" xlink:label="loc_wdc_UnissoftWuxiGroupCoLtd.Member_728D495CB7F1F02EB763B38A37043317" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_2FD8FE3A2C932E636B8AB38A370445AA" xlink:to="loc_wdc_UnissoftWuxiGroupCoLtd.Member_728D495CB7F1F02EB763B38A37043317" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_9285E08AFC7F4C869877B38A37050B89" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_CD35F8B63ACB5A34FC58B38A3703D081" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_9285E08AFC7F4C869877B38A37050B89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_EDC5FA54CDBEC7840B03B38A37052422_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_9285E08AFC7F4C869877B38A37050B89" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_EDC5FA54CDBEC7840B03B38A37052422_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_EDC5FA54CDBEC7840B03B38A37052422" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_9285E08AFC7F4C869877B38A37050B89" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_EDC5FA54CDBEC7840B03B38A37052422" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_UnisVentureMember" xlink:label="loc_wdc_UnisVentureMember_3BDDC9AD8C47E68ED0BAB38A37054256" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_EDC5FA54CDBEC7840B03B38A37052422" xlink:to="loc_wdc_UnisVentureMember_3BDDC9AD8C47E68ED0BAB38A37054256" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_46EB5DDB515E2A278ECAB38A37069FD4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_CD35F8B63ACB5A34FC58B38A3703D081" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_46EB5DDB515E2A278ECAB38A37069FD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_0AC8C940B1AF95CC7CCEB38A37066D78_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_46EB5DDB515E2A278ECAB38A37069FD4" xlink:to="loc_us-gaap_RelatedPartyDomain_0AC8C940B1AF95CC7CCEB38A37066D78_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_0AC8C940B1AF95CC7CCEB38A37066D78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_46EB5DDB515E2A278ECAB38A37069FD4" xlink:to="loc_us-gaap_RelatedPartyDomain_0AC8C940B1AF95CC7CCEB38A37066D78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_C3A06F78C5A6AF008DC3B38A3706A62C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_0AC8C940B1AF95CC7CCEB38A37066D78" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_C3A06F78C5A6AF008DC3B38A3706A62C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EquityMethodInvestorNameAxis" xlink:label="loc_wdc_EquityMethodInvestorNameAxis_08FF54BDA311BF83ED80B38A3706C06D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_CD35F8B63ACB5A34FC58B38A3703D081" xlink:to="loc_wdc_EquityMethodInvestorNameAxis_08FF54BDA311BF83ED80B38A3706C06D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_DECC86E93E386ECCC150B38A3707DC77_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_08FF54BDA311BF83ED80B38A3706C06D" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_DECC86E93E386ECCC150B38A3707DC77_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_DECC86E93E386ECCC150B38A3707DC77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_08FF54BDA311BF83ED80B38A3706C06D" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_DECC86E93E386ECCC150B38A3707DC77" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_WesternDigitalCorpMember" xlink:label="loc_wdc_WesternDigitalCorpMember_575A8B29FFAC68399888B38A37078D6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_DECC86E93E386ECCC150B38A3707DC77" xlink:to="loc_wdc_WesternDigitalCorpMember_575A8B29FFAC68399888B38A37078D6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_66249B0C10C806C3B629B38A370768B8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_CD35F8B63ACB5A34FC58B38A3703D081" xlink:to="loc_srt_RangeAxis_66249B0C10C806C3B629B38A370768B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_3904C5AF32558C5C6C60B38A3707523A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_66249B0C10C806C3B629B38A370768B8" xlink:to="loc_srt_RangeMember_3904C5AF32558C5C6C60B38A3707523A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_3904C5AF32558C5C6C60B38A3707523A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_66249B0C10C806C3B629B38A370768B8" xlink:to="loc_srt_RangeMember_3904C5AF32558C5C6C60B38A3707523A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_A9D037AF254821FE207EB38A37075D10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_3904C5AF32558C5C6C60B38A3707523A" xlink:to="loc_srt_MinimumMember_A9D037AF254821FE207EB38A37075D10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_AC1AC0E5D6F838762BAFB38A37082ACD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_3904C5AF32558C5C6C60B38A3707523A" xlink:to="loc_srt_MaximumMember_AC1AC0E5D6F838762BAFB38A37082ACD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_2ED79417513D2B4DEF22B38A370860C2" xlink:to="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_4FA27EE27A6128E9AAB7B38A3708AB8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_4FA27EE27A6128E9AAB7B38A3708AB8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_E0D227569B67898CA16AB38A370EC7D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_E0D227569B67898CA16AB38A370EC7D6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_InvestmentFundingCommitments" xlink:label="loc_wdc_InvestmentFundingCommitments_29BE312C599D32BD5447B38A370ED9E7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:to="loc_wdc_InvestmentFundingCommitments_29BE312C599D32BD5447B38A370ED9E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_7C31861704B44B0A05CFB38A370E34B6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_7C31861704B44B0A05CFB38A370E34B6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_PartnersOwnershipInVentureBusiness" xlink:label="loc_wdc_PartnersOwnershipInVentureBusiness_7F600D73B999E429AB65B38A370EBDC6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:to="loc_wdc_PartnersOwnershipInVentureBusiness_7F600D73B999E429AB65B38A370EBDC6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction" xlink:label="loc_wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction_9EB3C6BFBF83E79B1E8EB38A39E498B2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_9490F5ACD4B2F1523838B38A37084A7E" xlink:to="loc_wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction_9EB3C6BFBF83E79B1E8EB38A39E498B2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_E0D05E29A96EEF4F48BC4D1397CB5AE0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_927CE4272F6C85A1386E4D1397C99AEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_E0D05E29A96EEF4F48BC4D1397CB5AE0" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_927CE4272F6C85A1386E4D1397C99AEA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_879B88414021D5CE1DBF4D1397CA591E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_927CE4272F6C85A1386E4D1397C99AEA" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_879B88414021D5CE1DBF4D1397CA591E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_879B88414021D5CE1DBF4D1397CA591E" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_879B88414021D5CE1DBF4D1397CA591E" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FlashPartnersLtdMember" xlink:label="loc_wdc_FlashPartnersLtdMember_C798AE8A1E08B23016454D1397CA76F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E" xlink:to="loc_wdc_FlashPartnersLtdMember_C798AE8A1E08B23016454D1397CA76F0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FlashAllianceLtdMember" xlink:label="loc_wdc_FlashAllianceLtdMember_E6150D1A6374BB60E1D04D1397CB1E36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E" xlink:to="loc_wdc_FlashAllianceLtdMember_E6150D1A6374BB60E1D04D1397CB1E36" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FlashForwardLtdMember" xlink:label="loc_wdc_FlashForwardLtdMember_5242F0F7AF95254969434D1397CB5095" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E" xlink:to="loc_wdc_FlashForwardLtdMember_5242F0F7AF95254969434D1397CB5095" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_BB5E2CB92B4DA6680CF94D1397CB028B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_0D2C2D8693D8791FE5784D1397CA006E" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_BB5E2CB92B4DA6680CF94D1397CB028B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_56C1F7AE8D6A8252A9AF4D1397CB29C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_E0D05E29A96EEF4F48BC4D1397CB5AE0" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_56C1F7AE8D6A8252A9AF4D1397CB29C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_7E39DC481D3ECC646E194D1397CC269D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_E0D05E29A96EEF4F48BC4D1397CB5AE0" xlink:to="loc_us-gaap_Investments_7E39DC481D3ECC646E194D1397CC269D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_94E3C5E6A7BB7855F98F4D1397CCAC47" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_E0D05E29A96EEF4F48BC4D1397CB5AE0" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_94E3C5E6A7BB7855F98F4D1397CCAC47" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8576B7793CC202C2324D4D1397B156A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8576B7793CC202C2324D4D1397B156A4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9350C8C886EE7BC795CB4D1397B153E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8576B7793CC202C2324D4D1397B156A4" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9350C8C886EE7BC795CB4D1397B153E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_7774C12A3D443B5817384D1397B2EA7B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9350C8C886EE7BC795CB4D1397B153E2" xlink:to="loc_us-gaap_RelatedPartyDomain_7774C12A3D443B5817384D1397B2EA7B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_7774C12A3D443B5817384D1397B2EA7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9350C8C886EE7BC795CB4D1397B153E2" xlink:to="loc_us-gaap_RelatedPartyDomain_7774C12A3D443B5817384D1397B2EA7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_05454F659A56D0AD377E4D1397B258A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_7774C12A3D443B5817384D1397B2EA7B" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_05454F659A56D0AD377E4D1397B258A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_F1E960A980CF2E57F6184D1397B2F157" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8576B7793CC202C2324D4D1397B156A4" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_F1E960A980CF2E57F6184D1397B2F157" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_E3B5260390869D89F1634D1397B2C148_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_F1E960A980CF2E57F6184D1397B2F157" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_E3B5260390869D89F1634D1397B2C148_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_E3B5260390869D89F1634D1397B2C148" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_F1E960A980CF2E57F6184D1397B2F157" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_E3B5260390869D89F1634D1397B2C148" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_PaymentOfPrincipalAmortizationMember" xlink:label="loc_wdc_PaymentOfPrincipalAmortizationMember_799F71EF132D8FAC498A4D1397B354E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_E3B5260390869D89F1634D1397B2C148" xlink:to="loc_wdc_PaymentOfPrincipalAmortizationMember_799F71EF132D8FAC498A4D1397B354E3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_PurchaseOptionExercisePriceMember" xlink:label="loc_wdc_PurchaseOptionExercisePriceMember_5AFFB4F181D0CA78778E4D1397B3519F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_E3B5260390869D89F1634D1397B2C148" xlink:to="loc_wdc_PurchaseOptionExercisePriceMember_5AFFB4F181D0CA78778E4D1397B3519F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_02331EBECB22C0D43A8B4D1397B3B04D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_02331EBECB22C0D43A8B4D1397B3B04D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_F89C94D94121ABDDA2D34D1397B4870E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_F89C94D94121ABDDA2D34D1397B4870E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_102E36044A91B3913AA94D1397B458A8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_102E36044A91B3913AA94D1397B458A8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_78E3AA93DD4536DE6A2E4D1397B4F0E5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_78E3AA93DD4536DE6A2E4D1397B4F0E5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_D879A4F7614147FA6D204D1397B479FC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_D879A4F7614147FA6D204D1397B479FC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_GuaranteeObligationsMaximumExposureThereafter" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_60258EB3DB546F5D87694D1397B4EACF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_60258EB3DB546F5D87694D1397B4EACF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_4DF7F4C424E120B14BA04D1397B4278C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_F823FCDEDEB9AFEE47D54D1397B3CC3B" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_4DF7F4C424E120B14BA04D1397B4278C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_7B85A739340A4F48778B4D1397BC8E66" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_51B8DB938670AABB5F494D1397BAF6CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_7B85A739340A4F48778B4D1397BC8E66" xlink:to="loc_us-gaap_LossContingenciesTable_51B8DB938670AABB5F494D1397BAF6CF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_2CF8B5CCC5CBD23B725B4D1397BBFE01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_51B8DB938670AABB5F494D1397BAF6CF" xlink:to="loc_wdc_BalanceSheetInformationAxis_2CF8B5CCC5CBD23B725B4D1397BBFE01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A9FF8BD5D898A5BEF8D44D1397BB715D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_2CF8B5CCC5CBD23B725B4D1397BBFE01" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A9FF8BD5D898A5BEF8D44D1397BB715D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A9FF8BD5D898A5BEF8D44D1397BB715D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_2CF8B5CCC5CBD23B725B4D1397BBFE01" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A9FF8BD5D898A5BEF8D44D1397BB715D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_320F9EFD6D5C7B38ECE84D1397BB71EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_A9FF8BD5D898A5BEF8D44D1397BB715D" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_320F9EFD6D5C7B38ECE84D1397BB71EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_BA65013A716A094C4BE84D1397BBE578" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_51B8DB938670AABB5F494D1397BAF6CF" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_BA65013A716A094C4BE84D1397BBE578" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_76CA39E98DDF419121FB4D1397BC9253_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_BA65013A716A094C4BE84D1397BBE578" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_76CA39E98DDF419121FB4D1397BC9253_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_76CA39E98DDF419121FB4D1397BC9253" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_BA65013A716A094C4BE84D1397BBE578" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_76CA39E98DDF419121FB4D1397BC9253" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_EFCCBB6D1EA25E6855914D1397BC1634" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_76CA39E98DDF419121FB4D1397BC9253" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_EFCCBB6D1EA25E6855914D1397BC1634" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_C4D82F622452CB7B72304D1397BCB1A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_7B85A739340A4F48778B4D1397BC8E66" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_C4D82F622452CB7B72304D1397BCB1A6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_59750E5353632A325C284D1397C32EAA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_125B8790D9AE32DEEEB44D1397C0B203" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_59750E5353632A325C284D1397C32EAA" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_125B8790D9AE32DEEEB44D1397C0B203" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_657786D701F064ECA2394D1397C15CDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_125B8790D9AE32DEEEB44D1397C0B203" xlink:to="loc_wdc_BalanceSheetInformationAxis_657786D701F064ECA2394D1397C15CDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_657786D701F064ECA2394D1397C15CDC" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_657786D701F064ECA2394D1397C15CDC" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableMember" xlink:label="loc_us-gaap_NotesReceivableMember_B460037BFFEB3DB4A9B44D1397C13E3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F" xlink:to="loc_us-gaap_NotesReceivableMember_B460037BFFEB3DB4A9B44D1397C13E3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_D3BFA74E03415AA63B1E4D1397C15D51" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_D3BFA74E03415AA63B1E4D1397C15D51" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_E219436877D78F4AFFE54D1397C284BD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_E219436877D78F4AFFE54D1397C284BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_A19716312ED4DB75CC6C4D1397C2E1C6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_85AD4667308BA01C213D4D1397C1F24F" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_A19716312ED4DB75CC6C4D1397C2E1C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_F7D157C27F57B61E77DD4D1397C2F970" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_125B8790D9AE32DEEEB44D1397C0B203" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_F7D157C27F57B61E77DD4D1397C2F970" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_74D56505F4E7C2E5C48D4D1397C23924_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_F7D157C27F57B61E77DD4D1397C2F970" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_74D56505F4E7C2E5C48D4D1397C23924_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_74D56505F4E7C2E5C48D4D1397C23924" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_F7D157C27F57B61E77DD4D1397C2F970" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_74D56505F4E7C2E5C48D4D1397C23924" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_3B0C25C50E3AC02764E94D1397C22AB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_74D56505F4E7C2E5C48D4D1397C23924" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_3B0C25C50E3AC02764E94D1397C22AB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_36BD3D98EE0AEE37EDEB4D1397C3F7B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_59750E5353632A325C284D1397C32EAA" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_36BD3D98EE0AEE37EDEB4D1397C3F7B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_B28A655EA97C972D4D5E4D1397C3AEE0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_59750E5353632A325C284D1397C32EAA" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_B28A655EA97C972D4D5E4D1397C3AEE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryGross" xlink:label="loc_us-gaap_InventoryGross_83AF8481EFC77448D64E4D1397C39E13" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_59750E5353632A325C284D1397C32EAA" xlink:to="loc_us-gaap_InventoryGross_83AF8481EFC77448D64E4D1397C39E13" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="extended" />
  <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/ConsolidatedStatementsOfShareholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_027681A82EE06372C08494E550262D5F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_D28AF271598DB979FA8194E550243F1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_027681A82EE06372C08494E550262D5F" xlink:to="loc_us-gaap_StatementTable_D28AF271598DB979FA8194E550243F1B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_7517A67D51BC55518CC494E550243858" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_D28AF271598DB979FA8194E550243F1B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_7517A67D51BC55518CC494E550243858" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7517A67D51BC55518CC494E550243858" xlink:to="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7517A67D51BC55518CC494E550243858" xlink:to="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_9FCF3285C9779F322CE994E55025897E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A" xlink:to="loc_us-gaap_CommonStockMember_9FCF3285C9779F322CE994E55025897E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_41B5AC2AE49AA4DB1BAA94E55025D718" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A" xlink:to="loc_us-gaap_TreasuryStockMember_41B5AC2AE49AA4DB1BAA94E55025D718" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_B6CDE6C1ACFA62B0215F94E55025994B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_B6CDE6C1ACFA62B0215F94E55025994B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_D67F681F4BEC5FEB46A394E550259610" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_D67F681F4BEC5FEB46A394E550259610" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_7EF94FDDB5705825900E94E550267A4D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_04055E3504773108470B94E55024F92A" xlink:to="loc_us-gaap_RetainedEarningsMember_7EF94FDDB5705825900E94E550267A4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_027681A82EE06372C08494E550262D5F" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_F44F45862A54E317ADC394E55026E5FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_StockholdersEquity_F44F45862A54E317ADC394E55026E5FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_AE9B9AE63BF9B1099C4C94E5502743E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_SharesIssued_AE9B9AE63BF9B1099C4C94E5502743E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_A273F48E880629749D6F94E55027CD2F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_NetIncomeLoss_A273F48E880629749D6F94E55027CD2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_190E1DA69E6E482E12D694E5502795AB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_190E1DA69E6E482E12D694E5502795AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_45ECE0BE708EBA0F4A0794E55027DB1D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_45ECE0BE708EBA0F4A0794E55027DB1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_26E2410179616FD44FFB94E550271874" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_26E2410179616FD44FFB94E550271874" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_040077084705FB99DF2894E55028409E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_040077084705FB99DF2894E55028409E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_4076C06459CADEBA5D1794E550280E12" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_4076C06459CADEBA5D1794E550280E12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_56DF42E4111DDA2E489594E5502860D2" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_56DF42E4111DDA2E489594E5502860D2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_DividendsDeclared" xlink:label="loc_wdc_DividendsDeclared_91CA1DF49349C8CC3FEE94E550281EFB" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_wdc_DividendsDeclared_91CA1DF49349C8CC3FEE94E550281EFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_CD948DD0E19AE760C69994E550281A86" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_CD948DD0E19AE760C69994E550281A86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_F48E1AF0DD476C67067094E55029E0BE" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_F48E1AF0DD476C67067094E55029E0BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_0B450D8B8EF0FAFCB7FA94E5502944AD" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_FC20C7E7B4F8E339CFA294E55026A48C" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_0B450D8B8EF0FAFCB7FA94E5502944AD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_377E2574B25623B1DE63BA049F30C403" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_EBBC7EB20811F22E4CB6BA049F2D8AA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_377E2574B25623B1DE63BA049F30C403" xlink:to="loc_us-gaap_DebtInstrumentTable_EBBC7EB20811F22E4CB6BA049F2D8AA2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_DebtCovenantPeriodAxis" xlink:label="loc_wdc_DebtCovenantPeriodAxis_6D1F9359CED7A6839608BA049F2EE6AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_EBBC7EB20811F22E4CB6BA049F2D8AA2" xlink:to="loc_wdc_DebtCovenantPeriodAxis_6D1F9359CED7A6839608BA049F2EE6AB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_DebtCovenantPeriodDomain" xlink:label="loc_wdc_DebtCovenantPeriodDomain_1074F59ED758216D7491BA049F2E4F1B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_DebtCovenantPeriodAxis_6D1F9359CED7A6839608BA049F2EE6AB" xlink:to="loc_wdc_DebtCovenantPeriodDomain_1074F59ED758216D7491BA049F2E4F1B_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_DebtCovenantPeriodDomain" xlink:label="loc_wdc_DebtCovenantPeriodDomain_1074F59ED758216D7491BA049F2E4F1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_DebtCovenantPeriodAxis_6D1F9359CED7A6839608BA049F2EE6AB" xlink:to="loc_wdc_DebtCovenantPeriodDomain_1074F59ED758216D7491BA049F2E4F1B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_PeriodEndingOctober42019Member" xlink:label="loc_wdc_PeriodEndingOctober42019Member_D2FA9A3A2E4098A95686BA049F2E46AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_DebtCovenantPeriodDomain_1074F59ED758216D7491BA049F2E4F1B" xlink:to="loc_wdc_PeriodEndingOctober42019Member_D2FA9A3A2E4098A95686BA049F2E46AE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_PeriodEndingOctober202020Member" xlink:label="loc_wdc_PeriodEndingOctober202020Member_A3C113548541B5D06AFCBA049F2F2622" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_DebtCovenantPeriodDomain_1074F59ED758216D7491BA049F2E4F1B" xlink:to="loc_wdc_PeriodEndingOctober202020Member_A3C113548541B5D06AFCBA049F2F2622" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_PeriodAfterOctober202020Member" xlink:label="loc_wdc_PeriodAfterOctober202020Member_8FD4DC25A6A48B743AE0BA049F2FAAEE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_DebtCovenantPeriodDomain_1074F59ED758216D7491BA049F2E4F1B" xlink:to="loc_wdc_PeriodAfterOctober202020Member_8FD4DC25A6A48B743AE0BA049F2FAAEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_DBC4E1993890FC828AD7BA049F2F4C1E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_EBBC7EB20811F22E4CB6BA049F2D8AA2" xlink:to="loc_us-gaap_CreditFacilityAxis_DBC4E1993890FC828AD7BA049F2F4C1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_AA526D0517CD525AFA5FBA049F2F7E27_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_DBC4E1993890FC828AD7BA049F2F4C1E" xlink:to="loc_us-gaap_CreditFacilityDomain_AA526D0517CD525AFA5FBA049F2F7E27_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_AA526D0517CD525AFA5FBA049F2F7E27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_DBC4E1993890FC828AD7BA049F2F4C1E" xlink:to="loc_us-gaap_CreditFacilityDomain_AA526D0517CD525AFA5FBA049F2F7E27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_0BB6D18D07D71B244CA9BA049F2F6397" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_AA526D0517CD525AFA5FBA049F2F7E27" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_0BB6D18D07D71B244CA9BA049F2F6397" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_F3C8A90A26E9604B931DBA049F300F32" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_EBBC7EB20811F22E4CB6BA049F2D8AA2" xlink:to="loc_us-gaap_DebtInstrumentAxis_F3C8A90A26E9604B931DBA049F300F32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_F16F0B13233CA13E8CCABA049F30D933_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_F3C8A90A26E9604B931DBA049F300F32" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_F16F0B13233CA13E8CCABA049F30D933_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_F16F0B13233CA13E8CCABA049F30D933" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_F3C8A90A26E9604B931DBA049F300F32" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_F16F0B13233CA13E8CCABA049F30D933" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_D0CCC61C6158DDA7A5C1BA049F301731" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F16F0B13233CA13E8CCABA049F30D933" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_D0CCC61C6158DDA7A5C1BA049F301731" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_BF0765D3A7094DB63A24BA049F3016F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_377E2574B25623B1DE63BA049F30C403" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_BF0765D3A7094DB63A24BA049F3016F0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_RatioOfTotalIndebtednessToAdjustedEBITDAMaximum" xlink:label="loc_wdc_RatioOfTotalIndebtednessToAdjustedEBITDAMaximum_3D995B4D67401D215A19BA049F316099" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_377E2574B25623B1DE63BA049F30C403" xlink:to="loc_wdc_RatioOfTotalIndebtednessToAdjustedEBITDAMaximum_3D995B4D67401D215A19BA049F316099" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_RatioOfTotalAdjustedEBITDAToInterestExpenseMinimum" xlink:label="loc_wdc_RatioOfTotalAdjustedEBITDAToInterestExpenseMinimum_7B3F29645FED2E9D42A6BA049F315B77" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_377E2574B25623B1DE63BA049F30C403" xlink:to="loc_wdc_RatioOfTotalAdjustedEBITDAToInterestExpenseMinimum_7B3F29645FED2E9D42A6BA049F315B77" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtScheduleOfDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_14178594CD1E3696A12D99AE700622ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:to="loc_us-gaap_DebtInstrumentTable_14178594CD1E3696A12D99AE700622ED" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_9957613223430CBCB63799AE7006B174" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_14178594CD1E3696A12D99AE700622ED" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_9957613223430CBCB63799AE7006B174" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_71FEE9A2977FAC9A47D899AE7006CAA3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9957613223430CBCB63799AE7006B174" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_71FEE9A2977FAC9A47D899AE7006CAA3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_71FEE9A2977FAC9A47D899AE7006CAA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9957613223430CBCB63799AE7006B174" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_71FEE9A2977FAC9A47D899AE7006CAA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_75E912FB9E33EF03F63199AE700706B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_71FEE9A2977FAC9A47D899AE7006CAA3" xlink:to="loc_us-gaap_ConvertibleDebtMember_75E912FB9E33EF03F63199AE700706B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_3FB5D6DEED60E4BA9A7399AE7007B7EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_14178594CD1E3696A12D99AE700622ED" xlink:to="loc_us-gaap_DebtInstrumentAxis_3FB5D6DEED60E4BA9A7399AE7007B7EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_3FB5D6DEED60E4BA9A7399AE7007B7EE" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_3FB5D6DEED60E4BA9A7399AE7007B7EE" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_C5D8654BFC16A6F9A30199AE7007F148" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_C5D8654BFC16A6F9A30199AE7007F148" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_A96BD9F219618E66BF3C99AE7008FC96" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_A96BD9F219618E66BF3C99AE7008FC96" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TermLoanA1Member" xlink:label="loc_wdc_TermLoanA1Member_F93AE5C9207F7EC9AE9F99AE700875AB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:to="loc_wdc_TermLoanA1Member_F93AE5C9207F7EC9AE9F99AE700875AB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_U.S.TermLoanB4Member" xlink:label="loc_wdc_U.S.TermLoanB4Member_E7EA842303EDAE461ACA99AE70083E3D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:to="loc_wdc_U.S.TermLoanB4Member_E7EA842303EDAE461ACA99AE70083E3D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember" xlink:label="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_C773557B95216AA2EB5B99AE700881C6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:to="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_C773557B95216AA2EB5B99AE700881C6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember" xlink:label="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_2E291BC6B6608772925999AE7008B2A7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_EF15CECCEF4121C1AF0899AE70077122" xlink:to="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_2E291BC6B6608772925999AE7008B2A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_08E7C9D5CF05358C1B8D99AE70080CF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_08E7C9D5CF05358C1B8D99AE70080CF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_03EFD41AB506869AC65299AE7009F6B3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_03EFD41AB506869AC65299AE7009F6B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_15725A89A379216442F599AE70097611" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_15725A89A379216442F599AE70097611" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_78B8FE2B47B1B11993A799AE700959A7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:to="loc_us-gaap_LongTermDebt_78B8FE2B47B1B11993A799AE700959A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_E6B935A3801C662D28A999AE70099BD8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:to="loc_us-gaap_LongTermDebtCurrent_E6B935A3801C662D28A999AE70099BD8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_ABB6B2DBB358D03F24FE99AE7009BC7D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_86C254BA366EA7BAD9CF99AE70088EAC" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_ABB6B2DBB358D03F24FE99AE7009BC7D" 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/DerivativesInstrumentsAndHedgingActivitiesNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DocumentAndEntityInformation" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_D46CB614A5ED75431DDF4D1396D2B5C2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_34D2D521E0A9F19571F24D1396D06A0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D46CB614A5ED75431DDF4D1396D2B5C2" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_34D2D521E0A9F19571F24D1396D06A0F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_79478FFEC2D064A2744B4D1396D0CB5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_34D2D521E0A9F19571F24D1396D06A0F" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_79478FFEC2D064A2744B4D1396D0CB5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B711FFD3AA4600241C3F4D1396D16517_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_79478FFEC2D064A2744B4D1396D0CB5D" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B711FFD3AA4600241C3F4D1396D16517_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B711FFD3AA4600241C3F4D1396D16517" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_79478FFEC2D064A2744B4D1396D0CB5D" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B711FFD3AA4600241C3F4D1396D16517" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_D7C5077C4166DC165E514D1396D1B461" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_B711FFD3AA4600241C3F4D1396D16517" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_D7C5077C4166DC165E514D1396D1B461" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_256F7C985312C531606E4D1396D19E9D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_B711FFD3AA4600241C3F4D1396D16517" xlink:to="loc_us-gaap_ContractTerminationMember_256F7C985312C531606E4D1396D19E9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_8C85D1D1C34B63E17E434D1396D1D56E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_34D2D521E0A9F19571F24D1396D06A0F" xlink:to="loc_us-gaap_RestructuringPlanAxis_8C85D1D1C34B63E17E434D1396D1D56E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_ACC02840D8353226D07C4D1396D2BE33_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_8C85D1D1C34B63E17E434D1396D1D56E" xlink:to="loc_us-gaap_RestructuringPlanDomain_ACC02840D8353226D07C4D1396D2BE33_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_ACC02840D8353226D07C4D1396D2BE33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_8C85D1D1C34B63E17E434D1396D1D56E" xlink:to="loc_us-gaap_RestructuringPlanDomain_ACC02840D8353226D07C4D1396D2BE33" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_E0750886AABA3B177B8E4D1396D2162B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_ACC02840D8353226D07C4D1396D2BE33" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_E0750886AABA3B177B8E4D1396D2162B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_7C2DDF080792386AD9F94D1396D20F8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D46CB614A5ED75431DDF4D1396D2B5C2" xlink:to="loc_us-gaap_RestructuringReserveRollForward_7C2DDF080792386AD9F94D1396D20F8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_F2BB27F44BB1CE28DE234D1396D3E1D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_7C2DDF080792386AD9F94D1396D20F8A" xlink:to="loc_us-gaap_RestructuringReserve_F2BB27F44BB1CE28DE234D1396D3E1D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_FB518D9CC48409BC09EC4D1396D353A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_7C2DDF080792386AD9F94D1396D20F8A" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_FB518D9CC48409BC09EC4D1396D353A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_ABD8D8E1776A77FCDDD84D1396D3CE58" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_7C2DDF080792386AD9F94D1396D20F8A" xlink:to="loc_us-gaap_PaymentsForRestructuring_ABD8D8E1776A77FCDDD84D1396D3CE58" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_790DD424C3CC5182316EB38F97DD6093" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_965AA0DE8E4E27CC2A79B38F97DD5B75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_790DD424C3CC5182316EB38F97DD6093" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_965AA0DE8E4E27CC2A79B38F97DD5B75" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_A8D4F5D3FBFD91822AF4B38F97DDA44C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_965AA0DE8E4E27CC2A79B38F97DD5B75" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_A8D4F5D3FBFD91822AF4B38F97DDA44C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_8451084929462E7E5FD5B38F97DD71FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_A8D4F5D3FBFD91822AF4B38F97DDA44C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_8451084929462E7E5FD5B38F97DD71FF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_8451084929462E7E5FD5B38F97DD71FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_A8D4F5D3FBFD91822AF4B38F97DDA44C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_8451084929462E7E5FD5B38F97DD71FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_616A37C2B1D53BAF48CFB38F97DD563E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_8451084929462E7E5FD5B38F97DD71FF" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_616A37C2B1D53BAF48CFB38F97DD563E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_B8E15234A3DFA9DA7942B38F97DD463A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_8451084929462E7E5FD5B38F97DD71FF" xlink:to="loc_us-gaap_ContractTerminationMember_B8E15234A3DFA9DA7942B38F97DD463A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_049D71EDD20F3ABE73FAB38F97DD5A2A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_965AA0DE8E4E27CC2A79B38F97DD5B75" xlink:to="loc_us-gaap_RestructuringPlanAxis_049D71EDD20F3ABE73FAB38F97DD5A2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_2D3030A0F2DC40E2EF4CB38F97DD1D96_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_049D71EDD20F3ABE73FAB38F97DD5A2A" xlink:to="loc_us-gaap_RestructuringPlanDomain_2D3030A0F2DC40E2EF4CB38F97DD1D96_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_2D3030A0F2DC40E2EF4CB38F97DD1D96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_049D71EDD20F3ABE73FAB38F97DD5A2A" xlink:to="loc_us-gaap_RestructuringPlanDomain_2D3030A0F2DC40E2EF4CB38F97DD1D96" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_3FF536912EFD32D6FB18B38F97DD0F4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_2D3030A0F2DC40E2EF4CB38F97DD1D96" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_3FF536912EFD32D6FB18B38F97DD0F4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringAndRelatedCostExpectedCost1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_9D4257C5A62915887EA7B38F97DD330E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_790DD424C3CC5182316EB38F97DD6093" xlink:to="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_9D4257C5A62915887EA7B38F97DD330E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_DF2478A5C97A4C8583ECB38F97DDC82D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_790DD424C3CC5182316EB38F97DD6093" xlink:to="loc_us-gaap_RestructuringCharges_DF2478A5C97A4C8583ECB38F97DDC82D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_5B267BE43A17D090736AB38F97DDAA69" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_790DD424C3CC5182316EB38F97DD6093" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_5B267BE43A17D090736AB38F97DDAA69" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesComponentsOfRestructuringChargesPaymentsAndAdjustmentsAgainstReserveDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_3BC39D7F417F848B88597AFFC358DF5F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_CE6505E1B3F5599B32F57AFFC35607D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3BC39D7F417F848B88597AFFC358DF5F" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_CE6505E1B3F5599B32F57AFFC35607D9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_EB08AF7E64E5D4675A547AFFC35673F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_CE6505E1B3F5599B32F57AFFC35607D9" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_EB08AF7E64E5D4675A547AFFC35673F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_BD77D3760C3B1CDA13287AFFC3574146_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_EB08AF7E64E5D4675A547AFFC35673F8" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_BD77D3760C3B1CDA13287AFFC3574146_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_BD77D3760C3B1CDA13287AFFC3574146" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_EB08AF7E64E5D4675A547AFFC35673F8" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_BD77D3760C3B1CDA13287AFFC3574146" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_E6D619117BC4577FBAD97AFFC3572231" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_BD77D3760C3B1CDA13287AFFC3574146" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_E6D619117BC4577FBAD97AFFC3572231" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_8FD9C277BE66BDF022037AFFC357F876" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_BD77D3760C3B1CDA13287AFFC3574146" xlink:to="loc_us-gaap_ContractTerminationMember_8FD9C277BE66BDF022037AFFC357F876" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_30177CF4AE5356D78DA57AFFC35895E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_CE6505E1B3F5599B32F57AFFC35607D9" xlink:to="loc_us-gaap_RestructuringPlanAxis_30177CF4AE5356D78DA57AFFC35895E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_997CD3E08C29181E1A0C7AFFC3581E53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_30177CF4AE5356D78DA57AFFC35895E3" xlink:to="loc_us-gaap_RestructuringPlanDomain_997CD3E08C29181E1A0C7AFFC3581E53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_997CD3E08C29181E1A0C7AFFC3581E53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_30177CF4AE5356D78DA57AFFC35895E3" xlink:to="loc_us-gaap_RestructuringPlanDomain_997CD3E08C29181E1A0C7AFFC3581E53" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_D01E47242265209DA4747AFFC358CD86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_997CD3E08C29181E1A0C7AFFC3581E53" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_D01E47242265209DA4747AFFC358CD86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_C8A6FEA2FE2912EE623F7AFFC358802E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3BC39D7F417F848B88597AFFC358DF5F" xlink:to="loc_us-gaap_RestructuringReserve_C8A6FEA2FE2912EE623F7AFFC358802E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_825D5DCCF6A509DC87547AFFC359BCEC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3BC39D7F417F848B88597AFFC358DF5F" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_825D5DCCF6A509DC87547AFFC359BCEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_E16BD18E67B503E388517AFFC35944B0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3BC39D7F417F848B88597AFFC358DF5F" xlink:to="loc_us-gaap_PaymentsForRestructuring_E16BD18E67B503E388517AFFC35944B0" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_5314B8FE1774DA456DA24D1396EEC775" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9858385595FF90D7A68F4D1396EC3E01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_5314B8FE1774DA456DA24D1396EEC775" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9858385595FF90D7A68F4D1396EC3E01" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_C7E6201A770F608AF8C74D1396EC2AD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9858385595FF90D7A68F4D1396EC3E01" xlink:to="loc_us-gaap_RestructuringPlanAxis_C7E6201A770F608AF8C74D1396EC2AD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C184FF05A6B8E6733D8E4D1396EDCED4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_C7E6201A770F608AF8C74D1396EC2AD3" xlink:to="loc_us-gaap_RestructuringPlanDomain_C184FF05A6B8E6733D8E4D1396EDCED4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C184FF05A6B8E6733D8E4D1396EDCED4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_C7E6201A770F608AF8C74D1396EC2AD3" xlink:to="loc_us-gaap_RestructuringPlanDomain_C184FF05A6B8E6733D8E4D1396EDCED4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_4E1E59BF2D35A6D3A9204D1396EDEDD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C184FF05A6B8E6733D8E4D1396EDCED4" xlink:to="loc_wdc_RestructuringPlanMember_4E1E59BF2D35A6D3A9204D1396EDEDD1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_C249590B2BBF1F277D564D1396EDB249" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C184FF05A6B8E6733D8E4D1396EDCED4" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_C249590B2BBF1F277D564D1396EDB249" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_F33C0415A3E22E0A2E4B4D1396EE8EBD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C184FF05A6B8E6733D8E4D1396EDCED4" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_F33C0415A3E22E0A2E4B4D1396EE8EBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_1EE679AEC54AD1E74BCD4D1396EEF9D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_5314B8FE1774DA456DA24D1396EEC775" xlink:to="loc_us-gaap_RestructuringCharges_1EE679AEC54AD1E74BCD4D1396EEF9D5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Details" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_ACE663D0FF50398A55724D1396E8C58F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A3A157F583278A132B304D1396E68B66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_ACE663D0FF50398A55724D1396E8C58F" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A3A157F583278A132B304D1396E68B66" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_3E9300246DB7B0B3CF874D1396E69E4A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A3A157F583278A132B304D1396E68B66" xlink:to="loc_us-gaap_RestructuringPlanAxis_3E9300246DB7B0B3CF874D1396E69E4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_10F642106768D2DAA4D64D1396E6AD6B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_3E9300246DB7B0B3CF874D1396E69E4A" xlink:to="loc_us-gaap_RestructuringPlanDomain_10F642106768D2DAA4D64D1396E6AD6B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_10F642106768D2DAA4D64D1396E6AD6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_3E9300246DB7B0B3CF874D1396E69E4A" xlink:to="loc_us-gaap_RestructuringPlanDomain_10F642106768D2DAA4D64D1396E6AD6B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_CCB6A7FF5DCD2D2D3E9A4D1396E6F2E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_10F642106768D2DAA4D64D1396E6AD6B" xlink:to="loc_wdc_RestructuringPlanMember_CCB6A7FF5DCD2D2D3E9A4D1396E6F2E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_E0A9389E6CC5B0DD46844D1396E73EAD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A3A157F583278A132B304D1396E68B66" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_E0A9389E6CC5B0DD46844D1396E73EAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_A34A501766920ECFC61D4D1396E7C4BA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E0A9389E6CC5B0DD46844D1396E73EAD" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_A34A501766920ECFC61D4D1396E7C4BA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_A34A501766920ECFC61D4D1396E7C4BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E0A9389E6CC5B0DD46844D1396E73EAD" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_A34A501766920ECFC61D4D1396E7C4BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_2BCA44860961CF3072914D1396E77E55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_A34A501766920ECFC61D4D1396E7C4BA" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_2BCA44860961CF3072914D1396E77E55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_BFB2DAD78A54AE8963494D1396E77ACE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_A34A501766920ECFC61D4D1396E7C4BA" xlink:to="loc_us-gaap_ContractTerminationMember_BFB2DAD78A54AE8963494D1396E77ACE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_0DFE77C5228D9B8BCC9C4D1396E88C09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_ACE663D0FF50398A55724D1396E8C58F" xlink:to="loc_us-gaap_RestructuringReserveRollForward_0DFE77C5228D9B8BCC9C4D1396E88C09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_AC75FD0A276AC825B98E4D1396E88F27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_0DFE77C5228D9B8BCC9C4D1396E88C09" xlink:to="loc_us-gaap_RestructuringReserve_AC75FD0A276AC825B98E4D1396E88F27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_F8F302537D5E343412394D1396E885EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_0DFE77C5228D9B8BCC9C4D1396E88C09" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_F8F302537D5E343412394D1396E885EE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_7799A6CACEA92AEDAFDE4D1396F42E20" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_B62972933B72EDA432314D1396F3882F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_7799A6CACEA92AEDAFDE4D1396F42E20" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_B62972933B72EDA432314D1396F3882F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_6ACE0F38218006FB72094D1396F3355D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_B62972933B72EDA432314D1396F3882F" xlink:to="loc_us-gaap_RestructuringPlanAxis_6ACE0F38218006FB72094D1396F3355D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_60E318EA86B2CB92C6CF4D1396F38CEB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_6ACE0F38218006FB72094D1396F3355D" xlink:to="loc_us-gaap_RestructuringPlanDomain_60E318EA86B2CB92C6CF4D1396F38CEB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_60E318EA86B2CB92C6CF4D1396F38CEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_6ACE0F38218006FB72094D1396F3355D" xlink:to="loc_us-gaap_RestructuringPlanDomain_60E318EA86B2CB92C6CF4D1396F38CEB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_40D48DE0835978BF1B304D1396F46F53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_60E318EA86B2CB92C6CF4D1396F38CEB" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_40D48DE0835978BF1B304D1396F46F53" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_87393CDD590D57E1BDF74D1396F4F0ED" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_60E318EA86B2CB92C6CF4D1396F38CEB" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_87393CDD590D57E1BDF74D1396F4F0ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:label="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_25D830AFF4B92864AABF4D1396F44BC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_7799A6CACEA92AEDAFDE4D1396F42E20" xlink:to="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_25D830AFF4B92864AABF4D1396F44BC6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_52E0A9202D128E87BB454D1398623FF3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_7A235A505FAC7AC2828B4D13985E5632" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52E0A9202D128E87BB454D1398623FF3" xlink:to="loc_us-gaap_DebtInstrumentTable_7A235A505FAC7AC2828B4D13985E5632" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0C347FB62502EA388FE94D13985EB8EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7A235A505FAC7AC2828B4D13985E5632" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0C347FB62502EA388FE94D13985EB8EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7AD5A6589F1B01ECC4D14D13985FE1DE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0C347FB62502EA388FE94D13985EB8EA" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7AD5A6589F1B01ECC4D14D13985FE1DE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7AD5A6589F1B01ECC4D14D13985FE1DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0C347FB62502EA388FE94D13985EB8EA" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7AD5A6589F1B01ECC4D14D13985FE1DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_D626D85B8E66850E3B5D4D13985FC055" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7AD5A6589F1B01ECC4D14D13985FE1DE" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_D626D85B8E66850E3B5D4D13985FC055" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_EABC7FC7CE7F2BDAC2F24D13985FC54D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7A235A505FAC7AC2828B4D13985E5632" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_EABC7FC7CE7F2BDAC2F24D13985FC54D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F8EE2A82526A8878166D4D139860DB53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_EABC7FC7CE7F2BDAC2F24D13985FC54D" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F8EE2A82526A8878166D4D139860DB53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C667B6059951F40F2FB94D13985F38E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_EABC7FC7CE7F2BDAC2F24D13985FC54D" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C667B6059951F40F2FB94D13985F38E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F8EE2A82526A8878166D4D139860DB53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C667B6059951F40F2FB94D13985F38E4" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F8EE2A82526A8878166D4D139860DB53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_848951AC5C4E5AE8819D4D139860ABAF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C667B6059951F40F2FB94D13985F38E4" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_848951AC5C4E5AE8819D4D139860ABAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_D91B4783CC69004EFD9A4D139860161B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_C667B6059951F40F2FB94D13985F38E4" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_D91B4783CC69004EFD9A4D139860161B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_F01C6A14CC71DA818ABB4D139860F8FD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7A235A505FAC7AC2828B4D13985E5632" xlink:to="loc_us-gaap_DebtInstrumentAxis_F01C6A14CC71DA818ABB4D139860F8FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_F01C6A14CC71DA818ABB4D139860F8FD" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_F01C6A14CC71DA818ABB4D139860F8FD" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_E340512FFDB56259E6A44D139861D57F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_E340512FFDB56259E6A44D139861D57F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TermLoanA1Member" xlink:label="loc_wdc_TermLoanA1Member_EF0B6FA66CC56F563E504D139861CC2A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D" xlink:to="loc_wdc_TermLoanA1Member_EF0B6FA66CC56F563E504D139861CC2A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_U.S.TermLoanB4Member" xlink:label="loc_wdc_U.S.TermLoanB4Member_0EE70C8859321D8A98DF4D139861C471" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D" xlink:to="loc_wdc_U.S.TermLoanB4Member_0EE70C8859321D8A98DF4D139861C471" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember" xlink:label="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_353BEF375BEDD90B3FA84D139861C0CE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D" xlink:to="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_353BEF375BEDD90B3FA84D139861C0CE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember" xlink:label="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_3646CC699053EE56F27A4D139862D71F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E783299D48536F451D854D139860770D" xlink:to="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_3646CC699053EE56F27A4D139862D71F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_3EEED12ECBEDCD1E27A84D139862288C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52E0A9202D128E87BB454D1398623FF3" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_3EEED12ECBEDCD1E27A84D139862288C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_ABADF86A8190FCDC3B794D1398627458" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52E0A9202D128E87BB454D1398623FF3" xlink:to="loc_us-gaap_LongTermDebtFairValue_ABADF86A8190FCDC3B794D1398627458" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FDAD4C641122A1ED46E14D139870F8E0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BE089D6032B595301E2A4D13986A753B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FDAD4C641122A1ED46E14D139870F8E0" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BE089D6032B595301E2A4D13986A753B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BBB9240EAB7EEFE741614D13986B4B2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BE089D6032B595301E2A4D13986A753B" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BBB9240EAB7EEFE741614D13986B4B2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_C6E7DB6FA4252BBAC4C34D13986B190A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BBB9240EAB7EEFE741614D13986B4B2C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_C6E7DB6FA4252BBAC4C34D13986B190A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_C6E7DB6FA4252BBAC4C34D13986B190A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BBB9240EAB7EEFE741614D13986B4B2C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_C6E7DB6FA4252BBAC4C34D13986B190A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_C7317EA7AC73D01EAE7F4D13986BF5D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_C6E7DB6FA4252BBAC4C34D13986B190A" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_C7317EA7AC73D01EAE7F4D13986BF5D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_138C31C9F9791AADF7614D13986C803C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BE089D6032B595301E2A4D13986A753B" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_138C31C9F9791AADF7614D13986C803C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_138C31C9F9791AADF7614D13986C803C" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_138C31C9F9791AADF7614D13986C803C" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_D963BAFEC44EACF3ABBA4D13986CBF73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_MoneyMarketFundsMember_D963BAFEC44EACF3ABBA4D13986CBF73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_F84E7BE8A79A76FEC9934D13986C8D70" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_CertificatesOfDepositMember_F84E7BE8A79A76FEC9934D13986C8D70" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_CorporatenoteandbondsecuritiesMember" xlink:label="loc_wdc_CorporatenoteandbondsecuritiesMember_0F5033DB72E4039740D24D13986D7F45" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_wdc_CorporatenoteandbondsecuritiesMember_0F5033DB72E4039740D24D13986D7F45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_06B0C792EDA4FB501E754D13986D9E65" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_06B0C792EDA4FB501E754D13986D9E65" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_MunicipalNotesAndBondsMember" xlink:label="loc_wdc_MunicipalNotesAndBondsMember_57E7F27852200480786B4D13986D441E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_wdc_MunicipalNotesAndBondsMember_57E7F27852200480786B4D13986D441E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_AE2215E6F8606591D5C74D13986DB9D3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_EquitySecuritiesMember_AE2215E6F8606591D5C74D13986DB9D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_CD664AFD6E9A88DF1C854D13986EF6C3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_CD664AFD6E9A88DF1C854D13986EF6C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_8E4B824BFDE7F53D8F3C4D13986E93CC" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_8E4B824BFDE7F53D8F3C4D13986E93CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_8F48757712FAF93E09124D13986EA7B6" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_8F48757712FAF93E09124D13986EA7B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_82E3EADBE75A3D92E3E24D13986E670C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_ForeignExchangeContractMember_82E3EADBE75A3D92E3E24D13986E670C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_E52F6DDFF5E92EF801BD4D13986E2B9B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_8F5CC230E28E39EF34404D13986C233D" xlink:to="loc_us-gaap_InterestRateSwapMember_E52F6DDFF5E92EF801BD4D13986E2B9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_900C570087576AE949CA4D13986FB77C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BE089D6032B595301E2A4D13986A753B" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_900C570087576AE949CA4D13986FB77C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FD9993DCDA7A07E878E54D13986F142E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_900C570087576AE949CA4D13986FB77C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FD9993DCDA7A07E878E54D13986F142E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FD9993DCDA7A07E878E54D13986F142E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_900C570087576AE949CA4D13986FB77C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FD9993DCDA7A07E878E54D13986F142E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_5680660FF8DB3F5D5F454D13986FC302" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FD9993DCDA7A07E878E54D13986F142E" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_5680660FF8DB3F5D5F454D13986FC302" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_764266A31A2ED459F9ED4D13986F5043" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FD9993DCDA7A07E878E54D13986F142E" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_764266A31A2ED459F9ED4D13986F5043" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_890B548C9DF391843EBA4D13986F76EF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FD9993DCDA7A07E878E54D13986F142E" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_890B548C9DF391843EBA4D13986F76EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_EDCE14078EB692F335124D139870EFB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FDAD4C641122A1ED46E14D139870F8E0" xlink:to="loc_us-gaap_AssetsAbstract_EDCE14078EB692F335124D139870EFB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_CBD70C269153B3AB9E5D4D1398703F33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_EDCE14078EB692F335124D139870EFB8" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_CBD70C269153B3AB9E5D4D1398703F33" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ShorttermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_ShorttermInvestmentsFairValueDisclosure_E549326B61E8861D7C9F4D1398714813" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_EDCE14078EB692F335124D139870EFB8" xlink:to="loc_wdc_ShorttermInvestmentsFairValueDisclosure_E549326B61E8861D7C9F4D1398714813" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_LongtermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_LongtermInvestmentsFairValueDisclosure_51469BD277880C7C1BF54D1398718430" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_EDCE14078EB692F335124D139870EFB8" xlink:to="loc_wdc_LongtermInvestmentsFairValueDisclosure_51469BD277880C7C1BF54D1398718430" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_F24A80756B52784B0CD14D13987133E1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_EDCE14078EB692F335124D139870EFB8" xlink:to="loc_us-gaap_DerivativeAssets_F24A80756B52784B0CD14D13987133E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_BE09F237ABB33287F0934D139871A64B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_EDCE14078EB692F335124D139870EFB8" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_BE09F237ABB33287F0934D139871A64B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_8BF8AEB64918D9873F504D139871C1EB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FDAD4C641122A1ED46E14D139870F8E0" xlink:to="loc_us-gaap_LiabilitiesAbstract_8BF8AEB64918D9873F504D139871C1EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_48BBC43B931AB1245A724D139871C7D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8BF8AEB64918D9873F504D139871C1EB" xlink:to="loc_us-gaap_DerivativeLiabilities_48BBC43B931AB1245A724D139871C7D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_713A23058A959E2BB2614D1398729352" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8BF8AEB64918D9873F504D139871C1EB" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_713A23058A959E2BB2614D1398729352" 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/IncomeTaxExpenseBenefitAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20181228.xsd#wdc_IncomeTaxDisclosureLineItems" xlink:label="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:type="locator" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_IncomeTaxDisclosureTable" xlink:label="loc_wdc_IncomeTaxDisclosureTable_89BBB15183284ABD99A2ABDE2251CB70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_IncomeTaxDisclosureTable_89BBB15183284ABD99A2ABDE2251CB70" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_DAD8B5621111BF015FECABF9862CAE98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_89BBB15183284ABD99A2ABDE2251CB70" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_DAD8B5621111BF015FECABF9862CAE98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_52AE1CED10B10E310A62ABF986468067_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_DAD8B5621111BF015FECABF9862CAE98" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_52AE1CED10B10E310A62ABF986468067_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_52AE1CED10B10E310A62ABF986468067" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_DAD8B5621111BF015FECABF9862CAE98" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_52AE1CED10B10E310A62ABF986468067" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_E0C8BB9B602F9B9ED091ABDE22555E59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_52AE1CED10B10E310A62ABF986468067" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_E0C8BB9B602F9B9ED091ABDE22555E59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_07BE226F9F25211950ADABDE2252121E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_89BBB15183284ABD99A2ABDE2251CB70" xlink:to="loc_us-gaap_TaxPeriodAxis_07BE226F9F25211950ADABDE2252121E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_9C75660CA952F93F8B76ABDE22526E2F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxPeriodAxis_07BE226F9F25211950ADABDE2252121E" xlink:to="loc_us-gaap_TaxPeriodDomain_9C75660CA952F93F8B76ABDE22526E2F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_9C75660CA952F93F8B76ABDE22526E2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxPeriodAxis_07BE226F9F25211950ADABDE2252121E" xlink:to="loc_us-gaap_TaxPeriodDomain_9C75660CA952F93F8B76ABDE22526E2F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxYear2008Through2009Member" xlink:label="loc_wdc_TaxYear2008Through2009Member_7CBCBB74A4B521B73F63ABDE22524231" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_9C75660CA952F93F8B76ABDE22526E2F" xlink:to="loc_wdc_TaxYear2008Through2009Member_7CBCBB74A4B521B73F63ABDE22524231" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxYears2010Through2012Member" xlink:label="loc_wdc_TaxYears2010Through2012Member_E525EEE9614F7CC663CCABDE2252D097" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_9C75660CA952F93F8B76ABDE22526E2F" xlink:to="loc_wdc_TaxYears2010Through2012Member_E525EEE9614F7CC663CCABDE2252D097" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_F3CE19A74D58E2A93991ABDE225317D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_89BBB15183284ABD99A2ABDE2251CB70" xlink:to="loc_srt_RangeAxis_F3CE19A74D58E2A93991ABDE225317D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_D838CA0C95BFBC0612A3ABDE22530822_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_F3CE19A74D58E2A93991ABDE225317D3" xlink:to="loc_srt_RangeMember_D838CA0C95BFBC0612A3ABDE22530822_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_D838CA0C95BFBC0612A3ABDE22530822" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_F3CE19A74D58E2A93991ABDE225317D3" xlink:to="loc_srt_RangeMember_D838CA0C95BFBC0612A3ABDE22530822" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_F291ADD2CDB719D43008ABDE2253C3C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_D838CA0C95BFBC0612A3ABDE22530822" xlink:to="loc_srt_MaximumMember_F291ADD2CDB719D43008ABDE2253C3C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_DC87DED863844B5E3737ABDE2253F20C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_D838CA0C95BFBC0612A3ABDE22530822" xlink:to="loc_srt_MinimumMember_DC87DED863844B5E3737ABDE2253F20C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_4A39CB1D6B1A198DEAB9ABDE225410E2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_89BBB15183284ABD99A2ABDE2251CB70" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_4A39CB1D6B1A198DEAB9ABDE225410E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_37C8CB367D385D44A989ABDE2254F404_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_4A39CB1D6B1A198DEAB9ABDE225410E2" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_37C8CB367D385D44A989ABDE2254F404_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_37C8CB367D385D44A989ABDE2254F404" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_4A39CB1D6B1A198DEAB9ABDE225410E2" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_37C8CB367D385D44A989ABDE2254F404" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_977483E8A16EDFD45B0BABDE22544ECD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_37C8CB367D385D44A989ABDE2254F404" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_977483E8A16EDFD45B0BABDE22544ECD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_CB17466C4B26AD5C9430ABDE2255E908" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_CB17466C4B26AD5C9430ABDE2255E908" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse" xlink:label="loc_wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse_A6337D319AF837C4EAADABDE2255A393" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse_A6337D319AF837C4EAADABDE2255A393" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse" xlink:label="loc_wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse_4E6ACA464FFA6F7F78F1ABDE22554F17" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse_4E6ACA464FFA6F7F78F1ABDE22554F17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_9044406A1EE45744E388ABDE2257AB26" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_9044406A1EE45744E388ABDE2257AB26" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount_81248F55C847E4C9AB83ABDE2257F77E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount_81248F55C847E4C9AB83ABDE2257F77E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EffectiveIncomeTaxRateReconciliationExcludingTaxCutsAndJobsActOf2017ItemsPercent" xlink:label="loc_wdc_EffectiveIncomeTaxRateReconciliationExcludingTaxCutsAndJobsActOf2017ItemsPercent_E3CE1D98A1A445065A44ABDE2257B3BB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_EffectiveIncomeTaxRateReconciliationExcludingTaxCutsAndJobsActOf2017ItemsPercent_E3CE1D98A1A445065A44ABDE2257B3BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_970D29CC32471D3F3F26ABDE22580FC8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_970D29CC32471D3F3F26ABDE22580FC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_92EA8EBE235661E4799CABDE2258C540" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_92EA8EBE235661E4799CABDE2258C540" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EffectiveIncomeTaxRateReconciliationOtherSpecifiedAssetsPercent" xlink:label="loc_wdc_EffectiveIncomeTaxRateReconciliationOtherSpecifiedAssetsPercent_598FBEC8630E1975FA6CABDE22589713" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_EffectiveIncomeTaxRateReconciliationOtherSpecifiedAssetsPercent_598FBEC8630E1975FA6CABDE22589713" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncreaseDecrease" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncreaseDecrease_A04D686D3EF156E1AE0EABDE2258B509" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncreaseDecrease_A04D686D3EF156E1AE0EABDE2258B509" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxCutsandJobsActof2017ChangeinTaxRateDeferredTaxAssetIncomeTaxExpenseBenefit" xlink:label="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateDeferredTaxAssetIncomeTaxExpenseBenefit_9B121BA36BECA6D6C970ABDE2258714B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateDeferredTaxAssetIncomeTaxExpenseBenefit_9B121BA36BECA6D6C970ABDE2258714B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxCutsandJobsActof2017IncompleteAccountingChangeinTaxRateDeferredTaxesProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_wdc_TaxCutsandJobsActof2017IncompleteAccountingChangeinTaxRateDeferredTaxesProvisionalIncomeTaxExpenseBenefit_92F511406AF8B6C38E71ABDE225899FD" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_TaxCutsandJobsActof2017IncompleteAccountingChangeinTaxRateDeferredTaxesProvisionalIncomeTaxExpenseBenefit_92F511406AF8B6C38E71ABDE225899FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_5AEE412104618185C74FABDE2259EEC6" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_5AEE412104618185C74FABDE2259EEC6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_60FF342EC60C80F2D352ABDE225930B2" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_60FF342EC60C80F2D352ABDE225930B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_26CC01AAC734A1FDAE7BABDE22596C18" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_26CC01AAC734A1FDAE7BABDE22596C18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_47BCD467A6E19B1C2F71ABDE2259F005" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_47BCD467A6E19B1C2F71ABDE2259F005" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_1CC5DFAB8F0FED741A46ABDE2259C962" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_1CC5DFAB8F0FED741A46ABDE2259C962" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings" xlink:label="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_FE0B5DFCF97224A723ECABDE2259B1A2" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_FE0B5DFCF97224A723ECABDE2259B1A2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EffectiveIncomeTaxRateReconciliationChangeInIndefiniteReinvestmentAssertionAmount" xlink:label="loc_wdc_EffectiveIncomeTaxRateReconciliationChangeInIndefiniteReinvestmentAssertionAmount_AA4D6A5C976E19FB81F9ABDE225A6A7F" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_EffectiveIncomeTaxRateReconciliationChangeInIndefiniteReinvestmentAssertionAmount_AA4D6A5C976E19FB81F9ABDE225A6A7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_EECDF400F1844E7135CEABDE225A2D28" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_EECDF400F1844E7135CEABDE225A2D28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_4CC958BCE56737A97AFEABDE225AB972" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_4CC958BCE56737A97AFEABDE225AB972" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_E2161FAD6D79E2185355ABDE225A7C1F" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_E2161FAD6D79E2185355ABDE225A7C1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss" xlink:label="loc_us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss_9618CC7A368CDD98E24FABDE225A2920" xlink:type="locator" />
    <link:definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_us-gaap_IncomeTaxExaminationEstimateOfPossibleLoss_9618CC7A368CDD98E24FABDE225A2920" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_IncomeTaxExaminationEstimateofPossibleLossResultingFromTransferPricingAdjustments" xlink:label="loc_wdc_IncomeTaxExaminationEstimateofPossibleLossResultingFromTransferPricingAdjustments_C91274CD0A744686941FABDE225ADB3A" xlink:type="locator" />
    <link:definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_877278FEE4104AE5C4DBABDE225532CD" xlink:to="loc_wdc_IncomeTaxExaminationEstimateofPossibleLossResultingFromTransferPricingAdjustments_C91274CD0A744686941FABDE225ADB3A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefitNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefitTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefitTaxProvisionDetails" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_C53DCCACDF0F4BE823EA4D1396BA91B8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_909C3CCA865B7501B97D4D1396B73DF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_C53DCCACDF0F4BE823EA4D1396BA91B8" xlink:to="loc_us-gaap_LossContingenciesTable_909C3CCA865B7501B97D4D1396B73DF4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_LitigationCaseAxis" xlink:label="loc_srt_LitigationCaseAxis_562A9DFB5BCB193C55264D1396B7E136" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_909C3CCA865B7501B97D4D1396B73DF4" xlink:to="loc_srt_LitigationCaseAxis_562A9DFB5BCB193C55264D1396B7E136" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_LitigationCaseTypeDomain" xlink:label="loc_srt_LitigationCaseTypeDomain_F2E0D50F988254711CEA4D1396B7EA06_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_562A9DFB5BCB193C55264D1396B7E136" xlink:to="loc_srt_LitigationCaseTypeDomain_F2E0D50F988254711CEA4D1396B7EA06_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_LitigationCaseTypeDomain" xlink:label="loc_srt_LitigationCaseTypeDomain_F2E0D50F988254711CEA4D1396B7EA06" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_562A9DFB5BCB193C55264D1396B7E136" xlink:to="loc_srt_LitigationCaseTypeDomain_F2E0D50F988254711CEA4D1396B7EA06" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember" xlink:label="loc_wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember_D1C35DA46F3C104D9A924D1396B8BEBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_F2E0D50F988254711CEA4D1396B7EA06" xlink:to="loc_wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember_D1C35DA46F3C104D9A924D1396B8BEBE" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_D842879CCDA373A7E5134D1396B8B160" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_909C3CCA865B7501B97D4D1396B73DF4" xlink:to="loc_dei_LegalEntityAxis_D842879CCDA373A7E5134D1396B8B160" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_7FF2B1155AD65C5BBCCE4D1396B8FCFD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_D842879CCDA373A7E5134D1396B8B160" xlink:to="loc_dei_EntityDomain_7FF2B1155AD65C5BBCCE4D1396B8FCFD_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_7FF2B1155AD65C5BBCCE4D1396B8FCFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_D842879CCDA373A7E5134D1396B8B160" xlink:to="loc_dei_EntityDomain_7FF2B1155AD65C5BBCCE4D1396B8FCFD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_59A3074F895380F1771F4D1396B84B87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_7FF2B1155AD65C5BBCCE4D1396B8FCFD" xlink:to="loc_wdc_SanDiskMember_59A3074F895380F1771F4D1396B84B87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LitigationStatusAxis" xlink:label="loc_us-gaap_LitigationStatusAxis_E2C05E1744228E4654F04D1396B98B49" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_909C3CCA865B7501B97D4D1396B73DF4" xlink:to="loc_us-gaap_LitigationStatusAxis_E2C05E1744228E4654F04D1396B98B49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_71F312AAB5BA6F89BD264D1396B9B11E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationStatusAxis_E2C05E1744228E4654F04D1396B98B49" xlink:to="loc_us-gaap_LitigationStatusDomain_71F312AAB5BA6F89BD264D1396B9B11E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_71F312AAB5BA6F89BD264D1396B9B11E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationStatusAxis_E2C05E1744228E4654F04D1396B98B49" xlink:to="loc_us-gaap_LitigationStatusDomain_71F312AAB5BA6F89BD264D1396B9B11E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PendingLitigationMember" xlink:label="loc_us-gaap_PendingLitigationMember_0010A946501ECB1326D84D1396B9CCFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationStatusDomain_71F312AAB5BA6F89BD264D1396B9B11E" xlink:to="loc_us-gaap_PendingLitigationMember_0010A946501ECB1326D84D1396B9CCFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_025F78A8450F40A609734D1396B92CAE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_909C3CCA865B7501B97D4D1396B73DF4" xlink:to="loc_srt_RangeAxis_025F78A8450F40A609734D1396B92CAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_75907EFA3B344437D8E54D1396B9033A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_025F78A8450F40A609734D1396B92CAE" xlink:to="loc_srt_RangeMember_75907EFA3B344437D8E54D1396B9033A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_75907EFA3B344437D8E54D1396B9033A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_025F78A8450F40A609734D1396B92CAE" xlink:to="loc_srt_RangeMember_75907EFA3B344437D8E54D1396B9033A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_6A56CE3DF8510FB03F274D1396BAB780" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_75907EFA3B344437D8E54D1396B9033A" xlink:to="loc_srt_MaximumMember_6A56CE3DF8510FB03F274D1396BAB780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyClaimsDismissedNumber" xlink:label="loc_us-gaap_LossContingencyClaimsDismissedNumber_85143BB23EF42FF4032F4D1396BA33D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_C53DCCACDF0F4BE823EA4D1396BA91B8" xlink:to="loc_us-gaap_LossContingencyClaimsDismissedNumber_85143BB23EF42FF4032F4D1396BA33D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyNumberOfPlaintiffs" xlink:label="loc_us-gaap_LossContingencyNumberOfPlaintiffs_4D10CE3FDF925B35E5DA4D1396BA1DE8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_C53DCCACDF0F4BE823EA4D1396BA91B8" xlink:to="loc_us-gaap_LossContingencyNumberOfPlaintiffs_4D10CE3FDF925B35E5DA4D1396BA1DE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyNewClaimsFiledNumber" xlink:label="loc_us-gaap_LossContingencyNewClaimsFiledNumber_8AB0B07E45B4199B1B044D1396BBB505" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_C53DCCACDF0F4BE823EA4D1396BA91B8" xlink:to="loc_us-gaap_LossContingencyNewClaimsFiledNumber_8AB0B07E45B4199B1B044D1396BBB505" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyPendingClaimsNumber" xlink:label="loc_us-gaap_LossContingencyPendingClaimsNumber_0D7B788160FF1FFE89A34D1396BBDCEF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_C53DCCACDF0F4BE823EA4D1396BA91B8" xlink:to="loc_us-gaap_LossContingencyPendingClaimsNumber_0D7B788160FF1FFE89A34D1396BBDCEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice_4D41EF41F3A30262DF264D1396BB05DD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_C53DCCACDF0F4BE823EA4D1396BA91B8" xlink:to="loc_us-gaap_SharePrice_4D41EF41F3A30262DF264D1396BB05DD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedingsNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShareAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShareNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" 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/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="extended" />
  <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:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_13FE8BE28A0EE4E9C99F4D1398DCCA7A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C6CAA0A98676FA99B1724D1398D988CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_13FE8BE28A0EE4E9C99F4D1398DCCA7A" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C6CAA0A98676FA99B1724D1398D988CA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_FF73847C2B4B45FBEA154D1398DA7F59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C6CAA0A98676FA99B1724D1398D988CA" xlink:to="loc_us-gaap_StatementScenarioAxis_FF73847C2B4B45FBEA154D1398DA7F59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_BD9B3912DE28C1FDA3CF4D1398DA7374_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_FF73847C2B4B45FBEA154D1398DA7F59" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_BD9B3912DE28C1FDA3CF4D1398DA7374_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_BD9B3912DE28C1FDA3CF4D1398DA7374" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_FF73847C2B4B45FBEA154D1398DA7F59" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_BD9B3912DE28C1FDA3CF4D1398DA7374" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProFormaMember" xlink:label="loc_us-gaap_ProFormaMember_17B1C1D9347BF3436F2C4D1398DA35B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_BD9B3912DE28C1FDA3CF4D1398DA7374" xlink:to="loc_us-gaap_ProFormaMember_17B1C1D9347BF3436F2C4D1398DA35B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_9CA93E7DE7BB6C996FC54D1398DA0158" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C6CAA0A98676FA99B1724D1398D988CA" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_9CA93E7DE7BB6C996FC54D1398DA0158" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_D0DE2AEFD7EEA25EE96B4D1398DA7F4C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_9CA93E7DE7BB6C996FC54D1398DA0158" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_D0DE2AEFD7EEA25EE96B4D1398DA7F4C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_D0DE2AEFD7EEA25EE96B4D1398DA7F4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_9CA93E7DE7BB6C996FC54D1398DA0158" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_D0DE2AEFD7EEA25EE96B4D1398DA7F4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_BFE3627C83C5A5EBE89D4D1398DB907B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_D0DE2AEFD7EEA25EE96B4D1398DA7F4C" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_BFE3627C83C5A5EBE89D4D1398DB907B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_F0B2941150AAD50978664D1398DB1460" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C6CAA0A98676FA99B1724D1398D988CA" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_F0B2941150AAD50978664D1398DB1460" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_E1461930324E9D2FCFB44D1398DB736C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_F0B2941150AAD50978664D1398DB1460" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E1461930324E9D2FCFB44D1398DB736C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_E1461930324E9D2FCFB44D1398DB736C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_F0B2941150AAD50978664D1398DB1460" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E1461930324E9D2FCFB44D1398DB736C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_BAD2EE06B9D8855474234D1398DBB1BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_E1461930324E9D2FCFB44D1398DB736C" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_BAD2EE06B9D8855474234D1398DBB1BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_306774203231F920AC954D1398DC5C23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_13FE8BE28A0EE4E9C99F4D1398DCCA7A" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_306774203231F920AC954D1398DC5C23" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsNotes" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_708ECF9B99A1160A01DB532FB0DCF871" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_CD591332E996AC59CE00532FB0D952EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_708ECF9B99A1160A01DB532FB0DCF871" xlink:to="loc_us-gaap_ConcentrationRiskTable_CD591332E996AC59CE00532FB0D952EF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_4867934B697DAE325F9E532FB0DA2F69" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_CD591332E996AC59CE00532FB0D952EF" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_4867934B697DAE325F9E532FB0DA2F69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2E289149B80230828239532FB0DA9B28_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_4867934B697DAE325F9E532FB0DA2F69" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2E289149B80230828239532FB0DA9B28_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2E289149B80230828239532FB0DA9B28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_4867934B697DAE325F9E532FB0DA2F69" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2E289149B80230828239532FB0DA9B28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_F23F03AEFE8284C2730E532FB0DAF63E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_2E289149B80230828239532FB0DA9B28" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_F23F03AEFE8284C2730E532FB0DAF63E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_24115D175AAD1440537A532FB0DA37C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_CD591332E996AC59CE00532FB0D952EF" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_24115D175AAD1440537A532FB0DA37C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_D03E303609AF1510F199532FB0DB7C65_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_24115D175AAD1440537A532FB0DA37C2" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_D03E303609AF1510F199532FB0DB7C65_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_D03E303609AF1510F199532FB0DB7C65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_24115D175AAD1440537A532FB0DA37C2" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_D03E303609AF1510F199532FB0DB7C65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_1B64922931C031841C19532FB0DBCF07" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_D03E303609AF1510F199532FB0DB7C65" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_1B64922931C031841C19532FB0DBCF07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MajorCustomersAxis" xlink:label="loc_srt_MajorCustomersAxis_3D541043E40B77DF9624532FB0DB867D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_CD591332E996AC59CE00532FB0D952EF" xlink:to="loc_srt_MajorCustomersAxis_3D541043E40B77DF9624532FB0DB867D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srt_NameOfMajorCustomerDomain_30621FEEBDE9EAAC0D4B532FB0DBE3D0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_3D541043E40B77DF9624532FB0DB867D" xlink:to="loc_srt_NameOfMajorCustomerDomain_30621FEEBDE9EAAC0D4B532FB0DBE3D0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srt_NameOfMajorCustomerDomain_30621FEEBDE9EAAC0D4B532FB0DBE3D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_3D541043E40B77DF9624532FB0DB867D" xlink:to="loc_srt_NameOfMajorCustomerDomain_30621FEEBDE9EAAC0D4B532FB0DBE3D0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TopTenCustomersMember" xlink:label="loc_wdc_TopTenCustomersMember_7255A1F3F4CC92E07E76532FB0DB0362" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_30621FEEBDE9EAAC0D4B532FB0DBE3D0" xlink:to="loc_wdc_TopTenCustomersMember_7255A1F3F4CC92E07E76532FB0DB0362" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_A09BEAC1FC507BA90566532FB0DC4F1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_708ECF9B99A1160A01DB532FB0DCF871" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_A09BEAC1FC507BA90566532FB0DC4F1A" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_EE99192A76C6C97B929C4D1398BF1EBF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_EED3B8C70604E1371C3C4D1398BA88F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_EE99192A76C6C97B929C4D1398BF1EBF" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_EED3B8C70604E1371C3C4D1398BA88F8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FormFactorAxis" xlink:label="loc_wdc_FormFactorAxis_59975F065463958B4CF54D1398BB6ED3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_EED3B8C70604E1371C3C4D1398BA88F8" xlink:to="loc_wdc_FormFactorAxis_59975F065463958B4CF54D1398BB6ED3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FormFactorDomain" xlink:label="loc_wdc_FormFactorDomain_26821A1CCEB4CEBE5EB34D1398BBA761_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_FormFactorAxis_59975F065463958B4CF54D1398BB6ED3" xlink:to="loc_wdc_FormFactorDomain_26821A1CCEB4CEBE5EB34D1398BBA761_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FormFactorDomain" xlink:label="loc_wdc_FormFactorDomain_26821A1CCEB4CEBE5EB34D1398BBA761" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_FormFactorAxis_59975F065463958B4CF54D1398BB6ED3" xlink:to="loc_wdc_FormFactorDomain_26821A1CCEB4CEBE5EB34D1398BBA761" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_HDDMember" xlink:label="loc_wdc_HDDMember_0CBC878377BBBDA6547E4D1398BB0D5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FormFactorDomain_26821A1CCEB4CEBE5EB34D1398BBA761" xlink:to="loc_wdc_HDDMember_0CBC878377BBBDA6547E4D1398BB0D5D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_FlashbasedMember" xlink:label="loc_wdc_FlashbasedMember_3EACA1711C24820C9A234D1398BC0C0C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FormFactorDomain_26821A1CCEB4CEBE5EB34D1398BBA761" xlink:to="loc_wdc_FlashbasedMember_3EACA1711C24820C9A234D1398BC0C0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CC6A47DD861536AD728E4D1398BCCAB7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_EED3B8C70604E1371C3C4D1398BA88F8" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CC6A47DD861536AD728E4D1398BCCAB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_749872B14EFEA0B7BD9F4D1398BC4CB7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CC6A47DD861536AD728E4D1398BCCAB7" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_749872B14EFEA0B7BD9F4D1398BC4CB7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_749872B14EFEA0B7BD9F4D1398BC4CB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CC6A47DD861536AD728E4D1398BCCAB7" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_749872B14EFEA0B7BD9F4D1398BC4CB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_3F8C9ED68A7977620CF14D1398BC5E42" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_749872B14EFEA0B7BD9F4D1398BC4CB7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_3F8C9ED68A7977620CF14D1398BC5E42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_125B045D5856FC9EA1E04D1398BC1BE6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_EED3B8C70604E1371C3C4D1398BA88F8" xlink:to="loc_srt_StatementGeographicalAxis_125B045D5856FC9EA1E04D1398BC1BE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_F3A9A12192FE533BCC654D1398BDB61E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_125B045D5856FC9EA1E04D1398BC1BE6" xlink:to="loc_srt_SegmentGeographicalDomain_F3A9A12192FE533BCC654D1398BDB61E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_F3A9A12192FE533BCC654D1398BDB61E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_125B045D5856FC9EA1E04D1398BC1BE6" xlink:to="loc_srt_SegmentGeographicalDomain_F3A9A12192FE533BCC654D1398BDB61E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AmericasMember" xlink:label="loc_srt_AmericasMember_794ACAE8DAE94DF2EC564D1398BDD22F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_F3A9A12192FE533BCC654D1398BDB61E" xlink:to="loc_srt_AmericasMember_794ACAE8DAE94DF2EC564D1398BDD22F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EuropeMiddleEastAndAfricaMember" xlink:label="loc_wdc_EuropeMiddleEastAndAfricaMember_B2273E10128341AB5FB34D1398BDB770" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_F3A9A12192FE533BCC654D1398BDB61E" xlink:to="loc_wdc_EuropeMiddleEastAndAfricaMember_B2273E10128341AB5FB34D1398BDB770" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AsiaMember" xlink:label="loc_srt_AsiaMember_91EE263EC4CE14FAD7AD4D1398BD0E93" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_F3A9A12192FE533BCC654D1398BDB61E" xlink:to="loc_srt_AsiaMember_91EE263EC4CE14FAD7AD4D1398BD0E93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_0E3FC133DED3B2C94FB64D1398BD5072" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_EED3B8C70604E1371C3C4D1398BA88F8" xlink:to="loc_srt_ProductOrServiceAxis_0E3FC133DED3B2C94FB64D1398BD5072" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_D1FFED7C079E1A7B55D24D1398BEC784_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_0E3FC133DED3B2C94FB64D1398BD5072" xlink:to="loc_srt_ProductsAndServicesDomain_D1FFED7C079E1A7B55D24D1398BEC784_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_D1FFED7C079E1A7B55D24D1398BEC784" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_0E3FC133DED3B2C94FB64D1398BD5072" xlink:to="loc_srt_ProductsAndServicesDomain_D1FFED7C079E1A7B55D24D1398BEC784" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ClientDevicesMember" xlink:label="loc_wdc_ClientDevicesMember_497198732A2CBE563E844D1398BE4622" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_D1FFED7C079E1A7B55D24D1398BEC784" xlink:to="loc_wdc_ClientDevicesMember_497198732A2CBE563E844D1398BE4622" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_DataCenterDevicesSolutionsMember" xlink:label="loc_wdc_DataCenterDevicesSolutionsMember_59EDF3A90DC0E844B8914D1398BE20E1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_D1FFED7C079E1A7B55D24D1398BEC784" xlink:to="loc_wdc_DataCenterDevicesSolutionsMember_59EDF3A90DC0E844B8914D1398BE20E1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ClientSolutionsMember" xlink:label="loc_wdc_ClientSolutionsMember_92889263DF4E1A89CC064D1398BEE7CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_D1FFED7C079E1A7B55D24D1398BEC784" xlink:to="loc_wdc_ClientSolutionsMember_92889263DF4E1A89CC064D1398BEE7CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_03CAC50C6E80394F41E64D1398BFC53A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_EE99192A76C6C97B929C4D1398BF1EBF" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_03CAC50C6E80394F41E64D1398BFC53A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_93DACD1B11A9CABE23FF4D1398BF76B7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_EE99192A76C6C97B929C4D1398BF1EBF" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_93DACD1B11A9CABE23FF4D1398BF76B7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RevenuesNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_FB36E38978737F78C1A14D60DEEE1867" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_CC081616EC7A80FAC6394D60DEEE6634" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_FB36E38978737F78C1A14D60DEEE1867" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_CC081616EC7A80FAC6394D60DEEE6634" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_2AFBFCA88007EDAA66904D60DEEE24CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_CC081616EC7A80FAC6394D60DEEE6634" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_2AFBFCA88007EDAA66904D60DEEE24CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_5D020F17A3C960C528DE4D60DEEE9AA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_FB36E38978737F78C1A14D60DEEE1867" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_5D020F17A3C960C528DE4D60DEEE9AA8" 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/SeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_871CE23D59F602C1739294E54E1DC586" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedBalanceSheetStatementTable" xlink:label="loc_srt_CondensedBalanceSheetStatementTable_96E5308BA7B13869F87B94E54E1B3DB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_871CE23D59F602C1739294E54E1DC586" xlink:to="loc_srt_CondensedBalanceSheetStatementTable_96E5308BA7B13869F87B94E54E1B3DB9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_DF352E9FD8BEE546F6ED94E54E1BF507" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_96E5308BA7B13869F87B94E54E1B3DB9" xlink:to="loc_srt_ConsolidationItemsAxis_DF352E9FD8BEE546F6ED94E54E1BF507" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_C2E7408AC4909E58A2AF94E54E1CA296_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_DF352E9FD8BEE546F6ED94E54E1BF507" xlink:to="loc_srt_ConsolidationItemsDomain_C2E7408AC4909E58A2AF94E54E1CA296_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_C2E7408AC4909E58A2AF94E54E1CA296" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_DF352E9FD8BEE546F6ED94E54E1BF507" xlink:to="loc_srt_ConsolidationItemsDomain_C2E7408AC4909E58A2AF94E54E1CA296" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_D16E0660DE631A920ECE94E54E1C9E40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_C2E7408AC4909E58A2AF94E54E1CA296" xlink:to="loc_srt_ConsolidationEliminationsMember_D16E0660DE631A920ECE94E54E1C9E40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_909B0A227E184A66368894E54E1CB323" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedBalanceSheetStatementTable_96E5308BA7B13869F87B94E54E1B3DB9" xlink:to="loc_srt_ConsolidatedEntitiesAxis_909B0A227E184A66368894E54E1CB323" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_075466A4B320141CB98594E54E1CBB2A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_909B0A227E184A66368894E54E1CB323" xlink:to="loc_srt_ConsolidatedEntitiesDomain_075466A4B320141CB98594E54E1CBB2A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_075466A4B320141CB98594E54E1CBB2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_909B0A227E184A66368894E54E1CB323" xlink:to="loc_srt_ConsolidatedEntitiesDomain_075466A4B320141CB98594E54E1CBB2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_9424494485D144F3BD0994E54E1D17B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_075466A4B320141CB98594E54E1CBB2A" xlink:to="loc_srt_ParentCompanyMember_9424494485D144F3BD0994E54E1D17B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_EAE753F029C13087144494E54E1DF451" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_075466A4B320141CB98594E54E1CBB2A" xlink:to="loc_srt_GuarantorSubsidiariesMember_EAE753F029C13087144494E54E1DF451" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_6EFFC298B80FF6FB454394E54E1D676B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_075466A4B320141CB98594E54E1CBB2A" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_6EFFC298B80FF6FB454394E54E1D676B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_C4998E81C9724315C71594E54E1D838F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_871CE23D59F602C1739294E54E1DC586" xlink:to="loc_us-gaap_AssetsAbstract_C4998E81C9724315C71594E54E1D838F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_C4998E81C9724315C71594E54E1D838F" xlink:to="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ECF98677C8A41A47F7C594E54E1DC62D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ECF98677C8A41A47F7C594E54E1DC62D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_EDCB7CD48ECBA0E03D7E94E54E1D2A44" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_EDCB7CD48ECBA0E03D7E94E54E1D2A44" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_IntercompanyReceivableNetCurrent" xlink:label="loc_wdc_IntercompanyReceivableNetCurrent_873CB0EDAB6AD854885594E9C7449601" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:to="loc_wdc_IntercompanyReceivableNetCurrent_873CB0EDAB6AD854885594E9C7449601" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_1828151599EFCCB3D33394E54E1EF832" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:to="loc_us-gaap_InventoryNet_1828151599EFCCB3D33394E54E1EF832" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_4E950F7D2E9233226C3894E54E1D9B4F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_4E950F7D2E9233226C3894E54E1D9B4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_6AE5BCBAE5D5C6A16CEF94E54E1E2DD1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:to="loc_us-gaap_OtherAssetsCurrent_6AE5BCBAE5D5C6A16CEF94E54E1E2DD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_CDD99F162A43204CAC1394E54E1E8048" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_97D9D736153266E37E5994E54E1D8018" xlink:to="loc_us-gaap_AssetsCurrent_CDD99F162A43204CAC1394E54E1E8048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_C4998E81C9724315C71594E54E1D838F" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_46810D3CD86038EC5FFC94E54E1E679C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_46810D3CD86038EC5FFC94E54E1E679C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_3CD8C822B296BF74491994E54E1EB2A0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_3CD8C822B296BF74491994E54E1EB2A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_E915178BBEFCDFC88F7B94E54E1F4952" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:to="loc_us-gaap_Goodwill_E915178BBEFCDFC88F7B94E54E1F4952" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_3C88735E2CF6BE06595B94E54E1F9EBC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_3C88735E2CF6BE06595B94E54E1F9EBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_E723B54204DA8071D43094E54E1F7731" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_E723B54204DA8071D43094E54E1F7731" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_89B5D75449E9F096CDCB94E54E1F2705" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_89B5D75449E9F096CDCB94E54E1F2705" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_071557EA55E372F7613294E54E1F879A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_AC64109719D2FC9525D594E54E1E63C0" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_071557EA55E372F7613294E54E1F879A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_73826AC6ED132CFAB82694E54E1F6A2A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_C4998E81C9724315C71594E54E1D838F" xlink:to="loc_us-gaap_Assets_73826AC6ED132CFAB82694E54E1F6A2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_BFAE83222B039DDA588594E54E21565A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedBalanceSheetStatementsCaptionsLineItems_871CE23D59F602C1739294E54E1DC586" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_BFAE83222B039DDA588594E54E21565A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_5B437F013D774A4F8AEF94E54E21C5C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_BFAE83222B039DDA588594E54E21565A" xlink:to="loc_us-gaap_LiabilitiesAbstract_5B437F013D774A4F8AEF94E54E21C5C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_5B437F013D774A4F8AEF94E54E21C5C5" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_C9B935124824BA1D5B5094E54E212799" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_us-gaap_AccountsPayableCurrent_C9B935124824BA1D5B5094E54E212799" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_40214B50953F7A539A8C94E54E212CFC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_40214B50953F7A539A8C94E54E212CFC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_IntercompanyPayableCurrent" xlink:label="loc_wdc_IntercompanyPayableCurrent_B0E5F879BAF6098B097D94EB27BEC007" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_wdc_IntercompanyPayableCurrent_B0E5F879BAF6098B097D94EB27BEC007" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_AAA186F8EE0E358A2C3394E54E219FE8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_AAA186F8EE0E358A2C3394E54E219FE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_8FE571D5B0D9F6EF104094E54E21EFA3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_8FE571D5B0D9F6EF104094E54E21EFA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_379844482C7AE2BDEFC294E54E21B4FE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_us-gaap_DueToAffiliateCurrent_379844482C7AE2BDEFC294E54E21B4FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_B72875B483C1341C05AA94E54E212125" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_us-gaap_LongTermDebtCurrent_B72875B483C1341C05AA94E54E212125" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_C5AD18BA949A83B70D8C94E54E214E6D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_1A2BE3E0742858985D6E94E54E215B9D" xlink:to="loc_us-gaap_LiabilitiesCurrent_C5AD18BA949A83B70D8C94E54E214E6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_A2FB635F95381519EF0694E54E214A75" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_5B437F013D774A4F8AEF94E54E21C5C5" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_A2FB635F95381519EF0694E54E214A75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_0EB11E33A41AD031074A94E54E22878D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_A2FB635F95381519EF0694E54E214A75" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_0EB11E33A41AD031074A94E54E22878D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_92B21FD812EC740DC1E994E54E225FE0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_A2FB635F95381519EF0694E54E214A75" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_92B21FD812EC740DC1E994E54E225FE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_3889DA8ACE0C0DBBDE9F94E54E2225BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_A2FB635F95381519EF0694E54E214A75" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_3889DA8ACE0C0DBBDE9F94E54E2225BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_F1EC13B16C086AE4362094E54E22D093" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_5B437F013D774A4F8AEF94E54E21C5C5" xlink:to="loc_us-gaap_Liabilities_F1EC13B16C086AE4362094E54E22D093" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_F7875D2E7CDB12A1E0AB94E54E2323B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_BFAE83222B039DDA588594E54E21565A" xlink:to="loc_us-gaap_StockholdersEquityAbstract_F7875D2E7CDB12A1E0AB94E54E2323B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_1FC727A0646CE616671394E54E23570C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_F7875D2E7CDB12A1E0AB94E54E2323B5" xlink:to="loc_us-gaap_StockholdersEquity_1FC727A0646CE616671394E54E23570C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_E4FFA89F4E3C29903E0F94E54E23ADD2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_BFAE83222B039DDA588594E54E21565A" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_E4FFA89F4E3C29903E0F94E54E23ADD2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedCashFlowStatementTable" xlink:label="loc_srt_CondensedCashFlowStatementTable_D055AAB8117C5610144B99D697C77219" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:to="loc_srt_CondensedCashFlowStatementTable_D055AAB8117C5610144B99D697C77219" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_D9EE1445EE61AE049CAD99D697C8C34F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedCashFlowStatementTable_D055AAB8117C5610144B99D697C77219" xlink:to="loc_srt_ConsolidationItemsAxis_D9EE1445EE61AE049CAD99D697C8C34F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_90F1DACA72D7F7B3F01099D697C85ECD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_D9EE1445EE61AE049CAD99D697C8C34F" xlink:to="loc_srt_ConsolidationItemsDomain_90F1DACA72D7F7B3F01099D697C85ECD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_90F1DACA72D7F7B3F01099D697C85ECD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_D9EE1445EE61AE049CAD99D697C8C34F" xlink:to="loc_srt_ConsolidationItemsDomain_90F1DACA72D7F7B3F01099D697C85ECD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_41099FA5813CBF74B70199D697C9B47E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_90F1DACA72D7F7B3F01099D697C85ECD" xlink:to="loc_srt_ConsolidationEliminationsMember_41099FA5813CBF74B70199D697C9B47E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_0D2ECD375AC18E75FAFE99D697C9E114" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedCashFlowStatementTable_D055AAB8117C5610144B99D697C77219" xlink:to="loc_srt_ConsolidatedEntitiesAxis_0D2ECD375AC18E75FAFE99D697C9E114" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_882AB2F4D9427DAC6BFB99D697C9079F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_0D2ECD375AC18E75FAFE99D697C9E114" xlink:to="loc_srt_ConsolidatedEntitiesDomain_882AB2F4D9427DAC6BFB99D697C9079F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_882AB2F4D9427DAC6BFB99D697C9079F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_0D2ECD375AC18E75FAFE99D697C9E114" xlink:to="loc_srt_ConsolidatedEntitiesDomain_882AB2F4D9427DAC6BFB99D697C9079F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_F94650EE7419745298DD99D697C9569B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_882AB2F4D9427DAC6BFB99D697C9079F" xlink:to="loc_srt_ParentCompanyMember_F94650EE7419745298DD99D697C9569B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_58519751205007130C2C99D697C9AF74" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_882AB2F4D9427DAC6BFB99D697C9079F" xlink:to="loc_srt_GuarantorSubsidiariesMember_58519751205007130C2C99D697C9AF74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_A959A786C0005206FBCC99D697CA525C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_882AB2F4D9427DAC6BFB99D697C9079F" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_A959A786C0005206FBCC99D697CA525C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_BFF743CC8915873B8AF099D697CA1E4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_BFF743CC8915873B8AF099D697CA1E4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_65F63F1AEDFB6D1EF8E199D697CA6F3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_BFF743CC8915873B8AF099D697CA1E4B" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_65F63F1AEDFB6D1EF8E199D697CA6F3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_D85B488DFFE498EE1AAB99D697CB98EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_D85B488DFFE498EE1AAB99D697CB98EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_29A316ED07CD13111A3799D697CBB3AF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_29A316ED07CD13111A3799D697CBB3AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_AD9C393C9B6D0DBFE92F99D697CB7263" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_AD9C393C9B6D0DBFE92F99D697CB7263" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_180AE52B85921E6B858A99D697CBDC1B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_180AE52B85921E6B858A99D697CBDC1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_986AEBC8F83517CE989199D697CCC346" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_986AEBC8F83517CE989199D697CCC346" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_A806A10FE58BCBB9D64299D697CCF7BA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_A806A10FE58BCBB9D64299D697CCF7BA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_4C1724DFFEF6605055B599D697CCA936" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_4C1724DFFEF6605055B599D697CCA936" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_CBF0057446017B0DAA1A99D697CC68E8" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_CBF0057446017B0DAA1A99D697CC68E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_46AFC5A5DAC65585753C99D697CC659F" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_46AFC5A5DAC65585753C99D697CC659F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_40EC0C94C93078A6991999D697CC7540" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_40EC0C94C93078A6991999D697CC7540" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_172E3AC95351ADF9E8D399D697CD2863" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_172E3AC95351ADF9E8D399D697CD2863" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_73E3FEE9B444685D894D99D697CDCA5F" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_EF401D5BE62BB730049599D697CB4C9D" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_73E3FEE9B444685D894D99D697CDCA5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_66B004D76AFACE5E886199D697CD9A84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_66B004D76AFACE5E886199D697CD9A84" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_7DE6AE05DD989D66D0E299D697CD233A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_7DE6AE05DD989D66D0E299D697CD233A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_F211780DC0397E7848B199D697D387DB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_F211780DC0397E7848B199D697D387DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_EA004BB41810C27D9A1499D697D36697" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_EA004BB41810C27D9A1499D697D36697" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_F92FB118BC2CA76C08A699D697D3FA63" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_PaymentsOfDividends_F92FB118BC2CA76C08A699D697D3FA63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForProceedsFromHedgeFinancingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_3FCD81459D37EB804E6A99D697D39FB3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_3FCD81459D37EB804E6A99D697D39FB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_A1A5E96CEB55B43AFB4C99D697D3081D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_A1A5E96CEB55B43AFB4C99D697D3081D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_710CB51028F15EF18C0199D697D32851" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_710CB51028F15EF18C0199D697D32851" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_6A4F9EA2DF786F74E12B99D697D46943" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_6A4F9EA2DF786F74E12B99D697D46943" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_FD0FB7AED10C7994D8DB99D697D40A1D" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_FD0FB7AED10C7994D8DB99D697D40A1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_5915A286D2AF746CD6CF99D697D453AE" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_5915A286D2AF746CD6CF99D697D453AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_A9D21EAC74E92CE74AF799D697D48981" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_228FD132B589AEDF683D99D697CDA0A4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_A9D21EAC74E92CE74AF799D697D48981" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_F598633F6BAC2FC42DDB99D697D43C2A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_F598633F6BAC2FC42DDB99D697D43C2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D32A543D4F141FDDBEDD99D697D45DF5" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D32A543D4F141FDDBEDD99D697D45DF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_D5A9DEE02245D2FBE31299D697D5F140" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedCashFlowStatementsCaptionsLineItems_7CB08BDB91B812B3C50599D697CA5940" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_D5A9DEE02245D2FBE31299D697D5F140" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedStatementOfIncomeCaptionsLineItems" xlink:label="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedStatementOfComprehensiveIncomeTable" xlink:label="loc_srt_CondensedStatementOfComprehensiveIncomeTable_7FFB48FBE72DA38C75D294E54DFC9352" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_srt_CondensedStatementOfComprehensiveIncomeTable_7FFB48FBE72DA38C75D294E54DFC9352" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_611DE5B6FE12AFD0C32F94E54DFCBDAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedStatementOfComprehensiveIncomeTable_7FFB48FBE72DA38C75D294E54DFC9352" xlink:to="loc_srt_ConsolidationItemsAxis_611DE5B6FE12AFD0C32F94E54DFCBDAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_63CB888195F28A9B33D994E54DFCDBF3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_611DE5B6FE12AFD0C32F94E54DFCBDAC" xlink:to="loc_srt_ConsolidationItemsDomain_63CB888195F28A9B33D994E54DFCDBF3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_63CB888195F28A9B33D994E54DFCDBF3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_611DE5B6FE12AFD0C32F94E54DFCBDAC" xlink:to="loc_srt_ConsolidationItemsDomain_63CB888195F28A9B33D994E54DFCDBF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_3C7B61918BD68E12AA4794E54DFC7899" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_63CB888195F28A9B33D994E54DFCDBF3" xlink:to="loc_srt_ConsolidationEliminationsMember_3C7B61918BD68E12AA4794E54DFC7899" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_DA03FA1FD8B4B1809A9294E54DFDCBAD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedStatementOfComprehensiveIncomeTable_7FFB48FBE72DA38C75D294E54DFC9352" xlink:to="loc_srt_ConsolidatedEntitiesAxis_DA03FA1FD8B4B1809A9294E54DFDCBAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_A15AAB330A65CBDB6F4E94E54DFD06B2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_DA03FA1FD8B4B1809A9294E54DFDCBAD" xlink:to="loc_srt_ConsolidatedEntitiesDomain_A15AAB330A65CBDB6F4E94E54DFD06B2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_A15AAB330A65CBDB6F4E94E54DFD06B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_DA03FA1FD8B4B1809A9294E54DFDCBAD" xlink:to="loc_srt_ConsolidatedEntitiesDomain_A15AAB330A65CBDB6F4E94E54DFD06B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_9D44F93B4ABA78DD5C6094E54DFD699D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_A15AAB330A65CBDB6F4E94E54DFD06B2" xlink:to="loc_srt_ParentCompanyMember_9D44F93B4ABA78DD5C6094E54DFD699D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_4597AA3742D39322790D94E54DFD7F86" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_A15AAB330A65CBDB6F4E94E54DFD06B2" xlink:to="loc_srt_GuarantorSubsidiariesMember_4597AA3742D39322790D94E54DFD7F86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_503D2A5FBECAD0BB3FDA94E54DFD52E1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_A15AAB330A65CBDB6F4E94E54DFD06B2" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_503D2A5FBECAD0BB3FDA94E54DFD52E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_07A964F54E287AC8C04994E54DFE3A73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_us-gaap_NetIncomeLoss_07A964F54E287AC8C04994E54DFE3A73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_FAA714FBEF20E973E04294E54DFEC016" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_FAA714FBEF20E973E04294E54DFEC016" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_DE3C88D72DD9C52134E694E54DFEEA69" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_DE3C88D72DD9C52134E694E54DFEEA69" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_3782EEADAF38DE2D322994E54DFE2AE1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_3782EEADAF38DE2D322994E54DFE2AE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1CBC6888427E7C5A97F494E54DFF37FC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1CBC6888427E7C5A97F494E54DFF37FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_C86C4DD7DEDCF6D470F594E54DFF04A2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_C86C4DD7DEDCF6D470F594E54DFF04A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_3DA925C2333BBA99A34894E54DFFBE4C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_3DA925C2333BBA99A34894E54DFFBE4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_2EC5533646FD731DCA3994E54DFFF7D7" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedStatementOfIncomeCaptionsLineItems_A20A15DA8D9CE072499994E54DFE9CB4" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_2EC5533646FD731DCA3994E54DFFF7D7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfOperationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedIncomeStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedIncomeStatementTable" xlink:label="loc_srt_CondensedIncomeStatementTable_E907EAD029B8DF329A2A4D13968AF7C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_srt_CondensedIncomeStatementTable_E907EAD029B8DF329A2A4D13968AF7C5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_EC905F0653BDF1DF73A54D13968BC8F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedIncomeStatementTable_E907EAD029B8DF329A2A4D13968AF7C5" xlink:to="loc_srt_ConsolidationItemsAxis_EC905F0653BDF1DF73A54D13968BC8F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_F0AEE457FBF710675C504D13968BC8F2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_EC905F0653BDF1DF73A54D13968BC8F7" xlink:to="loc_srt_ConsolidationItemsDomain_F0AEE457FBF710675C504D13968BC8F2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_F0AEE457FBF710675C504D13968BC8F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_EC905F0653BDF1DF73A54D13968BC8F7" xlink:to="loc_srt_ConsolidationItemsDomain_F0AEE457FBF710675C504D13968BC8F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationEliminationsMember" xlink:label="loc_srt_ConsolidationEliminationsMember_FBCA6058173128B000C54D13968B8BAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_F0AEE457FBF710675C504D13968BC8F2" xlink:to="loc_srt_ConsolidationEliminationsMember_FBCA6058173128B000C54D13968B8BAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_ED530E8FC87CBCD08DF44D13968BB5DF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_CondensedIncomeStatementTable_E907EAD029B8DF329A2A4D13968AF7C5" xlink:to="loc_srt_ConsolidatedEntitiesAxis_ED530E8FC87CBCD08DF44D13968BB5DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_97E4B81FEA7D36BCADFC4D13968D9243_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_ED530E8FC87CBCD08DF44D13968BB5DF" xlink:to="loc_srt_ConsolidatedEntitiesDomain_97E4B81FEA7D36BCADFC4D13968D9243_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_97E4B81FEA7D36BCADFC4D13968D9243" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_ED530E8FC87CBCD08DF44D13968BB5DF" xlink:to="loc_srt_ConsolidatedEntitiesDomain_97E4B81FEA7D36BCADFC4D13968D9243" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_1E33658C3239CDAFB6B24D13968D3F3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_97E4B81FEA7D36BCADFC4D13968D9243" xlink:to="loc_srt_ParentCompanyMember_1E33658C3239CDAFB6B24D13968D3F3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_GuarantorSubsidiariesMember" xlink:label="loc_srt_GuarantorSubsidiariesMember_9564E3D0512E78E7CDCE4D13968D2B3F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_97E4B81FEA7D36BCADFC4D13968D9243" xlink:to="loc_srt_GuarantorSubsidiariesMember_9564E3D0512E78E7CDCE4D13968D2B3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NonGuarantorSubsidiariesMember" xlink:label="loc_srt_NonGuarantorSubsidiariesMember_F2209EF65A51F07CAD594D13968DA310" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_97E4B81FEA7D36BCADFC4D13968D9243" xlink:to="loc_srt_NonGuarantorSubsidiariesMember_F2209EF65A51F07CAD594D13968DA310" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_FDF06ADCAEAB7E147E204D13968DE051" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_FDF06ADCAEAB7E147E204D13968DE051" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_1D6102F721B0E40D20944D13968DABA3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_1D6102F721B0E40D20944D13968DABA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_AAC4E40505E63CF8805F4D13968D99DD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_GrossProfit_AAC4E40505E63CF8805F4D13968D99DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_7C0250FDA05E430E85D24D13968D4000" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_OperatingExpensesAbstract_7C0250FDA05E430E85D24D13968D4000" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_DC4377DFC84BE9D0F1574D13968F1413" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7C0250FDA05E430E85D24D13968D4000" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_DC4377DFC84BE9D0F1574D13968F1413" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_B4BD795AFF64AB1DF5764D13968FE9EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7C0250FDA05E430E85D24D13968D4000" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_B4BD795AFF64AB1DF5764D13968FE9EE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_BC1874BC14DD028C81124D13968FD640" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7C0250FDA05E430E85D24D13968D4000" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_BC1874BC14DD028C81124D13968FD640" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_8D3A5BEB10A59A6E962C4D13968F1C46" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7C0250FDA05E430E85D24D13968D4000" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_8D3A5BEB10A59A6E962C4D13968F1C46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_A42906CFA8868BBCEEEE4D13968FD783" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7C0250FDA05E430E85D24D13968D4000" xlink:to="loc_us-gaap_OperatingExpenses_A42906CFA8868BBCEEEE4D13968FD783" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_EA8DEAA851C3806E276B4D13968F03E2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_OperatingIncomeLoss_EA8DEAA851C3806E276B4D13968F03E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_826ED6653D5B0DD4BA3F4D13968FB24A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_InvestmentIncomeInterest_826ED6653D5B0DD4BA3F4D13968FB24A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_AAE248C6AD03997E2CFA4D13968F0514" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_InterestExpense_AAE248C6AD03997E2CFA4D13968F0514" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_83A24C6B06AFFD5812524D13968F2D9D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_83A24C6B06AFFD5812524D13968F2D9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_07A811E897CBB68DADD94D13968F46D5" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_07A811E897CBB68DADD94D13968F46D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_4A812D899685B47A270B4D13968F04F7" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_4A812D899685B47A270B4D13968F04F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_61080D9C39CEA430B2774D139690CDA2" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_61080D9C39CEA430B2774D139690CDA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_DD80E6F87487FF20577B4D139690C81D" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_DD80E6F87487FF20577B4D139690C81D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_7D19600B97596B24A70B4D13969029FD" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedIncomeStatementsCaptionsLineItems_314F271817FB994B741D4D13968DDD53" xlink:to="loc_us-gaap_NetIncomeLoss_7D19600B97596B24A70B4D13969029FD" 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/ShareholdersEquityDividendsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_CDDDA7DCAC0FA0F1EFDFABDE2307DBC3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_13C0B82ED7B9F53AF4B2ABDE230688C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_CDDDA7DCAC0FA0F1EFDFABDE2307DBC3" xlink:to="loc_us-gaap_DividendsPayableTable_13C0B82ED7B9F53AF4B2ABDE230688C8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_35D8F0E7CD294311AEB6ABDE23063B00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_13C0B82ED7B9F53AF4B2ABDE230688C8" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_35D8F0E7CD294311AEB6ABDE23063B00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_26DB2CD8F0CCA3BE2F5FABDE23069EB3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_35D8F0E7CD294311AEB6ABDE23063B00" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_26DB2CD8F0CCA3BE2F5FABDE23069EB3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_26DB2CD8F0CCA3BE2F5FABDE23069EB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_35D8F0E7CD294311AEB6ABDE23063B00" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_26DB2CD8F0CCA3BE2F5FABDE23069EB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_5DDA4E274D432C4A3F05ABDE2307B178" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_26DB2CD8F0CCA3BE2F5FABDE23069EB3" xlink:to="loc_us-gaap_SubsequentEventMember_5DDA4E274D432C4A3F05ABDE2307B178" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_D5377F81EE321EAA9957ABDE23072998" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_CDDDA7DCAC0FA0F1EFDFABDE2307DBC3" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_D5377F81EE321EAA9957ABDE23072998" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Dividends" xlink:label="loc_us-gaap_Dividends_2E9B39C68D5FFD861D42ABDE2307A796" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_CDDDA7DCAC0FA0F1EFDFABDE2307DBC3" xlink:to="loc_us-gaap_Dividends_2E9B39C68D5FFD861D42ABDE2307A796" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_E41914E91DA37BEAD30EABDE230841E9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_CDDDA7DCAC0FA0F1EFDFABDE2307DBC3" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_E41914E91DA37BEAD30EABDE230841E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_8DFCB6B0F7904A645E9FABDE2308B522" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_CDDDA7DCAC0FA0F1EFDFABDE2307DBC3" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_8DFCB6B0F7904A645E9FABDE2308B522" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityNotes" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5DB982EA52FA85120D34D13977CA73B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D71396991D6F40ECAA5D4D13977BF281" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5DB982EA52FA85120D34D13977CA73B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D71396991D6F40ECAA5D4D13977BF281" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_351124BF859E92EB4FA34D13977B8FAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D71396991D6F40ECAA5D4D13977BF281" xlink:to="loc_us-gaap_AwardTypeAxis_351124BF859E92EB4FA34D13977B8FAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_105EE62C96C8B0165E1E4D13977B59B7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_351124BF859E92EB4FA34D13977B8FAE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_105EE62C96C8B0165E1E4D13977B59B7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_105EE62C96C8B0165E1E4D13977B59B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_351124BF859E92EB4FA34D13977B8FAE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_105EE62C96C8B0165E1E4D13977B59B7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember" xlink:label="loc_wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember_CC5026C24BC113D41EBF4D13977C6621" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_105EE62C96C8B0165E1E4D13977B59B7" xlink:to="loc_wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember_CC5026C24BC113D41EBF4D13977C6621" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E1668F2066E4B1092AB64D13977C0D01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5DB982EA52FA85120D34D13977CA73B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E1668F2066E4B1092AB64D13977C0D01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_58847F3C9992FBDFCB264D13977C70D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E1668F2066E4B1092AB64D13977C0D01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_58847F3C9992FBDFCB264D13977C70D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_BAD459D2DD0D4DF79FF74D13977C0C43" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E1668F2066E4B1092AB64D13977C0D01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_BAD459D2DD0D4DF79FF74D13977C0C43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_C1970ECC262F54A5317A4D13977D6281" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E1668F2066E4B1092AB64D13977C0D01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_C1970ECC262F54A5317A4D13977D6281" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_CC6C242E061BB34F8BD24D13977DE3A3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E1668F2066E4B1092AB64D13977C0D01" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_CC6C242E061BB34F8BD24D13977DE3A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AAA8A2F735D4CF0F0E184D13977D5600" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5DB982EA52FA85120D34D13977CA73B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AAA8A2F735D4CF0F0E184D13977D5600" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_BEC88E3DD1B2B2ADC1BF4D13977DF84A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AAA8A2F735D4CF0F0E184D13977D5600" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_BEC88E3DD1B2B2ADC1BF4D13977DF84A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_647E8776518F4823CAB54D13977E474B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AAA8A2F735D4CF0F0E184D13977D5600" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_647E8776518F4823CAB54D13977E474B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_B936D2DFCEB6A1254FE64D13977E369F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AAA8A2F735D4CF0F0E184D13977D5600" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_B936D2DFCEB6A1254FE64D13977E369F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_1ACE21623475281E19264D13977E3D03" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_AAA8A2F735D4CF0F0E184D13977D5600" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_1ACE21623475281E19264D13977E3D03" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_AggregateValueOfRestrictedStockAwardsVested" xlink:label="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_66B2990C86DF496BC9544D13977EF724" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B5DB982EA52FA85120D34D13977CA73B" xlink:to="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_66B2990C86DF496BC9544D13977EF724" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_725723D4799CB63879CFABDE2310B3B0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_CFDB97685F2D6EFA40DFABDE230DE9DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_725723D4799CB63879CFABDE2310B3B0" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_CFDB97685F2D6EFA40DFABDE230DE9DA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_24E6EB12A0277DAAC7F7ABDE230E170D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_CFDB97685F2D6EFA40DFABDE230DE9DA" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_24E6EB12A0277DAAC7F7ABDE230E170D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0A68F75D34D77877EB3EABDE230EA493_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_24E6EB12A0277DAAC7F7ABDE230E170D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0A68F75D34D77877EB3EABDE230EA493_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0A68F75D34D77877EB3EABDE230EA493" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_24E6EB12A0277DAAC7F7ABDE230E170D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0A68F75D34D77877EB3EABDE230EA493" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_8C7FF6D2D7E0F560580BABDE230E591F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_0A68F75D34D77877EB3EABDE230EA493" xlink:to="loc_us-gaap_SubsequentEventMember_8C7FF6D2D7E0F560580BABDE230E591F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_402097CBC4FCEE0C54A5ABDE230F478B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_CFDB97685F2D6EFA40DFABDE230DE9DA" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_402097CBC4FCEE0C54A5ABDE230F478B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_CE3E6790CC4C1CC73F2EABDE230FFF5E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_402097CBC4FCEE0C54A5ABDE230F478B" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_CE3E6790CC4C1CC73F2EABDE230FFF5E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_CE3E6790CC4C1CC73F2EABDE230FFF5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_402097CBC4FCEE0C54A5ABDE230F478B" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_CE3E6790CC4C1CC73F2EABDE230FFF5E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_StockRepurchaseProgramEffectiveUntilFebruary32020Member" xlink:label="loc_wdc_StockRepurchaseProgramEffectiveUntilFebruary32020Member_1D6D3173B0D5208974FCABDE230FFE20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_CE3E6790CC4C1CC73F2EABDE230FFF5E" xlink:to="loc_wdc_StockRepurchaseProgramEffectiveUntilFebruary32020Member_1D6D3173B0D5208974FCABDE230FFE20" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member" xlink:label="loc_wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member_61784CB0606364EE255EABDE2310D4AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_CE3E6790CC4C1CC73F2EABDE230FFF5E" xlink:to="loc_wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member_61784CB0606364EE255EABDE2310D4AA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ShareRepurchaseProgramMember" xlink:label="loc_wdc_ShareRepurchaseProgramMember_561BB62E9513BD07393FABDE2310DEB3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_CE3E6790CC4C1CC73F2EABDE230FFF5E" xlink:to="loc_wdc_ShareRepurchaseProgramMember_561BB62E9513BD07393FABDE2310DEB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_9E12291050F197896557ABDE23107B66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_725723D4799CB63879CFABDE2310B3B0" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_9E12291050F197896557ABDE23107B66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_350C75498F9C7B96C307ABDE2310E900" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_725723D4799CB63879CFABDE2310B3B0" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_350C75498F9C7B96C307ABDE2310E900" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_88C511322EDCA87A7C8EABDE2311791A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_725723D4799CB63879CFABDE2310B3B0" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_88C511322EDCA87A7C8EABDE2311791A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_92EFA71BFA3907C35EA0ABDE2311E1A1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_725723D4799CB63879CFABDE2310B3B0" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_92EFA71BFA3907C35EA0ABDE2311E1A1" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCBD16046067C6667B4194E54EFF9C3B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C18329F16B38178C246494E54EFC7876" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCBD16046067C6667B4194E54EFF9C3B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C18329F16B38178C246494E54EFC7876" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_FE62FA24A488294CF8A694E54EFD2657" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C18329F16B38178C246494E54EFC7876" xlink:to="loc_us-gaap_AwardTypeAxis_FE62FA24A488294CF8A694E54EFD2657" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48C2F7602AA9940632F094E54EFD4F48_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_FE62FA24A488294CF8A694E54EFD2657" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48C2F7602AA9940632F094E54EFD4F48_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48C2F7602AA9940632F094E54EFD4F48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_FE62FA24A488294CF8A694E54EFD2657" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48C2F7602AA9940632F094E54EFD4F48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_45DB7BA53EC6EB60952794E54EFD51AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48C2F7602AA9940632F094E54EFD4F48" xlink:to="loc_us-gaap_EmployeeStockOptionMember_45DB7BA53EC6EB60952794E54EFD51AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_B1801B779A36F346070694E54EFE521D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48C2F7602AA9940632F094E54EFD4F48" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_B1801B779A36F346070694E54EFE521D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_EE8BFA7F94862807CA7294E54EFE017D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48C2F7602AA9940632F094E54EFD4F48" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_EE8BFA7F94862807CA7294E54EFE017D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_4F6CC345F165D0D969EE94E54EFECE21" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C18329F16B38178C246494E54EFC7876" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_4F6CC345F165D0D969EE94E54EFECE21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_19E5F36EA318BEFC904594E54EFE3D15_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_4F6CC345F165D0D969EE94E54EFECE21" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_19E5F36EA318BEFC904594E54EFE3D15_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_19E5F36EA318BEFC904594E54EFE3D15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_4F6CC345F165D0D969EE94E54EFECE21" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_19E5F36EA318BEFC904594E54EFE3D15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_0B274A4B3F657684F0AA94E54EFF9EE6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_19E5F36EA318BEFC904594E54EFE3D15" xlink:to="loc_us-gaap_CostOfSalesMember_0B274A4B3F657684F0AA94E54EFF9EE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_250D1AFB64414F81C04794E54EFFAEB7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_19E5F36EA318BEFC904594E54EFE3D15" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_250D1AFB64414F81C04794E54EFFAEB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_6D51394013F1BDBCB4C994E54EFF9B71" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_19E5F36EA318BEFC904594E54EFE3D15" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_6D51394013F1BDBCB4C994E54EFF9B71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_E7688E65D012474A5E6894E54EFF3E25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCBD16046067C6667B4194E54EFF9C3B" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_E7688E65D012474A5E6894E54EFF3E25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_3D7859F1B53C241D26EA94E54F004DF4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCBD16046067C6667B4194E54EFF9C3B" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_3D7859F1B53C241D26EA94E54F004DF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_348C6BC912949C2B625B94E54F004535" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_CCBD16046067C6667B4194E54EFF9C3B" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_348C6BC912949C2B625B94E54F004535" 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-20181228.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_73444E8BF96C857D24754D13978E8D08" xlink:type="locator" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_E73B6D156683165A27584D13978DDD14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_73444E8BF96C857D24754D13978E8D08" xlink:to="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_E73B6D156683165A27584D13978DDD14" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_CAE963550816A13973A54D13978DABA6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_E73B6D156683165A27584D13978DDD14" xlink:to="loc_us-gaap_AwardTypeAxis_CAE963550816A13973A54D13978DABA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_79570401DDFBC76A32A64D13978D1BC0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_CAE963550816A13973A54D13978DABA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_79570401DDFBC76A32A64D13978D1BC0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_79570401DDFBC76A32A64D13978D1BC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_CAE963550816A13973A54D13978DABA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_79570401DDFBC76A32A64D13978D1BC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_CB36F5B60AEB0820F8FA4D13978D2DE1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_79570401DDFBC76A32A64D13978D1BC0" xlink:to="loc_us-gaap_EmployeeStockOptionMember_CB36F5B60AEB0820F8FA4D13978D2DE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_4D04BEC1619A37D970C84D13978E341C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_79570401DDFBC76A32A64D13978D1BC0" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_4D04BEC1619A37D970C84D13978E341C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_BA026B65C35BC94B0BE34D13978EAF2C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_79570401DDFBC76A32A64D13978D1BC0" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_BA026B65C35BC94B0BE34D13978EAF2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_1F9681C4BCFD486D658A4D13978E342C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_73444E8BF96C857D24754D13978E8D08" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_1F9681C4BCFD486D658A4D13978E342C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_59FB960F57F4E8E1C8004D13978F70FC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_73444E8BF96C857D24754D13978E8D08" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_59FB960F57F4E8E1C8004D13978F70FC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_4011002A9E812B5343BE80AEA5B46947" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_42A5A52B0951597B1BB580AEA5B44C4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_4011002A9E812B5343BE80AEA5B46947" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_42A5A52B0951597B1BB580AEA5B44C4D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_4C4162CAA4528D8987E280AEA5B4FF5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_42A5A52B0951597B1BB580AEA5B44C4D" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_4C4162CAA4528D8987E280AEA5B4FF5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4C4162CAA4528D8987E280AEA5B4FF5B" xlink:to="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4C4162CAA4528D8987E280AEA5B4FF5B" xlink:to="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_958DE1311E1EFB8ADD1680AEA5B43202" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_958DE1311E1EFB8ADD1680AEA5B43202" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedTranslationAdjustmentMember" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_0B217AFAB0D95793C20B80AEA5B42B1D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_0B217AFAB0D95793C20B80AEA5B42B1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_0C0A2C7D56D83A939DC580AEA5B42276" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_0C0A2C7D56D83A939DC580AEA5B42276" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_5B22DF0641B0593009D180AEA5B4756C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E970CB2BD7471E59776D80AEA5B44DD4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_5B22DF0641B0593009D180AEA5B4756C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:label="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_E600C3321FF7A11EA04780AEA5B40B98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_4011002A9E812B5343BE80AEA5B46947" xlink:to="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_E600C3321FF7A11EA04780AEA5B40B98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_486D1E98AAE7D61CD4FE80AEA5B45BCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_E600C3321FF7A11EA04780AEA5B40B98" xlink:to="loc_us-gaap_StockholdersEquity_486D1E98AAE7D61CD4FE80AEA5B45BCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_E549EE0A9FF784C8FD1D80AEA5B4FC20" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_E600C3321FF7A11EA04780AEA5B40B98" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_E549EE0A9FF784C8FD1D80AEA5B4FC20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_A2C5B917AEF9B48942F380AEA5B48EA5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_E600C3321FF7A11EA04780AEA5B40B98" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_A2C5B917AEF9B48942F380AEA5B48EA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_6CD61BE7022B3780CD2C80AEA5B471E3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_E600C3321FF7A11EA04780AEA5B40B98" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_6CD61BE7022B3780CD2C80AEA5B471E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1E9B42CB4B92DCEEB7EA80AEA5B459DC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_E600C3321FF7A11EA04780AEA5B40B98" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1E9B42CB4B92DCEEB7EA80AEA5B459DC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="extended" />
  <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/SupplementalFinancialStatementDataNotes" 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-20181228.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_F4C73509086F91B2173D4D1398A40B0D" xlink:type="locator" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_199290AC7C9D776733D34D1398A18A3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_F4C73509086F91B2173D4D1398A40B0D" xlink:to="loc_wdc_SupplementalFinancialInformationTable_199290AC7C9D776733D34D1398A18A3A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00F5B9C9C2BF26E56F484D1398A2F65D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_199290AC7C9D776733D34D1398A18A3A" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00F5B9C9C2BF26E56F484D1398A2F65D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00F5B9C9C2BF26E56F484D1398A2F65D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00F5B9C9C2BF26E56F484D1398A2F65D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_7FDE967CE5CB9C91CB404D1398A22208" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:to="loc_us-gaap_LandMember_7FDE967CE5CB9C91CB404D1398A22208" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_524294C584F9CBCC9E214D1398A39C1E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_524294C584F9CBCC9E214D1398A39C1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_E9AA50DAA4050009901A4D1398A303AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_E9AA50DAA4050009901A4D1398A303AC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20181228.xsd#wdc_ComputerEquipmentandSoftwareMember" xlink:label="loc_wdc_ComputerEquipmentandSoftwareMember_DA26CB02AB0B69EF55AD4D1398A3727B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:to="loc_wdc_ComputerEquipmentandSoftwareMember_DA26CB02AB0B69EF55AD4D1398A3727B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_86478EB2B845913769104D1398A39869" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_86478EB2B845913769104D1398A39869" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_2D45C0246E936452E0664D1398A3FCDF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CF22E2DF03CE688526824D1398A2B18C" xlink:to="loc_us-gaap_ConstructionInProgressMember_2D45C0246E936452E0664D1398A3FCDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_6D2F1A098F162A6126A84D1398A48787" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_F4C73509086F91B2173D4D1398A40B0D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_6D2F1A098F162A6126A84D1398A48787" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_E5232D85E3185AB750A14D1398A4F0AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_6D2F1A098F162A6126A84D1398A48787" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_E5232D85E3185AB750A14D1398A4F0AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_45A6A8587CCE3FFCA9414D1398A4C860" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_6D2F1A098F162A6126A84D1398A48787" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_45A6A8587CCE3FFCA9414D1398A4C860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4D5638F3BE578A0B11C04D1398A590A4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_6D2F1A098F162A6126A84D1398A48787" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_4D5638F3BE578A0B11C04D1398A590A4" 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>
