<?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/CommitmentsContingenciesAndRelatedParties" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedParties" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="wdc-20180928.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20180928.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="wdc-20180928.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="wdc-20180928.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="wdc-20180928.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20180928.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20180928.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:href="wdc-20180928.xsd#DerivativesInstrumentsAndHedgingActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:href="wdc-20180928.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetailTextuals" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetailTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefit" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefitAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitTables" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefitTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitTaxProvisionDetails" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefitTaxProvisionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20180928.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20180928.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShare" xlink:href="wdc-20180928.xsd#NetIncomePerCommonShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShareDetails" xlink:href="wdc-20180928.xsd#NetIncomePerCommonShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShareTables" xlink:href="wdc-20180928.xsd#NetIncomePerCommonShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" xlink:href="wdc-20180928.xsd#OrganizationAndBasisOfPresentationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:href="wdc-20180928.xsd#OrganizationAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncements" xlink:href="wdc-20180928.xsd#RecentlyAdoptedAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:href="wdc-20180928.xsd#RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#RevenuesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:href="wdc-20180928.xsd#RevenuesDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesNotes" xlink:href="wdc-20180928.xsd#RevenuesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetailsTextuals" xlink:href="wdc-20180928.xsd#RevenuesRevenueRemainingPerformanceObligationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesTables" xlink:href="wdc-20180928.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetail" xlink:href="wdc-20180928.xsd#ScheduleOfDebtDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeLossDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20180928.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:href="wdc-20180928.xsd#ShareholdersEquityDividendsDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetail" xlink:href="wdc-20180928.xsd#ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:href="wdc-20180928.xsd#ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20180928.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:href="wdc-20180928.xsd#ShareholdersEquityStockOptionActivityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20180928.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20180928.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20180928.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/CommitmentsContingenciesAndRelatedParties" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_E876440DE375EDC58AA39DADCBE56DB0" xlink:type="locator" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable" xlink:label="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_EA71BF2217DABE4003539DADCBE02FAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_E876440DE375EDC58AA39DADCBE56DB0" xlink:to="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_EA71BF2217DABE4003539DADCBE02FAD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_F81E5FE01534E85B73E79DADCBE0F01D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_EA71BF2217DABE4003539DADCBE02FAD" xlink:to="loc_dei_LegalEntityAxis_F81E5FE01534E85B73E79DADCBE0F01D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_432B32D9710DAACE45819DADCBE09C77_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_F81E5FE01534E85B73E79DADCBE0F01D" xlink:to="loc_dei_EntityDomain_432B32D9710DAACE45819DADCBE09C77_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_432B32D9710DAACE45819DADCBE09C77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_F81E5FE01534E85B73E79DADCBE0F01D" xlink:to="loc_dei_EntityDomain_432B32D9710DAACE45819DADCBE09C77" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_UnissoftWuxiGroupCoLtd.Member" xlink:label="loc_wdc_UnissoftWuxiGroupCoLtd.Member_036E551EB39F647AE4979DADCBE1682B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_432B32D9710DAACE45819DADCBE09C77" xlink:to="loc_wdc_UnissoftWuxiGroupCoLtd.Member_036E551EB39F647AE4979DADCBE1682B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8E0A33C0401C37BC2E7F9DADCBE1A166" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_EA71BF2217DABE4003539DADCBE02FAD" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8E0A33C0401C37BC2E7F9DADCBE1A166" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_6926FF505AF6FB3DDDF49DADCBE18277_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8E0A33C0401C37BC2E7F9DADCBE1A166" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_6926FF505AF6FB3DDDF49DADCBE18277_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_6926FF505AF6FB3DDDF49DADCBE18277" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_8E0A33C0401C37BC2E7F9DADCBE1A166" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_6926FF505AF6FB3DDDF49DADCBE18277" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_UnisVentureMember" xlink:label="loc_wdc_UnisVentureMember_0FC74307DB4D541A33239DADCBE24F05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_6926FF505AF6FB3DDDF49DADCBE18277" xlink:to="loc_wdc_UnisVentureMember_0FC74307DB4D541A33239DADCBE24F05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D69BA91C959DC59C49989DADCBE23058" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_EA71BF2217DABE4003539DADCBE02FAD" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D69BA91C959DC59C49989DADCBE23058" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_D852B4DFA7B603AEEB9F9DADCBE230BE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D69BA91C959DC59C49989DADCBE23058" xlink:to="loc_us-gaap_RelatedPartyDomain_D852B4DFA7B603AEEB9F9DADCBE230BE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_D852B4DFA7B603AEEB9F9DADCBE230BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D69BA91C959DC59C49989DADCBE23058" xlink:to="loc_us-gaap_RelatedPartyDomain_D852B4DFA7B603AEEB9F9DADCBE230BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_0D66CAA7DA72225D0A379DADCBE32420" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_D852B4DFA7B603AEEB9F9DADCBE230BE" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_0D66CAA7DA72225D0A379DADCBE32420" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EquityMethodInvestorNameAxis" xlink:label="loc_wdc_EquityMethodInvestorNameAxis_91525B431C68F7DD56429DADCBE3AFC7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_EA71BF2217DABE4003539DADCBE02FAD" xlink:to="loc_wdc_EquityMethodInvestorNameAxis_91525B431C68F7DD56429DADCBE3AFC7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_9F6D2CC82D2E86C98AFE9DADCBE3A08D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_91525B431C68F7DD56429DADCBE3AFC7" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_9F6D2CC82D2E86C98AFE9DADCBE3A08D_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_9F6D2CC82D2E86C98AFE9DADCBE3A08D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_91525B431C68F7DD56429DADCBE3AFC7" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_9F6D2CC82D2E86C98AFE9DADCBE3A08D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_WesternDigitalCorpMember" xlink:label="loc_wdc_WesternDigitalCorpMember_C2994320A61A23778CE39DADCBE3844A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_9F6D2CC82D2E86C98AFE9DADCBE3A08D" xlink:to="loc_wdc_WesternDigitalCorpMember_C2994320A61A23778CE39DADCBE3844A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_08ED11327AC395C1DE8F9DADCBE4A031" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_EA71BF2217DABE4003539DADCBE02FAD" xlink:to="loc_us-gaap_RangeAxis_08ED11327AC395C1DE8F9DADCBE4A031" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_CEDF08C6E9F73D98EDBA9DADCBE496CA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_08ED11327AC395C1DE8F9DADCBE4A031" xlink:to="loc_us-gaap_RangeMember_CEDF08C6E9F73D98EDBA9DADCBE496CA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_CEDF08C6E9F73D98EDBA9DADCBE496CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_08ED11327AC395C1DE8F9DADCBE4A031" xlink:to="loc_us-gaap_RangeMember_CEDF08C6E9F73D98EDBA9DADCBE496CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_CAE8707E9A9939D66CE09DADCBE56E48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_CEDF08C6E9F73D98EDBA9DADCBE496CA" xlink:to="loc_us-gaap_MinimumMember_CAE8707E9A9939D66CE09DADCBE56E48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_C42EC3E7A520BD5EF25E9DADCBE5464B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_CEDF08C6E9F73D98EDBA9DADCBE496CA" xlink:to="loc_us-gaap_MaximumMember_C42EC3E7A520BD5EF25E9DADCBE5464B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_4EA21A67AB490D9AFDCB9DADCBE6A651" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_E876440DE375EDC58AA39DADCBE56DB0" xlink:to="loc_us-gaap_RelatedPartyTransactionsAbstract_4EA21A67AB490D9AFDCB9DADCBE6A651" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_2E394A26BFB6F76DA6AE9DADCBE67939" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4EA21A67AB490D9AFDCB9DADCBE6A651" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_2E394A26BFB6F76DA6AE9DADCBE67939" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_F200A5CC7513EEE356F89DADCBE67D26" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4EA21A67AB490D9AFDCB9DADCBE6A651" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_F200A5CC7513EEE356F89DADCBE67D26" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_InvestmentFundingCommitments" xlink:label="loc_wdc_InvestmentFundingCommitments_3A80B117EB8D9B5B4B1A9DADCBE6569B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4EA21A67AB490D9AFDCB9DADCBE6A651" xlink:to="loc_wdc_InvestmentFundingCommitments_3A80B117EB8D9B5B4B1A9DADCBE6569B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_E611017768D57157708E9DADCBE6A666" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4EA21A67AB490D9AFDCB9DADCBE6A651" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_E611017768D57157708E9DADCBE6A666" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_PartnersOwnershipInVentureBusiness" xlink:label="loc_wdc_PartnersOwnershipInVentureBusiness_627D8A33AE9E8820EE8D9DADCBE7552C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_4EA21A67AB490D9AFDCB9DADCBE6A651" xlink:to="loc_wdc_PartnersOwnershipInVentureBusiness_627D8A33AE9E8820EE8D9DADCBE7552C" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_BF5490AFD9355565AA3D7E43C6CD8416" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_2A6A9284795A5ABF9D121221671AE851" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_BF5490AFD9355565AA3D7E43C6CD8416" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_2A6A9284795A5ABF9D121221671AE851" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_112B07DE549F5231A42E092FD67F8ED2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_2A6A9284795A5ABF9D121221671AE851" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_112B07DE549F5231A42E092FD67F8ED2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_3185A4A5EF2407CE7EC3483374C087C1_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_112B07DE549F5231A42E092FD67F8ED2" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_3185A4A5EF2407CE7EC3483374C087C1_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_89D67BC4F1C152F2892C9918C5AEE053" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_112B07DE549F5231A42E092FD67F8ED2" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_89D67BC4F1C152F2892C9918C5AEE053" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FlashPartnersLtdMember" xlink:label="loc_wdc_FlashPartnersLtdMember_B7DB4D9451CD5BA8B2D13009B88B0D25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_89D67BC4F1C152F2892C9918C5AEE053" xlink:to="loc_wdc_FlashPartnersLtdMember_B7DB4D9451CD5BA8B2D13009B88B0D25" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FlashAllianceLtdMember" xlink:label="loc_wdc_FlashAllianceLtdMember_5279A5A6E7D15FF08A5FED7FF189CEE8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_89D67BC4F1C152F2892C9918C5AEE053" xlink:to="loc_wdc_FlashAllianceLtdMember_5279A5A6E7D15FF08A5FED7FF189CEE8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FlashForwardLtdMember" xlink:label="loc_wdc_FlashForwardLtdMember_2EDEE6EB2BBC59C4B35A59209489D84B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_89D67BC4F1C152F2892C9918C5AEE053" xlink:to="loc_wdc_FlashForwardLtdMember_2EDEE6EB2BBC59C4B35A59209489D84B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_E5F7C3DA313B514FBB887F9CDA38F2FA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_89D67BC4F1C152F2892C9918C5AEE053" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_E5F7C3DA313B514FBB887F9CDA38F2FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_F4488D27D2AD5E91AEA848EE06F52284" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_BF5490AFD9355565AA3D7E43C6CD8416" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_F4488D27D2AD5E91AEA848EE06F52284" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_146DE69B99C3548DB735909BB6D29561" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_BF5490AFD9355565AA3D7E43C6CD8416" xlink:to="loc_us-gaap_Investments_146DE69B99C3548DB735909BB6D29561" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_05DD390F8B2A595389DD02492CA1BEF5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_BF5490AFD9355565AA3D7E43C6CD8416" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_05DD390F8B2A595389DD02492CA1BEF5" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_839431CE2DB5C1539D449DADCBBD7524" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_839431CE2DB5C1539D449DADCBBD7524" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_C5264FFE510B70B6941C9DADCBBD067F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_839431CE2DB5C1539D449DADCBBD7524" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_C5264FFE510B70B6941C9DADCBBD067F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_A4B06053F882F792A9FC9DADCBBEC55D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_C5264FFE510B70B6941C9DADCBBD067F" xlink:to="loc_us-gaap_RelatedPartyDomain_A4B06053F882F792A9FC9DADCBBEC55D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_A4B06053F882F792A9FC9DADCBBEC55D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_C5264FFE510B70B6941C9DADCBBD067F" xlink:to="loc_us-gaap_RelatedPartyDomain_A4B06053F882F792A9FC9DADCBBEC55D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_DFD22DD74A2CBB0756599DADCBBEA51A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_A4B06053F882F792A9FC9DADCBBEC55D" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_DFD22DD74A2CBB0756599DADCBBEA51A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_671A38585929227D151A9DADCBBED33D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_839431CE2DB5C1539D449DADCBBD7524" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_671A38585929227D151A9DADCBBED33D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_F34A1096E09F0874BAF79DADCBBF74CF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_671A38585929227D151A9DADCBBED33D" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_F34A1096E09F0874BAF79DADCBBF74CF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_F34A1096E09F0874BAF79DADCBBF74CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_671A38585929227D151A9DADCBBED33D" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_F34A1096E09F0874BAF79DADCBBF74CF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_PaymentOfPrincipalAmortizationMember" xlink:label="loc_wdc_PaymentOfPrincipalAmortizationMember_CCA0D40E82A5524BBF2C9DADCBBF4129" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_F34A1096E09F0874BAF79DADCBBF74CF" xlink:to="loc_wdc_PaymentOfPrincipalAmortizationMember_CCA0D40E82A5524BBF2C9DADCBBF4129" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_PurchaseOptionExercisePriceMember" xlink:label="loc_wdc_PurchaseOptionExercisePriceMember_E258C22920F71FB7628D9DADCBBF9A15" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_F34A1096E09F0874BAF79DADCBBF74CF" xlink:to="loc_wdc_PurchaseOptionExercisePriceMember_E258C22920F71FB7628D9DADCBBF9A15" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_4055F13129AB22B25D6D9DADCBBF6814" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_4055F13129AB22B25D6D9DADCBBF6814" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_4E6037C06478C6DFC0519DADCBC069BC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_4E6037C06478C6DFC0519DADCBC069BC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_1E53591EA01E9708A1FC9DADCBC1AAA0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_1E53591EA01E9708A1FC9DADCBC1AAA0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_1CE5972EDEEB1071CE929DADCBC12E68" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_1CE5972EDEEB1071CE929DADCBC12E68" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_627688B99F5F8ECE95E59DADCBC1FDE0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_627688B99F5F8ECE95E59DADCBC1FDE0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureThereafter" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_B4793613D3A1512DB78E9DADCBC2D758" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_B4793613D3A1512DB78E9DADCBC2D758" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_D5D2858744DA59809BD79DADCBC2FD62" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_8B70EEAA18F493DD6E8B9DADCBBFEAB0" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_D5D2858744DA59809BD79DADCBC2FD62" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_1C10F7D3CF4D5FCF87C9407F0DE03898" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_417703FD498E5C01B4AE5558235322BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_1C10F7D3CF4D5FCF87C9407F0DE03898" xlink:to="loc_us-gaap_LossContingenciesTable_417703FD498E5C01B4AE5558235322BE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_27773C6B12B55FE695B23E9CE55F79FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_417703FD498E5C01B4AE5558235322BE" xlink:to="loc_wdc_BalanceSheetInformationAxis_27773C6B12B55FE695B23E9CE55F79FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_540027FDCFBE4A92F54048A9C876D8FF_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_27773C6B12B55FE695B23E9CE55F79FE" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_540027FDCFBE4A92F54048A9C876D8FF_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_80EF2BECAEA3543599F0AF3EFA581A64" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_27773C6B12B55FE695B23E9CE55F79FE" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_80EF2BECAEA3543599F0AF3EFA581A64" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_B2CBA964E5AA5EC8A52805BDA5BA121C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_80EF2BECAEA3543599F0AF3EFA581A64" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_B2CBA964E5AA5EC8A52805BDA5BA121C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_B64E6A456D01585897CC6D79D8C3658E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_417703FD498E5C01B4AE5558235322BE" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_B64E6A456D01585897CC6D79D8C3658E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_D40BE29FF8D501144FCD48A9C8773706_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_B64E6A456D01585897CC6D79D8C3658E" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_D40BE29FF8D501144FCD48A9C8773706_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_65CFBC5990D15547873942ED6044D23C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_B64E6A456D01585897CC6D79D8C3658E" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_65CFBC5990D15547873942ED6044D23C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_1E3E73FC35025E09ADE9B518DCB4F774" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_65CFBC5990D15547873942ED6044D23C" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_1E3E73FC35025E09ADE9B518DCB4F774" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_08954DC8C26252898AB10E457A1ECEE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1C10F7D3CF4D5FCF87C9407F0DE03898" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_08954DC8C26252898AB10E457A1ECEE9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_DD0F5A316C515FBFB33358FA967055EE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_272589374D985F62A2F32AA63E565CC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DD0F5A316C515FBFB33358FA967055EE" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_272589374D985F62A2F32AA63E565CC0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_6AA72141DFFA52D6ABB86F9CB2EBA27C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_272589374D985F62A2F32AA63E565CC0" xlink:to="loc_wdc_BalanceSheetInformationAxis_6AA72141DFFA52D6ABB86F9CB2EBA27C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_D6B03D27D0824ADC7A0545B8508AAB63_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_6AA72141DFFA52D6ABB86F9CB2EBA27C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_D6B03D27D0824ADC7A0545B8508AAB63_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_E43BF7AA4F6F58EE933CE071CF18B8D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_6AA72141DFFA52D6ABB86F9CB2EBA27C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_E43BF7AA4F6F58EE933CE071CF18B8D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NotesReceivableMember" xlink:label="loc_us-gaap_NotesReceivableMember_891DB73DB82D50FB88C8E324512CE250" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E43BF7AA4F6F58EE933CE071CF18B8D6" xlink:to="loc_us-gaap_NotesReceivableMember_891DB73DB82D50FB88C8E324512CE250" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_F9D0FDE6B72056049435C24F3BFC723E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E43BF7AA4F6F58EE933CE071CF18B8D6" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_F9D0FDE6B72056049435C24F3BFC723E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_05A8963738DF5BA7905209BDC442D85C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E43BF7AA4F6F58EE933CE071CF18B8D6" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_05A8963738DF5BA7905209BDC442D85C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_3571766EAD2257F0B0DE4D4461BFB05B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E43BF7AA4F6F58EE933CE071CF18B8D6" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_3571766EAD2257F0B0DE4D4461BFB05B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_C90748D9E86F5F748357CB0700483015" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_272589374D985F62A2F32AA63E565CC0" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_C90748D9E86F5F748357CB0700483015" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_A80D211FC07FDA6221EE45B8508C9BFF_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_C90748D9E86F5F748357CB0700483015" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_A80D211FC07FDA6221EE45B8508C9BFF_8FE9D1F955D6542891D1477AECBD5C20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_77E82CF5BF1951DEBC2A33C4E5B5D6C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_C90748D9E86F5F748357CB0700483015" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_77E82CF5BF1951DEBC2A33C4E5B5D6C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_308A118625F85FE4A4EB598446B9A17E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_77E82CF5BF1951DEBC2A33C4E5B5D6C7" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_308A118625F85FE4A4EB598446B9A17E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_5DB89E081EF95AA2917E2D033684FECC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DD0F5A316C515FBFB33358FA967055EE" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_5DB89E081EF95AA2917E2D033684FECC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_B2D2BA0E87D4590882B93140FD8137C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DD0F5A316C515FBFB33358FA967055EE" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_B2D2BA0E87D4590882B93140FD8137C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryGross" xlink:label="loc_us-gaap_InventoryGross_57C91F59766A59F6AAB5FF44160B317D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DD0F5A316C515FBFB33358FA967055EE" xlink:to="loc_us-gaap_InventoryGross_57C91F59766A59F6AAB5FF44160B317D" xlink:type="arc" />
  </link:definitionLink>
  <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/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_B3E37545D0B4BABABEB49DADC8CC0828" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A58803112DFF0505E5A89DADC8C9B492" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B3E37545D0B4BABABEB49DADC8CC0828" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A58803112DFF0505E5A89DADC8C9B492" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_B54D9AE9E570FA7828E99DADC8CA6B86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A58803112DFF0505E5A89DADC8C9B492" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_B54D9AE9E570FA7828E99DADC8CA6B86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_48A126929D0E7301291F9DADC8CA1967_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_B54D9AE9E570FA7828E99DADC8CA6B86" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_48A126929D0E7301291F9DADC8CA1967_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_48A126929D0E7301291F9DADC8CA1967" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_B54D9AE9E570FA7828E99DADC8CA6B86" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_48A126929D0E7301291F9DADC8CA1967" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_B89FF5B85271D9AFDAAD9DADC8CA4A48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_48A126929D0E7301291F9DADC8CA1967" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_B89FF5B85271D9AFDAAD9DADC8CA4A48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_1FF0AEC35A5FCE4CE7139DADC8CBD1FF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_48A126929D0E7301291F9DADC8CA1967" xlink:to="loc_us-gaap_ContractTerminationMember_1FF0AEC35A5FCE4CE7139DADC8CBD1FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_E3C4F5170B1B47C83EF69DADC8CB91AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A58803112DFF0505E5A89DADC8C9B492" xlink:to="loc_us-gaap_RestructuringPlanAxis_E3C4F5170B1B47C83EF69DADC8CB91AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C326604EC0192D593EC79DADC8CB1AAE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_E3C4F5170B1B47C83EF69DADC8CB91AD" xlink:to="loc_us-gaap_RestructuringPlanDomain_C326604EC0192D593EC79DADC8CB1AAE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C326604EC0192D593EC79DADC8CB1AAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_E3C4F5170B1B47C83EF69DADC8CB91AD" xlink:to="loc_us-gaap_RestructuringPlanDomain_C326604EC0192D593EC79DADC8CB1AAE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_78AAED8E472C8AE245079DADC8CB4EFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C326604EC0192D593EC79DADC8CB1AAE" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_78AAED8E472C8AE245079DADC8CB4EFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_E05544D72D14C645EAED9DADC8CC0F4A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B3E37545D0B4BABABEB49DADC8CC0828" xlink:to="loc_us-gaap_RestructuringReserveRollForward_E05544D72D14C645EAED9DADC8CC0F4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_C32847DBF9488671E0C89DADC8CC8DC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E05544D72D14C645EAED9DADC8CC0F4A" xlink:to="loc_us-gaap_RestructuringReserve_C32847DBF9488671E0C89DADC8CC8DC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_0D20BD33E3F7773983419DADC8CC1249" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E05544D72D14C645EAED9DADC8CC0F4A" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_0D20BD33E3F7773983419DADC8CC1249" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_56EFDEFE3649915B28489DADC8CC96BD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E05544D72D14C645EAED9DADC8CC0F4A" xlink:to="loc_us-gaap_PaymentsForRestructuring_56EFDEFE3649915B28489DADC8CC96BD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetailTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_E883D413F547547935D5D5FF6BC6423A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C5661C88F1DB986032EAD5FF6BC40B26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E883D413F547547935D5D5FF6BC6423A" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C5661C88F1DB986032EAD5FF6BC40B26" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_00E134AE50F27ACA8A9FD5FF6BC4C65C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C5661C88F1DB986032EAD5FF6BC40B26" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_00E134AE50F27ACA8A9FD5FF6BC4C65C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_D9B903E314EA085495ADD5FF6BC47374_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_00E134AE50F27ACA8A9FD5FF6BC4C65C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_D9B903E314EA085495ADD5FF6BC47374_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_D9B903E314EA085495ADD5FF6BC47374" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_00E134AE50F27ACA8A9FD5FF6BC4C65C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_D9B903E314EA085495ADD5FF6BC47374" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_828D923B8204D5FB8E2DD5FF6BC5B8DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_D9B903E314EA085495ADD5FF6BC47374" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_828D923B8204D5FB8E2DD5FF6BC5B8DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_B73FAE938F0880CC21F9D5FF6BC5211C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_D9B903E314EA085495ADD5FF6BC47374" xlink:to="loc_us-gaap_ContractTerminationMember_B73FAE938F0880CC21F9D5FF6BC5211C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_A1E1C788EFA6A193796CD5FF6BC55447" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C5661C88F1DB986032EAD5FF6BC40B26" xlink:to="loc_us-gaap_RestructuringPlanAxis_A1E1C788EFA6A193796CD5FF6BC55447" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C8553FEC44FBC962D2DDD5FF6BC5AD44_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_A1E1C788EFA6A193796CD5FF6BC55447" xlink:to="loc_us-gaap_RestructuringPlanDomain_C8553FEC44FBC962D2DDD5FF6BC5AD44_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C8553FEC44FBC962D2DDD5FF6BC5AD44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_A1E1C788EFA6A193796CD5FF6BC55447" xlink:to="loc_us-gaap_RestructuringPlanDomain_C8553FEC44FBC962D2DDD5FF6BC5AD44" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_827B2DBB8C84EAF2038ED5FF6BC611EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C8553FEC44FBC962D2DDD5FF6BC5AD44" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_827B2DBB8C84EAF2038ED5FF6BC611EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_D5A8C8212C2F369C0817D5FF6BC6775B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E883D413F547547935D5D5FF6BC6423A" xlink:to="loc_us-gaap_RestructuringCharges_D5A8C8212C2F369C0817D5FF6BC6775B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostExpectedCost1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_DED5724FB60556B5EC1CD5FF6BC62A79" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E883D413F547547935D5D5FF6BC6423A" xlink:to="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_DED5724FB60556B5EC1CD5FF6BC62A79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_43BF9BFDB6F7F10C1107D5FF6BC7E3CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E883D413F547547935D5D5FF6BC6423A" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_43BF9BFDB6F7F10C1107D5FF6BC7E3CA" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_B5B16699312F0A998D59D5FF6BB46061" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_02D9AF5A3BFA95C44B06D5FF6BB22CAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B5B16699312F0A998D59D5FF6BB46061" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_02D9AF5A3BFA95C44B06D5FF6BB22CAA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_DF5E6765F1920DF047E8D5FF6BB38396" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_02D9AF5A3BFA95C44B06D5FF6BB22CAA" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_DF5E6765F1920DF047E8D5FF6BB38396" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B9B8B48191902F3DDB10D5FF6BB3ABC7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_DF5E6765F1920DF047E8D5FF6BB38396" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B9B8B48191902F3DDB10D5FF6BB3ABC7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B9B8B48191902F3DDB10D5FF6BB3ABC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_DF5E6765F1920DF047E8D5FF6BB38396" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B9B8B48191902F3DDB10D5FF6BB3ABC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_792A7768D8E631540FCAD5FF6BB31049" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_B9B8B48191902F3DDB10D5FF6BB3ABC7" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_792A7768D8E631540FCAD5FF6BB31049" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_DA93389F0D0BD7771A55D5FF6BB44994" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_02D9AF5A3BFA95C44B06D5FF6BB22CAA" xlink:to="loc_us-gaap_RestructuringPlanAxis_DA93389F0D0BD7771A55D5FF6BB44994" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3F20CEEE37E74972F18FD5FF6BB4F3B3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_DA93389F0D0BD7771A55D5FF6BB44994" xlink:to="loc_us-gaap_RestructuringPlanDomain_3F20CEEE37E74972F18FD5FF6BB4F3B3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3F20CEEE37E74972F18FD5FF6BB4F3B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_DA93389F0D0BD7771A55D5FF6BB44994" xlink:to="loc_us-gaap_RestructuringPlanDomain_3F20CEEE37E74972F18FD5FF6BB4F3B3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_095ED003BB5304924E38D5FF6BB4CD83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3F20CEEE37E74972F18FD5FF6BB4F3B3" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_095ED003BB5304924E38D5FF6BB4CD83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_5FB2AF460149686A1BC3D5FF6BB5336F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B5B16699312F0A998D59D5FF6BB46061" xlink:to="loc_us-gaap_RestructuringReserve_5FB2AF460149686A1BC3D5FF6BB5336F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_36E22C8E75636706FE05D5FF6BB54434" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B5B16699312F0A998D59D5FF6BB46061" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_36E22C8E75636706FE05D5FF6BB54434" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_33A032B91728FAE74698D5FF6BE90895" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A3E565059A7128F9DFCFD5FF6BE7A180" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_33A032B91728FAE74698D5FF6BE90895" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A3E565059A7128F9DFCFD5FF6BE7A180" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_EE06FEAC3961788D5E00D5FF6BE7132B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_A3E565059A7128F9DFCFD5FF6BE7A180" xlink:to="loc_us-gaap_RestructuringPlanAxis_EE06FEAC3961788D5E00D5FF6BE7132B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_E00DA735E73BD44E1B23D5FF6BE8E240_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_EE06FEAC3961788D5E00D5FF6BE7132B" xlink:to="loc_us-gaap_RestructuringPlanDomain_E00DA735E73BD44E1B23D5FF6BE8E240_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_E00DA735E73BD44E1B23D5FF6BE8E240" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_EE06FEAC3961788D5E00D5FF6BE7132B" xlink:to="loc_us-gaap_RestructuringPlanDomain_E00DA735E73BD44E1B23D5FF6BE8E240" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_6038E2812F5369324EC5D5FF6BE8DD57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_E00DA735E73BD44E1B23D5FF6BE8E240" xlink:to="loc_wdc_RestructuringPlanMember_6038E2812F5369324EC5D5FF6BE8DD57" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_009C3E4FDAFF69D0E454D5FF6BE821C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_E00DA735E73BD44E1B23D5FF6BE8E240" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_009C3E4FDAFF69D0E454D5FF6BE821C6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_80A9EAB9DE142F975EC6D5FF6BE8ABCC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_E00DA735E73BD44E1B23D5FF6BE8E240" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_80A9EAB9DE142F975EC6D5FF6BE8ABCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_78EA2E719929ABB31C06D5FF6BE956F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_33A032B91728FAE74698D5FF6BE90895" xlink:to="loc_us-gaap_RestructuringCharges_78EA2E719929ABB31C06D5FF6BE956F9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_02927F344986C6C2EEF19DADC91C3E10" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_722F392FC3FCCCE80E749DADC919DC14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_02927F344986C6C2EEF19DADC91C3E10" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_722F392FC3FCCCE80E749DADC919DC14" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_341147D80B07AA2172869DADC91A669E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_722F392FC3FCCCE80E749DADC919DC14" xlink:to="loc_us-gaap_RestructuringPlanAxis_341147D80B07AA2172869DADC91A669E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3A33864F7E313AF513539DADC91A615D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_341147D80B07AA2172869DADC91A669E" xlink:to="loc_us-gaap_RestructuringPlanDomain_3A33864F7E313AF513539DADC91A615D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3A33864F7E313AF513539DADC91A615D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_341147D80B07AA2172869DADC91A669E" xlink:to="loc_us-gaap_RestructuringPlanDomain_3A33864F7E313AF513539DADC91A615D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_894DAF7D3D2BF1FEE7989DADC91B1260" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3A33864F7E313AF513539DADC91A615D" xlink:to="loc_wdc_RestructuringPlanMember_894DAF7D3D2BF1FEE7989DADC91B1260" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_280641B586D72DD68E589DADC91B682E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_722F392FC3FCCCE80E749DADC919DC14" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_280641B586D72DD68E589DADC91B682E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_60CB768137F2D7BE37C09DADC91BFF7E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_280641B586D72DD68E589DADC91B682E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_60CB768137F2D7BE37C09DADC91BFF7E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_60CB768137F2D7BE37C09DADC91BFF7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_280641B586D72DD68E589DADC91B682E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_60CB768137F2D7BE37C09DADC91BFF7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_ABC6A0D8758C49B549A19DADC91C1965" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_60CB768137F2D7BE37C09DADC91BFF7E" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_ABC6A0D8758C49B549A19DADC91C1965" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_D1339D4F6C1DC5DA9D5C9DADC91CB034" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_60CB768137F2D7BE37C09DADC91BFF7E" xlink:to="loc_us-gaap_ContractTerminationMember_D1339D4F6C1DC5DA9D5C9DADC91CB034" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_E6F03F2A91657A41D8409DADC91C94F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_02927F344986C6C2EEF19DADC91C3E10" xlink:to="loc_us-gaap_RestructuringReserveRollForward_E6F03F2A91657A41D8409DADC91C94F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_892171F6D69DF56E08149DADC91D62F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E6F03F2A91657A41D8409DADC91C94F1" xlink:to="loc_us-gaap_RestructuringReserve_892171F6D69DF56E08149DADC91D62F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_71CFDC48BBACC081B2889DADC91DEF7C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E6F03F2A91657A41D8409DADC91C94F1" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_71CFDC48BBACC081B2889DADC91DEF7C" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_000B8903084719C9DB33D5FF6BF2A93A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BF00418B920A06EA39E9D5FF6BF151B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_000B8903084719C9DB33D5FF6BF2A93A" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BF00418B920A06EA39E9D5FF6BF151B8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_33BD9B2DDAF84814A0F9D5FF6BF162B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BF00418B920A06EA39E9D5FF6BF151B8" xlink:to="loc_us-gaap_RestructuringPlanAxis_33BD9B2DDAF84814A0F9D5FF6BF162B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3431B416AED51354F694D5FF6BF20187_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_33BD9B2DDAF84814A0F9D5FF6BF162B6" xlink:to="loc_us-gaap_RestructuringPlanDomain_3431B416AED51354F694D5FF6BF20187_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3431B416AED51354F694D5FF6BF20187" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_33BD9B2DDAF84814A0F9D5FF6BF162B6" xlink:to="loc_us-gaap_RestructuringPlanDomain_3431B416AED51354F694D5FF6BF20187" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ClosureofForeignManufacturingFacilitiesMember" xlink:label="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_2845A32423E4BBC3C54DD5FF6BF2D34C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3431B416AED51354F694D5FF6BF20187" xlink:to="loc_wdc_ClosureofForeignManufacturingFacilitiesMember_2845A32423E4BBC3C54DD5FF6BF2D34C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_4B2DC308ABBC6A007FBBD5FF6BF2C2F8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3431B416AED51354F694D5FF6BF20187" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_4B2DC308ABBC6A007FBBD5FF6BF2C2F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:label="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_DDEFDEBD0537947779C7D5FF6BF20953" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_000B8903084719C9DB33D5FF6BF2A93A" xlink:to="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_DDEFDEBD0537947779C7D5FF6BF20953" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_63B1394EF8B338DAA98B7926192DCFAC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_670402C20741EDF32E9E79261927500C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_63B1394EF8B338DAA98B7926192DCFAC" xlink:to="loc_us-gaap_DebtInstrumentTable_670402C20741EDF32E9E79261927500C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5BECE95F958892028C277926192727FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_670402C20741EDF32E9E79261927500C" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5BECE95F958892028C277926192727FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0E852F10D7959FD6062D792619271EE4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5BECE95F958892028C277926192727FA" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0E852F10D7959FD6062D792619271EE4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0E852F10D7959FD6062D792619271EE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_5BECE95F958892028C277926192727FA" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0E852F10D7959FD6062D792619271EE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_8E6E9D1453866D80EDE3792619285E23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0E852F10D7959FD6062D792619271EE4" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_8E6E9D1453866D80EDE3792619285E23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_87E0F2166735F024D45F7926192AC045" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_670402C20741EDF32E9E79261927500C" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_87E0F2166735F024D45F7926192AC045" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_FF7329C615C5D42D47577926192A82E8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_87E0F2166735F024D45F7926192AC045" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_FF7329C615C5D42D47577926192A82E8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3E047421F15C36FE50AF7926192A9495" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_87E0F2166735F024D45F7926192AC045" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3E047421F15C36FE50AF7926192A9495" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_FF7329C615C5D42D47577926192A82E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3E047421F15C36FE50AF7926192A9495" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_FF7329C615C5D42D47577926192A82E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_FCF97A18A7F6C40039CC7926192B6DBF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3E047421F15C36FE50AF7926192A9495" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_FCF97A18A7F6C40039CC7926192B6DBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_0073CEA6BFBBC14B84757926192B0D03" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3E047421F15C36FE50AF7926192A9495" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_0073CEA6BFBBC14B84757926192B0D03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_9FFEA9D18B9755AC0FD57926192B0CFF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_670402C20741EDF32E9E79261927500C" xlink:to="loc_us-gaap_DebtInstrumentAxis_9FFEA9D18B9755AC0FD57926192B0CFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_9FFEA9D18B9755AC0FD57926192B0CFF" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_9FFEA9D18B9755AC0FD57926192B0CFF" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_67964E5D46B6481882557926192BD477" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_67964E5D46B6481882557926192BD477" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TermLoanA1Member" xlink:label="loc_wdc_TermLoanA1Member_BF82FEDFBE0036E010297926192C8433" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84" xlink:to="loc_wdc_TermLoanA1Member_BF82FEDFBE0036E010297926192C8433" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_U.S.TermLoanB4Member" xlink:label="loc_wdc_U.S.TermLoanB4Member_9EAC6B962575AEFA161B7926192CE181" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84" xlink:to="loc_wdc_U.S.TermLoanB4Member_9EAC6B962575AEFA161B7926192CE181" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember" xlink:label="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_E82CB22C8E9112F9D1E97926192DA72B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84" xlink:to="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_E82CB22C8E9112F9D1E97926192DA72B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember" xlink:label="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_9ED33F650818E08EB84E7926192D324D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6D41D5F4798252E8C23A7926192B3C84" xlink:to="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_9ED33F650818E08EB84E7926192D324D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_D0051A9D50E0E73646A07926192DEFD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_63B1394EF8B338DAA98B7926192DCFAC" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_D0051A9D50E0E73646A07926192DEFD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_6E9C04DE18AC70CF4C227926192E6AA6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_63B1394EF8B338DAA98B7926192DCFAC" xlink:to="loc_us-gaap_LongTermDebtFairValue_6E9C04DE18AC70CF4C227926192E6AA6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E960E6C0DAFF0A47F530D5FF6EDC9184" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6D6349AD34C64DDE1F91D5FF6ED69B85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E960E6C0DAFF0A47F530D5FF6EDC9184" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6D6349AD34C64DDE1F91D5FF6ED69B85" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1B3E68F77D37859E2D71D5FF6ED74C54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6D6349AD34C64DDE1F91D5FF6ED69B85" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1B3E68F77D37859E2D71D5FF6ED74C54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_DACBC98B5D5B5691D4ACD5FF6ED7E3F7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1B3E68F77D37859E2D71D5FF6ED74C54" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_DACBC98B5D5B5691D4ACD5FF6ED7E3F7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_DACBC98B5D5B5691D4ACD5FF6ED7E3F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1B3E68F77D37859E2D71D5FF6ED74C54" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_DACBC98B5D5B5691D4ACD5FF6ED7E3F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_7A1C69B7046C15EFCFFCD5FF6ED78099" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_DACBC98B5D5B5691D4ACD5FF6ED7E3F7" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_7A1C69B7046C15EFCFFCD5FF6ED78099" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_D0E84D6A1905EAC2999AD5FF6ED789D5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6D6349AD34C64DDE1F91D5FF6ED69B85" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_D0E84D6A1905EAC2999AD5FF6ED789D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_D0E84D6A1905EAC2999AD5FF6ED789D5" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_D0E84D6A1905EAC2999AD5FF6ED789D5" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_69F04E8343BF51513A35D5FF6ED8E00F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_MoneyMarketFundsMember_69F04E8343BF51513A35D5FF6ED8E00F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_EC24D5810B4A58168F75D5FF6ED8BBE3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_CertificatesOfDepositMember_EC24D5810B4A58168F75D5FF6ED8BBE3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_CorporatenoteandbondsecuritiesMember" xlink:label="loc_wdc_CorporatenoteandbondsecuritiesMember_5504A8DC59D6347EF4CAD5FF6ED99D05" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_wdc_CorporatenoteandbondsecuritiesMember_5504A8DC59D6347EF4CAD5FF6ED99D05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_8A890E16A035DD7C2ABBD5FF6ED9727A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_8A890E16A035DD7C2ABBD5FF6ED9727A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_MunicipalNotesAndBondsMember" xlink:label="loc_wdc_MunicipalNotesAndBondsMember_275E4BBA990CDB281717D5FF6ED998F2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_wdc_MunicipalNotesAndBondsMember_275E4BBA990CDB281717D5FF6ED998F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_479F9C99FB432F571FE6D5FF6ED9748A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_EquitySecuritiesMember_479F9C99FB432F571FE6D5FF6ED9748A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_47E1BA051157F6B4FB53D5FF6ED975F8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_47E1BA051157F6B4FB53D5FF6ED975F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_18EC25653DA9C2CCB64FD5FF6ED95EE1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_18EC25653DA9C2CCB64FD5FF6ED95EE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_C38E6EF1F3D5ABC6C250D5FF6ED944BC" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_C38E6EF1F3D5ABC6C250D5FF6ED944BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_D140A942B935F399E22CD5FF6EDA1D6D" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_ForeignExchangeContractMember_D140A942B935F399E22CD5FF6EDA1D6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_9D336B715A4F4C40165DD5FF6EDA5E61" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EA978E47E7534750803FD5FF6ED8AAB3" xlink:to="loc_us-gaap_InterestRateSwapMember_9D336B715A4F4C40165DD5FF6EDA5E61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7A6C50C56F9B47CDEF97D5FF6EDA72FC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6D6349AD34C64DDE1F91D5FF6ED69B85" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7A6C50C56F9B47CDEF97D5FF6EDA72FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_270EFD2802C05B73B374D5FF6EDAC5DB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7A6C50C56F9B47CDEF97D5FF6EDA72FC" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_270EFD2802C05B73B374D5FF6EDAC5DB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_270EFD2802C05B73B374D5FF6EDAC5DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7A6C50C56F9B47CDEF97D5FF6EDA72FC" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_270EFD2802C05B73B374D5FF6EDAC5DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_ACA49CF2895FE088424CD5FF6EDBE0FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_270EFD2802C05B73B374D5FF6EDAC5DB" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_ACA49CF2895FE088424CD5FF6EDBE0FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_C09C95510FB736CA7DE5D5FF6EDBFE23" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_270EFD2802C05B73B374D5FF6EDAC5DB" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_C09C95510FB736CA7DE5D5FF6EDBFE23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_4BDA43595EAA86D46B72D5FF6EDB044A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_270EFD2802C05B73B374D5FF6EDAC5DB" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_4BDA43595EAA86D46B72D5FF6EDB044A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_E58A2CEDD04FB7791226D5FF6EDCAADE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E960E6C0DAFF0A47F530D5FF6EDC9184" xlink:to="loc_us-gaap_AssetsAbstract_E58A2CEDD04FB7791226D5FF6EDCAADE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_CB82B77423A44B44D4CFD5FF6EDC38D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_E58A2CEDD04FB7791226D5FF6EDCAADE" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_CB82B77423A44B44D4CFD5FF6EDC38D1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ShorttermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_ShorttermInvestmentsFairValueDisclosure_1A3C22FF501E8C17FA8AD5FF6EDC05AE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_E58A2CEDD04FB7791226D5FF6EDCAADE" xlink:to="loc_wdc_ShorttermInvestmentsFairValueDisclosure_1A3C22FF501E8C17FA8AD5FF6EDC05AE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_LongtermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_LongtermInvestmentsFairValueDisclosure_383F1806D2A3E2D4D3DDD5FF6EDDF2FC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_E58A2CEDD04FB7791226D5FF6EDCAADE" xlink:to="loc_wdc_LongtermInvestmentsFairValueDisclosure_383F1806D2A3E2D4D3DDD5FF6EDDF2FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_1067014200766A4FB45CD5FF6EDD2819" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_E58A2CEDD04FB7791226D5FF6EDCAADE" xlink:to="loc_us-gaap_DerivativeAssets_1067014200766A4FB45CD5FF6EDD2819" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_8F0D275714DE84F29F49D5FF6EDD2A02" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_E58A2CEDD04FB7791226D5FF6EDCAADE" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_8F0D275714DE84F29F49D5FF6EDD2A02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_CAAE32E78CCE3755A30ED5FF6EDD84F4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E960E6C0DAFF0A47F530D5FF6EDC9184" xlink:to="loc_us-gaap_LiabilitiesAbstract_CAAE32E78CCE3755A30ED5FF6EDD84F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_EC354206C2E2E661FAE2D5FF6EDD9FA0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_CAAE32E78CCE3755A30ED5FF6EDD84F4" xlink:to="loc_us-gaap_DerivativeLiabilities_EC354206C2E2E661FAE2D5FF6EDD9FA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_863EFF280F95167160E7D5FF6EDE5C68" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_CAAE32E78CCE3755A30ED5FF6EDD84F4" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_863EFF280F95167160E7D5FF6EDE5C68" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefit" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefitAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="wdc-20180928.xsd#wdc_IncomeTaxDisclosureLineItems" xlink:label="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:type="locator" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_IncomeTaxDisclosureTable" xlink:label="loc_wdc_IncomeTaxDisclosureTable_5BF6005F3A583FD05C61DA1C70E3046A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_IncomeTaxDisclosureTable_5BF6005F3A583FD05C61DA1C70E3046A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_60FD290ACCB89C7938BADA1C70E3ADDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_5BF6005F3A583FD05C61DA1C70E3046A" xlink:to="loc_us-gaap_RangeAxis_60FD290ACCB89C7938BADA1C70E3ADDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_EEA1F9A4E3671EDE95B3DA1C70E3AD4B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_60FD290ACCB89C7938BADA1C70E3ADDA" xlink:to="loc_us-gaap_RangeMember_EEA1F9A4E3671EDE95B3DA1C70E3AD4B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_EEA1F9A4E3671EDE95B3DA1C70E3AD4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_60FD290ACCB89C7938BADA1C70E3ADDA" xlink:to="loc_us-gaap_RangeMember_EEA1F9A4E3671EDE95B3DA1C70E3AD4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_553D85C896058BA9354EDA1C70E4CD4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_EEA1F9A4E3671EDE95B3DA1C70E3AD4B" xlink:to="loc_us-gaap_MaximumMember_553D85C896058BA9354EDA1C70E4CD4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_7237290F51AA86A7148BDA1C70E40732" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_EEA1F9A4E3671EDE95B3DA1C70E3AD4B" xlink:to="loc_us-gaap_MinimumMember_7237290F51AA86A7148BDA1C70E40732" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_B3B675BD65E8CCE99E95DA1C70E46C80" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_5BF6005F3A583FD05C61DA1C70E3046A" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_B3B675BD65E8CCE99E95DA1C70E46C80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_DD92FC0494C9552E666BDA1C70E4ECB4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_B3B675BD65E8CCE99E95DA1C70E46C80" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_DD92FC0494C9552E666BDA1C70E4ECB4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_DD92FC0494C9552E666BDA1C70E4ECB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_B3B675BD65E8CCE99E95DA1C70E46C80" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_DD92FC0494C9552E666BDA1C70E4ECB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_2A9D639A796FB65F7319DA1C70E501CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_DD92FC0494C9552E666BDA1C70E4ECB4" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_2A9D639A796FB65F7319DA1C70E501CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_5A01813B9C08068B4E05DA1C70E51E65" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_5BF6005F3A583FD05C61DA1C70E3046A" xlink:to="loc_us-gaap_StatementScenarioAxis_5A01813B9C08068B4E05DA1C70E51E65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_AB5ED473858702CDDD33DA1C70E5DE72_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_5A01813B9C08068B4E05DA1C70E51E65" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_AB5ED473858702CDDD33DA1C70E5DE72_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_AB5ED473858702CDDD33DA1C70E5DE72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_5A01813B9C08068B4E05DA1C70E51E65" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_AB5ED473858702CDDD33DA1C70E5DE72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_356EED85B1BC67653CEFDA1C70E6388D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_AB5ED473858702CDDD33DA1C70E5DE72" xlink:to="loc_us-gaap_ScenarioForecastMember_356EED85B1BC67653CEFDA1C70E6388D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_A1BC15BBD30493931441DA1C70E7CFF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_A1BC15BBD30493931441DA1C70E7CFF1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_0D239030CEC3F9CFBA88DA1C70E7B491" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_0D239030CEC3F9CFBA88DA1C70E7B491" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse" xlink:label="loc_wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse_9726E4060937E1C6E039DA1C70E9B91C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse_9726E4060937E1C6E039DA1C70E9B91C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse" xlink:label="loc_wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse_523BC7000B822A5039D7DA1C70E9C991" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse_523BC7000B822A5039D7DA1C70E9C991" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxCutsandJobsActof2017IncompleteAccountingChangeinTaxRateDeferredTaxesProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_wdc_TaxCutsandJobsActof2017IncompleteAccountingChangeinTaxRateDeferredTaxesProvisionalIncomeTaxExpenseBenefit_AA1755CCE3BD79942535DA1C70E97416" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_TaxCutsandJobsActof2017IncompleteAccountingChangeinTaxRateDeferredTaxesProvisionalIncomeTaxExpenseBenefit_AA1755CCE3BD79942535DA1C70E97416" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount_14BEDE358C5A65ECD912DA1C70EA5C54" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount_14BEDE358C5A65ECD912DA1C70EA5C54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_EDF99A8CB21A8CDB451FDA1C70EA6127" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_EDF99A8CB21A8CDB451FDA1C70EA6127" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EffectiveIncomeTaxRateReconciliationOtherSpecifiedAssetsPercent" xlink:label="loc_wdc_EffectiveIncomeTaxRateReconciliationOtherSpecifiedAssetsPercent_188E5B594815C3381230DA1C70EA7339" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_EffectiveIncomeTaxRateReconciliationOtherSpecifiedAssetsPercent_188E5B594815C3381230DA1C70EA7339" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncreaseDecrease" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncreaseDecrease_5F1A6FFEEB411AD81682DA1C70EAC157" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncreaseDecrease_5F1A6FFEEB411AD81682DA1C70EAC157" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxCutsandJobsActof2017ChangeinTaxRateDeferredTaxAssetIncomeTaxExpenseBenefit" xlink:label="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateDeferredTaxAssetIncomeTaxExpenseBenefit_90D862369BE03DB60CCEDA1C70EAC6FC" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateDeferredTaxAssetIncomeTaxExpenseBenefit_90D862369BE03DB60CCEDA1C70EAC6FC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_381FFF25B2ED76DF8F61DA1C70EABB67" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_381FFF25B2ED76DF8F61DA1C70EABB67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_C1686C38DAC129452EB7DA1C70EBFD68" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_C1686C38DAC129452EB7DA1C70EBFD68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_A9A652219EA475CE000FDA1C70EBC769" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_A9A652219EA475CE000FDA1C70EBC769" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_76CEECEDA9F3F0E2B9C7DA1C70EB58E0" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_76CEECEDA9F3F0E2B9C7DA1C70EB58E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_A7157863B96FC29AE290DA1C70EB66D4" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_A7157863B96FC29AE290DA1C70EB66D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_FB977F5D893EB6DFC14DDA1C70ECBA43" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_53E7CF4E8DE3653CF991DA1C70E66FC0" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_FB977F5D893EB6DFC14DDA1C70ECBA43" xlink:type="arc" />
  </link:definitionLink>
  <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/LegalProceedings" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_E75AB68EF7FA321CBB97D5FF6B641188" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_0CCBC8D9A2FFD3BFBF80D5FF6B638CE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_E75AB68EF7FA321CBB97D5FF6B641188" xlink:to="loc_us-gaap_LossContingenciesTable_0CCBC8D9A2FFD3BFBF80D5FF6B638CE3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseAxis" xlink:label="loc_us-gaap_LitigationCaseAxis_F44E07AC8F980B91B1A9D66163427526" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0CCBC8D9A2FFD3BFBF80D5FF6B638CE3" xlink:to="loc_us-gaap_LitigationCaseAxis_F44E07AC8F980B91B1A9D66163427526" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_4D2FEC4CED8A93E4D8DAD6616343398D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationCaseAxis_F44E07AC8F980B91B1A9D66163427526" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_4D2FEC4CED8A93E4D8DAD6616343398D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_4D2FEC4CED8A93E4D8DAD6616343398D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationCaseAxis_F44E07AC8F980B91B1A9D66163427526" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_4D2FEC4CED8A93E4D8DAD6616343398D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember" xlink:label="loc_wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember_6D6B45A1419F138F60E2D6625CED4AD8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationCaseTypeDomain_4D2FEC4CED8A93E4D8DAD6616343398D" xlink:to="loc_wdc_ArtificialInflationInThePricePubliclyTradedCommonStockMember_6D6B45A1419F138F60E2D6625CED4AD8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_CF1A4882B26704276BFCD661160CA1C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0CCBC8D9A2FFD3BFBF80D5FF6B638CE3" xlink:to="loc_dei_LegalEntityAxis_CF1A4882B26704276BFCD661160CA1C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_47A021735CCD824A6B6ED661160D0C83_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_CF1A4882B26704276BFCD661160CA1C6" xlink:to="loc_dei_EntityDomain_47A021735CCD824A6B6ED661160D0C83_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_47A021735CCD824A6B6ED661160D0C83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_CF1A4882B26704276BFCD661160CA1C6" xlink:to="loc_dei_EntityDomain_47A021735CCD824A6B6ED661160D0C83" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_ABC89D17B8FDEBA28524D66135DA1A12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_47A021735CCD824A6B6ED661160D0C83" xlink:to="loc_wdc_SanDiskMember_ABC89D17B8FDEBA28524D66135DA1A12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationStatusAxis" xlink:label="loc_us-gaap_LitigationStatusAxis_99D9EB18179991A4A1FFD660BFDDB249" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0CCBC8D9A2FFD3BFBF80D5FF6B638CE3" xlink:to="loc_us-gaap_LitigationStatusAxis_99D9EB18179991A4A1FFD660BFDDB249" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_CDE7F93DA77A1AB0F1A0D660BFEFADBC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationStatusAxis_99D9EB18179991A4A1FFD660BFDDB249" xlink:to="loc_us-gaap_LitigationStatusDomain_CDE7F93DA77A1AB0F1A0D660BFEFADBC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_CDE7F93DA77A1AB0F1A0D660BFEFADBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationStatusAxis_99D9EB18179991A4A1FFD660BFDDB249" xlink:to="loc_us-gaap_LitigationStatusDomain_CDE7F93DA77A1AB0F1A0D660BFEFADBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PendingLitigationMember" xlink:label="loc_us-gaap_PendingLitigationMember_B02E4DBB5EEBA6072A9DD660E1358A9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LitigationStatusDomain_CDE7F93DA77A1AB0F1A0D660BFEFADBC" xlink:to="loc_us-gaap_PendingLitigationMember_B02E4DBB5EEBA6072A9DD660E1358A9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_F2D4B5A21A3EC853889FD5FF6B632CBB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0CCBC8D9A2FFD3BFBF80D5FF6B638CE3" xlink:to="loc_us-gaap_RangeAxis_F2D4B5A21A3EC853889FD5FF6B632CBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_05D55341BB60A0CF1D74D5FF6B642B2F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_F2D4B5A21A3EC853889FD5FF6B632CBB" xlink:to="loc_us-gaap_RangeMember_05D55341BB60A0CF1D74D5FF6B642B2F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_05D55341BB60A0CF1D74D5FF6B642B2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_F2D4B5A21A3EC853889FD5FF6B632CBB" xlink:to="loc_us-gaap_RangeMember_05D55341BB60A0CF1D74D5FF6B642B2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_BFE60470EFF90EEBCE9BD5FF6B6426C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_05D55341BB60A0CF1D74D5FF6B642B2F" xlink:to="loc_us-gaap_MaximumMember_BFE60470EFF90EEBCE9BD5FF6B6426C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyClaimsDismissedNumber" xlink:label="loc_us-gaap_LossContingencyClaimsDismissedNumber_8DD6D9F0C8C31E9FBBC1D5FF6B65A196" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E75AB68EF7FA321CBB97D5FF6B641188" xlink:to="loc_us-gaap_LossContingencyClaimsDismissedNumber_8DD6D9F0C8C31E9FBBC1D5FF6B65A196" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNumberOfPlaintiffs" xlink:label="loc_us-gaap_LossContingencyNumberOfPlaintiffs_0774764C36A81712E39AD5FF6B65F9AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E75AB68EF7FA321CBB97D5FF6B641188" xlink:to="loc_us-gaap_LossContingencyNumberOfPlaintiffs_0774764C36A81712E39AD5FF6B65F9AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNewClaimsFiledNumber" xlink:label="loc_us-gaap_LossContingencyNewClaimsFiledNumber_577CA8E4A8214A82C10CD5FF6B653F75" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E75AB68EF7FA321CBB97D5FF6B641188" xlink:to="loc_us-gaap_LossContingencyNewClaimsFiledNumber_577CA8E4A8214A82C10CD5FF6B653F75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyPendingClaimsNumber" xlink:label="loc_us-gaap_LossContingencyPendingClaimsNumber_8B2ACCE4D9567533BE4DD5FF6B65546D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E75AB68EF7FA321CBB97D5FF6B641188" xlink:to="loc_us-gaap_LossContingencyPendingClaimsNumber_8B2ACCE4D9567533BE4DD5FF6B65546D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice_4842915062A6B3434EE7D65F560C8062" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E75AB68EF7FA321CBB97D5FF6B641188" xlink:to="loc_us-gaap_SharePrice_4842915062A6B3434EE7D65F560C8062" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShareDetails" 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/PensionsAndOtherPostRetirementBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_6485B7420CF19C12CAFE7E11A1D5BB85" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F2143B00D9F318840DE67E11A1D38CC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_6485B7420CF19C12CAFE7E11A1D5BB85" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F2143B00D9F318840DE67E11A1D38CC3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationAxis" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_FE6E9F261B4C521FA5967E11A1D3E8E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F2143B00D9F318840DE67E11A1D38CC3" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_FE6E9F261B4C521FA5967E11A1D3E8E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_58523DE3F7FA5BD892967E11A1D35B1A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_FE6E9F261B4C521FA5967E11A1D3E8E1" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_58523DE3F7FA5BD892967E11A1D35B1A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_58523DE3F7FA5BD892967E11A1D35B1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_FE6E9F261B4C521FA5967E11A1D3E8E1" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_58523DE3F7FA5BD892967E11A1D35B1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignPlanMember" xlink:label="loc_us-gaap_ForeignPlanMember_DD133AA395B775F5D8147E11A1D47B64" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_58523DE3F7FA5BD892967E11A1D35B1A" xlink:to="loc_us-gaap_ForeignPlanMember_DD133AA395B775F5D8147E11A1D47B64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_0C016D39A469A531CCB77E11A1D47796" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_F2143B00D9F318840DE67E11A1D38CC3" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_0C016D39A469A531CCB77E11A1D47796" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_A48B573E6A8651AACD267E11A1D42492_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_0C016D39A469A531CCB77E11A1D47796" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_A48B573E6A8651AACD267E11A1D42492_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_A48B573E6A8651AACD267E11A1D42492" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_0C016D39A469A531CCB77E11A1D47796" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_A48B573E6A8651AACD267E11A1D42492" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_084D76BCE045289315467E11A1D4B936" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_A48B573E6A8651AACD267E11A1D42492" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_084D76BCE045289315467E11A1D4B936" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3FEE28BEB75D2083831B7E11A1D5837F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_6485B7420CF19C12CAFE7E11A1D5BB85" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_3FEE28BEB75D2083831B7E11A1D5837F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_8453A8DAC3C4520629CD7E11A1D50844" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_6485B7420CF19C12CAFE7E11A1D5BB85" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_8453A8DAC3C4520629CD7E11A1D50844" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_13E339D5F2E780A97A257E11A1D52F7A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_6485B7420CF19C12CAFE7E11A1D5BB85" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_13E339D5F2E780A97A257E11A1D52F7A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_2402678EE6A9F47DEF28C7AA381EB08B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_8D50EF0D0D48510E241FC7AA381B7304" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_2402678EE6A9F47DEF28C7AA381EB08B" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_8D50EF0D0D48510E241FC7AA381B7304" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationAxis" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_ED35895D7A4AAC9996F4C7AA381C806C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_8D50EF0D0D48510E241FC7AA381B7304" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_ED35895D7A4AAC9996F4C7AA381C806C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_860D7A0791A06712965AC7AA381DC50D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_ED35895D7A4AAC9996F4C7AA381C806C" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_860D7A0791A06712965AC7AA381DC50D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanSponsorLocationDomain" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_860D7A0791A06712965AC7AA381DC50D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_ED35895D7A4AAC9996F4C7AA381C806C" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_860D7A0791A06712965AC7AA381DC50D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignPlanMember" xlink:label="loc_us-gaap_ForeignPlanMember_D91A8927E46F83AE57BEC7AA381D3EA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_860D7A0791A06712965AC7AA381DC50D" xlink:to="loc_us-gaap_ForeignPlanMember_D91A8927E46F83AE57BEC7AA381D3EA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_DC5740716CE1291D62BCC7AA381D8781" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_8D50EF0D0D48510E241FC7AA381B7304" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_DC5740716CE1291D62BCC7AA381D8781" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_2FEF25F622EB9C585F3AC7AA381D1455_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_DC5740716CE1291D62BCC7AA381D8781" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_2FEF25F622EB9C585F3AC7AA381D1455_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_2FEF25F622EB9C585F3AC7AA381D1455" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_DC5740716CE1291D62BCC7AA381D8781" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_2FEF25F622EB9C585F3AC7AA381D1455" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_962F9C4548CB1D4EB781C7AA381EB821" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_2FEF25F622EB9C585F3AC7AA381D1455" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_962F9C4548CB1D4EB781C7AA381EB821" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_0F586A3E488000CAC25EC7AA381E858B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_2402678EE6A9F47DEF28C7AA381EB08B" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_0F586A3E488000CAC25EC7AA381E858B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_A35A31E0BA291996BA66C7AA381E26E0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_2402678EE6A9F47DEF28C7AA381EB08B" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_A35A31E0BA291996BA66C7AA381E26E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_D377614F10219BDBBDA3C7AA381EF74C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_2402678EE6A9F47DEF28C7AA381EB08B" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_D377614F10219BDBBDA3C7AA381EF74C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_18DEB313DCEDED995FDFB1C7DFFB7403" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_868E5CFC47A305B87DDDB1C7DFF9DDBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_18DEB313DCEDED995FDFB1C7DFFB7403" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_868E5CFC47A305B87DDDB1C7DFF9DDBC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_62105357DC7E21895BAEB1C7DFF93352" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_868E5CFC47A305B87DDDB1C7DFF9DDBC" xlink:to="loc_us-gaap_StatementScenarioAxis_62105357DC7E21895BAEB1C7DFF93352" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_CE1273D49FAAAAC9FE38B1C7DFF9ED8D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_62105357DC7E21895BAEB1C7DFF93352" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_CE1273D49FAAAAC9FE38B1C7DFF9ED8D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_CE1273D49FAAAAC9FE38B1C7DFF9ED8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_62105357DC7E21895BAEB1C7DFF93352" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_CE1273D49FAAAAC9FE38B1C7DFF9ED8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProFormaMember" xlink:label="loc_us-gaap_ProFormaMember_DB4FE38C144143D5C84DB1C7DFF9FB62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_CE1273D49FAAAAC9FE38B1C7DFF9ED8D" xlink:to="loc_us-gaap_ProFormaMember_DB4FE38C144143D5C84DB1C7DFF9FB62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_F927ADB537FCB4616679B1C7DFFAC53C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_868E5CFC47A305B87DDDB1C7DFF9DDBC" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_F927ADB537FCB4616679B1C7DFFAC53C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_0C7A3500360F94F2E8FFB1C7DFFA7BC1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_F927ADB537FCB4616679B1C7DFFAC53C" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_0C7A3500360F94F2E8FFB1C7DFFA7BC1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_0C7A3500360F94F2E8FFB1C7DFFA7BC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_F927ADB537FCB4616679B1C7DFFAC53C" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_0C7A3500360F94F2E8FFB1C7DFFA7BC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_EACC0E833B2FE1CA1E9AB1C7DFFA33FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_0C7A3500360F94F2E8FFB1C7DFFA7BC1" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_EACC0E833B2FE1CA1E9AB1C7DFFA33FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7CF827D965FFE18C13B1C7DFFA9818" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_868E5CFC47A305B87DDDB1C7DFF9DDBC" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7CF827D965FFE18C13B1C7DFFA9818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_80AB68C23F919504389AB1C7DFFB15EF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7CF827D965FFE18C13B1C7DFFA9818" xlink:to="loc_us-gaap_TypeOfAdoptionMember_80AB68C23F919504389AB1C7DFFB15EF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_80AB68C23F919504389AB1C7DFFB15EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7CF827D965FFE18C13B1C7DFFA9818" xlink:to="loc_us-gaap_TypeOfAdoptionMember_80AB68C23F919504389AB1C7DFFB15EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_C6BDD4C67A37698B2771B1C7DFFBB3B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_80AB68C23F919504389AB1C7DFFB15EF" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_C6BDD4C67A37698B2771B1C7DFFBB3B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_922EEA2EE04104BA412BB1C7DFFCE521" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_18DEB313DCEDED995FDFB1C7DFFB7403" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_922EEA2EE04104BA412BB1C7DFFCE521" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RevenuesAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_7562D8CA8A075943FFDBB1D3BEEBB33C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_9B9BBE81F9688C511DEEB1D3BEE316EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_7562D8CA8A075943FFDBB1D3BEEBB33C" xlink:to="loc_us-gaap_ConcentrationRiskTable_9B9BBE81F9688C511DEEB1D3BEE316EF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A6472CAA93C1D056CB7BB1D5D1F26174" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_9B9BBE81F9688C511DEEB1D3BEE316EF" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A6472CAA93C1D056CB7BB1D5D1F26174" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6EBE28A29BB4430A3618B1D5D1F45318_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A6472CAA93C1D056CB7BB1D5D1F26174" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6EBE28A29BB4430A3618B1D5D1F45318_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6EBE28A29BB4430A3618B1D5D1F45318" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_A6472CAA93C1D056CB7BB1D5D1F26174" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6EBE28A29BB4430A3618B1D5D1F45318" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_AC96594F114B37159B68B1D697A99CD7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6EBE28A29BB4430A3618B1D5D1F45318" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_AC96594F114B37159B68B1D697A99CD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_1F57FFD957D0F0E770F3B1D5370DDD69" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_9B9BBE81F9688C511DEEB1D3BEE316EF" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_1F57FFD957D0F0E770F3B1D5370DDD69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_E568E924A4792B924E67B1D5370FEFC4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_1F57FFD957D0F0E770F3B1D5370DDD69" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_E568E924A4792B924E67B1D5370FEFC4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_E568E924A4792B924E67B1D5370FEFC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_1F57FFD957D0F0E770F3B1D5370DDD69" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_E568E924A4792B924E67B1D5370FEFC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_43AEE1621F615CD9D03FB1D58E7F6C9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_E568E924A4792B924E67B1D5370FEFC4" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_43AEE1621F615CD9D03FB1D58E7F6C9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_45724E1B01B0754FE8B9B1D41CCCF432" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_9B9BBE81F9688C511DEEB1D3BEE316EF" xlink:to="loc_us-gaap_MajorCustomersAxis_45724E1B01B0754FE8B9B1D41CCCF432" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_C08326F6238E8872B4F3B1D41CD6570B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_45724E1B01B0754FE8B9B1D41CCCF432" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_C08326F6238E8872B4F3B1D41CD6570B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_C08326F6238E8872B4F3B1D41CD6570B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_45724E1B01B0754FE8B9B1D41CCCF432" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_C08326F6238E8872B4F3B1D41CD6570B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OneLargeCustomerMember" xlink:label="loc_wdc_OneLargeCustomerMember_C21B83CCBDF2FB505683B1D4EEECA760" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_C08326F6238E8872B4F3B1D41CD6570B" xlink:to="loc_wdc_OneLargeCustomerMember_C21B83CCBDF2FB505683B1D4EEECA760" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TopTenCustomersMember" xlink:label="loc_wdc_TopTenCustomersMember_CE7637ED16AADF2FEE37B1D8F0C67539" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_C08326F6238E8872B4F3B1D41CD6570B" xlink:to="loc_wdc_TopTenCustomersMember_CE7637ED16AADF2FEE37B1D8F0C67539" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_697719018C0744F08346B1D3D960DA66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_7562D8CA8A075943FFDBB1D3BEEBB33C" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_697719018C0744F08346B1D3D960DA66" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_6867A72CC64820E4CD1FB1C7DFE6FED0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_4B297529587CEE234C19B1C7DFE2A25C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6867A72CC64820E4CD1FB1C7DFE6FED0" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_4B297529587CEE234C19B1C7DFE2A25C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FormFactorAxis" xlink:label="loc_wdc_FormFactorAxis_718E6CAFED5CC91CA362B1C7DFE2F928" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_4B297529587CEE234C19B1C7DFE2A25C" xlink:to="loc_wdc_FormFactorAxis_718E6CAFED5CC91CA362B1C7DFE2F928" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FormFactorDomain" xlink:label="loc_wdc_FormFactorDomain_F8432BBF23385D7A48F3B1C7DFE2E9A8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_FormFactorAxis_718E6CAFED5CC91CA362B1C7DFE2F928" xlink:to="loc_wdc_FormFactorDomain_F8432BBF23385D7A48F3B1C7DFE2E9A8_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FormFactorDomain" xlink:label="loc_wdc_FormFactorDomain_F8432BBF23385D7A48F3B1C7DFE2E9A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_FormFactorAxis_718E6CAFED5CC91CA362B1C7DFE2F928" xlink:to="loc_wdc_FormFactorDomain_F8432BBF23385D7A48F3B1C7DFE2E9A8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_HDDMember" xlink:label="loc_wdc_HDDMember_58E48661029EAAEF1345B1C7DFE2941D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FormFactorDomain_F8432BBF23385D7A48F3B1C7DFE2E9A8" xlink:to="loc_wdc_HDDMember_58E48661029EAAEF1345B1C7DFE2941D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FlashbasedMember" xlink:label="loc_wdc_FlashbasedMember_223B1C19108ACAB7C9B2B1C7DFE27C75" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FormFactorDomain_F8432BBF23385D7A48F3B1C7DFE2E9A8" xlink:to="loc_wdc_FlashbasedMember_223B1C19108ACAB7C9B2B1C7DFE27C75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_E93DECB0F8B429E27746B1C7DFE3A594" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_4B297529587CEE234C19B1C7DFE2A25C" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_E93DECB0F8B429E27746B1C7DFE3A594" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4E02B5ED813CA6F09920B1C7DFE3B22A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_E93DECB0F8B429E27746B1C7DFE3A594" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4E02B5ED813CA6F09920B1C7DFE3B22A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4E02B5ED813CA6F09920B1C7DFE3B22A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_E93DECB0F8B429E27746B1C7DFE3A594" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4E02B5ED813CA6F09920B1C7DFE3B22A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_C58F6DB52531870FC3C0B1D710F5556C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_4E02B5ED813CA6F09920B1C7DFE3B22A" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_C58F6DB52531870FC3C0B1D710F5556C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_606A55CA370EB5755BE2B1C7DFE3DBB8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_4B297529587CEE234C19B1C7DFE2A25C" xlink:to="loc_us-gaap_StatementGeographicalAxis_606A55CA370EB5755BE2B1C7DFE3DBB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_3A9144909A5EB36BF242B1C7DFE40B17_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_606A55CA370EB5755BE2B1C7DFE3DBB8" xlink:to="loc_us-gaap_SegmentGeographicalDomain_3A9144909A5EB36BF242B1C7DFE40B17_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_3A9144909A5EB36BF242B1C7DFE40B17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_606A55CA370EB5755BE2B1C7DFE3DBB8" xlink:to="loc_us-gaap_SegmentGeographicalDomain_3A9144909A5EB36BF242B1C7DFE40B17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmericasMember" xlink:label="loc_us-gaap_AmericasMember_9B93E681F5434A9E93BEB1C7DFE418BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_3A9144909A5EB36BF242B1C7DFE40B17" xlink:to="loc_us-gaap_AmericasMember_9B93E681F5434A9E93BEB1C7DFE418BD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EuropeMiddleEastAndAfricaMember" xlink:label="loc_wdc_EuropeMiddleEastAndAfricaMember_21E5A1BCE7379105531EB1C7DFE4B8D1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_3A9144909A5EB36BF242B1C7DFE40B17" xlink:to="loc_wdc_EuropeMiddleEastAndAfricaMember_21E5A1BCE7379105531EB1C7DFE4B8D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AsiaMember" xlink:label="loc_us-gaap_AsiaMember_E6E943BFD74DC40B9497B1C7DFE4C912" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_3A9144909A5EB36BF242B1C7DFE40B17" xlink:to="loc_us-gaap_AsiaMember_E6E943BFD74DC40B9497B1C7DFE4C912" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_941B03806434D61914B0B1C7DFE50EEB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_4B297529587CEE234C19B1C7DFE2A25C" xlink:to="loc_us-gaap_ProductOrServiceAxis_941B03806434D61914B0B1C7DFE50EEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_B640A9BC650DD009C30AB1C7DFE50ECF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_941B03806434D61914B0B1C7DFE50EEB" xlink:to="loc_us-gaap_ProductsAndServicesDomain_B640A9BC650DD009C30AB1C7DFE50ECF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_B640A9BC650DD009C30AB1C7DFE50ECF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_941B03806434D61914B0B1C7DFE50EEB" xlink:to="loc_us-gaap_ProductsAndServicesDomain_B640A9BC650DD009C30AB1C7DFE50ECF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ClientDevicesMember" xlink:label="loc_wdc_ClientDevicesMember_F8D959339A365FA1500AB1C7DFE5C7FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_B640A9BC650DD009C30AB1C7DFE50ECF" xlink:to="loc_wdc_ClientDevicesMember_F8D959339A365FA1500AB1C7DFE5C7FC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_DataCenterDevicesSolutionsMember" xlink:label="loc_wdc_DataCenterDevicesSolutionsMember_61F17BE8D71B663B5F70B1C7DFE57EE0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_B640A9BC650DD009C30AB1C7DFE50ECF" xlink:to="loc_wdc_DataCenterDevicesSolutionsMember_61F17BE8D71B663B5F70B1C7DFE57EE0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ClientSolutionsMember" xlink:label="loc_wdc_ClientSolutionsMember_6CA2565FFCD2C4C0BDB5B1C7DFE54DAC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_B640A9BC650DD009C30AB1C7DFE50ECF" xlink:to="loc_wdc_ClientSolutionsMember_6CA2565FFCD2C4C0BDB5B1C7DFE54DAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_79312F849C743C1D386DB1C7DFE660C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6867A72CC64820E4CD1FB1C7DFE6FED0" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_79312F849C743C1D386DB1C7DFE660C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_A9F1DCC97B4893B8674CB1C7DFE6F1C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6867A72CC64820E4CD1FB1C7DFE6FED0" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_A9F1DCC97B4893B8674CB1C7DFE6F1C3" 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/RevenuesRevenueRemainingPerformanceObligationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_31CB9934D027C6645FC09DC6472E05A5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_0F67E9FCD79CB81C075B9DC64728D106" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_31CB9934D027C6645FC09DC6472E05A5" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_0F67E9FCD79CB81C075B9DC64728D106" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_EC2EA8A36B919E08CE2D9DC647283EBB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_0F67E9FCD79CB81C075B9DC64728D106" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_EC2EA8A36B919E08CE2D9DC647283EBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod_ECBC14851A614A4D6AB89DC70456383C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_31CB9934D027C6645FC09DC6472E05A5" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod_ECBC14851A614A4D6AB89DC70456383C" 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/ScheduleOfDebtDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_A8CD736E8F608D08680DD5FF6E722ABD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:to="loc_us-gaap_DebtInstrumentTable_A8CD736E8F608D08680DD5FF6E722ABD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_E676A848776A5394274DD5FF6E72C2E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_A8CD736E8F608D08680DD5FF6E722ABD" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_E676A848776A5394274DD5FF6E72C2E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_59CB281B516A97AF1E42D5FF6E727F3C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_E676A848776A5394274DD5FF6E72C2E4" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_59CB281B516A97AF1E42D5FF6E727F3C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_59CB281B516A97AF1E42D5FF6E727F3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_E676A848776A5394274DD5FF6E72C2E4" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_59CB281B516A97AF1E42D5FF6E727F3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_2353215763E72D8314F5D5FF6E73D80F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_59CB281B516A97AF1E42D5FF6E727F3C" xlink:to="loc_us-gaap_ConvertibleDebtMember_2353215763E72D8314F5D5FF6E73D80F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_3F242D0E5112FF871B75D5FF6E734CB1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_A8CD736E8F608D08680DD5FF6E722ABD" xlink:to="loc_us-gaap_DebtInstrumentAxis_3F242D0E5112FF871B75D5FF6E734CB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_3F242D0E5112FF871B75D5FF6E734CB1" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_3F242D0E5112FF871B75D5FF6E734CB1" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_2617190C4E48EC137729D5FF6E74CC53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_2617190C4E48EC137729D5FF6E74CC53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_73FC84DB292B454CC560D5FF6E7431A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_73FC84DB292B454CC560D5FF6E7431A8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TermLoanA1Member" xlink:label="loc_wdc_TermLoanA1Member_BF7E34CB0DCDBC9718C0D5FF6E74FD79" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:to="loc_wdc_TermLoanA1Member_BF7E34CB0DCDBC9718C0D5FF6E74FD79" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_U.S.TermLoanB4Member" xlink:label="loc_wdc_U.S.TermLoanB4Member_71E2C7E4E29EF9EFA5F6D5FF6E747721" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:to="loc_wdc_U.S.TermLoanB4Member_71E2C7E4E29EF9EFA5F6D5FF6E747721" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember" xlink:label="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_D3900E0B7089602CCB1CD5FF6E745AA7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:to="loc_wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember_D3900E0B7089602CCB1CD5FF6E745AA7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember" xlink:label="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_0F7B8A2419D226F74A00D5FF6E752668" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BFE46CC3862F4856BC78D5FF6E736F68" xlink:to="loc_wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember_0F7B8A2419D226F74A00D5FF6E752668" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_8DFEEB799D50659C92D3D5FF6E754370" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_8DFEEB799D50659C92D3D5FF6E754370" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_8F9A35143A122E5DC230D5FF6E751CCD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_8F9A35143A122E5DC230D5FF6E751CCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_6348BF88EC53B3BD9867D5FF6E7537B4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_6348BF88EC53B3BD9867D5FF6E7537B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_2A9F3CFE2641850C427BD5FF6E764158" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:to="loc_us-gaap_LongTermDebt_2A9F3CFE2641850C427BD5FF6E764158" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_964F63926E468E2D75E1D5FF6E7618A9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:to="loc_us-gaap_LongTermDebtCurrent_964F63926E468E2D75E1D5FF6E7618A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_CC59F133FF09F66E30CAD5FF6E763408" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9CC5466085CDBD725C91D5FF6E753C2E" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_CC59F133FF09F66E30CAD5FF6E763408" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedStatementOfIncomeCaptionsLineItems" xlink:label="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedStatementOfComprehensiveIncomeTable" xlink:label="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_0A37BFC624E1AE490A5AD1180A3B9B0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_0A37BFC624E1AE490A5AD1180A3B9B0B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_12806ED086937574B1A9D1180A3BA923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_0A37BFC624E1AE490A5AD1180A3B9B0B" xlink:to="loc_us-gaap_ConsolidationItemsAxis_12806ED086937574B1A9D1180A3BA923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_6C98C1648CD696ACCA2FD1180A3CB514_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_12806ED086937574B1A9D1180A3BA923" xlink:to="loc_us-gaap_ConsolidationItemsDomain_6C98C1648CD696ACCA2FD1180A3CB514_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_6C98C1648CD696ACCA2FD1180A3CB514" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_12806ED086937574B1A9D1180A3BA923" xlink:to="loc_us-gaap_ConsolidationItemsDomain_6C98C1648CD696ACCA2FD1180A3CB514" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_A2DF1C2A60F95E831426D1180A3CC32C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_6C98C1648CD696ACCA2FD1180A3CB514" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_A2DF1C2A60F95E831426D1180A3CC32C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_6BAB01B32744DA9FDA99D1180A3CABEF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_0A37BFC624E1AE490A5AD1180A3B9B0B" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_6BAB01B32744DA9FDA99D1180A3CABEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_845020B93D298A32EE48D1180A3D1D5A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_6BAB01B32744DA9FDA99D1180A3CABEF" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_845020B93D298A32EE48D1180A3D1D5A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_845020B93D298A32EE48D1180A3D1D5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_6BAB01B32744DA9FDA99D1180A3CABEF" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_845020B93D298A32EE48D1180A3D1D5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_E73D488539E8D504919BD1180A3D6C47" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_845020B93D298A32EE48D1180A3D1D5A" xlink:to="loc_us-gaap_ParentCompanyMember_E73D488539E8D504919BD1180A3D6C47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_A526359CFF93EF6F735BD1180A3D395E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_845020B93D298A32EE48D1180A3D1D5A" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_A526359CFF93EF6F735BD1180A3D395E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_80933C89122A752D48A9D1180A3EBA7D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_845020B93D298A32EE48D1180A3D1D5A" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_80933C89122A752D48A9D1180A3EBA7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_6CECC00AC271605F3B8BD1180A3EF7B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_NetIncomeLoss_6CECC00AC271605F3B8BD1180A3EF7B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_59E1B3B73DEB8CD37DFFD1180A3FFD7B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_59E1B3B73DEB8CD37DFFD1180A3FFD7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_72A00EEE253D2B4D5EEFD1180A3F86F2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_72A00EEE253D2B4D5EEFD1180A3F86F2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_A6A3F8EE739E6D6CFCABD1180A3F53BA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_A6A3F8EE739E6D6CFCABD1180A3F53BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_D2A1890A8E2DDB023C05D1180A3F9538" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_D2A1890A8E2DDB023C05D1180A3F9538" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_AEEBA25A0AC529CE090ED1180A40D767" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_AEEBA25A0AC529CE090ED1180A40D767" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_A68A5E6B4B205DBAE7B0D1180A4047C9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_A68A5E6B4B205DBAE7B0D1180A4047C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_92E8B89E21F35F39FFCBD1180A40448A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_4673B7037ED918700CDCD1180A3EFF6F" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_92E8B89E21F35F39FFCBD1180A40448A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedIncomeStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedIncomeStatementTable" xlink:label="loc_us-gaap_CondensedIncomeStatementTable_47AEF14F575339E5A8FEC78D28900546" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_CondensedIncomeStatementTable_47AEF14F575339E5A8FEC78D28900546" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_83E944885DFB24985CF6C78D2890BA96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_47AEF14F575339E5A8FEC78D28900546" xlink:to="loc_us-gaap_ConsolidationItemsAxis_83E944885DFB24985CF6C78D2890BA96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_E16B002BB150BDDA4C47C78D289027AB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_83E944885DFB24985CF6C78D2890BA96" xlink:to="loc_us-gaap_ConsolidationItemsDomain_E16B002BB150BDDA4C47C78D289027AB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_E16B002BB150BDDA4C47C78D289027AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_83E944885DFB24985CF6C78D2890BA96" xlink:to="loc_us-gaap_ConsolidationItemsDomain_E16B002BB150BDDA4C47C78D289027AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_3155AD66C90A2C926B2CC78D28917FB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_E16B002BB150BDDA4C47C78D289027AB" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_3155AD66C90A2C926B2CC78D28917FB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_F3DD9F7AC2A40C5BBAF0C78D2891C6A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_47AEF14F575339E5A8FEC78D28900546" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_F3DD9F7AC2A40C5BBAF0C78D2891C6A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_767C4D39CE1025A23348C78D28914F30_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_F3DD9F7AC2A40C5BBAF0C78D2891C6A1" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_767C4D39CE1025A23348C78D28914F30_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_767C4D39CE1025A23348C78D28914F30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_F3DD9F7AC2A40C5BBAF0C78D2891C6A1" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_767C4D39CE1025A23348C78D28914F30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_8116D91C4060B40269CBC78D289265B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_767C4D39CE1025A23348C78D28914F30" xlink:to="loc_us-gaap_ParentCompanyMember_8116D91C4060B40269CBC78D289265B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_84B6CDC69505BB22A534C78D2892E2B0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_767C4D39CE1025A23348C78D28914F30" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_84B6CDC69505BB22A534C78D2892E2B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_EB3B4F9239CEDF8E18C4C78D2892E977" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_767C4D39CE1025A23348C78D28914F30" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_EB3B4F9239CEDF8E18C4C78D2892E977" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0E5D1F969F873A21E5A1C7A45C81EBF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0E5D1F969F873A21E5A1C7A45C81EBF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaap_CostOfGoodsSold_DF64F46237BF4BA581C6C78D28933943" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_CostOfGoodsSold_DF64F46237BF4BA581C6C78D28933943" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_4E2345BCCFE2C849B6BFC78D28938A99" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_GrossProfit_4E2345BCCFE2C849B6BFC78D28938A99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_6F8A01A3B2D64A5A5474C78D28939E47" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_OperatingExpensesAbstract_6F8A01A3B2D64A5A5474C78D28939E47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_BF1D70234D5D06EE171DC78D2893B606" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_6F8A01A3B2D64A5A5474C78D28939E47" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_BF1D70234D5D06EE171DC78D2893B606" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0B5790689FE2030B65C2C78D2893533B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_6F8A01A3B2D64A5A5474C78D28939E47" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_0B5790689FE2030B65C2C78D2893533B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_1A55C0506665C1A49520C78D28947D4B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_6F8A01A3B2D64A5A5474C78D28939E47" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_1A55C0506665C1A49520C78D28947D4B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_45FE505057EA78EFEC9BC78D28945C8F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_6F8A01A3B2D64A5A5474C78D28939E47" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_45FE505057EA78EFEC9BC78D28945C8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_CC45064C0D5BAC60D1C8C78D2894D9DD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_6F8A01A3B2D64A5A5474C78D28939E47" xlink:to="loc_us-gaap_OperatingExpenses_CC45064C0D5BAC60D1C8C78D2894D9DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_2EF7FD4323211CC0EEE6C78D28949ECF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_OperatingIncomeLoss_2EF7FD4323211CC0EEE6C78D28949ECF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_D82C2076B05744B47FF1C78D2894F82A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_InvestmentIncomeInterest_D82C2076B05744B47FF1C78D2894F82A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_CD5BEEE4D5553EF25A9AC78D28946D3E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_InterestExpense_CD5BEEE4D5553EF25A9AC78D28946D3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_D7DC50EA46A637C628EEC78D28952CAD" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_D7DC50EA46A637C628EEC78D28952CAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_161D97FFC59D02EB78FAC78D28951001" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_161D97FFC59D02EB78FAC78D28951001" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_60EA60EEB271C4DF779BC78D2895C84E" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_60EA60EEB271C4DF779BC78D2895C84E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_3E519620C0C6AC96EE8BC78D28950BFA" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_3E519620C0C6AC96EE8BC78D28950BFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_4801AA733852CFE80758C78D28950395" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_4801AA733852CFE80758C78D28950395" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_9FD6BFCE5FDCD8277C25C78D2895EBF8" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_71F0A616683D9273D472C78D28920B5F" xlink:to="loc_us-gaap_NetIncomeLoss_9FD6BFCE5FDCD8277C25C78D2895EBF8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_FE6A99DF78EB926C9BD2D5FF6B38A250" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedBalanceSheetStatementTable" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementTable_AA8C6DBF59C79376AA10D5FF6B302D62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_FE6A99DF78EB926C9BD2D5FF6B38A250" xlink:to="loc_us-gaap_CondensedBalanceSheetStatementTable_AA8C6DBF59C79376AA10D5FF6B302D62" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_CBC7519A4D347B9A72F0D5FF6B3058ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_AA8C6DBF59C79376AA10D5FF6B302D62" xlink:to="loc_us-gaap_ConsolidationItemsAxis_CBC7519A4D347B9A72F0D5FF6B3058ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_2A6C6F2F7DA1937A46BFD5FF6B31EAC0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_CBC7519A4D347B9A72F0D5FF6B3058ED" xlink:to="loc_us-gaap_ConsolidationItemsDomain_2A6C6F2F7DA1937A46BFD5FF6B31EAC0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_2A6C6F2F7DA1937A46BFD5FF6B31EAC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_CBC7519A4D347B9A72F0D5FF6B3058ED" xlink:to="loc_us-gaap_ConsolidationItemsDomain_2A6C6F2F7DA1937A46BFD5FF6B31EAC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_287DAF843408E40FE4A4D5FF6B317AF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_2A6C6F2F7DA1937A46BFD5FF6B31EAC0" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_287DAF843408E40FE4A4D5FF6B317AF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_43F99BCA5327BF9B2C62D5FF6B31761B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_AA8C6DBF59C79376AA10D5FF6B302D62" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_43F99BCA5327BF9B2C62D5FF6B31761B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_29CE3AB6C9DB747EE6F2D5FF6B371D2F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_43F99BCA5327BF9B2C62D5FF6B31761B" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_29CE3AB6C9DB747EE6F2D5FF6B371D2F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_29CE3AB6C9DB747EE6F2D5FF6B371D2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_43F99BCA5327BF9B2C62D5FF6B31761B" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_29CE3AB6C9DB747EE6F2D5FF6B371D2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_8301DF4E5D13EDCD0770D5FF6B37E67F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_29CE3AB6C9DB747EE6F2D5FF6B371D2F" xlink:to="loc_us-gaap_ParentCompanyMember_8301DF4E5D13EDCD0770D5FF6B37E67F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_86BE1F3738D2B89456C9D5FF6B38F0AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_29CE3AB6C9DB747EE6F2D5FF6B371D2F" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_86BE1F3738D2B89456C9D5FF6B38F0AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_25EB5CBB1DB397893C50D5FF6B38EE8C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_29CE3AB6C9DB747EE6F2D5FF6B371D2F" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_25EB5CBB1DB397893C50D5FF6B38EE8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_25A0233D2D5C0A8B5A9FD5FF6B383FDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_FE6A99DF78EB926C9BD2D5FF6B38A250" xlink:to="loc_us-gaap_AssetsAbstract_25A0233D2D5C0A8B5A9FD5FF6B383FDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_25A0233D2D5C0A8B5A9FD5FF6B383FDA" xlink:to="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_BDF1514DEE8E1FB3D651D5FF6B39270D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_BDF1514DEE8E1FB3D651D5FF6B39270D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_9D96FCF030D3FFEEB0C7D5FF6B39186F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_9D96FCF030D3FFEEB0C7D5FF6B39186F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_02FCA94AD065C707F567D5FF6B39EBFB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_02FCA94AD065C707F567D5FF6B39EBFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_34370839D1D62E985E8ED5FF6B3ADCA9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:to="loc_us-gaap_InventoryNet_34370839D1D62E985E8ED5FF6B3ADCA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_58EDF66550AEAE231CB8D5FF6B3AA776" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:to="loc_us-gaap_OtherAssetsCurrent_58EDF66550AEAE231CB8D5FF6B3AA776" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_4FC7D7615E03D39478ADD5FF6B3A3868" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_A8387163CB27FE0AC6A8D5FF6B391A30" xlink:to="loc_us-gaap_AssetsCurrent_4FC7D7615E03D39478ADD5FF6B3A3868" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_25A0233D2D5C0A8B5A9FD5FF6B383FDA" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_CD71BB105565E74EFA7AD5FF6B3A4B90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_CD71BB105565E74EFA7AD5FF6B3A4B90" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_85A90E4F9F0C3BCCA735D5FF6B3B3310" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_85A90E4F9F0C3BCCA735D5FF6B3B3310" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_9D058474418F4590ADDFD5FF6B3B05BD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:to="loc_us-gaap_Goodwill_9D058474418F4590ADDFD5FF6B3B05BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_B263A3F5D783906015F0D5FF6B3B0B70" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_B263A3F5D783906015F0D5FF6B3B0B70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_AF3F05A41CCE146852A5D5FF6B3BF7C7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_AF3F05A41CCE146852A5D5FF6B3BF7C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_749BD73195E80ACAB4C5D5FF6B3B828E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_749BD73195E80ACAB4C5D5FF6B3B828E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_B1467E5CB637E3BA352CD5FF6B3C6433" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_F8CDF20EA327E8B2D9F7D5FF6B3AEBCD" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_B1467E5CB637E3BA352CD5FF6B3C6433" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_DEF2CF342A94784B3B57D5FF6B3C22E9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_25A0233D2D5C0A8B5A9FD5FF6B383FDA" xlink:to="loc_us-gaap_Assets_DEF2CF342A94784B3B57D5FF6B3C22E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B26E6EE07CD9EB6409DBD5FF6B3C4D03" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_FE6A99DF78EB926C9BD2D5FF6B38A250" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B26E6EE07CD9EB6409DBD5FF6B3C4D03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_BBCC8AB180B341C623DFD5FF6B3CC0C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B26E6EE07CD9EB6409DBD5FF6B3C4D03" xlink:to="loc_us-gaap_LiabilitiesAbstract_BBCC8AB180B341C623DFD5FF6B3CC0C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_BBCC8AB180B341C623DFD5FF6B3CC0C4" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_F2E56FD4AA72F9742D25D5FF6B3DAA5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:to="loc_us-gaap_AccountsPayableCurrent_F2E56FD4AA72F9742D25D5FF6B3DAA5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_6CCB110F035103761681D5FF6B3DFB6D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_6CCB110F035103761681D5FF6B3DFB6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_942A456383B4071F0543D5FF6B3D4A31" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:to="loc_us-gaap_DueToAffiliateCurrent_942A456383B4071F0543D5FF6B3D4A31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_552210EE72868F0ECA85D5FF6B3DDA8E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_552210EE72868F0ECA85D5FF6B3DDA8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_F2F42B370756E37F6642D5FF6B3DAF16" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_F2F42B370756E37F6642D5FF6B3DAF16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_311495A353E4B4F02E56D5FF6B3EA587" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:to="loc_us-gaap_LongTermDebtCurrent_311495A353E4B4F02E56D5FF6B3EA587" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_0357AC924BDC88CB8956D5FF6B3E5635" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ACD38CFF2318F5972E86D5FF6B3C840E" xlink:to="loc_us-gaap_LiabilitiesCurrent_0357AC924BDC88CB8956D5FF6B3E5635" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_52F43AB316BDEABD0A76D5FF6B3E6A07" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_BBCC8AB180B341C623DFD5FF6B3CC0C4" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_52F43AB316BDEABD0A76D5FF6B3E6A07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_F48F4214120CA6CD9722D5FF6B3EFC83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_52F43AB316BDEABD0A76D5FF6B3E6A07" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_F48F4214120CA6CD9722D5FF6B3EFC83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_4C886CD25BA96A706010D5FF6B3F4179" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_52F43AB316BDEABD0A76D5FF6B3E6A07" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_4C886CD25BA96A706010D5FF6B3F4179" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_915570E761BB634ECC71D5FF6B3F7715" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_52F43AB316BDEABD0A76D5FF6B3E6A07" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_915570E761BB634ECC71D5FF6B3F7715" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_C8AD8E2CCA76D139EBA6D5FF6B3FF0A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_BBCC8AB180B341C623DFD5FF6B3CC0C4" xlink:to="loc_us-gaap_Liabilities_C8AD8E2CCA76D139EBA6D5FF6B3FF0A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_5EBC6F52460C1846E358D5FF6B3F42EF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B26E6EE07CD9EB6409DBD5FF6B3C4D03" xlink:to="loc_us-gaap_StockholdersEquityAbstract_5EBC6F52460C1846E358D5FF6B3F42EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_ACAEA41024D67961FC85D5FF6B3FF0D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_5EBC6F52460C1846E358D5FF6B3F42EF" xlink:to="loc_us-gaap_StockholdersEquity_ACAEA41024D67961FC85D5FF6B3FF0D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_6DC913E2C304E7C6060ED5FF6B409231" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_B26E6EE07CD9EB6409DBD5FF6B3C4D03" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_6DC913E2C304E7C6060ED5FF6B409231" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedCashFlowStatementTable" xlink:label="loc_us-gaap_CondensedCashFlowStatementTable_E90DAE3DB0CAABED2508D1180A1D74D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:to="loc_us-gaap_CondensedCashFlowStatementTable_E90DAE3DB0CAABED2508D1180A1D74D1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_755D347D199830EC9434D1180A1E61C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_E90DAE3DB0CAABED2508D1180A1D74D1" xlink:to="loc_us-gaap_ConsolidationItemsAxis_755D347D199830EC9434D1180A1E61C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_750F9076D1E0D4129852D1180A1E49B1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_755D347D199830EC9434D1180A1E61C9" xlink:to="loc_us-gaap_ConsolidationItemsDomain_750F9076D1E0D4129852D1180A1E49B1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_750F9076D1E0D4129852D1180A1E49B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_755D347D199830EC9434D1180A1E61C9" xlink:to="loc_us-gaap_ConsolidationItemsDomain_750F9076D1E0D4129852D1180A1E49B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_30124E68A439C94A328CD1180A1F1D55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_750F9076D1E0D4129852D1180A1E49B1" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_30124E68A439C94A328CD1180A1F1D55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_D74D05714E6A31CAB07BD1180A1FB6D4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_E90DAE3DB0CAABED2508D1180A1D74D1" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_D74D05714E6A31CAB07BD1180A1FB6D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_A28A4549BDD8AB8BA1EBD1180A1F7F14_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_D74D05714E6A31CAB07BD1180A1FB6D4" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_A28A4549BDD8AB8BA1EBD1180A1F7F14_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_A28A4549BDD8AB8BA1EBD1180A1F7F14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_D74D05714E6A31CAB07BD1180A1FB6D4" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_A28A4549BDD8AB8BA1EBD1180A1F7F14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_10B5F1806A31BE734CB8D1180A207155" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_A28A4549BDD8AB8BA1EBD1180A1F7F14" xlink:to="loc_us-gaap_ParentCompanyMember_10B5F1806A31BE734CB8D1180A207155" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_2B46D2AA9FB04FCAA421D1180A20FA23" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_A28A4549BDD8AB8BA1EBD1180A1F7F14" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_2B46D2AA9FB04FCAA421D1180A20FA23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_270639D6E8D105C22E21D1180A211551" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_A28A4549BDD8AB8BA1EBD1180A1F7F14" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_270639D6E8D105C22E21D1180A211551" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_A387C02DC24C95843F5ED1180A22E778" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_A387C02DC24C95843F5ED1180A22E778" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4E1C28B8C67BDD79B758D1180A224474" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_A387C02DC24C95843F5ED1180A22E778" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4E1C28B8C67BDD79B758D1180A224474" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_D965F4F914C370C34679D1180A23FAEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_D965F4F914C370C34679D1180A23FAEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_C434B11A2DD5FBA2F72ED1180A24230B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_C434B11A2DD5FBA2F72ED1180A24230B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_EC78DE1486EC0370BB08D1180A240928" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_EC78DE1486EC0370BB08D1180A240928" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_BD8C3939B9CE94E9D4D7D1180A249A36" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_BD8C3939B9CE94E9D4D7D1180A249A36" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_998ED640A19AC822422DD1180A2554C0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_998ED640A19AC822422DD1180A2554C0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_D7D2C2BB29AEFF21A4F6D1180A250905" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_D7D2C2BB29AEFF21A4F6D1180A250905" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_2A8419EB460F67210B78D1180A25C227" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_2A8419EB460F67210B78D1180A25C227" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_498B3E918DDD8B3EBB4ED1180A25C936" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_498B3E918DDD8B3EBB4ED1180A25C936" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_4E1DB88D62342B270EBCD1180A255F93" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_4E1DB88D62342B270EBCD1180A255F93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_5058C7B86729EAA0517CD1180A25DC4B" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_5058C7B86729EAA0517CD1180A25DC4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_C6729FAE3807E78F684DD1180A2650C2" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_C6729FAE3807E78F684DD1180A2650C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_F75A62DC8827BEAECC4DD1180A269AC8" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_397427C6BC2C8C7771E4D1180A234773" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_F75A62DC8827BEAECC4DD1180A269AC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_5EEC04649C889158505DD1180A268EB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_5EEC04649C889158505DD1180A268EB9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_D31252D6453AE52E5180D1180A263544" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_D31252D6453AE52E5180D1180A263544" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4C587EB8CBEFBB82B128D1180A2731B5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_4C587EB8CBEFBB82B128D1180A2731B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_DE5410A1FB3EB8F193BBD1180A275648" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_PaymentsOfDividends_DE5410A1FB3EB8F193BBD1180A275648" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_C73E58A31F4BE8E7E643D1180A2700CD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_C73E58A31F4BE8E7E643D1180A2700CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromHedgeFinancingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_EF4831442B70930E60C3D1180A278D39" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_EF4831442B70930E60C3D1180A278D39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_AFEE454C611E3D05DCCFD1180A270648" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_AFEE454C611E3D05DCCFD1180A270648" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_AADCC1C339C8BDB269A2D1180A28C834" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_AADCC1C339C8BDB269A2D1180A28C834" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6A60F6B66660283F9908D1180A288B3A" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_13740E5A470C74DA5F94D1180A2603D3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6A60F6B66660283F9908D1180A288B3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_F8D4A01CB8F34756BAC0D1180A288D2A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_F8D4A01CB8F34756BAC0D1180A288D2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_C45834FCB1F8415370DBD1180A285306" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_C45834FCB1F8415370DBD1180A285306" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_8991624CF4DE79242355D1180A281C4F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_4EADA99EEA8F37706DDED1180A21E23C" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_8991624CF4DE79242355D1180A281C4F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_1EE1D37099F71E72AA7BD1180CEE9C29" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_5061E2B99FD12E2E4749D1180CED3DD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_1EE1D37099F71E72AA7BD1180CEE9C29" xlink:to="loc_us-gaap_DividendsPayableTable_5061E2B99FD12E2E4749D1180CED3DD4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_219C875C762307ACC3AAD1180CED11DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_5061E2B99FD12E2E4749D1180CED3DD4" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_219C875C762307ACC3AAD1180CED11DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_6A6EFDB317F8C682C891D1180CEDD48E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_219C875C762307ACC3AAD1180CED11DB" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_6A6EFDB317F8C682C891D1180CEDD48E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_6A6EFDB317F8C682C891D1180CEDD48E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_219C875C762307ACC3AAD1180CED11DB" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_6A6EFDB317F8C682C891D1180CEDD48E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_5762EF1B5492FDA7B456D1180CEE117C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_6A6EFDB317F8C682C891D1180CEDD48E" xlink:to="loc_us-gaap_SubsequentEventMember_5762EF1B5492FDA7B456D1180CEE117C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_3A48EDEF27E2827EB65DD1180CEEAEB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_1EE1D37099F71E72AA7BD1180CEE9C29" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_3A48EDEF27E2827EB65DD1180CEEAEB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_F364252BD202FF9F07AED1180CEF026D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_1EE1D37099F71E72AA7BD1180CEE9C29" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_F364252BD202FF9F07AED1180CEF026D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_57FD450371293369FF3FD1180CEF645B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_1EE1D37099F71E72AA7BD1180CEE9C29" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_57FD450371293369FF3FD1180CEF645B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_04B0A7A7C690752BF91CD5FF6D705E28" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44E964A64465D2BA6BFCD5FF6D6E7138" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_04B0A7A7C690752BF91CD5FF6D705E28" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44E964A64465D2BA6BFCD5FF6D6E7138" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A975723CF64EB56ADA31D5FF6D6F1FA6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44E964A64465D2BA6BFCD5FF6D6E7138" xlink:to="loc_us-gaap_AwardTypeAxis_A975723CF64EB56ADA31D5FF6D6F1FA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E7FDD11A06CDCA4BD28BD5FF6D6FB8A3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A975723CF64EB56ADA31D5FF6D6F1FA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E7FDD11A06CDCA4BD28BD5FF6D6FB8A3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E7FDD11A06CDCA4BD28BD5FF6D6FB8A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A975723CF64EB56ADA31D5FF6D6F1FA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E7FDD11A06CDCA4BD28BD5FF6D6FB8A3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember" xlink:label="loc_wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember_95C0CD65BADA8DE40D83D5FF6D6F066C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E7FDD11A06CDCA4BD28BD5FF6D6FB8A3" xlink:to="loc_wdc_RestrictedStockUnitsAndPerformanceShareUnitsMember_95C0CD65BADA8DE40D83D5FF6D6F066C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_317A54D65350B1FC97C8D5FF6D70AB43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_04B0A7A7C690752BF91CD5FF6D705E28" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_317A54D65350B1FC97C8D5FF6D70AB43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_738EF1799142A114C915D5FF6D7027C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_317A54D65350B1FC97C8D5FF6D70AB43" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_738EF1799142A114C915D5FF6D7027C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_DDE6640E6E9F07FEF829D5FF6D712657" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_317A54D65350B1FC97C8D5FF6D70AB43" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_DDE6640E6E9F07FEF829D5FF6D712657" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_6590FD4F946B2A843D52D5FF6D71A207" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_317A54D65350B1FC97C8D5FF6D70AB43" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_6590FD4F946B2A843D52D5FF6D71A207" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_5C5D1960C187FA3B1BDDD5FF6D71CB49" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_317A54D65350B1FC97C8D5FF6D70AB43" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_5C5D1960C187FA3B1BDDD5FF6D71CB49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_1297EFAF1548DBC6774CD5FF6D710CD2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_04B0A7A7C690752BF91CD5FF6D705E28" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_1297EFAF1548DBC6774CD5FF6D710CD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_9A249CCEF9675B66E39FD5FF6D716174" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_1297EFAF1548DBC6774CD5FF6D710CD2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_9A249CCEF9675B66E39FD5FF6D716174" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_99220525B1FE1F044CC0D5FF6D721677" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_1297EFAF1548DBC6774CD5FF6D710CD2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_99220525B1FE1F044CC0D5FF6D721677" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_65EADF581F066471DC45D5FF6D729A35" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_1297EFAF1548DBC6774CD5FF6D710CD2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_65EADF581F066471DC45D5FF6D729A35" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_5B9CFABE4E617E777025D5FF6D72DB8A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_1297EFAF1548DBC6774CD5FF6D710CD2" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_5B9CFABE4E617E777025D5FF6D72DB8A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_AggregateValueOfRestrictedStockAwardsVested" xlink:label="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_3DA5031FAE053B40BB9BD5FF6D723571" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_04B0A7A7C690752BF91CD5FF6D705E28" xlink:to="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_3DA5031FAE053B40BB9BD5FF6D723571" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_65AD2471A855A501D653C78D2A2DCE79" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_E35FE0E8B7A3C5F1704FC78D2A2B4816" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_65AD2471A855A501D653C78D2A2DCE79" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_E35FE0E8B7A3C5F1704FC78D2A2B4816" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_8FCD8A6AA70B1E5CADE2C78D2A2BD522" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_E35FE0E8B7A3C5F1704FC78D2A2B4816" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_8FCD8A6AA70B1E5CADE2C78D2A2BD522" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_111FF72BAD5950A98362C78D2A2B45F6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_8FCD8A6AA70B1E5CADE2C78D2A2BD522" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_111FF72BAD5950A98362C78D2A2B45F6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_111FF72BAD5950A98362C78D2A2B45F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_8FCD8A6AA70B1E5CADE2C78D2A2BD522" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_111FF72BAD5950A98362C78D2A2B45F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_B65BA0F847985BA94937C78D2A2C46AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_111FF72BAD5950A98362C78D2A2B45F6" xlink:to="loc_us-gaap_SubsequentEventMember_B65BA0F847985BA94937C78D2A2C46AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_4411E40DEC21F1AAEC6DC78D2A2CDEEF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_E35FE0E8B7A3C5F1704FC78D2A2B4816" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_4411E40DEC21F1AAEC6DC78D2A2CDEEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_A1D2E9AAD3867D25039AC78D2A2CEDB2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_4411E40DEC21F1AAEC6DC78D2A2CDEEF" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_A1D2E9AAD3867D25039AC78D2A2CEDB2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_A1D2E9AAD3867D25039AC78D2A2CEDB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_4411E40DEC21F1AAEC6DC78D2A2CDEEF" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_A1D2E9AAD3867D25039AC78D2A2CEDB2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_StockRepurchaseProgramEffectiveUntilFebruary32020Member" xlink:label="loc_wdc_StockRepurchaseProgramEffectiveUntilFebruary32020Member_F0248022D2CB88C468CCC78D2A2C466F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_A1D2E9AAD3867D25039AC78D2A2CEDB2" xlink:to="loc_wdc_StockRepurchaseProgramEffectiveUntilFebruary32020Member_F0248022D2CB88C468CCC78D2A2C466F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member" xlink:label="loc_wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member_D0EED2A055EB7DE07B50C78D2A2DB9F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_A1D2E9AAD3867D25039AC78D2A2CEDB2" xlink:to="loc_wdc_StockRepurchaseProgramEffectiveUntilJuly252023Member_D0EED2A055EB7DE07B50C78D2A2DB9F2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ShareRepurchaseProgramMember" xlink:label="loc_wdc_ShareRepurchaseProgramMember_B88BB872DDBD49C0B8E2C79401391CA4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_A1D2E9AAD3867D25039AC78D2A2CEDB2" xlink:to="loc_wdc_ShareRepurchaseProgramMember_B88BB872DDBD49C0B8E2C79401391CA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_B700D1FEF39518F95BC5C78D2A2D8429" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_65AD2471A855A501D653C78D2A2DCE79" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_B700D1FEF39518F95BC5C78D2A2D8429" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_8180DCCEE80D5EBCC840C78D2A2DC411" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_65AD2471A855A501D653C78D2A2DCE79" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_8180DCCEE80D5EBCC840C78D2A2DC411" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_3E08B6999CB92AE4481EC78D2A2D1B89" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_65AD2471A855A501D653C78D2A2DCE79" xlink:to="loc_us-gaap_TreasuryStockValue_3E08B6999CB92AE4481EC78D2A2D1B89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_DB3E044BB9BB51C08BF2C78D2A2E8B0E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_65AD2471A855A501D653C78D2A2DCE79" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_DB3E044BB9BB51C08BF2C78D2A2E8B0E" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B75D05EE3B65A28BED52D1180D6B8795" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E85899D86C41C448351D1180D672EF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B75D05EE3B65A28BED52D1180D6B8795" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E85899D86C41C448351D1180D672EF2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_277D29893663AB91BD27D1180D6774CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E85899D86C41C448351D1180D672EF2" xlink:to="loc_us-gaap_AwardTypeAxis_277D29893663AB91BD27D1180D6774CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_54B0EF4B06B48F70966AD1180D687575_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_277D29893663AB91BD27D1180D6774CA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_54B0EF4B06B48F70966AD1180D687575_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_54B0EF4B06B48F70966AD1180D687575" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_277D29893663AB91BD27D1180D6774CA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_54B0EF4B06B48F70966AD1180D687575" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_DF0C1E6CBFC6BC7F3363D1180D687DEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_54B0EF4B06B48F70966AD1180D687575" xlink:to="loc_us-gaap_EmployeeStockOptionMember_DF0C1E6CBFC6BC7F3363D1180D687DEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_26566CECEB151F353BC9D1180D699238" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_54B0EF4B06B48F70966AD1180D687575" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_26566CECEB151F353BC9D1180D699238" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_5E542B4DA2BF35A2A597D1180D6953EE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_54B0EF4B06B48F70966AD1180D687575" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_5E542B4DA2BF35A2A597D1180D6953EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_6C458EF24C7EB5D81F38D1180D69B753" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E85899D86C41C448351D1180D672EF2" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_6C458EF24C7EB5D81F38D1180D69B753" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_7CC32078E79429D9B8C0D1180D69CE77_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_6C458EF24C7EB5D81F38D1180D69B753" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_7CC32078E79429D9B8C0D1180D69CE77_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_7CC32078E79429D9B8C0D1180D69CE77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_6C458EF24C7EB5D81F38D1180D69B753" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_7CC32078E79429D9B8C0D1180D69CE77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_098EB4277A772F30FC39D1180D6A5708" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_7CC32078E79429D9B8C0D1180D69CE77" xlink:to="loc_us-gaap_CostOfSalesMember_098EB4277A772F30FC39D1180D6A5708" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_6B9B1E7878F3AF3D842CD1180D6A8CD6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_7CC32078E79429D9B8C0D1180D69CE77" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_6B9B1E7878F3AF3D842CD1180D6A8CD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_42F75B44E4AE580982EBD1180D6A4EEC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_7CC32078E79429D9B8C0D1180D69CE77" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_42F75B44E4AE580982EBD1180D6A4EEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_D3E8D1221045FB93377CD1180D70F8EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B75D05EE3B65A28BED52D1180D6B8795" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_D3E8D1221045FB93377CD1180D70F8EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_CC4E1C6D7D0871F43084D1180D709C22" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B75D05EE3B65A28BED52D1180D6B8795" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_CC4E1C6D7D0871F43084D1180D709C22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_13E1550D557E2B7AFDCDD1180D705773" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B75D05EE3B65A28BED52D1180D6B8795" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_13E1550D557E2B7AFDCDD1180D705773" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" 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-20180928.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_F769B1EBA780136EFD7CD5FF6D834782" xlink:type="locator" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_C0F99E7727E396CF8CE3D5FF6D82F945" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_F769B1EBA780136EFD7CD5FF6D834782" xlink:to="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_C0F99E7727E396CF8CE3D5FF6D82F945" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_BA1290DF8E92BD5E2CC5D5FF6D82664C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_C0F99E7727E396CF8CE3D5FF6D82F945" xlink:to="loc_us-gaap_AwardTypeAxis_BA1290DF8E92BD5E2CC5D5FF6D82664C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B7FA57DDAFEB8D308D7D5FF6D827A2A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_BA1290DF8E92BD5E2CC5D5FF6D82664C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B7FA57DDAFEB8D308D7D5FF6D827A2A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B7FA57DDAFEB8D308D7D5FF6D827A2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_BA1290DF8E92BD5E2CC5D5FF6D82664C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B7FA57DDAFEB8D308D7D5FF6D827A2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_C2CA8CD488A578601087D5FF6D82B13E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B7FA57DDAFEB8D308D7D5FF6D827A2A" xlink:to="loc_us-gaap_EmployeeStockOptionMember_C2CA8CD488A578601087D5FF6D82B13E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_EC4C841650F93802D219D5FF6D83D451" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B7FA57DDAFEB8D308D7D5FF6D827A2A" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_EC4C841650F93802D219D5FF6D83D451" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_BDF7792D7E3D434EAAB5D5FF6D83BB73" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1B7FA57DDAFEB8D308D7D5FF6D827A2A" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_BDF7792D7E3D434EAAB5D5FF6D83BB73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_0568976B785169DD37B5D5FF6D830BEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_F769B1EBA780136EFD7CD5FF6D834782" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_0568976B785169DD37B5D5FF6D830BEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_C53425BFA05189646D2CD5FF6D843AF6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_F769B1EBA780136EFD7CD5FF6D834782" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_C53425BFA05189646D2CD5FF6D843AF6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_EB3D4C73B88B85D1B227D5FF6EF849BF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_EFF8AB668A22628ADC92D5FF6EF6AAFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_EB3D4C73B88B85D1B227D5FF6EF849BF" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_EFF8AB668A22628ADC92D5FF6EF6AAFB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_EAB1E337930B3513D787D5FF6EF7A263" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_EFF8AB668A22628ADC92D5FF6EF6AAFB" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_EAB1E337930B3513D787D5FF6EF7A263" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_EAB1E337930B3513D787D5FF6EF7A263" xlink:to="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_EAB1E337930B3513D787D5FF6EF7A263" xlink:to="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_975D393F51DC3331D518D5FF6EF754A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_975D393F51DC3331D518D5FF6EF754A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedTranslationAdjustmentMember" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_6F103089F07D398D8163D5FF6EF83B83" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_6F103089F07D398D8163D5FF6EF83B83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_92E5A2FCADE101A855D4D5FF6EF81D74" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_92E5A2FCADE101A855D4D5FF6EF81D74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_4384174AFCC1F8FF8521D5FF6EF83EE1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_FE9E9FDAE5D444EA711CD5FF6EF768C6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_4384174AFCC1F8FF8521D5FF6EF83EE1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:label="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8CFDF5D656DD13A151C3D5FF6EF88E74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_EB3D4C73B88B85D1B227D5FF6EF849BF" xlink:to="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8CFDF5D656DD13A151C3D5FF6EF88E74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_1D26F5F1FED872B9A3FCD5FF6EF9A89E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8CFDF5D656DD13A151C3D5FF6EF88E74" xlink:to="loc_us-gaap_StockholdersEquity_1D26F5F1FED872B9A3FCD5FF6EF9A89E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_B35E09896FF11EEE76E0D5FF6EF9EEA8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8CFDF5D656DD13A151C3D5FF6EF88E74" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_B35E09896FF11EEE76E0D5FF6EF9EEA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_A27C5812EB1EDDCD1DFFD5FF6EF9202F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8CFDF5D656DD13A151C3D5FF6EF88E74" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_A27C5812EB1EDDCD1DFFD5FF6EF9202F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_33AB503A140FFC9CEF87D5FF6EF97E07" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8CFDF5D656DD13A151C3D5FF6EF88E74" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_33AB503A140FFC9CEF87D5FF6EF97E07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1EB8556C15456A0164D5D5FF6EF998A3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8CFDF5D656DD13A151C3D5FF6EF88E74" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1EB8556C15456A0164D5D5FF6EF998A3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" 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/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:href="wdc-20180928.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_C16A8E4143EF3650E667D5FF4C254A5C" xlink:type="locator" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_8D3B2F2031DB98620F13D5FF4C1FAE7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_C16A8E4143EF3650E667D5FF4C254A5C" xlink:to="loc_wdc_SupplementalFinancialInformationTable_8D3B2F2031DB98620F13D5FF4C1FAE7C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A7F986D90124703CB654D5FF4C205A53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_8D3B2F2031DB98620F13D5FF4C1FAE7C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A7F986D90124703CB654D5FF4C205A53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A7F986D90124703CB654D5FF4C205A53" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A7F986D90124703CB654D5FF4C205A53" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_D5D6A4BE0EBA9EAC0511D5FF4C21F0AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:to="loc_us-gaap_LandMember_D5D6A4BE0EBA9EAC0511D5FF4C21F0AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_3F836B856C4478ED3236D5FF4C2474DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_3F836B856C4478ED3236D5FF4C2474DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_D2459CEEB4286E03FC9ED5FF4C24D553" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_D2459CEEB4286E03FC9ED5FF4C24D553" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ComputerEquipmentandSoftwareMember" xlink:label="loc_wdc_ComputerEquipmentandSoftwareMember_D5DFC50C8D8A03A752F8D5FF4C248DBB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:to="loc_wdc_ComputerEquipmentandSoftwareMember_D5DFC50C8D8A03A752F8D5FF4C248DBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_377ED3E00728BCBAAF63D5FF4C24E890" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_377ED3E00728BCBAAF63D5FF4C24E890" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_D2C5BB3694B8F06A286FD5FF4C241313" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2DFB2B37739FB27E4021D5FF4C20D790" xlink:to="loc_us-gaap_ConstructionInProgressMember_D2C5BB3694B8F06A286FD5FF4C241313" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_946DF6A3EA3DB76240E4D5FF4C2534AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_C16A8E4143EF3650E667D5FF4C254A5C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_946DF6A3EA3DB76240E4D5FF4C2534AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_82B603487E74A0E51561D5FF4C252785" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_946DF6A3EA3DB76240E4D5FF4C2534AB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_82B603487E74A0E51561D5FF4C252785" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_05E7A27989D340A25E97D5FF4C26355C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_946DF6A3EA3DB76240E4D5FF4C2534AB" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_05E7A27989D340A25E97D5FF4C26355C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_BD2C46346199A7E36609D5FF4C261630" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_946DF6A3EA3DB76240E4D5FF4C2534AB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_BD2C46346199A7E36609D5FF4C261630" 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>
