<?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-20171229.xsd#CommitmentsContingenciesAndRelatedParties" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:href="wdc-20171229.xsd#CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:href="wdc-20171229.xsd#CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:href="wdc-20171229.xsd#CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:href="wdc-20171229.xsd#CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:href="wdc-20171229.xsd#CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:href="wdc-20171229.xsd#CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="wdc-20171229.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20171229.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="wdc-20171229.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveLoss" xlink:href="wdc-20171229.xsd#CondensedConsolidatedStatementsOfComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="wdc-20171229.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20171229.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20171229.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInCashFlowHedgingRelationshipsDetail" xlink:href="wdc-20171229.xsd#DerivativesInCashFlowHedgingRelationshipsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:href="wdc-20171229.xsd#DerivativesInstrumentsAndHedgingActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetailTextual" xlink:href="wdc-20171229.xsd#DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetailTextual" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesDerivativeInstrumentsAndHedgingActivitiesDetails" xlink:href="wdc-20171229.xsd#DerivativesInstrumentsAndHedgingActivitiesDerivativeInstrumentsAndHedgingActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesTables" xlink:href="wdc-20171229.xsd#DerivativesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:href="wdc-20171229.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20171229.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20171229.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20171229.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:href="wdc-20171229.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanDetailTextuals" xlink:href="wdc-20171229.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanDetailTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20171229.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:href="wdc-20171229.xsd#FairValueMeasurementsAndInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:href="wdc-20171229.xsd#FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAvailableForSaleSecuritiesMaturitiesDetails" xlink:href="wdc-20171229.xsd#FairValueMeasurementsAndInvestmentsAvailableForSaleSecuritiesMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:href="wdc-20171229.xsd#FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:href="wdc-20171229.xsd#FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:href="wdc-20171229.xsd#FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20171229.xsd#FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpense" xlink:href="wdc-20171229.xsd#IncomeTaxExpense" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetailsTextuals" xlink:href="wdc-20171229.xsd#IncomeTaxExpenseAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:href="wdc-20171229.xsd#IncomeTaxExpenseTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTaxProvisionDetails" xlink:href="wdc-20171229.xsd#IncomeTaxExpenseTaxProvisionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20171229.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20171229.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:href="wdc-20171229.xsd#NetIncomeLossPerCommonShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareDetails" xlink:href="wdc-20171229.xsd#NetIncomeLossPerCommonShareEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareTables" xlink:href="wdc-20171229.xsd#NetIncomeLossPerCommonShareEarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" xlink:href="wdc-20171229.xsd#OrganizationAndBasisOfPresentationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:href="wdc-20171229.xsd#OrganizationAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20171229.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:href="wdc-20171229.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20171229.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20171229.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20171229.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncements" xlink:href="wdc-20171229.xsd#RecentlyAdoptedAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:href="wdc-20171229.xsd#RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetail" xlink:href="wdc-20171229.xsd#ScheduleOfDebtDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetailTextual" xlink:href="wdc-20171229.xsd#ScheduleOfDebtDetailTextual" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:href="wdc-20171229.xsd#SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeDetails" xlink:href="wdc-20171229.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:href="wdc-20171229.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:href="wdc-20171229.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:href="wdc-20171229.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:href="wdc-20171229.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20171229.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:href="wdc-20171229.xsd#ShareholdersEquityDividendsDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:href="wdc-20171229.xsd#ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:href="wdc-20171229.xsd#ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20171229.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:href="wdc-20171229.xsd#ShareholdersEquityStockOptionActivityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20171229.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20171229.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SubsequentEvent" xlink:href="wdc-20171229.xsd#SubsequentEvent" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SubsequentEventAdditionalDetailsDetails" xlink:href="wdc-20171229.xsd#SubsequentEventAdditionalDetailsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20171229.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20171229.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_11C205043AD23F13BCA02F5C4241516A" xlink:type="locator" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable" xlink:label="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_FE3B3A109583AC1023B12F5C424086FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_11C205043AD23F13BCA02F5C4241516A" xlink:to="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_FE3B3A109583AC1023B12F5C424086FA" 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_DE1A99DDB5189DE828342F5C42405584" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_FE3B3A109583AC1023B12F5C424086FA" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DE1A99DDB5189DE828342F5C42405584" 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_0762CD8FBABD6D7245E32F5C42408945_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DE1A99DDB5189DE828342F5C42405584" xlink:to="loc_us-gaap_RelatedPartyDomain_0762CD8FBABD6D7245E32F5C42408945_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_0762CD8FBABD6D7245E32F5C42408945" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DE1A99DDB5189DE828342F5C42405584" xlink:to="loc_us-gaap_RelatedPartyDomain_0762CD8FBABD6D7245E32F5C42408945" 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_1C30A614D609DAC1432A2F5C42409507" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_0762CD8FBABD6D7245E32F5C42408945" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_1C30A614D609DAC1432A2F5C42409507" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EquityMethodInvestorNameAxis" xlink:label="loc_wdc_EquityMethodInvestorNameAxis_630AFD812CB0C8E5D76D2F5C4240C089" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_FE3B3A109583AC1023B12F5C424086FA" xlink:to="loc_wdc_EquityMethodInvestorNameAxis_630AFD812CB0C8E5D76D2F5C4240C089" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_588EFE61D34D9570E7D82F5C4240A0CC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_630AFD812CB0C8E5D76D2F5C4240C089" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_588EFE61D34D9570E7D82F5C4240A0CC_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_588EFE61D34D9570E7D82F5C4240A0CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_630AFD812CB0C8E5D76D2F5C4240C089" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_588EFE61D34D9570E7D82F5C4240A0CC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_WesternDigitalCorpMember" xlink:label="loc_wdc_WesternDigitalCorpMember_1804A351D5AB45EC899F2F5C4240D640" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_588EFE61D34D9570E7D82F5C4240A0CC" xlink:to="loc_wdc_WesternDigitalCorpMember_1804A351D5AB45EC899F2F5C4240D640" 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_25FB36F000130C51852F2F5C42414C6D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_FE3B3A109583AC1023B12F5C424086FA" xlink:to="loc_us-gaap_RangeAxis_25FB36F000130C51852F2F5C42414C6D" 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_65A090356995F044D24B2F5C4241875F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_25FB36F000130C51852F2F5C42414C6D" xlink:to="loc_us-gaap_RangeMember_65A090356995F044D24B2F5C4241875F_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_65A090356995F044D24B2F5C4241875F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_25FB36F000130C51852F2F5C42414C6D" xlink:to="loc_us-gaap_RangeMember_65A090356995F044D24B2F5C4241875F" 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_2FD617EA372F284E7E2E2F5C42416455" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_65A090356995F044D24B2F5C4241875F" xlink:to="loc_us-gaap_MinimumMember_2FD617EA372F284E7E2E2F5C42416455" 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_5EB6D9966F93CF7CBE892F5C4241BE4A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_65A090356995F044D24B2F5C4241875F" xlink:to="loc_us-gaap_MaximumMember_5EB6D9966F93CF7CBE892F5C4241BE4A" 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_2683BE0EFD4F3DA158CF2F5C42412344" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_11C205043AD23F13BCA02F5C4241516A" xlink:to="loc_us-gaap_RelatedPartyTransactionsAbstract_2683BE0EFD4F3DA158CF2F5C42412344" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_StartupCostCommitment" xlink:label="loc_wdc_StartupCostCommitment_6C4CE512771FABED35C42F5C4241FDA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_2683BE0EFD4F3DA158CF2F5C42412344" xlink:to="loc_wdc_StartupCostCommitment_6C4CE512771FABED35C42F5C4241FDA4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_InvestmentFundingCommitments" xlink:label="loc_wdc_InvestmentFundingCommitments_3A602BB63027B62295852F5C424139BC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_2683BE0EFD4F3DA158CF2F5C42412344" xlink:to="loc_wdc_InvestmentFundingCommitments_3A602BB63027B62295852F5C424139BC" 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_EA676A27F21B3844B54A2F5C42411F50" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_2683BE0EFD4F3DA158CF2F5C42412344" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_EA676A27F21B3844B54A2F5C42411F50" 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_014A7962075F9DCA04F82F5C42415E35" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_2683BE0EFD4F3DA158CF2F5C42412344" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_014A7962075F9DCA04F82F5C42415E35" 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_7F02E5234B280B3ED161294AD55831B0" 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_E340DD2B2E74E59DD3FB294AD55701D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_7F02E5234B280B3ED161294AD55831B0" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_E340DD2B2E74E59DD3FB294AD55701D5" 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_23E6C69CE2516E5CA104294AD5578E85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_E340DD2B2E74E59DD3FB294AD55701D5" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_23E6C69CE2516E5CA104294AD5578E85" 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_C12FFF92A2EFCA92987C294AD55881A6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_23E6C69CE2516E5CA104294AD5578E85" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C12FFF92A2EFCA92987C294AD55881A6_default" 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_C12FFF92A2EFCA92987C294AD55881A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_23E6C69CE2516E5CA104294AD5578E85" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C12FFF92A2EFCA92987C294AD55881A6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_FlashPartnersLtdMember" xlink:label="loc_wdc_FlashPartnersLtdMember_6FB59DDFCE0B7345D22C294AD558AAC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C12FFF92A2EFCA92987C294AD55881A6" xlink:to="loc_wdc_FlashPartnersLtdMember_6FB59DDFCE0B7345D22C294AD558AAC9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_FlashAllianceLtdMember" xlink:label="loc_wdc_FlashAllianceLtdMember_1DCA7327FE122758DC1C294AD5588DAC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C12FFF92A2EFCA92987C294AD55881A6" xlink:to="loc_wdc_FlashAllianceLtdMember_1DCA7327FE122758DC1C294AD5588DAC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_FlashForwardLtdMember" xlink:label="loc_wdc_FlashForwardLtdMember_75D355520EFF7D57CF96294AD5585AF4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C12FFF92A2EFCA92987C294AD55881A6" xlink:to="loc_wdc_FlashForwardLtdMember_75D355520EFF7D57CF96294AD5585AF4" 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_E3FA92DFB91C949C56EA294AD558BBAE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C12FFF92A2EFCA92987C294AD55881A6" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_E3FA92DFB91C949C56EA294AD558BBAE" 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_BBE815E7B206BA9FB20F294AD558609F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_7F02E5234B280B3ED161294AD55831B0" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_BBE815E7B206BA9FB20F294AD558609F" 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_8986E17A9B3AC14E5013294AD5595509" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_7F02E5234B280B3ED161294AD55831B0" xlink:to="loc_us-gaap_Investments_8986E17A9B3AC14E5013294AD5595509" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_C0AC27441BDFF86D22D8294AD5595AFD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_7F02E5234B280B3ED161294AD55831B0" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_C0AC27441BDFF86D22D8294AD5595AFD" 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_0156F00A66B1DC3A828128DAFFD549C1" 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_7F49F35D2152439EB3E028DAFFD5298C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_0156F00A66B1DC3A828128DAFFD549C1" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_7F49F35D2152439EB3E028DAFFD5298C" 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_39D581DAFDE987327F9928DAFFD594B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_7F49F35D2152439EB3E028DAFFD5298C" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_39D581DAFDE987327F9928DAFFD594B1" 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_D070E19D79E1C27A732228DAFFD594D0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_39D581DAFDE987327F9928DAFFD594B1" xlink:to="loc_us-gaap_RelatedPartyDomain_D070E19D79E1C27A732228DAFFD594D0_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_D070E19D79E1C27A732228DAFFD594D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_39D581DAFDE987327F9928DAFFD594B1" xlink:to="loc_us-gaap_RelatedPartyDomain_D070E19D79E1C27A732228DAFFD594D0" 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_2F276CD01878D2064B5628DAFFD541E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_D070E19D79E1C27A732228DAFFD594D0" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_2F276CD01878D2064B5628DAFFD541E2" 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_C789C30E20DA07E7C23D28DAFFD584AB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_7F49F35D2152439EB3E028DAFFD5298C" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_C789C30E20DA07E7C23D28DAFFD584AB" 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_8CD42CF1E0B15020D4C528DAFFD55042_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C789C30E20DA07E7C23D28DAFFD584AB" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_8CD42CF1E0B15020D4C528DAFFD55042_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_8CD42CF1E0B15020D4C528DAFFD55042" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C789C30E20DA07E7C23D28DAFFD584AB" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_8CD42CF1E0B15020D4C528DAFFD55042" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_PaymentOfPrincipalAmortizationMember" xlink:label="loc_wdc_PaymentOfPrincipalAmortizationMember_E165CF6DAEF8B5D5C47828DAFFD548AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_8CD42CF1E0B15020D4C528DAFFD55042" xlink:to="loc_wdc_PaymentOfPrincipalAmortizationMember_E165CF6DAEF8B5D5C47828DAFFD548AB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_PurchaseOptionExercisePriceMember" xlink:label="loc_wdc_PurchaseOptionExercisePriceMember_C2CB68628EBA75A362E228DAFFD546A5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_8CD42CF1E0B15020D4C528DAFFD55042" xlink:to="loc_wdc_PurchaseOptionExercisePriceMember_C2CB68628EBA75A362E228DAFFD546A5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_6EE941A1C66D1CC8E2F228DAFFD52FD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_0156F00A66B1DC3A828128DAFFD549C1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_6EE941A1C66D1CC8E2F228DAFFD52FD0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_BF1DFD2078F3681F709628DAFFD5A2D1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_0156F00A66B1DC3A828128DAFFD549C1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_BF1DFD2078F3681F709628DAFFD5A2D1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_BEE0F33F3E302943124D28DAFFD50AA5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_0156F00A66B1DC3A828128DAFFD549C1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_BEE0F33F3E302943124D28DAFFD50AA5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_0140A75C33BDA3787BA128DAFFD5DEC4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_0156F00A66B1DC3A828128DAFFD549C1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_0140A75C33BDA3787BA128DAFFD5DEC4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_CC8D595A3DF39530B5B028DAFFD5AACD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_0156F00A66B1DC3A828128DAFFD549C1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_CC8D595A3DF39530B5B028DAFFD5AACD" 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_7C6697B958D0688F744728DAFFD620B3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_0156F00A66B1DC3A828128DAFFD549C1" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_7C6697B958D0688F744728DAFFD620B3" 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_5B830D7D93EDC8620A9A28DAFFE42348" 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_D71563ABA6C5ED85824528DAFFE37E9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_5B830D7D93EDC8620A9A28DAFFE42348" xlink:to="loc_us-gaap_LossContingenciesTable_D71563ABA6C5ED85824528DAFFE37E9B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_08918C51CCB732CD8F8428DAFFE3514E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_D71563ABA6C5ED85824528DAFFE37E9B" xlink:to="loc_wdc_BalanceSheetInformationAxis_08918C51CCB732CD8F8428DAFFE3514E" 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_B3C718FEDDFC690639F528DAFFE33ED9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_08918C51CCB732CD8F8428DAFFE3514E" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_B3C718FEDDFC690639F528DAFFE33ED9_default" 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_B3C718FEDDFC690639F528DAFFE33ED9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_08918C51CCB732CD8F8428DAFFE3514E" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_B3C718FEDDFC690639F528DAFFE33ED9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_FBF4A44C436228D0045A28DAFFE485E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_B3C718FEDDFC690639F528DAFFE33ED9" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_FBF4A44C436228D0045A28DAFFE485E8" 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_1144ACD97AC068BF1DAB28DAFFE4B0EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_D71563ABA6C5ED85824528DAFFE37E9B" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_1144ACD97AC068BF1DAB28DAFFE4B0EE" 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_4E5DD1C21849F6FC9A8728DAFFE454F4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_1144ACD97AC068BF1DAB28DAFFE4B0EE" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_4E5DD1C21849F6FC9A8728DAFFE454F4_default" 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_4E5DD1C21849F6FC9A8728DAFFE454F4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_1144ACD97AC068BF1DAB28DAFFE4B0EE" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_4E5DD1C21849F6FC9A8728DAFFE454F4" 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_7540E80ABCB82D52794628DAFFE42945" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_4E5DD1C21849F6FC9A8728DAFFE454F4" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_7540E80ABCB82D52794628DAFFE42945" 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_2D2ED996957C2E53D63D28DAFFE41078" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_5B830D7D93EDC8620A9A28DAFFE42348" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_2D2ED996957C2E53D63D28DAFFE41078" 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_2A1152A7245F74236A222A62D48B0C21" 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_E82BA72396FE00655EF52A62D48A9EFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_2A1152A7245F74236A222A62D48B0C21" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_E82BA72396FE00655EF52A62D48A9EFB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_A3FEF39FF8C2C546F1BD2A62D48B8FBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_E82BA72396FE00655EF52A62D48A9EFB" xlink:to="loc_wdc_BalanceSheetInformationAxis_A3FEF39FF8C2C546F1BD2A62D48B8FBF" 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_6473187F7005538422502A62D48B0246_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_A3FEF39FF8C2C546F1BD2A62D48B8FBF" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_6473187F7005538422502A62D48B0246_default" 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_6473187F7005538422502A62D48B0246" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_A3FEF39FF8C2C546F1BD2A62D48B8FBF" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_6473187F7005538422502A62D48B0246" 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_641129CB6BB8019907582A62D48BDDA0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_6473187F7005538422502A62D48B0246" xlink:to="loc_us-gaap_NotesReceivableMember_641129CB6BB8019907582A62D48BDDA0" 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_3DB6E431D324595CB6582A62D48BA57E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_6473187F7005538422502A62D48B0246" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_3DB6E431D324595CB6582A62D48BA57E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_F7A9883A57412B0D870D2A62D48B9478" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_6473187F7005538422502A62D48B0246" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_F7A9883A57412B0D870D2A62D48B9478" 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_48F307215CF824EFE1B92A62D48BDD10" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_6473187F7005538422502A62D48B0246" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_48F307215CF824EFE1B92A62D48BDD10" 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_E484673CBE7DA0B3A6CC2A62D48B5F5F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_E82BA72396FE00655EF52A62D48A9EFB" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_E484673CBE7DA0B3A6CC2A62D48B5F5F" 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_8FB20356F9C74BC38AE52A62D48BCED6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_E484673CBE7DA0B3A6CC2A62D48B5F5F" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_8FB20356F9C74BC38AE52A62D48BCED6_default" 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_8FB20356F9C74BC38AE52A62D48BCED6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_E484673CBE7DA0B3A6CC2A62D48B5F5F" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_8FB20356F9C74BC38AE52A62D48BCED6" 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_2B9D465E47C4E1D2CA352A62D48B16E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_8FB20356F9C74BC38AE52A62D48BCED6" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_2B9D465E47C4E1D2CA352A62D48B16E4" 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_C6208CCF2AA1D6A5403B2A62D48B008B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_2A1152A7245F74236A222A62D48B0C21" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_C6208CCF2AA1D6A5403B2A62D48B008B" 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_BDBD67940CAE27E55FF72A62D48B26FC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_2A1152A7245F74236A222A62D48B0C21" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_BDBD67940CAE27E55FF72A62D48B26FC" 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_C9E07576404B984BAB672A62D48CAF10" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_2A1152A7245F74236A222A62D48B0C21" xlink:to="loc_us-gaap_InventoryGross_C9E07576404B984BAB672A62D48CAF10" xlink:type="arc" />
  </link:definitionLink>
  <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/CondensedConsolidatedStatementsOfComprehensiveLoss" 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/DerivativesInCashFlowHedgingRelationshipsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_02047373D05CEB83EF280FE359FE0A27" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_66480E5D493B52199D8C0FE359FEA9A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_02047373D05CEB83EF280FE359FE0A27" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_66480E5D493B52199D8C0FE359FEA9A4" 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_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_39B7AD4E8CCD296F208F0FE359FED799" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_66480E5D493B52199D8C0FE359FEA9A4" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_39B7AD4E8CCD296F208F0FE359FED799" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_D829F3A4966B74BACAD40FE359FE6D73_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_39B7AD4E8CCD296F208F0FE359FED799" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_D829F3A4966B74BACAD40FE359FE6D73_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_D829F3A4966B74BACAD40FE359FE6D73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_39B7AD4E8CCD296F208F0FE359FED799" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_D829F3A4966B74BACAD40FE359FE6D73" 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_166C132040BD3F73ABF00FE359FE95C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_D829F3A4966B74BACAD40FE359FE6D73" xlink:to="loc_us-gaap_ForeignExchangeContractMember_166C132040BD3F73ABF00FE359FE95C4" 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_48C68D4495D7D0CF10F10FE359FE9549" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_D829F3A4966B74BACAD40FE359FE6D73" xlink:to="loc_us-gaap_InterestRateSwapMember_48C68D4495D7D0CF10F10FE359FE9549" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_EAF67A167DD3D54788A60FE359FEFECA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_02047373D05CEB83EF280FE359FE0A27" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_EAF67A167DD3D54788A60FE359FEFECA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_CD3262A50C6E0F0F645F0FE359FED8A7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_02047373D05CEB83EF280FE359FE0A27" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_CD3262A50C6E0F0F645F0FE359FED8A7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetailTextual" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_5929394DC9ADAE66ED0E298767E72B61" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_5D47B4029B8C06FF001E298767E779C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_5929394DC9ADAE66ED0E298767E72B61" xlink:to="loc_us-gaap_DerivativeTable_5D47B4029B8C06FF001E298767E779C7" 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_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_5CE21040055AD5ECF7292988AD445372" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_5D47B4029B8C06FF001E298767E779C7" xlink:to="loc_us-gaap_DebtInstrumentAxis_5CE21040055AD5ECF7292988AD445372" 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_D64C66F4E9DA97CE5E202988AD45BCAB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_5CE21040055AD5ECF7292988AD445372" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D64C66F4E9DA97CE5E202988AD45BCAB_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_D64C66F4E9DA97CE5E202988AD45BCAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_5CE21040055AD5ECF7292988AD445372" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_D64C66F4E9DA97CE5E202988AD45BCAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignExchangeForwardMember" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_EA84AA83377FAAB6ABCE2988FA69AB58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_D64C66F4E9DA97CE5E202988AD45BCAB" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_EA84AA83377FAAB6ABCE2988FA69AB58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_8E7F0EFC6BCC3E43B5A729880851AFDF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_5929394DC9ADAE66ED0E298767E72B61" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_8E7F0EFC6BCC3E43B5A729880851AFDF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesDerivativeInstrumentsAndHedgingActivitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_837C2BAA186F39DA068E66F7FB041332" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_F8BCC7FAD6C714E96B2666F7FB04160F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_837C2BAA186F39DA068E66F7FB041332" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_F8BCC7FAD6C714E96B2666F7FB04160F" 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_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_97739C5E5D46E8CDD93C66F7FB0483CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_F8BCC7FAD6C714E96B2666F7FB04160F" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_97739C5E5D46E8CDD93C66F7FB0483CB" 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_22FD4C8A3DB3BB47526666F7FB04EE69_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_97739C5E5D46E8CDD93C66F7FB0483CB" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_22FD4C8A3DB3BB47526666F7FB04EE69_default" 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_22FD4C8A3DB3BB47526666F7FB04EE69" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_97739C5E5D46E8CDD93C66F7FB0483CB" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_22FD4C8A3DB3BB47526666F7FB04EE69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCurrentAssetsMember" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_8032E0522B6F6F2C2A1C66F7FB04CDC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_22FD4C8A3DB3BB47526666F7FB04EE69" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_8032E0522B6F6F2C2A1C66F7FB04CDC3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_OtherCurrentAccruedLiabilitiesMember" xlink:label="loc_wdc_OtherCurrentAccruedLiabilitiesMember_4642A10058E7BB44238966F7FB04EC3E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_22FD4C8A3DB3BB47526666F7FB04EE69" xlink:to="loc_wdc_OtherCurrentAccruedLiabilitiesMember_4642A10058E7BB44238966F7FB04EC3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssetsAbstract" xlink:label="loc_us-gaap_DerivativeAssetsAbstract_A29E220A1AF0AE690AD066F7FB0525D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_837C2BAA186F39DA068E66F7FB041332" xlink:to="loc_us-gaap_DerivativeAssetsAbstract_A29E220A1AF0AE690AD066F7FB0525D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_055EC727372594B043DE66F7FB057112" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_A29E220A1AF0AE690AD066F7FB0525D0" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_055EC727372594B043DE66F7FB057112" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_F9EF6AD47C0B477B61EB66F7FB05D810" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_A29E220A1AF0AE690AD066F7FB0525D0" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_F9EF6AD47C0B477B61EB66F7FB05D810" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestRateDerivativeAssetsAtFairValue" xlink:label="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_BECED4D4749272BFCDF066F7FB05BE26" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_A29E220A1AF0AE690AD066F7FB0525D0" xlink:to="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_BECED4D4749272BFCDF066F7FB05BE26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_8BCC0F1CFC27AF57B78666F7FB0575FA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_A29E220A1AF0AE690AD066F7FB0525D0" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_8BCC0F1CFC27AF57B78666F7FB0575FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilitiesAbstract" xlink:label="loc_us-gaap_DerivativeLiabilitiesAbstract_B3BAD9DD227BA661A2D366F7FB05DB4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_837C2BAA186F39DA068E66F7FB041332" xlink:to="loc_us-gaap_DerivativeLiabilitiesAbstract_B3BAD9DD227BA661A2D366F7FB05DB4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_0C20D4DD603DBFDED74C66F7FB05EB9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_B3BAD9DD227BA661A2D366F7FB05DB4D" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_0C20D4DD603DBFDED74C66F7FB05EB9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:label="loc_us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_D62FA2137111D38C9DD766F7FB056B10" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_B3BAD9DD227BA661A2D366F7FB05DB4D" xlink:to="loc_us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_D62FA2137111D38C9DD766F7FB056B10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestRateDerivativeLiabilitiesAtFairValue" xlink:label="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_EB5614E3A67611ECA6E166F7FB0590D5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_B3BAD9DD227BA661A2D366F7FB05DB4D" xlink:to="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_EB5614E3A67611ECA6E166F7FB0590D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_48B00034771A6FD1EADA66F7FB053A66" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_B3BAD9DD227BA661A2D366F7FB05DB4D" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_48B00034771A6FD1EADA66F7FB053A66" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesTables" 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_983504F7E2579D8AFB1C28DAFEDE26C0" 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_BC4934BF3326959F303828DAFEDDAB81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_983504F7E2579D8AFB1C28DAFEDE26C0" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BC4934BF3326959F303828DAFEDDAB81" 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_646483977D5050102FC928DAFEDDEBC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BC4934BF3326959F303828DAFEDDAB81" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_646483977D5050102FC928DAFEDDEBC9" 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_8A9678288656D9A67F4428DAFEDD32C4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_646483977D5050102FC928DAFEDDEBC9" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_8A9678288656D9A67F4428DAFEDD32C4_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_8A9678288656D9A67F4428DAFEDD32C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_646483977D5050102FC928DAFEDDEBC9" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_8A9678288656D9A67F4428DAFEDD32C4" 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_0F1DB4B6876D2871E99A28DAFEDDC3C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_8A9678288656D9A67F4428DAFEDD32C4" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_0F1DB4B6876D2871E99A28DAFEDDC3C9" 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_FD57D18973863C37EB7C28DAFEDD579B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_8A9678288656D9A67F4428DAFEDD32C4" xlink:to="loc_us-gaap_ContractTerminationMember_FD57D18973863C37EB7C28DAFEDD579B" 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_606A8B7832E685BF9FA228DAFEDEE498" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BC4934BF3326959F303828DAFEDDAB81" xlink:to="loc_us-gaap_RestructuringPlanAxis_606A8B7832E685BF9FA228DAFEDEE498" 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_4F17F8F9B2BC8021DB6D28DAFEDE4F3A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_606A8B7832E685BF9FA228DAFEDEE498" xlink:to="loc_us-gaap_RestructuringPlanDomain_4F17F8F9B2BC8021DB6D28DAFEDE4F3A_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_4F17F8F9B2BC8021DB6D28DAFEDE4F3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_606A8B7832E685BF9FA228DAFEDEE498" xlink:to="loc_us-gaap_RestructuringPlanDomain_4F17F8F9B2BC8021DB6D28DAFEDE4F3A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_F57BEE9A5847F3D5CD6528DAFEDEFA59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_4F17F8F9B2BC8021DB6D28DAFEDE4F3A" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_F57BEE9A5847F3D5CD6528DAFEDEFA59" 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_8E59F1E6E347F3D7594128DAFEDE97BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_983504F7E2579D8AFB1C28DAFEDE26C0" xlink:to="loc_us-gaap_RestructuringReserveRollForward_8E59F1E6E347F3D7594128DAFEDE97BB" 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_F977DC6292D9C674B20828DAFEDE60A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_8E59F1E6E347F3D7594128DAFEDE97BB" xlink:to="loc_us-gaap_RestructuringReserve_F977DC6292D9C674B20828DAFEDE60A5" 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_F2248922ADE78F8D498228DAFEDEE97B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_8E59F1E6E347F3D7594128DAFEDE97BB" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_F2248922ADE78F8D498228DAFEDEE97B" 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_1D0FD0EB60A3B329E25828DAFEDE78D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_8E59F1E6E347F3D7594128DAFEDE97BB" xlink:to="loc_us-gaap_PaymentsForRestructuring_1D0FD0EB60A3B329E25828DAFEDE78D3" 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_C9977ED8969A6BD7701E4CD2B750518D" 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_FC1C696F1F668876A9E34CD2B750AEE6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_C9977ED8969A6BD7701E4CD2B750518D" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_FC1C696F1F668876A9E34CD2B750AEE6" 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_CB39272B45CCEFCFFFF84CD2B750176E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_FC1C696F1F668876A9E34CD2B750AEE6" xlink:to="loc_us-gaap_RestructuringPlanAxis_CB39272B45CCEFCFFFF84CD2B750176E" 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_5E56E72AFA4BFBD6ABD14CD2B75026D5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_CB39272B45CCEFCFFFF84CD2B750176E" xlink:to="loc_us-gaap_RestructuringPlanDomain_5E56E72AFA4BFBD6ABD14CD2B75026D5_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_5E56E72AFA4BFBD6ABD14CD2B75026D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_CB39272B45CCEFCFFFF84CD2B750176E" xlink:to="loc_us-gaap_RestructuringPlanDomain_5E56E72AFA4BFBD6ABD14CD2B75026D5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_F9C74470849ED973FD494CD2B750876B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_5E56E72AFA4BFBD6ABD14CD2B75026D5" xlink:to="loc_wdc_RestructuringPlanMember_F9C74470849ED973FD494CD2B750876B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_7255C2332BE62CC6BDF14CD2B750226C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_5E56E72AFA4BFBD6ABD14CD2B75026D5" xlink:to="loc_wdc_OdawaraMember_7255C2332BE62CC6BDF14CD2B750226C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_09F2D522641D030B8D134CD2B75004F3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_5E56E72AFA4BFBD6ABD14CD2B75026D5" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_09F2D522641D030B8D134CD2B75004F3" 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_3156ECD68669515B84D84CD2B7505F90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_C9977ED8969A6BD7701E4CD2B750518D" xlink:to="loc_us-gaap_RestructuringCharges_3156ECD68669515B84D84CD2B7505F90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost_D270ECCB077E1E88A6724CD2B7504533" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_C9977ED8969A6BD7701E4CD2B750518D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost_D270ECCB077E1E88A6724CD2B7504533" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_CD4053CB3DFE14E4CA424CD2B75039E9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_C9977ED8969A6BD7701E4CD2B750518D" xlink:to="loc_us-gaap_AssetImpairmentCharges_CD4053CB3DFE14E4CA424CD2B75039E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostsAndAssetImpairmentCharges" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_6470FF99E2857DD1997C4CD2B750EDD6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_C9977ED8969A6BD7701E4CD2B750518D" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_6470FF99E2857DD1997C4CD2B750EDD6" 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_822CA03B4071069C996928DAFEE27D98" 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_CCBF649BC3CC36D2AD7128DAFEE2EA74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_822CA03B4071069C996928DAFEE27D98" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_CCBF649BC3CC36D2AD7128DAFEE2EA74" 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_9248AC8A7D513CCEA58D28DAFEE2A1ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_CCBF649BC3CC36D2AD7128DAFEE2EA74" xlink:to="loc_us-gaap_RestructuringPlanAxis_9248AC8A7D513CCEA58D28DAFEE2A1ED" 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_60DFAD2120FC78586B0428DAFEE27B11_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_9248AC8A7D513CCEA58D28DAFEE2A1ED" xlink:to="loc_us-gaap_RestructuringPlanDomain_60DFAD2120FC78586B0428DAFEE27B11_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_60DFAD2120FC78586B0428DAFEE27B11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_9248AC8A7D513CCEA58D28DAFEE2A1ED" xlink:to="loc_us-gaap_RestructuringPlanDomain_60DFAD2120FC78586B0428DAFEE27B11" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_6CF60415AB64166935AE28DAFEE27B36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_60DFAD2120FC78586B0428DAFEE27B11" xlink:to="loc_wdc_RestructuringPlanMember_6CF60415AB64166935AE28DAFEE27B36" 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_35B38BCBF345E03044C328DAFEE2313A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_CCBF649BC3CC36D2AD7128DAFEE2EA74" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_35B38BCBF345E03044C328DAFEE2313A" 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_3CD7994692A50551771828DAFEE29EDE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_35B38BCBF345E03044C328DAFEE2313A" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_3CD7994692A50551771828DAFEE29EDE_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_3CD7994692A50551771828DAFEE29EDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_35B38BCBF345E03044C328DAFEE2313A" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_3CD7994692A50551771828DAFEE29EDE" 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_7B4E5497AEE66FE339C828DAFEE28A21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_3CD7994692A50551771828DAFEE29EDE" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_7B4E5497AEE66FE339C828DAFEE28A21" 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_5C1C9010745119B1C7EB28DAFEE2EA92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_3CD7994692A50551771828DAFEE29EDE" xlink:to="loc_us-gaap_ContractTerminationMember_5C1C9010745119B1C7EB28DAFEE2EA92" 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_71301F3D985FF7744CCF28DAFEE27BD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_822CA03B4071069C996928DAFEE27D98" xlink:to="loc_us-gaap_RestructuringReserveRollForward_71301F3D985FF7744CCF28DAFEE27BD0" 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_4C6247E8EC95F8CB88AD28DAFEE2D0AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_71301F3D985FF7744CCF28DAFEE27BD0" xlink:to="loc_us-gaap_RestructuringReserve_4C6247E8EC95F8CB88AD28DAFEE2D0AC" 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_058DCA826B022EC7D26B28DAFEE2B60B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_71301F3D985FF7744CCF28DAFEE27BD0" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_058DCA826B022EC7D26B28DAFEE2B60B" 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_D9D9322EB4B5B1CE36F528DAFEE3E328" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_71301F3D985FF7744CCF28DAFEE27BD0" xlink:to="loc_us-gaap_PaymentsForRestructuring_D9D9322EB4B5B1CE36F528DAFEE3E328" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanDetailTextuals" 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_E4D24C7ACAE59065B3C928DAFEDAE0F9" 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_59C64671E59C9AC54A8728DAFED96B86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E4D24C7ACAE59065B3C928DAFEDAE0F9" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_59C64671E59C9AC54A8728DAFED96B86" 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_A6C6CC67C69A97C414B628DAFED92722" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_59C64671E59C9AC54A8728DAFED96B86" xlink:to="loc_us-gaap_RestructuringPlanAxis_A6C6CC67C69A97C414B628DAFED92722" 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_3B8A4701340FF107787328DAFED92E3C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_A6C6CC67C69A97C414B628DAFED92722" xlink:to="loc_us-gaap_RestructuringPlanDomain_3B8A4701340FF107787328DAFED92E3C_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_3B8A4701340FF107787328DAFED92E3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_A6C6CC67C69A97C414B628DAFED92722" xlink:to="loc_us-gaap_RestructuringPlanDomain_3B8A4701340FF107787328DAFED92E3C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_34FE0246B291C7E3356E28DAFED959F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3B8A4701340FF107787328DAFED92E3C" xlink:to="loc_wdc_RestructuringPlanMember_34FE0246B291C7E3356E28DAFED959F5" 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_0C5BA8120E58206586BC28DAFED9EE64" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_59C64671E59C9AC54A8728DAFED96B86" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_0C5BA8120E58206586BC28DAFED9EE64" 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_53DDDCFEF83B2C4056E228DAFED97486_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0C5BA8120E58206586BC28DAFED9EE64" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_53DDDCFEF83B2C4056E228DAFED97486_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_53DDDCFEF83B2C4056E228DAFED97486" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0C5BA8120E58206586BC28DAFED9EE64" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_53DDDCFEF83B2C4056E228DAFED97486" 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_853D4D3A0D12D455E58828DAFED93D3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_53DDDCFEF83B2C4056E228DAFED97486" xlink:to="loc_us-gaap_CostOfSalesMember_853D4D3A0D12D455E58828DAFED93D3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveAcceleratedDepreciation" xlink:label="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_EA62FC6EC00052BAB2C628DAFEDAE451" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E4D24C7ACAE59065B3C928DAFEDAE0F9" xlink:to="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_EA62FC6EC00052BAB2C628DAFEDAE451" 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_8EB053DA1CF2804A7B2428DAFEEBEED1" 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_20785C0EFACF2587FF3E28DAFEEB991A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_8EB053DA1CF2804A7B2428DAFEEBEED1" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_20785C0EFACF2587FF3E28DAFEEB991A" 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_5B76B6390A2F3A0FC51B28DAFEEB5A00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_20785C0EFACF2587FF3E28DAFEEB991A" xlink:to="loc_us-gaap_RestructuringPlanAxis_5B76B6390A2F3A0FC51B28DAFEEB5A00" 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_FFA1A518E2E0A38F1A4328DAFEEB240F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_5B76B6390A2F3A0FC51B28DAFEEB5A00" xlink:to="loc_us-gaap_RestructuringPlanDomain_FFA1A518E2E0A38F1A4328DAFEEB240F_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_FFA1A518E2E0A38F1A4328DAFEEB240F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_5B76B6390A2F3A0FC51B28DAFEEB5A00" xlink:to="loc_us-gaap_RestructuringPlanDomain_FFA1A518E2E0A38F1A4328DAFEEB240F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_1BD285DB919E5E65091A28DAFEEBE4AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_FFA1A518E2E0A38F1A4328DAFEEB240F" xlink:to="loc_wdc_RestructuringPlanMember_1BD285DB919E5E65091A28DAFEEBE4AF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_164C54AC4B80E102B15028DAFEEB9AF6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_FFA1A518E2E0A38F1A4328DAFEEB240F" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_164C54AC4B80E102B15028DAFEEB9AF6" 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_7B1C1BB2111966B7C12528DAFEEBE04C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_8EB053DA1CF2804A7B2428DAFEEBEED1" xlink:to="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_7B1C1BB2111966B7C12528DAFEEBE04C" 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/FairValueMeasurementsAndInvestmentsAvailableForSaleSecuritiesMaturitiesDetails" 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_F835D643ECC67A5345060AB9A2C0361B" 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_EE608F21FB5F2A55F62D0AB9A2BFB7D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_F835D643ECC67A5345060AB9A2C0361B" xlink:to="loc_us-gaap_DebtInstrumentTable_EE608F21FB5F2A55F62D0AB9A2BFB7D8" 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_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_97D36FBD894F0008B0980AB9A2BF48B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_EE608F21FB5F2A55F62D0AB9A2BFB7D8" xlink:to="loc_us-gaap_DebtInstrumentAxis_97D36FBD894F0008B0980AB9A2BF48B0" 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_79D6A1F035F4A44C2AEF0AB9A2BF8FF7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_97D36FBD894F0008B0980AB9A2BF48B0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7_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_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_97D36FBD894F0008B0980AB9A2BF48B0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_601610239DB9427001590AB9A2C0BC9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_SecuredNotesMember_601610239DB9427001590AB9A2C0BC9B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_4221EA3A4AF7D6A1CE380AB9A2C071A0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_UnsecuredNotesMember_4221EA3A4AF7D6A1CE380AB9A2C071A0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_5A7FB611C8B3452E6C1A0AB9A2C06924" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_TermLoanAMember_5A7FB611C8B3452E6C1A0AB9A2C06924" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_C012DEEE27595C1E0B400AB9A2C09532" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_U.S.TermLoanB2Member_C012DEEE27595C1E0B400AB9A2C09532" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_U.S.TermLoanB3Member" xlink:label="loc_wdc_U.S.TermLoanB3Member_9ADEA1EA9DF700E7D1DD0AFCD31FCA4A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_U.S.TermLoanB3Member_9ADEA1EA9DF700E7D1DD0AFCD31FCA4A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_94F4C0F45BECD49564450AB9A2C0D08C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_EuroTermLoanB2Member_94F4C0F45BECD49564450AB9A2C0D08C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_0BD95FA7D65D177C7E950AB9A2C0653F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_0BD95FA7D65D177C7E950AB9A2C0653F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DebtCostMember" xlink:label="loc_wdc_DebtCostMember_EB70B70D2CF78E3566B90AB9A2C04CBA" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_79D6A1F035F4A44C2AEF0AB9A2BF8FF7" xlink:to="loc_wdc_DebtCostMember_EB70B70D2CF78E3566B90AB9A2C04CBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_A149614A8B43324290B60AB9A2C02CFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_F835D643ECC67A5345060AB9A2C0361B" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_A149614A8B43324290B60AB9A2C02CFB" 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_583CD83873BBB046D7290AB9A2C0D78C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_F835D643ECC67A5345060AB9A2C0361B" xlink:to="loc_us-gaap_LongTermDebt_583CD83873BBB046D7290AB9A2C0D78C" 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_1AB85AB6810E6328B8910AB9A2C04989" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_F835D643ECC67A5345060AB9A2C0361B" xlink:to="loc_us-gaap_LongTermDebtFairValue_1AB85AB6810E6328B8910AB9A2C04989" 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_BB1F2D73682699BD275F28DB011EE361" 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_D94809E870F90799797D28DB011C4CF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BB1F2D73682699BD275F28DB011EE361" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D94809E870F90799797D28DB011C4CF7" 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_A08F16378208824036DB28DB011C1E83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D94809E870F90799797D28DB011C4CF7" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A08F16378208824036DB28DB011C1E83" 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_9FC9FC6EF8894B00688A28DB011CE5C0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A08F16378208824036DB28DB011C1E83" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FC9FC6EF8894B00688A28DB011CE5C0_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_9FC9FC6EF8894B00688A28DB011CE5C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A08F16378208824036DB28DB011C1E83" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FC9FC6EF8894B00688A28DB011CE5C0" 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_C277B51423AB85848B8D28DB011C1B1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FC9FC6EF8894B00688A28DB011CE5C0" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_C277B51423AB85848B8D28DB011C1B1F" 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_ACF41972038D78F5490828DB011C9BC7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D94809E870F90799797D28DB011C4CF7" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_ACF41972038D78F5490828DB011C9BC7" 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_3C527D5723E1B260988F28DB011C10FD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_ACF41972038D78F5490828DB011C9BC7" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD_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_3C527D5723E1B260988F28DB011C10FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_ACF41972038D78F5490828DB011C9BC7" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" 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_7CE18B65D02537854F5228DB011CCC7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_MoneyMarketFundsMember_7CE18B65D02537854F5228DB011CCC7D" 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_124BE19D95FB3D79CBCC28DB011DC102" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_CertificatesOfDepositMember_124BE19D95FB3D79CBCC28DB011DC102" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_CorporatenoteandbondsecuritiesMember" xlink:label="loc_wdc_CorporatenoteandbondsecuritiesMember_53FF56DA1C4E05820BEA28DB011D8699" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_wdc_CorporatenoteandbondsecuritiesMember_53FF56DA1C4E05820BEA28DB011D8699" 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_119A2AC0E4B1F8466F0E28DB011DCD9B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_119A2AC0E4B1F8466F0E28DB011DCD9B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_MunicipalNotesAndBondsMember" xlink:label="loc_wdc_MunicipalNotesAndBondsMember_AB5B86AF7C479FCA51A528DB011D5801" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_wdc_MunicipalNotesAndBondsMember_AB5B86AF7C479FCA51A528DB011D5801" 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_87EA5FCE7B3B0FC8E59228DB011D6DC4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_EquitySecuritiesMember_87EA5FCE7B3B0FC8E59228DB011D6DC4" 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_FD5BEF0B9806E868E0DC28DB011D808A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_FD5BEF0B9806E868E0DC28DB011D808A" 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_1AFF0CDF6D1C4D3BF74D28DB011DB842" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_1AFF0CDF6D1C4D3BF74D28DB011DB842" 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_F13EB10EA7FE3A4EAE2528DB011DEE05" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_F13EB10EA7FE3A4EAE2528DB011DEE05" 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_420F86D52B345976277128DB011D3089" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_ForeignExchangeContractMember_420F86D52B345976277128DB011D3089" 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_275B3F55CB13BC7E6C0128DB011D9D88" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_us-gaap_InterestRateSwapMember_275B3F55CB13BC7E6C0128DB011D9D88" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_NoteConversionOptionsMember" xlink:label="loc_wdc_NoteConversionOptionsMember_EBEBFF84434D6D518FD328DB011D18E1" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3C527D5723E1B260988F28DB011C10FD" xlink:to="loc_wdc_NoteConversionOptionsMember_EBEBFF84434D6D518FD328DB011D18E1" 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_3F9B31BD69F24D25646F28DB011D4FE5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D94809E870F90799797D28DB011C4CF7" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3F9B31BD69F24D25646F28DB011D4FE5" 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_D54C6F0F2F3662479AAE28DB011D1C31_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3F9B31BD69F24D25646F28DB011D4FE5" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D54C6F0F2F3662479AAE28DB011D1C31_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_D54C6F0F2F3662479AAE28DB011D1C31" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3F9B31BD69F24D25646F28DB011D4FE5" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D54C6F0F2F3662479AAE28DB011D1C31" 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_E596EBC757E3B9E302ED28DB011D0F21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D54C6F0F2F3662479AAE28DB011D1C31" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_E596EBC757E3B9E302ED28DB011D0F21" 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_E0C33C9EDB5BF9F6E75428DB011EAE2F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D54C6F0F2F3662479AAE28DB011D1C31" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_E0C33C9EDB5BF9F6E75428DB011EAE2F" 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_C0E6CBBBC20192637D4F28DB011E8DC7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D54C6F0F2F3662479AAE28DB011D1C31" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_C0E6CBBBC20192637D4F28DB011E8DC7" 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_B0EDE2A38750F4CC720B28DB011E593F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BB1F2D73682699BD275F28DB011EE361" xlink:to="loc_us-gaap_AssetsAbstract_B0EDE2A38750F4CC720B28DB011E593F" 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_51B18E955E570D3C722728DB011E3376" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_B0EDE2A38750F4CC720B28DB011E593F" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_51B18E955E570D3C722728DB011E3376" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_ShorttermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_ShorttermInvestmentsFairValueDisclosure_7FAFE4DF26AD37A6525428DB011EAA6A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_B0EDE2A38750F4CC720B28DB011E593F" xlink:to="loc_wdc_ShorttermInvestmentsFairValueDisclosure_7FAFE4DF26AD37A6525428DB011EAA6A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_LongtermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_LongtermInvestmentsFairValueDisclosure_D975D441597EA99B18F728DB011E644D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_B0EDE2A38750F4CC720B28DB011E593F" xlink:to="loc_wdc_LongtermInvestmentsFairValueDisclosure_D975D441597EA99B18F728DB011E644D" 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_3D9C81F19DA9EDF84A0F28DB011EC8F3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_B0EDE2A38750F4CC720B28DB011E593F" xlink:to="loc_us-gaap_DerivativeAssets_3D9C81F19DA9EDF84A0F28DB011EC8F3" 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_71E28083E6C18DF5AC4528DB011E1F5F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_B0EDE2A38750F4CC720B28DB011E593F" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_71E28083E6C18DF5AC4528DB011E1F5F" 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_F378E2B5BA687079BD5028DB011EEA85" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BB1F2D73682699BD275F28DB011EE361" xlink:to="loc_us-gaap_LiabilitiesAbstract_F378E2B5BA687079BD5028DB011EEA85" 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_8B02C793833E597FBA2E28DB011E6DCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_F378E2B5BA687079BD5028DB011EEA85" xlink:to="loc_us-gaap_DerivativeLiabilities_8B02C793833E597FBA2E28DB011E6DCB" 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_86EF7374A6283B01C44128DB011E1E66" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_F378E2B5BA687079BD5028DB011EEA85" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_86EF7374A6283B01C44128DB011E1E66" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpense" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="wdc-20171229.xsd#wdc_IncomeTaxDisclosureLineItems" xlink:label="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:type="locator" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_IncomeTaxDisclosureTable" xlink:label="loc_wdc_IncomeTaxDisclosureTable_779B52916C069F0D6ADD490D0B4DB0CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_wdc_IncomeTaxDisclosureTable_779B52916C069F0D6ADD490D0B4DB0CB" 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_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_2486F00575C82DA7CC0C490D0B4DF24B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_779B52916C069F0D6ADD490D0B4DB0CB" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_2486F00575C82DA7CC0C490D0B4DF24B" 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_7F5110B991DE8F72D952490D0B4DB163_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_2486F00575C82DA7CC0C490D0B4DF24B" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_7F5110B991DE8F72D952490D0B4DB163_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_7F5110B991DE8F72D952490D0B4DB163" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_2486F00575C82DA7CC0C490D0B4DF24B" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_7F5110B991DE8F72D952490D0B4DB163" 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_1B027A10E15668AEAAA7490D0B4DC36E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_7F5110B991DE8F72D952490D0B4DB163" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_1B027A10E15668AEAAA7490D0B4DC36E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_A3DCF666441CE0041A99490D0B4DE12F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_779B52916C069F0D6ADD490D0B4DB0CB" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_A3DCF666441CE0041A99490D0B4DE12F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EFA33107EB023045B86F490D0B4E2DB1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A3DCF666441CE0041A99490D0B4DE12F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EFA33107EB023045B86F490D0B4E2DB1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EFA33107EB023045B86F490D0B4E2DB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A3DCF666441CE0041A99490D0B4DE12F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EFA33107EB023045B86F490D0B4E2DB1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_AB262F50A15FFA0F84B5490D0B4E9819" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EFA33107EB023045B86F490D0B4E2DB1" xlink:to="loc_wdc_SanDiskMember_AB262F50A15FFA0F84B5490D0B4E9819" 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_4DAB5BFBF68F7383540A490D0B4E6478" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_779B52916C069F0D6ADD490D0B4DB0CB" xlink:to="loc_us-gaap_StatementScenarioAxis_4DAB5BFBF68F7383540A490D0B4E6478" 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_DBC52776EB19A05DB066490D0B4E8B81_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_4DAB5BFBF68F7383540A490D0B4E6478" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_DBC52776EB19A05DB066490D0B4E8B81_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_DBC52776EB19A05DB066490D0B4E8B81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_4DAB5BFBF68F7383540A490D0B4E6478" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_DBC52776EB19A05DB066490D0B4E8B81" 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_A12744C421D980EB459E490D0B4EBE7A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_DBC52776EB19A05DB066490D0B4E8B81" xlink:to="loc_us-gaap_ScenarioForecastMember_A12744C421D980EB459E490D0B4EBE7A" 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_9EB228B59DEDB7BBF945490D0B4EEEF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_DBC52776EB19A05DB066490D0B4E8B81" xlink:to="loc_us-gaap_ProFormaMember_9EB228B59DEDB7BBF945490D0B4EEEF0" 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_3ADD0382FDD27E01A860490D0B4E8E07" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_3ADD0382FDD27E01A860490D0B4E8E07" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_33980E857A02D8B07475490D0B4F24B4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_33980E857A02D8B07475490D0B4F24B4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_EFDB05B166127E57B881490D0B4FDF5B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_wdc_TaxCutsandJobsActof2017ChangeinTaxRateIncomeTaxExpenseBenefitIncompleteAccountingProvisionalAmount_EFDB05B166127E57B881490D0B4FDF5B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse" xlink:label="loc_wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse_3F445F0B33E3CB65DAF5490D0B4F36A8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_wdc_DeferredTaxAssetsProjectedEffectiveRateatWhichPositionWillReverse_3F445F0B33E3CB65DAF5490D0B4F36A8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse" xlink:label="loc_wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse_1402026D8970A756C6E6490D0B4FED7C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_wdc_DeferredTaxLiabilitiesProjectedEffectiveRateatWhichPositionWillReverse_1402026D8970A756C6E6490D0B4FED7C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount_22119548E48088F73F53490DD25B0E3F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityIncompleteAccountingProvisionalAmount_22119548E48088F73F53490DD25B0E3F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityCurrentIncompleteAccountingProvisionalAmount" xlink:label="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityCurrentIncompleteAccountingProvisionalAmount_7C421DD4CECB26ADB07D490D0B4FC085" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_wdc_TaxCutsandJobsActof2017TransitionTaxforAccumulatedForeignEarningsLiabilityCurrentIncompleteAccountingProvisionalAmount_7C421DD4CECB26ADB07D490D0B4FC085" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_202861CE134F03A7681F490D0B4F07DD" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_202861CE134F03A7681F490D0B4F07DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_FBDAA4CE5C0CB2BD25AD490D0B4F22A8" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_FBDAA4CE5C0CB2BD25AD490D0B4F22A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_B197EF912D4295E938D0490D0B4F352F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_B197EF912D4295E938D0490D0B4F352F" 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_684E376D0969749B38A1490D0B4F8684" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_684E376D0969749B38A1490D0B4F8684" 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_F936C2C4F0B4CF0E5A17490D0B4F4163" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_F936C2C4F0B4CF0E5A17490D0B4F4163" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherTaxExpenseBenefit" xlink:label="loc_us-gaap_OtherTaxExpenseBenefit_0DEFED25D916927FC84F490D0B4FA5FD" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_OtherTaxExpenseBenefit_0DEFED25D916927FC84F490D0B4FA5FD" 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_BE3A4B6952E5000EDBEE490D0B4FA15B" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BE3A4B6952E5000EDBEE490D0B4FA15B" 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_57B45C3BA1F6453F1219490D0B4FD922" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_57B45C3BA1F6453F1219490D0B4FD922" 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_B5AB14F386B596E155CF490D0B5024D0" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_B5AB14F386B596E155CF490D0B5024D0" 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_4B76E913C4D2E9D6B726490D0B50766D" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_18251AC91917C6034DF4490D0B4E1FF5" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_4B76E913C4D2E9D6B726490D0B50766D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTaxProvisionDetails" 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_E5E3879196C704D18CA13319708917D3" 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_4DB90EC42AB6EE52FD7733197088548E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_E5E3879196C704D18CA13319708917D3" xlink:to="loc_us-gaap_LossContingenciesTable_4DB90EC42AB6EE52FD7733197088548E" 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_93001AEBD9C62F85489333197088B909" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_4DB90EC42AB6EE52FD7733197088548E" xlink:to="loc_us-gaap_RangeAxis_93001AEBD9C62F85489333197088B909" 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_7733B7519F4945F3219233197089670D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_93001AEBD9C62F85489333197088B909" xlink:to="loc_us-gaap_RangeMember_7733B7519F4945F3219233197089670D_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_7733B7519F4945F3219233197089670D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_93001AEBD9C62F85489333197088B909" xlink:to="loc_us-gaap_RangeMember_7733B7519F4945F3219233197089670D" 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_765BF9A4EA9DD9BEA0E633197089559B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_7733B7519F4945F3219233197089670D" xlink:to="loc_us-gaap_MaximumMember_765BF9A4EA9DD9BEA0E633197089559B" 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_4DA7F56DC8A13D5E424933197089684E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E5E3879196C704D18CA13319708917D3" xlink:to="loc_us-gaap_LossContingencyNumberOfPlaintiffs_4DA7F56DC8A13D5E424933197089684E" 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_5ACB60E0387FF5A6F50C331970892F28" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E5E3879196C704D18CA13319708917D3" xlink:to="loc_us-gaap_LossContingencyNewClaimsFiledNumber_5ACB60E0387FF5A6F50C331970892F28" 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_80B826926E1EC9B0CA013319708935FD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E5E3879196C704D18CA13319708917D3" xlink:to="loc_us-gaap_LossContingencyPendingClaimsNumber_80B826926E1EC9B0CA013319708935FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyDamagesSoughtValue" xlink:label="loc_us-gaap_LossContingencyDamagesSoughtValue_687BD7BFD453D898DBC0332FD46C63F3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E5E3879196C704D18CA13319708917D3" xlink:to="loc_us-gaap_LossContingencyDamagesSoughtValue_687BD7BFD453D898DBC0332FD46C63F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_1E49A0EE3AE9335ADFFD33197089499F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_E5E3879196C704D18CA13319708917D3" xlink:to="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_1E49A0EE3AE9335ADFFD33197089499F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareTables" 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_BC4F4A0C0DE218912B6528DB00415071" 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_00AF25EA64703E543BA728DB004113C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BC4F4A0C0DE218912B6528DB00415071" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_00AF25EA64703E543BA728DB004113C3" 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_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_41B5FE56417F27C460ED28DB0041909C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_00AF25EA64703E543BA728DB004113C3" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_41B5FE56417F27C460ED28DB0041909C" 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_A931AA62D4AC553DD1A728DB0041828C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_41B5FE56417F27C460ED28DB0041909C" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_A931AA62D4AC553DD1A728DB0041828C_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_A931AA62D4AC553DD1A728DB0041828C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_41B5FE56417F27C460ED28DB0041909C" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_A931AA62D4AC553DD1A728DB0041828C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_JapanesePlanMember" xlink:label="loc_wdc_JapanesePlanMember_C3CE601E93EA8FC4764C28DB0041A7FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_A931AA62D4AC553DD1A728DB0041828C" xlink:to="loc_wdc_JapanesePlanMember_C3CE601E93EA8FC4764C28DB0041A7FC" 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_5B49D7DCC69C03D4E46A28DB004164B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BC4F4A0C0DE218912B6528DB00415071" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_5B49D7DCC69C03D4E46A28DB004164B8" 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_A73F3FE098ADEF50FC6428DB00411EC1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BC4F4A0C0DE218912B6528DB00415071" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_A73F3FE098ADEF50FC6428DB00411EC1" 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_FD2FA02F86C827C7439428DB00412C10" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_BC4F4A0C0DE218912B6528DB00415071" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_FD2FA02F86C827C7439428DB00412C10" 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_99CCC3F91187E9EA848428DB00336F80" 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_48762A99605BB53CB77A28DB0033FA79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_99CCC3F91187E9EA848428DB00336F80" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_48762A99605BB53CB77A28DB0033FA79" 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_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_BE5D44AD389969FA9DC328DB00330654" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_48762A99605BB53CB77A28DB0033FA79" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_BE5D44AD389969FA9DC328DB00330654" 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_CF5F9451DAE0B4EBB76028DB0033FECE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_BE5D44AD389969FA9DC328DB00330654" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_CF5F9451DAE0B4EBB76028DB0033FECE_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_CF5F9451DAE0B4EBB76028DB0033FECE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_BE5D44AD389969FA9DC328DB00330654" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_CF5F9451DAE0B4EBB76028DB0033FECE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_JapanesePlanMember" xlink:label="loc_wdc_JapanesePlanMember_D6CDE11E7520B9994B0A28DB00338DC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_CF5F9451DAE0B4EBB76028DB0033FECE" xlink:to="loc_wdc_JapanesePlanMember_D6CDE11E7520B9994B0A28DB00338DC6" 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_D3AB7BBFE50495E8CCB828DB00336358" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_99CCC3F91187E9EA848428DB00336F80" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_D3AB7BBFE50495E8CCB828DB00336358" 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_D8AD88B439C2088C07A728DB00333211" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_99CCC3F91187E9EA848428DB00336F80" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_D8AD88B439C2088C07A728DB00333211" 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_746230C658EC0FE2748C28DB003356F3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_99CCC3F91187E9EA848428DB00336F80" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_746230C658EC0FE2748C28DB003356F3" 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_A58D0C331BB6245F2FBC28DB019B7D71" 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_5E9CBB84A76CE6BEA4F728DB019AA59A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_A58D0C331BB6245F2FBC28DB019B7D71" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5E9CBB84A76CE6BEA4F728DB019AA59A" 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_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_964B6CB71FB6F336971428DB019AB4D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5E9CBB84A76CE6BEA4F728DB019AA59A" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_964B6CB71FB6F336971428DB019AB4D5" 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_AF044D55C91CD6E7E3A928DB019BBF89_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_964B6CB71FB6F336971428DB019AB4D5" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_AF044D55C91CD6E7E3A928DB019BBF89_default" 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_AF044D55C91CD6E7E3A928DB019BBF89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_964B6CB71FB6F336971428DB019AB4D5" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_AF044D55C91CD6E7E3A928DB019BBF89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_B6D350B3B0F441B68BCA28DB019B3124" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_AF044D55C91CD6E7E3A928DB019BBF89" xlink:to="loc_us-gaap_RetainedEarningsMember_B6D350B3B0F441B68BCA28DB019B3124" 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_881B2074223B1B42CEDE28DB019BFE38" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5E9CBB84A76CE6BEA4F728DB019AA59A" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_881B2074223B1B42CEDE28DB019BFE38" 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_E4419648EF7568A49F5D28DB019B1BA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_881B2074223B1B42CEDE28DB019BFE38" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E4419648EF7568A49F5D28DB019B1BA8_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_E4419648EF7568A49F5D28DB019B1BA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_881B2074223B1B42CEDE28DB019BFE38" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E4419648EF7568A49F5D28DB019B1BA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_B1C6BD6CB3B1C819552C28DB019B27B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_E4419648EF7568A49F5D28DB019B1BA8" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_B1C6BD6CB3B1C819552C28DB019B27B6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_CumulativeAdjustmentScenarioAxis" xlink:label="loc_wdc_CumulativeAdjustmentScenarioAxis_6585B42CDD3FC08E73FD28DB019B0D4B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_5E9CBB84A76CE6BEA4F728DB019AA59A" xlink:to="loc_wdc_CumulativeAdjustmentScenarioAxis_6585B42CDD3FC08E73FD28DB019B0D4B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_CumulativeAdjustmentScenarioDomain" xlink:label="loc_wdc_CumulativeAdjustmentScenarioDomain_8E483C88547D68AED30328DB019BF828_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_CumulativeAdjustmentScenarioAxis_6585B42CDD3FC08E73FD28DB019B0D4B" xlink:to="loc_wdc_CumulativeAdjustmentScenarioDomain_8E483C88547D68AED30328DB019BF828_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_CumulativeAdjustmentScenarioDomain" xlink:label="loc_wdc_CumulativeAdjustmentScenarioDomain_8E483C88547D68AED30328DB019BF828" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_CumulativeAdjustmentScenarioAxis_6585B42CDD3FC08E73FD28DB019B0D4B" xlink:to="loc_wdc_CumulativeAdjustmentScenarioDomain_8E483C88547D68AED30328DB019BF828" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_WindfallTaxBenefitUnrecognizedMember" xlink:label="loc_wdc_WindfallTaxBenefitUnrecognizedMember_224C131D36592781475E28DB019BC7C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CumulativeAdjustmentScenarioDomain_8E483C88547D68AED30328DB019BF828" xlink:to="loc_wdc_WindfallTaxBenefitUnrecognizedMember_224C131D36592781475E28DB019BC7C1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_CumulativeAdjustmentChangeinAccountingPolicyMember" xlink:label="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyMember_B5252E6F044C2FD8589E28DB019B0161" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CumulativeAdjustmentScenarioDomain_8E483C88547D68AED30328DB019BF828" xlink:to="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyMember_B5252E6F044C2FD8589E28DB019B0161" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_CumulativeAdjustmentChangeinAccountingPolicyTaxImpactMember" xlink:label="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyTaxImpactMember_8DE3652D464FFBE3EFF028DB019B3CAF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CumulativeAdjustmentScenarioDomain_8E483C88547D68AED30328DB019BF828" xlink:to="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyTaxImpactMember_8DE3652D464FFBE3EFF028DB019B3CAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_73405A2CE58FD3648CB628DB019B38AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_A58D0C331BB6245F2FBC28DB019B7D71" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_73405A2CE58FD3648CB628DB019B38AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_D702D9F112E2C7F3A7D728DB019CF891" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_A58D0C331BB6245F2FBC28DB019B7D71" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_D702D9F112E2C7F3A7D728DB019CF891" xlink:type="arc" />
  </link:definitionLink>
  <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_0A184969B8D63DC5B6A954166E10AB4B" 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_AC9F34F17A3CE541A68054166E0FD4A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0A184969B8D63DC5B6A954166E10AB4B" xlink:to="loc_us-gaap_DebtInstrumentTable_AC9F34F17A3CE541A68054166E0FD4A4" 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_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_9B09EFDC8BC532DB77E154166E0F8496" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_AC9F34F17A3CE541A68054166E0FD4A4" xlink:to="loc_us-gaap_DebtInstrumentAxis_9B09EFDC8BC532DB77E154166E0F8496" 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_F1A8C3920E7274EE11D854166E0F703F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_9B09EFDC8BC532DB77E154166E0F8496" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F_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_F1A8C3920E7274EE11D854166E0F703F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_9B09EFDC8BC532DB77E154166E0F8496" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_8D89D70E04095E32DEC054166E100C65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:to="loc_wdc_TermLoanAMember_8D89D70E04095E32DEC054166E100C65" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_7AD0248FCF859A01FA1F54166E103427" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:to="loc_wdc_U.S.TermLoanB2Member_7AD0248FCF859A01FA1F54166E103427" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_U.S.TermLoanB3Member" xlink:label="loc_wdc_U.S.TermLoanB3Member_BA410F5BD2504AF3336254166E10C5AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:to="loc_wdc_U.S.TermLoanB3Member_BA410F5BD2504AF3336254166E10C5AC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_7C6A7236736D8F2AAF5454166E107206" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:to="loc_wdc_EuroTermLoanB2Member_7C6A7236736D8F2AAF5454166E107206" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_FB51D24BA7B92A38E82D54166E105299" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:to="loc_wdc_SecuredNotesMember_FB51D24BA7B92A38E82D54166E105299" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_FDF42836CD165A105A0554166E102AB7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:to="loc_wdc_UnsecuredNotesMember_FDF42836CD165A105A0554166E102AB7" 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_6D6A0F63618FA439A16454166E100DFD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F1A8C3920E7274EE11D854166E0F703F" xlink:to="loc_us-gaap_ConvertibleDebtMember_6D6A0F63618FA439A16454166E100DFD" 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_CA8CDA781B5CC18FE78454166E10E63E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0A184969B8D63DC5B6A954166E10AB4B" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_CA8CDA781B5CC18FE78454166E10E63E" 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_3A0D2A053E929E82402B54166E1063B7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0A184969B8D63DC5B6A954166E10AB4B" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_3A0D2A053E929E82402B54166E1063B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_EB62E48376F269619C4E54166E10BB0B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0A184969B8D63DC5B6A954166E10AB4B" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_EB62E48376F269619C4E54166E10BB0B" 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_17BA7E4ED81D34D7ED6A54166E106B01" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0A184969B8D63DC5B6A954166E10AB4B" xlink:to="loc_us-gaap_LongTermDebt_17BA7E4ED81D34D7ED6A54166E106B01" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_LongTermDebtCurrentandBridgeLoans" xlink:label="loc_wdc_LongTermDebtCurrentandBridgeLoans_B38CE1BCD922DB1B42A054166E1069DF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0A184969B8D63DC5B6A954166E10AB4B" xlink:to="loc_wdc_LongTermDebtCurrentandBridgeLoans_B38CE1BCD922DB1B42A054166E1069DF" 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_5BEB987F4A9CF2C6887C54166E1037BD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0A184969B8D63DC5B6A954166E10AB4B" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_5BEB987F4A9CF2C6887C54166E1037BD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ScheduleOfDebtDetailTextual" 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_C31B5CA531017EBB777928DB00B89B13" 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_C77A2C9D71381870E16E28DB00B7BCC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_us-gaap_DebtInstrumentTable_C77A2C9D71381870E16E28DB00B7BCC6" 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_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_B7C39E173B5D2319302328DB00B79D7A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_C77A2C9D71381870E16E28DB00B7BCC6" xlink:to="loc_us-gaap_VariableRateAxis_B7C39E173B5D2319302328DB00B79D7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_C6163F23394D8FF9B6FB28DB00B75722_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_B7C39E173B5D2319302328DB00B79D7A" xlink:to="loc_us-gaap_VariableRateDomain_C6163F23394D8FF9B6FB28DB00B75722_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_C6163F23394D8FF9B6FB28DB00B75722" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_B7C39E173B5D2319302328DB00B79D7A" xlink:to="loc_us-gaap_VariableRateDomain_C6163F23394D8FF9B6FB28DB00B75722" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_310D164B3C5636B3036028DB00B76A87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_C6163F23394D8FF9B6FB28DB00B75722" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_310D164B3C5636B3036028DB00B76A87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BaseRateMember" xlink:label="loc_us-gaap_BaseRateMember_3095C3CF469475DCFB4428DB00B7560C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_C6163F23394D8FF9B6FB28DB00B75722" xlink:to="loc_us-gaap_BaseRateMember_3095C3CF469475DCFB4428DB00B7560C" xlink:type="arc" />
    <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_30022A2C1C1A93E1287728DB00B73672" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_C77A2C9D71381870E16E28DB00B7BCC6" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_30022A2C1C1A93E1287728DB00B73672" 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_3CBFFE27B58998A26DBB28DB00B75181_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_30022A2C1C1A93E1287728DB00B73672" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3CBFFE27B58998A26DBB28DB00B75181_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_3CBFFE27B58998A26DBB28DB00B75181" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_30022A2C1C1A93E1287728DB00B73672" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3CBFFE27B58998A26DBB28DB00B75181" 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_368C4688D6A90287F66928DB00B75AEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3CBFFE27B58998A26DBB28DB00B75181" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_368C4688D6A90287F66928DB00B75AEC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_U.S.TermLoanB3Member" xlink:label="loc_wdc_U.S.TermLoanB3Member_8B29594EA431029736C428DB00B7B9E9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3CBFFE27B58998A26DBB28DB00B75181" xlink:to="loc_wdc_U.S.TermLoanB3Member_8B29594EA431029736C428DB00B7B9E9" 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_D200B9A31033A9AF0EC128DB00B7F153" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_C77A2C9D71381870E16E28DB00B7BCC6" xlink:to="loc_us-gaap_DebtInstrumentAxis_D200B9A31033A9AF0EC128DB00B7F153" 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_3532F2A1B588E1DD9AD328DB00B79A3A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_D200B9A31033A9AF0EC128DB00B7F153" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3532F2A1B588E1DD9AD328DB00B79A3A_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_3532F2A1B588E1DD9AD328DB00B79A3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_D200B9A31033A9AF0EC128DB00B7F153" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3532F2A1B588E1DD9AD328DB00B79A3A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_37F8F40DD60094F4F5AF28DB00B7B690" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3532F2A1B588E1DD9AD328DB00B79A3A" xlink:to="loc_wdc_SecuredNotesMember_37F8F40DD60094F4F5AF28DB00B7B690" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_B2501329820921C12F8F28DB00B8C302" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3532F2A1B588E1DD9AD328DB00B79A3A" xlink:to="loc_wdc_UnsecuredNotesMember_B2501329820921C12F8F28DB00B8C302" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1FA9F5B4812D199D5FC328DB00B8DC21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1FA9F5B4812D199D5FC328DB00B8DC21" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_LineofCreditFacilityBorrowingCapacityIncrease" xlink:label="loc_wdc_LineofCreditFacilityBorrowingCapacityIncrease_B7C1F89EC42BA69030DF28DF9C26886E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_wdc_LineofCreditFacilityBorrowingCapacityIncrease_B7C1F89EC42BA69030DF28DF9C26886E" 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_9956EFFCADBB3E17E1B828DB00B87E6E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_9956EFFCADBB3E17E1B828DB00B87E6E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DebtInstrumentBasisSpreadonVariableRateFloor" xlink:label="loc_wdc_DebtInstrumentBasisSpreadonVariableRateFloor_FA90C70772AA079EC4B728DB00BDCFBB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_wdc_DebtInstrumentBasisSpreadonVariableRateFloor_FA90C70772AA079EC4B728DB00BDCFBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_A97F18C61B12F30AF76328DB00BD3A38" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_A97F18C61B12F30AF76328DB00BD3A38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_473E5619DDA730BA407328DB00BD8828" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_473E5619DDA730BA407328DB00BD8828" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentPercent" xlink:label="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentPercent_1BD8C3089A6B0ACD698728DB00BD427D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentPercent_1BD8C3089A6B0ACD698728DB00BD427D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_18BA98F2C206B6B2EC0B28DDEFCD4262" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_18BA98F2C206B6B2EC0B28DDEFCD4262" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_A6A7BFFE0BA569A079E128DB00BD1AB7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C31B5CA531017EBB777928DB00B89B13" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_A6A7BFFE0BA569A079E128DB00BD1AB7" 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/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeDetails" 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_16B235AA357D4918C0BC2A62D2F8930B" 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_3077ADAD20FE3AE0B8D12A62D2F746AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_3077ADAD20FE3AE0B8D12A62D2F746AF" 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_4F05BEFEB5E076B115842A62D2F784FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_3077ADAD20FE3AE0B8D12A62D2F746AF" xlink:to="loc_us-gaap_ConsolidationItemsAxis_4F05BEFEB5E076B115842A62D2F784FB" 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_ED6951063105752F45792A62D2F7A413_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_4F05BEFEB5E076B115842A62D2F784FB" xlink:to="loc_us-gaap_ConsolidationItemsDomain_ED6951063105752F45792A62D2F7A413_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_ED6951063105752F45792A62D2F7A413" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_4F05BEFEB5E076B115842A62D2F784FB" xlink:to="loc_us-gaap_ConsolidationItemsDomain_ED6951063105752F45792A62D2F7A413" 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_6E1B46BDC55B25D6707B2A62D2F7A9DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_ED6951063105752F45792A62D2F7A413" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_6E1B46BDC55B25D6707B2A62D2F7A9DE" 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_EEFDCADBB0AF05DB91FF2A62D2F76EF9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_3077ADAD20FE3AE0B8D12A62D2F746AF" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_EEFDCADBB0AF05DB91FF2A62D2F76EF9" 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_1696E8D9C3F21950EB862A62D2F7D8AC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_EEFDCADBB0AF05DB91FF2A62D2F76EF9" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_1696E8D9C3F21950EB862A62D2F7D8AC_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_1696E8D9C3F21950EB862A62D2F7D8AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_EEFDCADBB0AF05DB91FF2A62D2F76EF9" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_1696E8D9C3F21950EB862A62D2F7D8AC" 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_AC7C33029689EA43C1662A62D2F7AB61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_1696E8D9C3F21950EB862A62D2F7D8AC" xlink:to="loc_us-gaap_ParentCompanyMember_AC7C33029689EA43C1662A62D2F7AB61" 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_B509B56A5044CBC4BF632A62D2F8CDBD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_1696E8D9C3F21950EB862A62D2F7D8AC" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_B509B56A5044CBC4BF632A62D2F8CDBD" 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_80A09DE51BDC655ABA3D2A62D2F8934A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_1696E8D9C3F21950EB862A62D2F7D8AC" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_80A09DE51BDC655ABA3D2A62D2F8934A" 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_1FE45A2BFC62937CE9142A62D2F82126" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_NetIncomeLoss_1FE45A2BFC62937CE9142A62D2F82126" 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_D2C55B6628484086E1142A62D2F8032A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_D2C55B6628484086E1142A62D2F8032A" 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_8386F2CEE4F62C1538552A62D2F8D071" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_8386F2CEE4F62C1538552A62D2F8D071" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_BEA0167D37F53C923C4A2A62D2F89D47" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_BEA0167D37F53C923C4A2A62D2F89D47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_927B8558DB7445C50F152A62D2F88B7B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_927B8558DB7445C50F152A62D2F88B7B" 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_1BB9BC9A94F41E85DC412A62D2F953F1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_1BB9BC9A94F41E85DC412A62D2F953F1" 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_D0602EAE1FC7EC9F77E52A62D2F9DF5B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_D0602EAE1FC7EC9F77E52A62D2F9DF5B" 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_B78934E0777D04083DF22A62D2F9E866" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_B78934E0777D04083DF22A62D2F9E866" 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_F2B0D857A66200202CFF2A62D2FE7433" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_16B235AA357D4918C0BC2A62D2F8930B" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_F2B0D857A66200202CFF2A62D2FE7433" 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_0195E51729D99F266FBA621ADEC3D883" 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_A5BCB93A9049934E0E29621ADEC3AFCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_CondensedIncomeStatementTable_A5BCB93A9049934E0E29621ADEC3AFCD" 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_E9D899281B77B55E221F621ADEC3771C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_A5BCB93A9049934E0E29621ADEC3AFCD" xlink:to="loc_us-gaap_ConsolidationItemsAxis_E9D899281B77B55E221F621ADEC3771C" 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_951114E84D2F2915D757621ADEC326FA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_E9D899281B77B55E221F621ADEC3771C" xlink:to="loc_us-gaap_ConsolidationItemsDomain_951114E84D2F2915D757621ADEC326FA_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_951114E84D2F2915D757621ADEC326FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_E9D899281B77B55E221F621ADEC3771C" xlink:to="loc_us-gaap_ConsolidationItemsDomain_951114E84D2F2915D757621ADEC326FA" 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_0D8B612A6D3EB0A20268621ADEC3C217" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_951114E84D2F2915D757621ADEC326FA" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_0D8B612A6D3EB0A20268621ADEC3C217" 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_709C4B3043F3AAA0FAB7621ADEC33EE9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_A5BCB93A9049934E0E29621ADEC3AFCD" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_709C4B3043F3AAA0FAB7621ADEC33EE9" 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_D85F60710B2AB1A84A84621ADEC3D53E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_709C4B3043F3AAA0FAB7621ADEC33EE9" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_D85F60710B2AB1A84A84621ADEC3D53E_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_D85F60710B2AB1A84A84621ADEC3D53E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_709C4B3043F3AAA0FAB7621ADEC33EE9" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_D85F60710B2AB1A84A84621ADEC3D53E" 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_4CE4695283AA654165B2621ADEC39CC2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_D85F60710B2AB1A84A84621ADEC3D53E" xlink:to="loc_us-gaap_ParentCompanyMember_4CE4695283AA654165B2621ADEC39CC2" 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_3848BCA572BB2DFD5132621ADEC30172" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_D85F60710B2AB1A84A84621ADEC3D53E" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_3848BCA572BB2DFD5132621ADEC30172" 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_07F6BA995BD5CCEF03E4621ADEC3F74E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_D85F60710B2AB1A84A84621ADEC3D53E" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_07F6BA995BD5CCEF03E4621ADEC3F74E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_BACA54844D8E718F8F16621ADEC3B3D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_BACA54844D8E718F8F16621ADEC3B3D7" 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_31B1D72B86EB846E34AF621ADEC49C85" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_CostOfGoodsSold_31B1D72B86EB846E34AF621ADEC49C85" 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_B8AB0C4CFCA0CEBDEC6A621ADEC472D8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_GrossProfit_B8AB0C4CFCA0CEBDEC6A621ADEC472D8" 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_CEC4A19225B88DCBA8F1621ADEC404C2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_OperatingExpensesAbstract_CEC4A19225B88DCBA8F1621ADEC404C2" 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_96CFCD399D1EC554916D621ADEC4D7F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CEC4A19225B88DCBA8F1621ADEC404C2" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_96CFCD399D1EC554916D621ADEC4D7F2" 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_09A7E9042806307CA6E8621ADEC46E6D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CEC4A19225B88DCBA8F1621ADEC404C2" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_09A7E9042806307CA6E8621ADEC46E6D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_2BD27E00DB6F4D48122F621ADEC48C85" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CEC4A19225B88DCBA8F1621ADEC404C2" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_2BD27E00DB6F4D48122F621ADEC48C85" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_12EFC242251127B9A359621ADEC435A5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CEC4A19225B88DCBA8F1621ADEC404C2" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_12EFC242251127B9A359621ADEC435A5" 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_F6BCBCA570B02E2013E7621ADEC46E26" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CEC4A19225B88DCBA8F1621ADEC404C2" xlink:to="loc_us-gaap_OperatingExpenses_F6BCBCA570B02E2013E7621ADEC46E26" 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_10BB061DA2A675B59788621ADEC45EB6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_OperatingIncomeLoss_10BB061DA2A675B59788621ADEC45EB6" 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_6DD04E981151DF1528AD621ADEC4AFDF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_InvestmentIncomeInterest_6DD04E981151DF1528AD621ADEC4AFDF" 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_EF4F36BB811B6A25457A621ADEC4CF96" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_InterestExpense_EF4F36BB811B6A25457A621ADEC4CF96" 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_969DA26B1096E9198A55621ADEC534AF" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_969DA26B1096E9198A55621ADEC534AF" 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_9D751BD758A42A126638621ADEC58EE7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_9D751BD758A42A126638621ADEC58EE7" 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_F0555F392852351286FA621ADEC5AB5A" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_F0555F392852351286FA621ADEC5AB5A" 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_977CA35EB53EDD655DDD621ADEC5539C" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_977CA35EB53EDD655DDD621ADEC5539C" 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_8E198ECA6EDD08FCC870621ADEC54759" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_8E198ECA6EDD08FCC870621ADEC54759" 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_DDFA96560A74E9D57424621ADEC5DFB6" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_0195E51729D99F266FBA621ADEC3D883" xlink:to="loc_us-gaap_NetIncomeLoss_DDFA96560A74E9D57424621ADEC5DFB6" 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_19BF15FAAC5D608EEE5197E6B95C6DDA" 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_0356A54D3FC0CE8B1F4197E6B95C80FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_19BF15FAAC5D608EEE5197E6B95C6DDA" xlink:to="loc_us-gaap_CondensedBalanceSheetStatementTable_0356A54D3FC0CE8B1F4197E6B95C80FD" 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_EBDB4DCD8907A17BC4CB97E6B95C931C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_0356A54D3FC0CE8B1F4197E6B95C80FD" xlink:to="loc_us-gaap_ConsolidationItemsAxis_EBDB4DCD8907A17BC4CB97E6B95C931C" 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_7606F4D6B315147AF0F497E6B95C20E5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_EBDB4DCD8907A17BC4CB97E6B95C931C" xlink:to="loc_us-gaap_ConsolidationItemsDomain_7606F4D6B315147AF0F497E6B95C20E5_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_7606F4D6B315147AF0F497E6B95C20E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_EBDB4DCD8907A17BC4CB97E6B95C931C" xlink:to="loc_us-gaap_ConsolidationItemsDomain_7606F4D6B315147AF0F497E6B95C20E5" 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_F626BF9E117E094DCE3F97E6B95C552A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_7606F4D6B315147AF0F497E6B95C20E5" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_F626BF9E117E094DCE3F97E6B95C552A" 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_3DAA8A83DBFCDEB4B12597E6B95C819A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_0356A54D3FC0CE8B1F4197E6B95C80FD" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_3DAA8A83DBFCDEB4B12597E6B95C819A" 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_D9804E39817A4D8E540797E6B95C8C78_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_3DAA8A83DBFCDEB4B12597E6B95C819A" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_D9804E39817A4D8E540797E6B95C8C78_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_D9804E39817A4D8E540797E6B95C8C78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_3DAA8A83DBFCDEB4B12597E6B95C819A" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_D9804E39817A4D8E540797E6B95C8C78" 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_6EDC1CFDE3BFC1468C8D97E6B95C126E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_D9804E39817A4D8E540797E6B95C8C78" xlink:to="loc_us-gaap_ParentCompanyMember_6EDC1CFDE3BFC1468C8D97E6B95C126E" 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_2BCE2847B65F6B37C9FD97E6B95C75F4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_D9804E39817A4D8E540797E6B95C8C78" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_2BCE2847B65F6B37C9FD97E6B95C75F4" 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_36539E43EA1B8EEFB86997E6B95CF372" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_D9804E39817A4D8E540797E6B95C8C78" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_36539E43EA1B8EEFB86997E6B95CF372" 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_89737FA650987541314297E6B95C9085" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_19BF15FAAC5D608EEE5197E6B95C6DDA" xlink:to="loc_us-gaap_AssetsAbstract_89737FA650987541314297E6B95C9085" 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_54BD3BD8FD71BA95756097E6B95CE139" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_89737FA650987541314297E6B95C9085" xlink:to="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" 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_F39645B23E2B0950C61997E6B95C278A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_F39645B23E2B0950C61997E6B95C278A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_5D964793C59C493EB76297E6B95C79A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_5D964793C59C493EB76297E6B95C79A1" 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_6FEE93CB7565F74B894697E6B95CB3EA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_6FEE93CB7565F74B894697E6B95CB3EA" 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_F8F812C8D60AF33A20C197E6B95CC6EA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_F8F812C8D60AF33A20C197E6B95CC6EA" 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_F874B342F1865C5B2C7897E6B95CFEAC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" xlink:to="loc_us-gaap_InventoryNet_F874B342F1865C5B2C7897E6B95CFEAC" 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_BD7818E553C4145A7A3497E6B95C9165" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" xlink:to="loc_us-gaap_OtherAssetsCurrent_BD7818E553C4145A7A3497E6B95C9165" 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_527BEB17CFB28D9BEA5597E6B95C6A28" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_54BD3BD8FD71BA95756097E6B95CE139" xlink:to="loc_us-gaap_AssetsCurrent_527BEB17CFB28D9BEA5597E6B95C6A28" 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_B35BAB48362FB72B25B197E6B95CE853" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_89737FA650987541314297E6B95C9085" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" 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_95B9DD5E98F56E81166097E6B95CC404" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_95B9DD5E98F56E81166097E6B95CC404" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_2E92C3369ACB2CB7C23997E6B95C929F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_2E92C3369ACB2CB7C23997E6B95C929F" 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_DBF7017032FCC04EE8B197E6B95C50F8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" xlink:to="loc_us-gaap_Goodwill_DBF7017032FCC04EE8B197E6B95C50F8" 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_3AB3FA249993DB458D9797E6B95CC9EB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_3AB3FA249993DB458D9797E6B95CC9EB" 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_9FE05BBCF55C3C5D418797E6B95C81F8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_9FE05BBCF55C3C5D418797E6B95C81F8" 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_DD36E5A17AFE625358CF97E6B95CC9FF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_DD36E5A17AFE625358CF97E6B95CC9FF" 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_B48873D9421545DC16B397E6B95C1E19" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_B35BAB48362FB72B25B197E6B95CE853" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_B48873D9421545DC16B397E6B95C1E19" 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_587F8C1EDC2A323415F597E6B95C98FD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_89737FA650987541314297E6B95C9085" xlink:to="loc_us-gaap_Assets_587F8C1EDC2A323415F597E6B95C98FD" 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_1DBC6F5D78F330EF3DE197E6B95CA37C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_19BF15FAAC5D608EEE5197E6B95C6DDA" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1DBC6F5D78F330EF3DE197E6B95CA37C" 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_A53DF5D1BC4BD9CCC9B797E6B95C7322" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1DBC6F5D78F330EF3DE197E6B95CA37C" xlink:to="loc_us-gaap_LiabilitiesAbstract_A53DF5D1BC4BD9CCC9B797E6B95C7322" 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_35F825F5FE853F4735D797E6B95C0850" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A53DF5D1BC4BD9CCC9B797E6B95C7322" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" 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_962F41AB02DE12411DDD97E6B95CFEA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_us-gaap_AccountsPayableCurrent_962F41AB02DE12411DDD97E6B95CFEA8" 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_CD78C3CD3B16EE58BFC897E6B95C1526" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_CD78C3CD3B16EE58BFC897E6B95C1526" 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_6F00B5DCA15025AD30B797E6B95C0389" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_us-gaap_DueToAffiliateCurrent_6F00B5DCA15025AD30B797E6B95C0389" 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_3AB51E1002F00EC36B4697E6B95C639A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_3AB51E1002F00EC36B4697E6B95C639A" 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_DCCBE41DFC0B95E2F73F97E6B95C5F36" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_DCCBE41DFC0B95E2F73F97E6B95C5F36" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_AccruedWarranty" xlink:label="loc_wdc_AccruedWarranty_2D4CE1F0BDF9D50E4AE597E6B95C4DC0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_wdc_AccruedWarranty_2D4CE1F0BDF9D50E4AE597E6B95C4DC0" 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_CE5F12258131D625824397E6B95C7CEA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_us-gaap_LongTermDebtCurrent_CE5F12258131D625824397E6B95C7CEA" 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_6684381F96AEF25B3DD897E6B95CBAAC" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_35F825F5FE853F4735D797E6B95C0850" xlink:to="loc_us-gaap_LiabilitiesCurrent_6684381F96AEF25B3DD897E6B95CBAAC" 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_CE08201681D05D094AA897E6B95C79CF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A53DF5D1BC4BD9CCC9B797E6B95C7322" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_CE08201681D05D094AA897E6B95C79CF" 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_6A5FD3403991C755938097E6B95C6AF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_CE08201681D05D094AA897E6B95C79CF" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_6A5FD3403991C755938097E6B95C6AF1" 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_2D1286F69F39939A29B097E6B95CA9F8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_CE08201681D05D094AA897E6B95C79CF" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_2D1286F69F39939A29B097E6B95CA9F8" 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_CA989920B1ED7A7E071B97E6B95CDD67" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_CE08201681D05D094AA897E6B95C79CF" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_CA989920B1ED7A7E071B97E6B95CDD67" 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_789AF2778EAB42679B0E97E6B95C815D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A53DF5D1BC4BD9CCC9B797E6B95C7322" xlink:to="loc_us-gaap_Liabilities_789AF2778EAB42679B0E97E6B95C815D" 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_639A9848932FBE63E45B97E6B95C3B43" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1DBC6F5D78F330EF3DE197E6B95CA37C" xlink:to="loc_us-gaap_StockholdersEquityAbstract_639A9848932FBE63E45B97E6B95C3B43" 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_F8C64BF03930E9B7C80B97E6B95C0B0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_639A9848932FBE63E45B97E6B95C3B43" xlink:to="loc_us-gaap_StockholdersEquity_F8C64BF03930E9B7C80B97E6B95C0B0B" 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_389CE123BEEB26BD955197E6B95C20CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1DBC6F5D78F330EF3DE197E6B95CA37C" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_389CE123BEEB26BD955197E6B95C20CA" 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_638E09FD4791518560FB4CD2B71CD864" 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_AA6F1B4FACDD6C897D524CD2B71B6399" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_638E09FD4791518560FB4CD2B71CD864" xlink:to="loc_us-gaap_CondensedCashFlowStatementTable_AA6F1B4FACDD6C897D524CD2B71B6399" 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_C7C5CB4970462119721D4CD2B71BCC86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_AA6F1B4FACDD6C897D524CD2B71B6399" xlink:to="loc_us-gaap_ConsolidationItemsAxis_C7C5CB4970462119721D4CD2B71BCC86" 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_80DB26FDCCF3186075894CD2B71B616C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_C7C5CB4970462119721D4CD2B71BCC86" xlink:to="loc_us-gaap_ConsolidationItemsDomain_80DB26FDCCF3186075894CD2B71B616C_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_80DB26FDCCF3186075894CD2B71B616C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_C7C5CB4970462119721D4CD2B71BCC86" xlink:to="loc_us-gaap_ConsolidationItemsDomain_80DB26FDCCF3186075894CD2B71B616C" 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_E5674B74DDB15AE713D64CD2B71B7754" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_80DB26FDCCF3186075894CD2B71B616C" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_E5674B74DDB15AE713D64CD2B71B7754" 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_DB8F517FEF5FE13C5B0A4CD2B71BEB7C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_AA6F1B4FACDD6C897D524CD2B71B6399" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_DB8F517FEF5FE13C5B0A4CD2B71BEB7C" 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_F1FCDF3083C4EE74A9FF4CD2B71B7898_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_DB8F517FEF5FE13C5B0A4CD2B71BEB7C" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_F1FCDF3083C4EE74A9FF4CD2B71B7898_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_F1FCDF3083C4EE74A9FF4CD2B71B7898" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_DB8F517FEF5FE13C5B0A4CD2B71BEB7C" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_F1FCDF3083C4EE74A9FF4CD2B71B7898" 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_6E6F97D1E340B62B65B54CD2B71CA350" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_F1FCDF3083C4EE74A9FF4CD2B71B7898" xlink:to="loc_us-gaap_ParentCompanyMember_6E6F97D1E340B62B65B54CD2B71CA350" 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_A2C3EFA01819365531C44CD2B71C4E87" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_F1FCDF3083C4EE74A9FF4CD2B71B7898" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_A2C3EFA01819365531C44CD2B71C4E87" 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_63F99A391A102EAC95AC4CD2B71C7241" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_F1FCDF3083C4EE74A9FF4CD2B71B7898" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_63F99A391A102EAC95AC4CD2B71C7241" 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_C140CDA116794CF09AA64CD2B71CB8C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_638E09FD4791518560FB4CD2B71CD864" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_C140CDA116794CF09AA64CD2B71CB8C8" 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_3F562184B9AE1106F0804CD2B71C42B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_C140CDA116794CF09AA64CD2B71CB8C8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3F562184B9AE1106F0804CD2B71C42B4" 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_37939F58BC8ED11396B34CD2B71CA127" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_638E09FD4791518560FB4CD2B71CD864" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" 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_0B74485CC5264BC7BAFD4CD2B71C44C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0B74485CC5264BC7BAFD4CD2B71C44C9" 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_85BE450BD5266819C48A4CD2B71CE75E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_85BE450BD5266819C48A4CD2B71CE75E" 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_825EA773BB82C12CFCC54CD2B71C584C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_825EA773BB82C12CFCC54CD2B71C584C" 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_A10077317C8352DC73334CD2B71C0461" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_A10077317C8352DC73334CD2B71C0461" 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_4A77FC51F9F2464C771D4CD2B71CBF91" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_4A77FC51F9F2464C771D4CD2B71CBF91" 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_D8A92DB7AB5F4910844B4CD2B71CD05E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_D8A92DB7AB5F4910844B4CD2B71CD05E" 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_0D3C57C38E053E4E2D2A4CD2B71C7A80" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_0D3C57C38E053E4E2D2A4CD2B71C7A80" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_FB087960C81C66AA393A4CD2B71CC97E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_FB087960C81C66AA393A4CD2B71CC97E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_6F51C1F446515B1E73F14CD2B71CBA49" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_6F51C1F446515B1E73F14CD2B71CBA49" 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_1033CD83E9EF9924F22E4CD2B71C7A19" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_1033CD83E9EF9924F22E4CD2B71C7A19" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_D26B1BEDDD55E3FB428D4CD2B71DF5CE" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_D26B1BEDDD55E3FB428D4CD2B71DF5CE" 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_01E4CBB94F5D0E578C594CD2B71D3DFC" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_01E4CBB94F5D0E578C594CD2B71D3DFC" 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_C61A75DF39906D3724C34CD2B71D6B22" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_37939F58BC8ED11396B34CD2B71CA127" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_C61A75DF39906D3724C34CD2B71D6B22" 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_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_638E09FD4791518560FB4CD2B71CD864" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" 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_8BCE0F5039822D37C0E34CD2B71DE54A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_8BCE0F5039822D37C0E34CD2B71DE54A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_08270429E0DBAB2C49564CD2B71D9A5C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_08270429E0DBAB2C49564CD2B71D9A5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_168B0F8D70ABC52DA5494CD2B71DA524" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_168B0F8D70ABC52DA5494CD2B71DA524" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts" xlink:label="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_6C2CA7352BB30AEB14734CD2B71D1635" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_6C2CA7352BB30AEB14734CD2B71D1635" 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_F9E8AD8141F7293D092C4CD2B71D590E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_PaymentsOfDividends_F9E8AD8141F7293D092C4CD2B71D590E" 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_5FB461C447FCEF3054994CD2B71D7984" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_5FB461C447FCEF3054994CD2B71D7984" 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_E6A8C69E9FC325A2593C4CD2B71DF574" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_E6A8C69E9FC325A2593C4CD2B71DF574" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_DD5FD0993BC5BF32FCCC4CD2B71DC48B" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_DD5FD0993BC5BF32FCCC4CD2B71DC48B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_42D8D70563994C7CEB6F4CD2B71DDB2A" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_42D8D70563994C7CEB6F4CD2B71DDB2A" 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_118BC657BB54E4B49E5F4CD2B71DBD0B" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_118BC657BB54E4B49E5F4CD2B71DBD0B" 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_72FE8AD5B2FAA21F8A834CD2B71D1AFA" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_72FE8AD5B2FAA21F8A834CD2B71D1AFA" 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_97AAC1F210E2819792724CD2B71D6065" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9E72C18BFC9E69C8823B4CD2B71D18C1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_97AAC1F210E2819792724CD2B71D6065" 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_E298D9A7D2A8A9816E454CD2B71DE503" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_638E09FD4791518560FB4CD2B71CD864" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_E298D9A7D2A8A9816E454CD2B71DE503" 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_3760E66429F9C9483FA64CD2B71D9B34" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_638E09FD4791518560FB4CD2B71CD864" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_3760E66429F9C9483FA64CD2B71D9B34" 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_FEEC6F77521FB163195F4CD2B71E2181" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_638E09FD4791518560FB4CD2B71CD864" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_FEEC6F77521FB163195F4CD2B71E2181" 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_F7032ED953EE64464D3228DAFF3A8D39" 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_DFD9873008EAB261AFC828DAFF3950CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_F7032ED953EE64464D3228DAFF3A8D39" xlink:to="loc_us-gaap_DividendsPayableTable_DFD9873008EAB261AFC828DAFF3950CF" 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_2853670ED78F840C0A3428DAFF3A6927" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_DFD9873008EAB261AFC828DAFF3950CF" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_2853670ED78F840C0A3428DAFF3A6927" 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_AA7698F6852F16FB6BE528DAFF3A5793_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_2853670ED78F840C0A3428DAFF3A6927" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_AA7698F6852F16FB6BE528DAFF3A5793_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_AA7698F6852F16FB6BE528DAFF3A5793" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_2853670ED78F840C0A3428DAFF3A6927" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_AA7698F6852F16FB6BE528DAFF3A5793" 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_8C7AA15F696DFE5113E628DAFF3A14B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_AA7698F6852F16FB6BE528DAFF3A5793" xlink:to="loc_us-gaap_SubsequentEventMember_8C7AA15F696DFE5113E628DAFF3A14B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableDateDeclaredDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_EB1FE2D7FE98ECCAF13028DAFF3A183B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_F7032ED953EE64464D3228DAFF3A8D39" xlink:to="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_EB1FE2D7FE98ECCAF13028DAFF3A183B" 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_6E7850F403243B5347B128DAFF3AA077" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_F7032ED953EE64464D3228DAFF3A8D39" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_6E7850F403243B5347B128DAFF3AA077" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfOrdinaryDividends" xlink:label="loc_us-gaap_PaymentsOfOrdinaryDividends_14B5CF528A4ACAB73E3E28DAFF3A88CA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_F7032ED953EE64464D3228DAFF3A8D39" xlink:to="loc_us-gaap_PaymentsOfOrdinaryDividends_14B5CF528A4ACAB73E3E28DAFF3A88CA" 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_F0089304ED5686F0F5A528DAFF3A3C62" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_F7032ED953EE64464D3228DAFF3A8D39" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_F0089304ED5686F0F5A528DAFF3A3C62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableDateOfRecordDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_6BBDB908D3F941A67CD028DAFF3BD5CA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_F7032ED953EE64464D3228DAFF3A8D39" xlink:to="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_6BBDB908D3F941A67CD028DAFF3BD5CA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="extended" />
  <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_308B14087AC4EDDEED944CD2B874F0A6" 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_92893F5E7ED8B8B925F44CD2B87431E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_308B14087AC4EDDEED944CD2B874F0A6" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92893F5E7ED8B8B925F44CD2B87431E8" 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_713DC19A8B935ADC56E44CD2B87488F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92893F5E7ED8B8B925F44CD2B87431E8" xlink:to="loc_us-gaap_AwardTypeAxis_713DC19A8B935ADC56E44CD2B87488F7" 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_D77E0BEEAA8CEBC8896C4CD2B874CFAF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_713DC19A8B935ADC56E44CD2B87488F7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D77E0BEEAA8CEBC8896C4CD2B874CFAF_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_D77E0BEEAA8CEBC8896C4CD2B874CFAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_713DC19A8B935ADC56E44CD2B87488F7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D77E0BEEAA8CEBC8896C4CD2B874CFAF" 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_93C4E836D41A7AA6769B4CD2B87428AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D77E0BEEAA8CEBC8896C4CD2B874CFAF" xlink:to="loc_us-gaap_EmployeeStockOptionMember_93C4E836D41A7AA6769B4CD2B87428AA" 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_1852561D236EF24EF0604CD2B8748441" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D77E0BEEAA8CEBC8896C4CD2B874CFAF" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1852561D236EF24EF0604CD2B8748441" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_098F9F0289105F8593764CD2B874F883" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D77E0BEEAA8CEBC8896C4CD2B874CFAF" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_098F9F0289105F8593764CD2B874F883" 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_A9D495434130078E7F744CD2B874F71B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_92893F5E7ED8B8B925F44CD2B87431E8" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_A9D495434130078E7F744CD2B874F71B" 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_E48F0AF6169287B683DF4CD2B87432CD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_A9D495434130078E7F744CD2B874F71B" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_E48F0AF6169287B683DF4CD2B87432CD_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_E48F0AF6169287B683DF4CD2B87432CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_A9D495434130078E7F744CD2B874F71B" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_E48F0AF6169287B683DF4CD2B87432CD" 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_80F7837F1F59C9B8B5DD4CD2B8744C33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E48F0AF6169287B683DF4CD2B87432CD" xlink:to="loc_us-gaap_CostOfSalesMember_80F7837F1F59C9B8B5DD4CD2B8744C33" 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_CC12F1C297E5ACE458214CD2B874FE53" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E48F0AF6169287B683DF4CD2B87432CD" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_CC12F1C297E5ACE458214CD2B874FE53" 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_3759CE7BD871325F7C084CD2B874CDAA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E48F0AF6169287B683DF4CD2B87432CD" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_3759CE7BD871325F7C084CD2B874CDAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringChargesMember" xlink:label="loc_us-gaap_RestructuringChargesMember_98927BE64BC879E1CC5C4CD2B8749A7D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E48F0AF6169287B683DF4CD2B87432CD" xlink:to="loc_us-gaap_RestructuringChargesMember_98927BE64BC879E1CC5C4CD2B8749A7D" 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_F6B0C52BEFD8359324F14CD2B8744E67" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_308B14087AC4EDDEED944CD2B874F0A6" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_F6B0C52BEFD8359324F14CD2B8744E67" 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_0CEE386D247540FFCDAE4CD2B87564A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_308B14087AC4EDDEED944CD2B874F0A6" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_0CEE386D247540FFCDAE4CD2B87564A2" 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_59F7F303C356A7A0F9744CD2B875B318" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_308B14087AC4EDDEED944CD2B874F0A6" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_59F7F303C356A7A0F9744CD2B875B318" 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-20171229.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_6330F675F31668B66CF497E6B9C9D56D" xlink:type="locator" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_3849849AF9A2FFF9C27D97E6B9C9DE08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_6330F675F31668B66CF497E6B9C9D56D" xlink:to="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_3849849AF9A2FFF9C27D97E6B9C9DE08" 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_2FF509662E36F7A42F6F97E6B9C9A2FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_3849849AF9A2FFF9C27D97E6B9C9DE08" xlink:to="loc_us-gaap_AwardTypeAxis_2FF509662E36F7A42F6F97E6B9C9A2FB" 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_367160C2F403F5870BCF97E6B9C910B2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2FF509662E36F7A42F6F97E6B9C9A2FB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_367160C2F403F5870BCF97E6B9C910B2_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_367160C2F403F5870BCF97E6B9C910B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2FF509662E36F7A42F6F97E6B9C9A2FB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_367160C2F403F5870BCF97E6B9C910B2" 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_784FBAEF577177BD915197E6B9C923EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_367160C2F403F5870BCF97E6B9C910B2" xlink:to="loc_us-gaap_EmployeeStockOptionMember_784FBAEF577177BD915197E6B9C923EC" 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_A969531FB369327EE31797E6B9C91B93" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_367160C2F403F5870BCF97E6B9C910B2" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_A969531FB369327EE31797E6B9C91B93" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_947F8D2C478E51F6B14797E6B9C999FE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_367160C2F403F5870BCF97E6B9C910B2" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_947F8D2C478E51F6B14797E6B9C999FE" 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_5FC4D1AD130160ECE16597E6B9C9E2F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_6330F675F31668B66CF497E6B9C9D56D" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_5FC4D1AD130160ECE16597E6B9C9E2F0" 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_85C92F52737287A74E3B97E6B9C976B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_6330F675F31668B66CF497E6B9C9D56D" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_85C92F52737287A74E3B97E6B9C976B1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SubsequentEvent" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SubsequentEventAdditionalDetailsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_9975F4E535EA598AA3F26802E29651B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_SubsequentEventTable_9975F4E535EA598AA3F26802E29651B2" 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_DA46F4E27F63F02451B96802E29745F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_9975F4E535EA598AA3F26802E29651B2" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_DA46F4E27F63F02451B96802E29745F9" 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_FF0D9CDFDFEB9A8E3F0C6802E2978B13_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_DA46F4E27F63F02451B96802E29745F9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_FF0D9CDFDFEB9A8E3F0C6802E2978B13_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_FF0D9CDFDFEB9A8E3F0C6802E2978B13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_DA46F4E27F63F02451B96802E29745F9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_FF0D9CDFDFEB9A8E3F0C6802E2978B13" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_7A2B392FA132D3BDA8B06802E297010E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FF0D9CDFDFEB9A8E3F0C6802E2978B13" xlink:to="loc_wdc_UnsecuredNotesMember_7A2B392FA132D3BDA8B06802E297010E" 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_DD653268167DFE247FA66802E297A358" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FF0D9CDFDFEB9A8E3F0C6802E2978B13" xlink:to="loc_us-gaap_ConvertibleDebtMember_DD653268167DFE247FA66802E297A358" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_SeniorSecuredNotesMember" xlink:label="loc_wdc_SeniorSecuredNotesMember_143CB50E5103B61F2B4B6802E2982DD2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FF0D9CDFDFEB9A8E3F0C6802E2978B13" xlink:to="loc_wdc_SeniorSecuredNotesMember_143CB50E5103B61F2B4B6802E2982DD2" 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_4F61F9BF1AA62368C72C6802E2987C83" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_9975F4E535EA598AA3F26802E29651B2" xlink:to="loc_us-gaap_DebtInstrumentAxis_4F61F9BF1AA62368C72C6802E2987C83" 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_E835050150E0707C7D556802E298ED2B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_4F61F9BF1AA62368C72C6802E2987C83" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E835050150E0707C7D556802E298ED2B_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_E835050150E0707C7D556802E298ED2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_4F61F9BF1AA62368C72C6802E2987C83" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E835050150E0707C7D556802E298ED2B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_A2023SecuredNotesMember" xlink:label="loc_wdc_A2023SecuredNotesMember_B7395C28D67E9DDD79916802E29845D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E835050150E0707C7D556802E298ED2B" xlink:to="loc_wdc_A2023SecuredNotesMember_B7395C28D67E9DDD79916802E29845D9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_9618BDB2D7E9BAEEBD0C6802E2983C38" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E835050150E0707C7D556802E298ED2B" xlink:to="loc_wdc_UnsecuredNotesMember_9618BDB2D7E9BAEEBD0C6802E2983C38" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_A2026NotesMember" xlink:label="loc_wdc_A2026NotesMember_2D1C2FA52B22388332086802E298CD35" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E835050150E0707C7D556802E298ED2B" xlink:to="loc_wdc_A2026NotesMember_2D1C2FA52B22388332086802E298CD35" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_A2024ConvertibleNotesMember" xlink:label="loc_wdc_A2024ConvertibleNotesMember_915422F95D58C482ED416802E298D7C0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E835050150E0707C7D556802E298ED2B" xlink:to="loc_wdc_A2024ConvertibleNotesMember_915422F95D58C482ED416802E298D7C0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_4179C17AB0500EF153146802E298B563" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E835050150E0707C7D556802E298ED2B" xlink:to="loc_wdc_TermLoanAMember_4179C17AB0500EF153146802E298B563" xlink:type="arc" />
    <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_A3FE5E3325C1C69E67626802E298D6C0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_9975F4E535EA598AA3F26802E29651B2" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_A3FE5E3325C1C69E67626802E298D6C0" 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_C1020F6CB3ACBB6AA9C66802E29878AE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_A3FE5E3325C1C69E67626802E298D6C0" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C1020F6CB3ACBB6AA9C66802E29878AE_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_C1020F6CB3ACBB6AA9C66802E29878AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_A3FE5E3325C1C69E67626802E298D6C0" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C1020F6CB3ACBB6AA9C66802E29878AE" 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_817A4BE91464CB1186AD6802E2994BEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_C1020F6CB3ACBB6AA9C66802E29878AE" xlink:to="loc_us-gaap_SubsequentEventMember_817A4BE91464CB1186AD6802E2994BEF" 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_25469ADBCB35780F823A6802E2995701" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_25469ADBCB35780F823A6802E2995701" 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_8C30582378197FA43EDB6802E2990965" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_8C30582378197FA43EDB6802E2990965" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_32BAA2FFD823E602DF1C6802E29982D5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_32BAA2FFD823E602DF1C6802E29982D5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DebtInstrumentOfferedConsiderationGross" xlink:label="loc_wdc_DebtInstrumentOfferedConsiderationGross_B1E547D4DBFEF35D9D616802E299044C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_wdc_DebtInstrumentOfferedConsiderationGross_B1E547D4DBFEF35D9D616802E299044C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DebtInstrumentTenderOfferConsideration" xlink:label="loc_wdc_DebtInstrumentTenderOfferConsideration_923A1EDD0C64B864E2876802E299AC78" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_wdc_DebtInstrumentTenderOfferConsideration_923A1EDD0C64B864E2876802E299AC78" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_DebtInstrumentEarlyTenderPremium" xlink:label="loc_wdc_DebtInstrumentEarlyTenderPremium_95BC1B0F16E6BE8540DF6802E2991097" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_wdc_DebtInstrumentEarlyTenderPremium_95BC1B0F16E6BE8540DF6802E2991097" 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_E18F61543D3A9A01E5C96802E2B47CE5" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_LongTermDebt_E18F61543D3A9A01E5C96802E2B47CE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_7CD1D278D5B7D4BCF47F6802E2998CD5" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_7CD1D278D5B7D4BCF47F6802E2998CD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_F569E00DB2654344DBB86802E299414D" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_F569E00DB2654344DBB86802E299414D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_74A7B1AF0E3FF980EEA86802E2990A3F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_E3E253E889FAF9AFA0B06802E29997AF" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_74A7B1AF0E3FF980EEA86802E2990A3F" 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/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_52F0B401177D94B6E88D294AD5EEA090" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_6D17CAD695405D7D5013294AD5EDE80D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_52F0B401177D94B6E88D294AD5EEA090" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_6D17CAD695405D7D5013294AD5EDE80D" 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_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_5A5E06D14E3690760171295362D82B95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_6D17CAD695405D7D5013294AD5EDE80D" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_5A5E06D14E3690760171295362D82B95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_4438ECEE3F02F0CC7B09295362D9D1BA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5A5E06D14E3690760171295362D82B95" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_4438ECEE3F02F0CC7B09295362D9D1BA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_4438ECEE3F02F0CC7B09295362D9D1BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5A5E06D14E3690760171295362D82B95" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_4438ECEE3F02F0CC7B09295362D9D1BA" 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_DF5BCF5574B97A89E0E02953CE120E94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_4438ECEE3F02F0CC7B09295362D9D1BA" xlink:to="loc_us-gaap_ForeignExchangeContractMember_DF5BCF5574B97A89E0E02953CE120E94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_D8FE72F6851D810C2F2329522B97F04B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_6D17CAD695405D7D5013294AD5EDE80D" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_D8FE72F6851D810C2F2329522B97F04B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_5C1D948DFB6D88299B8C2952CFB16B28_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_D8FE72F6851D810C2F2329522B97F04B" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_5C1D948DFB6D88299B8C2952CFB16B28_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_5C1D948DFB6D88299B8C2952CFB16B28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_D8FE72F6851D810C2F2329522B97F04B" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_5C1D948DFB6D88299B8C2952CFB16B28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_B1DEDBA8606663EEE668295303A982C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_5C1D948DFB6D88299B8C2952CFB16B28" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_B1DEDBA8606663EEE668295303A982C8" xlink:type="arc" />
    <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_9B725D43E4EA005212BA294AD5EDED2E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_6D17CAD695405D7D5013294AD5EDE80D" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_9B725D43E4EA005212BA294AD5EDED2E" 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_1565F8FF4AE8B1F5D064294AD5ED8B1B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9B725D43E4EA005212BA294AD5EDED2E" xlink:to="loc_us-gaap_EquityComponentDomain_1565F8FF4AE8B1F5D064294AD5ED8B1B_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_1565F8FF4AE8B1F5D064294AD5ED8B1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9B725D43E4EA005212BA294AD5EDED2E" xlink:to="loc_us-gaap_EquityComponentDomain_1565F8FF4AE8B1F5D064294AD5ED8B1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_306EB3372AD61D38959B29546B724D60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1565F8FF4AE8B1F5D064294AD5ED8B1B" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_306EB3372AD61D38959B29546B724D60" 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_C2B650FDC1B0F9D3AAE6294AD5EDC6D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1565F8FF4AE8B1F5D064294AD5ED8B1B" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_C2B650FDC1B0F9D3AAE6294AD5EDC6D7" 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_83EBBE36E97287099A9E29518440B4AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_52F0B401177D94B6E88D294AD5EEA090" xlink:to="loc_us-gaap_CostOfGoodsSold_83EBBE36E97287099A9E29518440B4AE" 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_8D7F9D163CDC95CB5106295526A51D44" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_52F0B401177D94B6E88D294AD5EEA090" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_8D7F9D163CDC95CB5106295526A51D44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_613D3ECD1A9BD1D0D4AB295A6C66EC38" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_52F0B401177D94B6E88D294AD5EEA090" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_613D3ECD1A9BD1D0D4AB295A6C66EC38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_30CD50124EDF08DA4A39294AD5EEB196" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_52F0B401177D94B6E88D294AD5EEA090" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_30CD50124EDF08DA4A39294AD5EEB196" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9880AB1CECBD6BDDAA6554162B0BB199" 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_09BE500BD3399FD73F4154162B0BA948" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9880AB1CECBD6BDDAA6554162B0BB199" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_09BE500BD3399FD73F4154162B0BA948" 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_4AA988189373686A94BB54162B0B7F83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_09BE500BD3399FD73F4154162B0BA948" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_4AA988189373686A94BB54162B0B7F83" 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_B9C7F5F7BF6DCA24DECB54162B0B065B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4AA988189373686A94BB54162B0B7F83" xlink:to="loc_us-gaap_EquityComponentDomain_B9C7F5F7BF6DCA24DECB54162B0B065B_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_B9C7F5F7BF6DCA24DECB54162B0B065B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4AA988189373686A94BB54162B0B7F83" xlink:to="loc_us-gaap_EquityComponentDomain_B9C7F5F7BF6DCA24DECB54162B0B065B" 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_03CA4A5879FDC6C1700154162B0B47CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B9C7F5F7BF6DCA24DECB54162B0B065B" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_03CA4A5879FDC6C1700154162B0B47CD" 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_E8E61FC1982AF967FDEB54162B0B68AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B9C7F5F7BF6DCA24DECB54162B0B065B" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_E8E61FC1982AF967FDEB54162B0B68AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_193C8F1EC72175C1788354162B0BE570" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B9C7F5F7BF6DCA24DECB54162B0B065B" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_193C8F1EC72175C1788354162B0BE570" 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_BF3D95390EE030D92D2D54162B0B186A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B9C7F5F7BF6DCA24DECB54162B0B065B" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_BF3D95390EE030D92D2D54162B0B186A" 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_E51C7743751E581E151354162B0B71B0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B9C7F5F7BF6DCA24DECB54162B0B065B" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_E51C7743751E581E151354162B0B71B0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:label="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8B0D12DE366E0B594C1F54162B0B723B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9880AB1CECBD6BDDAA6554162B0BB199" xlink:to="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8B0D12DE366E0B594C1F54162B0B723B" 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_F05D3A97C38726B8B8CB54162B0C3EA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8B0D12DE366E0B594C1F54162B0B723B" xlink:to="loc_us-gaap_StockholdersEquity_F05D3A97C38726B8B8CB54162B0C3EA9" 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_C0DCF84FBE67820AA0C554162B0DF03F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8B0D12DE366E0B594C1F54162B0B723B" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_C0DCF84FBE67820AA0C554162B0DF03F" 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_F6117F3E8CB367AEB6EB54162B0DC59D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8B0D12DE366E0B594C1F54162B0B723B" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_F6117F3E8CB367AEB6EB54162B0DC59D" 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_6A0A424BA747A8FF8FA454162B0D3FC5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8B0D12DE366E0B594C1F54162B0B723B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_6A0A424BA747A8FF8FA454162B0D3FC5" 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_7A4B21B0089738AA5F4754162B0D6B84" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_8B0D12DE366E0B594C1F54162B0B723B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7A4B21B0089738AA5F4754162B0D6B84" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_7C6E2AD0D6257E4E5FF366B78E9FA0FE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_4F284D430AF807F3385266B78E9F8A79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_7C6E2AD0D6257E4E5FF366B78E9FA0FE" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_4F284D430AF807F3385266B78E9F8A79" 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_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9BA297731A5200ED3FF866B78E9F0586" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_4F284D430AF807F3385266B78E9F8A79" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9BA297731A5200ED3FF866B78E9F0586" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0C58092CFB30A7D26DD66B78E9FEC92_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9BA297731A5200ED3FF866B78E9F0586" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0C58092CFB30A7D26DD66B78E9FEC92_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0C58092CFB30A7D26DD66B78E9FEC92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9BA297731A5200ED3FF866B78E9F0586" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0C58092CFB30A7D26DD66B78E9FEC92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_4B97331BBA004BA8FE5D66B78E9F7EE6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F0C58092CFB30A7D26DD66B78E9FEC92" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_4B97331BBA004BA8FE5D66B78E9F7EE6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_FiniteLivedIntangibleAssetsTransferredInFromOutToIndefiniteLivedIntangibleAssets" xlink:label="loc_wdc_FiniteLivedIntangibleAssetsTransferredInFromOutToIndefiniteLivedIntangibleAssets_0C6206D30457BC008DD866B78E9F40A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_7C6E2AD0D6257E4E5FF366B78E9FA0FE" xlink:to="loc_wdc_FiniteLivedIntangibleAssetsTransferredInFromOutToIndefiniteLivedIntangibleAssets_0C6206D30457BC008DD866B78E9F40A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_A66A1EFAA1782D5FD93366B78E9F18BF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_7C6E2AD0D6257E4E5FF366B78E9FA0FE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_A66A1EFAA1782D5FD93366B78E9F18BF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:href="wdc-20171229.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_92F7B7DB0B20175B7D8D97E6BA07D80F" xlink:type="locator" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_9A980425F5360F7A9C1097E6BA075D40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_92F7B7DB0B20175B7D8D97E6BA07D80F" xlink:to="loc_wdc_SupplementalFinancialInformationTable_9A980425F5360F7A9C1097E6BA075D40" 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_78E79929351DDA12FD0197E6BA076D71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_9A980425F5360F7A9C1097E6BA075D40" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_78E79929351DDA12FD0197E6BA076D71" 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_67A741A3C379E10E78D197E6BA07D18C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_78E79929351DDA12FD0197E6BA076D71" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C_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_67A741A3C379E10E78D197E6BA07D18C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_78E79929351DDA12FD0197E6BA076D71" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandAndBuildingMember" xlink:label="loc_us-gaap_LandAndBuildingMember_D9DFBFED60E09365E87797E6BA071992" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C" xlink:to="loc_us-gaap_LandAndBuildingMember_D9DFBFED60E09365E87797E6BA071992" 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_EC1875C9B7EC9DC63F9997E6BA07BCEA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_EC1875C9B7EC9DC63F9997E6BA07BCEA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20171229.xsd#wdc_ComputerEquipmentandSoftwareMember" xlink:label="loc_wdc_ComputerEquipmentandSoftwareMember_CAA6B5C85E5B8C345C6497E6BA072AE2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C" xlink:to="loc_wdc_ComputerEquipmentandSoftwareMember_CAA6B5C85E5B8C345C6497E6BA072AE2" 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_CE8CC23E9DA64541BE6897E6BA07819F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_CE8CC23E9DA64541BE6897E6BA07819F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_96A3040F7E88E335880B97E6BA07A9E4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_96A3040F7E88E335880B97E6BA07A9E4" 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_465DDC4B0971AB247A4497E6BA07DEE5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_67A741A3C379E10E78D197E6BA07D18C" xlink:to="loc_us-gaap_ConstructionInProgressMember_465DDC4B0971AB247A4497E6BA07DEE5" 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_86F374AA3B7F58D2E79197E6BA07078D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_92F7B7DB0B20175B7D8D97E6BA07D80F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_86F374AA3B7F58D2E79197E6BA07078D" 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_0ED72939372569946D6297E6BA07BE04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_86F374AA3B7F58D2E79197E6BA07078D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_0ED72939372569946D6297E6BA07BE04" 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_D534B6A7FDE869600DED97E6BA07480B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_86F374AA3B7F58D2E79197E6BA07078D" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_D534B6A7FDE869600DED97E6BA07480B" 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_461493C6AAD7B4535DAA97E6BA0796EE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_86F374AA3B7F58D2E79197E6BA07078D" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_461493C6AAD7B4535DAA97E6BA0796EE" 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/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="extended" />
</link:linkbase>
