<?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/Acquisition" xlink:href="wdc-20170331.xsd#Acquisition" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionAdditionalInformationDetails" xlink:href="wdc-20170331.xsd#AcquisitionAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionProFormaDetails" xlink:href="wdc-20170331.xsd#AcquisitionProFormaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionTables" xlink:href="wdc-20170331.xsd#AcquisitionTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingencies" xlink:href="wdc-20170331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="wdc-20170331.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesEquityInvestmentsDetails" xlink:href="wdc-20170331.xsd#CommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:href="wdc-20170331.xsd#CommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:href="wdc-20170331.xsd#CommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesMaximumLossExposureDetail" xlink:href="wdc-20170331.xsd#CommitmentsAndContingenciesMaximumLossExposureDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesRentExpenseDetails" xlink:href="wdc-20170331.xsd#CommitmentsAndContingenciesRentExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesTables" xlink:href="wdc-20170331.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingFinancialStatements" xlink:href="wdc-20170331.xsd#CondensedConsolidatingFinancialStatements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsCondensedConsolidatingBalanceSheetDetails" xlink:href="wdc-20170331.xsd#CondensedConsolidatingFinancialStatementsCondensedConsolidatingBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsTables" xlink:href="wdc-20170331.xsd#CondensedConsolidatingFinancialStatementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingStatementOfCashFlowsDetails" xlink:href="wdc-20170331.xsd#CondensedConsolidatingStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingStatementOfComprehensiveIncomeDetails" xlink:href="wdc-20170331.xsd#CondensedConsolidatingStatementOfComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingStatementOfIncomeDetails" xlink:href="wdc-20170331.xsd#CondensedConsolidatingStatementOfIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedBalanceSheets" xlink:href="wdc-20170331.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20170331.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="wdc-20170331.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="wdc-20170331.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfIncome" xlink:href="wdc-20170331.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20170331.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtBridgeFacilityDetails" xlink:href="wdc-20170331.xsd#DebtBridgeFacilityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtConvertibleNotesDetails" xlink:href="wdc-20170331.xsd#DebtConvertibleNotesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtLongTermDebtDetail" xlink:href="wdc-20170331.xsd#DebtLongTermDebtDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtSeniorNotesDetails" xlink:href="wdc-20170331.xsd#DebtSeniorNotesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20170331.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTermLoansDetails" xlink:href="wdc-20170331.xsd#DebtTermLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTerminationOfExistingCreditAgreementAndBridgeLoansDetails" xlink:href="wdc-20170331.xsd#DebtTerminationOfExistingCreditAgreementAndBridgeLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Derivatives" xlink:href="wdc-20170331.xsd#Derivatives" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesAdditionalInformationDetail" xlink:href="wdc-20170331.xsd#DerivativesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesDerivativeContractsDetails" xlink:href="wdc-20170331.xsd#DerivativesDerivativeContractsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesDerivativesInCashFlowHedgingRelationshipsDetail" xlink:href="wdc-20170331.xsd#DerivativesDerivativesInCashFlowHedgingRelationshipsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesOffsettingAssetsAndLiabilitiesDetails" xlink:href="wdc-20170331.xsd#DerivativesOffsettingAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesTables" xlink:href="wdc-20170331.xsd#DerivativesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:href="wdc-20170331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EarningsPerShare" xlink:href="wdc-20170331.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EarningsPerShareDetails" xlink:href="wdc-20170331.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EarningsPerShareTables" xlink:href="wdc-20170331.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20170331.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20170331.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20170331.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesOdawaraPlantClosureDetails" xlink:href="wdc-20170331.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesOdawaraPlantClosureDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:href="wdc-20170331.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanTextualsDetails" xlink:href="wdc-20170331.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanTextualsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20170331.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementPolicies" xlink:href="wdc-20170331.xsd#FairValueMeasurementPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurements" xlink:href="wdc-20170331.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAdditionalInformationDetails" xlink:href="wdc-20170331.xsd#FairValueMeasurementsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAvailableForSaleSecuritiesMaturitiesDetails" xlink:href="wdc-20170331.xsd#FairValueMeasurementsAvailableForSaleSecuritiesMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsCashAndMarketableSecuritiesDetails" xlink:href="wdc-20170331.xsd#FairValueMeasurementsCashAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsDebtInstrumentFairValueDetails" xlink:href="wdc-20170331.xsd#FairValueMeasurementsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20170331.xsd#FairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsLevelThreeAssetsDetails" xlink:href="wdc-20170331.xsd#FairValueMeasurementsLevelThreeAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsLevelThreeLiabilitiesDetails" xlink:href="wdc-20170331.xsd#FairValueMeasurementsLevelThreeLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsTables" xlink:href="wdc-20170331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxes" xlink:href="wdc-20170331.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesAdditionalInformationDetails" xlink:href="wdc-20170331.xsd#IncomeTaxesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesTables" xlink:href="wdc-20170331.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesTaxProvisionDetails" xlink:href="wdc-20170331.xsd#IncomeTaxesTaxProvisionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20170331.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20170331.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:href="wdc-20170331.xsd#OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesAdditionalInfoDetails" xlink:href="wdc-20170331.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesAdditionalInfoDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="wdc-20170331.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="wdc-20170331.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20170331.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetail" xlink:href="wdc-20170331.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetail" xlink:href="wdc-20170331.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20170331.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetail" xlink:href="wdc-20170331.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentAccountingPronouncementAndAccountingChanges" xlink:href="wdc-20170331.xsd#RecentAccountingPronouncementAndAccountingChanges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsDetails" xlink:href="wdc-20170331.xsd#RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsTables" xlink:href="wdc-20170331.xsd#RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20170331.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityAdditionalInformationDetails" xlink:href="wdc-20170331.xsd#ShareholdersEquityAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetails" xlink:href="wdc-20170331.xsd#ShareholdersEquityDividendsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:href="wdc-20170331.xsd#ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetails" xlink:href="wdc-20170331.xsd#ShareholdersEquityShareRepurchaseProgramDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockAppreciationRightsSarsDetails" xlink:href="wdc-20170331.xsd#ShareholdersEquityStockAppreciationRightsSarsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20170331.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:href="wdc-20170331.xsd#ShareholdersEquityStockOptionActivityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20170331.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoriesDetails" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataInventoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20170331.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20170331.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/Acquisition" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_5C7B2B55EEA0DC5FDF841F0B8F9661AF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6C37A94CD941FA632E631F0B8F9666DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5C7B2B55EEA0DC5FDF841F0B8F9661AF" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6C37A94CD941FA632E631F0B8F9666DC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_5F55B0968EB07746531A1F0B8F96E20B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_6C37A94CD941FA632E631F0B8F9666DC" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_5F55B0968EB07746531A1F0B8F96E20B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3A9F483F8397A6F917211F0B8F961AAE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5F55B0968EB07746531A1F0B8F96E20B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3A9F483F8397A6F917211F0B8F961AAE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3A9F483F8397A6F917211F0B8F961AAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_5F55B0968EB07746531A1F0B8F96E20B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3A9F483F8397A6F917211F0B8F961AAE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_ACBE6386F6BCA2917CDF1F0B8F9670EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3A9F483F8397A6F917211F0B8F961AAE" xlink:to="loc_wdc_SanDiskMember_ACBE6386F6BCA2917CDF1F0B8F9670EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_5B0154C02E58EF3FF2EC1F0B8F96880A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_5C7B2B55EEA0DC5FDF841F0B8F9661AF" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_5B0154C02E58EF3FF2EC1F0B8F96880A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionProFormaDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1AB0769245DB983BE68344A3DDD50B52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1AB0769245DB983BE68344A3DDD50B52" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_763921B5B23FDC2967B544A3DDD5A30A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1AB0769245DB983BE68344A3DDD50B52" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_763921B5B23FDC2967B544A3DDD5A30A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FF3B690F1E91EDAB017244A3DDD5DE37_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_763921B5B23FDC2967B544A3DDD5A30A" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FF3B690F1E91EDAB017244A3DDD5DE37_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FF3B690F1E91EDAB017244A3DDD5DE37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_763921B5B23FDC2967B544A3DDD5A30A" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FF3B690F1E91EDAB017244A3DDD5DE37" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_B1657B9677020E9FD86844A3DDD5EDC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FF3B690F1E91EDAB017244A3DDD5DE37" xlink:to="loc_wdc_SanDiskMember_B1657B9677020E9FD86844A3DDD5EDC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_22D734D5B9C621126FEF44A3DDD5687F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:to="loc_us-gaap_Revenues_22D734D5B9C621126FEF44A3DDD5687F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_664FC2EDDC717C89846844A3DDD5B0E8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:to="loc_us-gaap_NetIncomeLoss_664FC2EDDC717C89846844A3DDD5B0E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_0326540924E6F7395B9644A3DDD57641" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_0326540924E6F7395B9644A3DDD57641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_A49EB9F88FEC0B08CA6544A3DDD5960E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_A49EB9F88FEC0B08CA6544A3DDD5960E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_EAE42AF747CE0A4DCEDE44A3DDD5E6E0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_EAE42AF747CE0A4DCEDE44A3DDD5E6E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_A32389486C6DDD82C93244A3DDD52ECF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A790FD8ADF50EA1D4BDA44A3DDD57F42" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_A32389486C6DDD82C93244A3DDD52ECF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_BFF0FE8EBACB9580B56E1F0B8F60D717" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_42BFB5687038A549078A1F0B8F5E4E60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BFF0FE8EBACB9580B56E1F0B8F60D717" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_42BFB5687038A549078A1F0B8F5E4E60" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_8928B06AC931B6B176851F0B8F5F0863" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_42BFB5687038A549078A1F0B8F5E4E60" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_8928B06AC931B6B176851F0B8F5F0863" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6B76F41A6F64AA2C7BE61F0B8F60BDCB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_8928B06AC931B6B176851F0B8F5F0863" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6B76F41A6F64AA2C7BE61F0B8F60BDCB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6B76F41A6F64AA2C7BE61F0B8F60BDCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_8928B06AC931B6B176851F0B8F5F0863" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6B76F41A6F64AA2C7BE61F0B8F60BDCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentMember_CD49A8BD1D060AA98D731F0B8F602AC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6B76F41A6F64AA2C7BE61F0B8F60BDCB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentMember_CD49A8BD1D060AA98D731F0B8F602AC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_09577682C3D0C99C48151F0B8F606700" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6B76F41A6F64AA2C7BE61F0B8F60BDCB" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_09577682C3D0C99C48151F0B8F606700" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_4AEDB407E00800D5A21A1F0B8F60D415" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_42BFB5687038A549078A1F0B8F5E4E60" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_4AEDB407E00800D5A21A1F0B8F60D415" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB634D7ECC5BDE059D891F0B8F60E8EB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4AEDB407E00800D5A21A1F0B8F60D415" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB634D7ECC5BDE059D891F0B8F60E8EB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB634D7ECC5BDE059D891F0B8F60E8EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4AEDB407E00800D5A21A1F0B8F60D415" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB634D7ECC5BDE059D891F0B8F60E8EB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_00C6B3BE477CA06FC36E1F0B8F606C50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB634D7ECC5BDE059D891F0B8F60E8EB" xlink:to="loc_wdc_SanDiskMember_00C6B3BE477CA06FC36E1F0B8F606C50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_AD3E7FA5DC318F5D53A11F0B8F60EA18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BFF0FE8EBACB9580B56E1F0B8F60D717" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_AD3E7FA5DC318F5D53A11F0B8F60EA18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_11A9832056BB409FD91E1F0B8F604B0C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BFF0FE8EBACB9580B56E1F0B8F60D717" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_11A9832056BB409FD91E1F0B8F604B0C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PurchasePriceAllocationOfBusinessCombinationTableTextBlock" xlink:label="loc_wdc_PurchasePriceAllocationOfBusinessCombinationTableTextBlock_C73DF02D2404D8B9546C1F0B8F60A61A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BFF0FE8EBACB9580B56E1F0B8F60D717" xlink:to="loc_wdc_PurchasePriceAllocationOfBusinessCombinationTableTextBlock_C73DF02D2404D8B9546C1F0B8F60A61A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_EFADBE89CCD2318970981F0B8F600A20" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_BFF0FE8EBACB9580B56E1F0B8F60D717" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_EFADBE89CCD2318970981F0B8F600A20" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_7C1DF7AAB281BE3EC909BAC416FDBC3D" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable" xlink:label="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_ED43955701BD8BBE742CBAC416FCE499" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_7C1DF7AAB281BE3EC909BAC416FDBC3D" xlink:to="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_ED43955701BD8BBE742CBAC416FCE499" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_A391C7BA29E45F3386F7BAC416FC88B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_ED43955701BD8BBE742CBAC416FCE499" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_A391C7BA29E45F3386F7BAC416FC88B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_D64C65224D449F6B85D8BAC416FC9994_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_A391C7BA29E45F3386F7BAC416FC88B5" xlink:to="loc_us-gaap_RelatedPartyDomain_D64C65224D449F6B85D8BAC416FC9994_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_D64C65224D449F6B85D8BAC416FC9994" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_A391C7BA29E45F3386F7BAC416FC88B5" xlink:to="loc_us-gaap_RelatedPartyDomain_D64C65224D449F6B85D8BAC416FC9994" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_65E50E02FDE8A815797BBAC416FC8AB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_D64C65224D449F6B85D8BAC416FC9994" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_65E50E02FDE8A815797BBAC416FC8AB9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EquityMethodInvestorNameAxis" xlink:label="loc_wdc_EquityMethodInvestorNameAxis_D60B5D5C6A33154CD28FBAC416FCE189" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_ED43955701BD8BBE742CBAC416FCE499" xlink:to="loc_wdc_EquityMethodInvestorNameAxis_D60B5D5C6A33154CD28FBAC416FCE189" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_3EA9743ECAAD30178E87BAC416FCF7B7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_D60B5D5C6A33154CD28FBAC416FCE189" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_3EA9743ECAAD30178E87BAC416FCF7B7_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_3EA9743ECAAD30178E87BAC416FCF7B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_D60B5D5C6A33154CD28FBAC416FCE189" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_3EA9743ECAAD30178E87BAC416FCF7B7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_WesternDigitalCorpMember" xlink:label="loc_wdc_WesternDigitalCorpMember_81814DDC6369335AA05ABAC416FC4AA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_3EA9743ECAAD30178E87BAC416FCF7B7" xlink:to="loc_wdc_WesternDigitalCorpMember_81814DDC6369335AA05ABAC416FC4AA2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ToshibaCorpMember" xlink:label="loc_wdc_ToshibaCorpMember_B20C7047569AFD26EF7BBAC416FC999C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_3EA9743ECAAD30178E87BAC416FCF7B7" xlink:to="loc_wdc_ToshibaCorpMember_B20C7047569AFD26EF7BBAC416FC999C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_151465CD3F951FCAF737BAC416FC0AB9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_ED43955701BD8BBE742CBAC416FCE499" xlink:to="loc_us-gaap_RangeAxis_151465CD3F951FCAF737BAC416FC0AB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_36DC4FD08F1926C75616BAC416FC55B0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_151465CD3F951FCAF737BAC416FC0AB9" xlink:to="loc_us-gaap_RangeMember_36DC4FD08F1926C75616BAC416FC55B0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_36DC4FD08F1926C75616BAC416FC55B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_151465CD3F951FCAF737BAC416FC0AB9" xlink:to="loc_us-gaap_RangeMember_36DC4FD08F1926C75616BAC416FC55B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_61E49465E403B17F6666BAC416FDC44C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_36DC4FD08F1926C75616BAC416FC55B0" xlink:to="loc_us-gaap_MinimumMember_61E49465E403B17F6666BAC416FDC44C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_447C878E5597C9640477BAC416FDED92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_36DC4FD08F1926C75616BAC416FC55B0" xlink:to="loc_us-gaap_MaximumMember_447C878E5597C9640477BAC416FDED92" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PaymentsforProceedsfromEquityMethodInvestments" xlink:label="loc_wdc_PaymentsforProceedsfromEquityMethodInvestments_2849362CC50681E485DCBAC416FDD1EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_7C1DF7AAB281BE3EC909BAC416FDBC3D" xlink:to="loc_wdc_PaymentsforProceedsfromEquityMethodInvestments_2849362CC50681E485DCBAC416FDD1EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_972E1D6EBD12398F56B8BAC416FD30C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_7C1DF7AAB281BE3EC909BAC416FDBC3D" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_972E1D6EBD12398F56B8BAC416FD30C6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_JointVenturesAbstract" xlink:label="loc_wdc_JointVenturesAbstract_901339E22ADA6691F5DDBAC416FDE4C3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_7C1DF7AAB281BE3EC909BAC416FDBC3D" xlink:to="loc_wdc_JointVenturesAbstract_901339E22ADA6691F5DDBAC416FDE4C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_511880C5E6BD94ED7D8ABAC416FDE3F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_JointVenturesAbstract_901339E22ADA6691F5DDBAC416FDE4C3" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_511880C5E6BD94ED7D8ABAC416FDE3F9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PartnersOwnershipInVentureBusiness" xlink:label="loc_wdc_PartnersOwnershipInVentureBusiness_414B9C35C9E1EAA21FE6BAC416FDFE73" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_JointVenturesAbstract_901339E22ADA6691F5DDBAC416FDE4C3" xlink:to="loc_wdc_PartnersOwnershipInVentureBusiness_414B9C35C9E1EAA21FE6BAC416FDFE73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_7C1DF7AAB281BE3EC909BAC416FDBC3D" xlink:to="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_InvestmentFundingCommitments" xlink:label="loc_wdc_InvestmentFundingCommitments_EEE1AEDE9A36BCF12E5FBAC416FD30A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:to="loc_wdc_InvestmentFundingCommitments_EEE1AEDE9A36BCF12E5FBAC416FD30A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_A1C3714B78A8577388E3BAC416FD63AE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_A1C3714B78A8577388E3BAC416FD63AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_A975A2CD895843C98ADABAC416FD2C2A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_A975A2CD895843C98ADABAC416FD2C2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_6D6B8057181DC4ED94D4BAC416FDC5D6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_6D6B8057181DC4ED94D4BAC416FDC5D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromRelatedPartyDebt" xlink:label="loc_us-gaap_ProceedsFromRelatedPartyDebt_736E3B37C775099F5BE9BAC416FD73D1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:to="loc_us-gaap_ProceedsFromRelatedPartyDebt_736E3B37C775099F5BE9BAC416FD73D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_37F33DB5766E9105360EBAC416FD5882" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_10D275143F70323DF454BAC416FDBF16" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_37F33DB5766E9105360EBAC416FD5882" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" xlink:label="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_EB895B1CD0EE576B5BD2BAC416FE56F0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_7C1DF7AAB281BE3EC909BAC416FDBC3D" xlink:to="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_EB895B1CD0EE576B5BD2BAC416FE56F0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_LongTermPurchaseCommitmentInYearOne" xlink:label="loc_wdc_LongTermPurchaseCommitmentInYearOne_445BD7E2573A2F34FA3BBAC416FE93B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_EB895B1CD0EE576B5BD2BAC416FE56F0" xlink:to="loc_wdc_LongTermPurchaseCommitmentInYearOne_445BD7E2573A2F34FA3BBAC416FE93B9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_LongTermPurchaseCommitmentInYearTwo" xlink:label="loc_wdc_LongTermPurchaseCommitmentInYearTwo_A17BC2FBC34880D9A4A2BAC416FE1A93" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_EB895B1CD0EE576B5BD2BAC416FE56F0" xlink:to="loc_wdc_LongTermPurchaseCommitmentInYearTwo_A17BC2FBC34880D9A4A2BAC416FE1A93" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_LongTermPurchaseCommitmentInYearThree" xlink:label="loc_wdc_LongTermPurchaseCommitmentInYearThree_12B88665F0B4EB98CD82BAC416FE5CAC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_EB895B1CD0EE576B5BD2BAC416FE56F0" xlink:to="loc_wdc_LongTermPurchaseCommitmentInYearThree_12B88665F0B4EB98CD82BAC416FE5CAC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_LongTermPurchaseCommitmentInYearFour" xlink:label="loc_wdc_LongTermPurchaseCommitmentInYearFour_D288FA9DE6CAB9515C60BAC416FEB817" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_EB895B1CD0EE576B5BD2BAC416FE56F0" xlink:to="loc_wdc_LongTermPurchaseCommitmentInYearFour_D288FA9DE6CAB9515C60BAC416FEB817" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F258A00C6E83835A1541F0B8CA52273" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_8622D1089077CFF59E6F1F0B8CA5B295" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F258A00C6E83835A1541F0B8CA52273" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_8622D1089077CFF59E6F1F0B8CA5B295" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_896CF9E4A1E019A0B1C91F0B8CA53E17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_8622D1089077CFF59E6F1F0B8CA5B295" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_896CF9E4A1E019A0B1C91F0B8CA53E17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_896CF9E4A1E019A0B1C91F0B8CA53E17" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_896CF9E4A1E019A0B1C91F0B8CA53E17" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_FlashPartnersLtdMember" xlink:label="loc_wdc_FlashPartnersLtdMember_0B38FB271C1141A07DB61F0B8CA579D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA" xlink:to="loc_wdc_FlashPartnersLtdMember_0B38FB271C1141A07DB61F0B8CA579D4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_FlashAllianceLtdMember" xlink:label="loc_wdc_FlashAllianceLtdMember_E82FD4B56BCD3AD11D6E1F0B8CA58BD4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA" xlink:to="loc_wdc_FlashAllianceLtdMember_E82FD4B56BCD3AD11D6E1F0B8CA58BD4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_FlashForwardLtdMember" xlink:label="loc_wdc_FlashForwardLtdMember_421EF34A750A45651CA81F0B8CA554DF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA" xlink:to="loc_wdc_FlashForwardLtdMember_421EF34A750A45651CA81F0B8CA554DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_42D3ECD45257AA00BA7E1F0B8CA5216F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_80F9BF2363139E41E66F1F0B8CA538AA" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_42D3ECD45257AA00BA7E1F0B8CA5216F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_36A4B39955B85CC4F73A1F0B8CAA1D97" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F258A00C6E83835A1541F0B8CA52273" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_36A4B39955B85CC4F73A1F0B8CAA1D97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_CF637766058A6F01C5781F0B8CAB8A84" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F258A00C6E83835A1541F0B8CA52273" xlink:to="loc_us-gaap_Investments_CF637766058A6F01C5781F0B8CAB8A84" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_DD81044791FE0BC20CF11F0B8CAB4AF2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F258A00C6E83835A1541F0B8CA52273" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_DD81044791FE0BC20CF11F0B8CAB4AF2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_62B9238C1820C6A111111F0B8D9B199E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_62B9238C1820C6A111111F0B8D9B199E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2BB7A6927AA8B00F251B1F0B8D9B6241" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_62B9238C1820C6A111111F0B8D9B199E" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2BB7A6927AA8B00F251B1F0B8D9B6241" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_E1A69D56F9B922CEBA841F0B8D9BE262_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2BB7A6927AA8B00F251B1F0B8D9B6241" xlink:to="loc_us-gaap_RelatedPartyDomain_E1A69D56F9B922CEBA841F0B8D9BE262_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_E1A69D56F9B922CEBA841F0B8D9BE262" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2BB7A6927AA8B00F251B1F0B8D9B6241" xlink:to="loc_us-gaap_RelatedPartyDomain_E1A69D56F9B922CEBA841F0B8D9BE262" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_CA3DDCFDE504AE27E6971F0B8D9CA837" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_E1A69D56F9B922CEBA841F0B8D9BE262" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_CA3DDCFDE504AE27E6971F0B8D9CA837" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_5B765D750733321BCE1C1F0B8D9C07E1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_62B9238C1820C6A111111F0B8D9B199E" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_5B765D750733321BCE1C1F0B8D9C07E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_FC066C35136FC1EF4CC11F0B8D9CC798_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_5B765D750733321BCE1C1F0B8D9C07E1" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_FC066C35136FC1EF4CC11F0B8D9CC798_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_FC066C35136FC1EF4CC11F0B8D9CC798" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_5B765D750733321BCE1C1F0B8D9C07E1" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_FC066C35136FC1EF4CC11F0B8D9CC798" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PaymentOfPrincipalAmortizationMember" xlink:label="loc_wdc_PaymentOfPrincipalAmortizationMember_0A15F55BB852DF8790161F0B8D9C17DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_FC066C35136FC1EF4CC11F0B8D9CC798" xlink:to="loc_wdc_PaymentOfPrincipalAmortizationMember_0A15F55BB852DF8790161F0B8D9C17DC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PurchaseOptionExercisePriceMember" xlink:label="loc_wdc_PurchaseOptionExercisePriceMember_96844E9B4B87BA1257111F0B8D9C1B96" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_FC066C35136FC1EF4CC11F0B8D9CC798" xlink:to="loc_wdc_PurchaseOptionExercisePriceMember_96844E9B4B87BA1257111F0B8D9C1B96" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_81E8E24D7CBAD2A661161F0B8D9C36C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_81E8E24D7CBAD2A661161F0B8D9C36C2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_B34FD9FC829B6443B2F51F0B8D9C9E24" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_B34FD9FC829B6443B2F51F0B8D9C9E24" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_CA39229B6698295E9A461F0B8D9C7F7F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_CA39229B6698295E9A461F0B8D9C7F7F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_4D657095F6733AE477371F0B8D9C0A03" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_4D657095F6733AE477371F0B8D9C0A03" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_A8F2ED2F626FEB7DB7261F0B8D9C415B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_A8F2ED2F626FEB7DB7261F0B8D9C415B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_1E5232B84E72EE7894881F0B8D9C82C0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_47322CBF90E69DA3C1CA1F0B8D9CE754" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_1E5232B84E72EE7894881F0B8D9C82C0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_166049580A85C1CB54191F0B8EF799E7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_166049580A85C1CB54191F0B8EF799E7" xlink:to="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_21BAC912F7B040C01ED41F0B8EF6463C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:to="loc_wdc_BalanceSheetInformationAxis_21BAC912F7B040C01ED41F0B8EF6463C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_58AB6EA9BB7F6160E15F1F0B8EF6F8E5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_21BAC912F7B040C01ED41F0B8EF6463C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_58AB6EA9BB7F6160E15F1F0B8EF6F8E5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_58AB6EA9BB7F6160E15F1F0B8EF6F8E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_21BAC912F7B040C01ED41F0B8EF6463C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_58AB6EA9BB7F6160E15F1F0B8EF6F8E5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_5124BD8C10D119D73CF11F0B8EF65565" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_58AB6EA9BB7F6160E15F1F0B8EF6F8E5" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_5124BD8C10D119D73CF11F0B8EF65565" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_E4B2A85F5BCBF373BAFA1F0B8EF674B7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_E4B2A85F5BCBF373BAFA1F0B8EF674B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_126F2B1D0543134A14A11F0B8EF6E641_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_E4B2A85F5BCBF373BAFA1F0B8EF674B7" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_126F2B1D0543134A14A11F0B8EF6E641_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_126F2B1D0543134A14A11F0B8EF6E641" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_E4B2A85F5BCBF373BAFA1F0B8EF674B7" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_126F2B1D0543134A14A11F0B8EF6E641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_617B17A2118902DCDA051F0B8EF6D078" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_126F2B1D0543134A14A11F0B8EF6E641" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_617B17A2118902DCDA051F0B8EF6D078" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_32659846F95444ADFF161F0B8EF617E7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_32659846F95444ADFF161F0B8EF617E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_8CE60F739720307F107F1F0B8EF68218_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_32659846F95444ADFF161F0B8EF617E7" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_8CE60F739720307F107F1F0B8EF68218_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_8CE60F739720307F107F1F0B8EF68218" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_32659846F95444ADFF161F0B8EF617E7" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_8CE60F739720307F107F1F0B8EF68218" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_DF7523884F42C655CB8F1F0B8EF64CDC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_DF7523884F42C655CB8F1F0B8EF64CDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_42E5EE76ACB01D9573431F0B8EF7EAD4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_DF7523884F42C655CB8F1F0B8EF64CDC" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_42E5EE76ACB01D9573431F0B8EF7EAD4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_42E5EE76ACB01D9573431F0B8EF7EAD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_DF7523884F42C655CB8F1F0B8EF64CDC" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_42E5EE76ACB01D9573431F0B8EF7EAD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationCaseAxis" xlink:label="loc_us-gaap_LitigationCaseAxis_4F83F163590CA54917FE1F0B8EF7E56F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:to="loc_us-gaap_LitigationCaseAxis_4F83F163590CA54917FE1F0B8EF7E56F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_4075DA8DD8308E5BB8161F0B8EF73250_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationCaseAxis_4F83F163590CA54917FE1F0B8EF7E56F" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_4075DA8DD8308E5BB8161F0B8EF73250_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_4075DA8DD8308E5BB8161F0B8EF73250" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationCaseAxis_4F83F163590CA54917FE1F0B8EF7E56F" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_4075DA8DD8308E5BB8161F0B8EF73250" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationStatusAxis" xlink:label="loc_us-gaap_LitigationStatusAxis_1112E89C88E4EA4433A41F0B8EF7A080" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:to="loc_us-gaap_LitigationStatusAxis_1112E89C88E4EA4433A41F0B8EF7A080" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_85F227BCAA70CBCC113F1F0B8EF7D852_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationStatusAxis_1112E89C88E4EA4433A41F0B8EF7A080" xlink:to="loc_us-gaap_LitigationStatusDomain_85F227BCAA70CBCC113F1F0B8EF7D852_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_85F227BCAA70CBCC113F1F0B8EF7D852" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationStatusAxis_1112E89C88E4EA4433A41F0B8EF7A080" xlink:to="loc_us-gaap_LitigationStatusDomain_85F227BCAA70CBCC113F1F0B8EF7D852" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_F264E8D7FEF60182CCFC1F0B8EF7B902" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_2C18656EAECC246C190C1F0B8EF65BD8" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_F264E8D7FEF60182CCFC1F0B8EF7B902" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_AA92125CFB2C6B57C8A61F0B8EF7CFD0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_F264E8D7FEF60182CCFC1F0B8EF7B902" xlink:to="loc_us-gaap_LossContingencyNatureDomain_AA92125CFB2C6B57C8A61F0B8EF7CFD0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_AA92125CFB2C6B57C8A61F0B8EF7CFD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_F264E8D7FEF60182CCFC1F0B8EF7B902" xlink:to="loc_us-gaap_LossContingencyNatureDomain_AA92125CFB2C6B57C8A61F0B8EF7CFD0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_EAAB95971ACDA5D162EF1F0B8EF74230" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_166049580A85C1CB54191F0B8EF799E7" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_EAAB95971ACDA5D162EF1F0B8EF74230" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesMaximumLossExposureDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_97C4C4A6D558A8E604CC1F0B913D3398" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_F84F07349F6E3B47502F1F0B913C7E45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_97C4C4A6D558A8E604CC1F0B913D3398" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_F84F07349F6E3B47502F1F0B913C7E45" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_A2744357062467232CD81F0B913CB1A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_F84F07349F6E3B47502F1F0B913C7E45" xlink:to="loc_wdc_BalanceSheetInformationAxis_A2744357062467232CD81F0B913CB1A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_A2744357062467232CD81F0B913CB1A4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_A2744357062467232CD81F0B913CB1A4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NotesReceivableMember" xlink:label="loc_us-gaap_NotesReceivableMember_9643DE353E9D6430E2D51F0B913CE189" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD" xlink:to="loc_us-gaap_NotesReceivableMember_9643DE353E9D6430E2D51F0B913CE189" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_7762DFBA832E0E89FD051F0B913D46F9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_7762DFBA832E0E89FD051F0B913D46F9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_BB765D72A7302F57DA011F0B913DD6BD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_BB765D72A7302F57DA011F0B913DD6BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_B0537A844E830B121A8D1F0B913D4FD0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E39EDA3964AA68162E081F0B913CE1CD" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_B0537A844E830B121A8D1F0B913D4FD0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_CF1192BEA9E37D014F8D1F0B913D8457" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_F84F07349F6E3B47502F1F0B913C7E45" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_CF1192BEA9E37D014F8D1F0B913D8457" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_14145DE90F96BFBEE2941F0B913DE1D5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_CF1192BEA9E37D014F8D1F0B913D8457" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_14145DE90F96BFBEE2941F0B913DE1D5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_14145DE90F96BFBEE2941F0B913DE1D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_CF1192BEA9E37D014F8D1F0B913D8457" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_14145DE90F96BFBEE2941F0B913DE1D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_D6509B736EA8CAFE9DE51F0B913DF81D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_14145DE90F96BFBEE2941F0B913DE1D5" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_D6509B736EA8CAFE9DE51F0B913DF81D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_0E623B631491503271A71F0B913DCE61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_97C4C4A6D558A8E604CC1F0B913D3398" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_0E623B631491503271A71F0B913DCE61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_1755B974DCC8545A708A1F0B913D76FA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_97C4C4A6D558A8E604CC1F0B913D3398" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_1755B974DCC8545A708A1F0B913D76FA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PrepaymentsToRelatedPartiesOther" xlink:label="loc_wdc_PrepaymentsToRelatedPartiesOther_7AFFCFFD9572CA5DD6801F0B913DFCB9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_97C4C4A6D558A8E604CC1F0B913D3398" xlink:to="loc_wdc_PrepaymentsToRelatedPartiesOther_7AFFCFFD9572CA5DD6801F0B913DFCB9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesRentExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingFinancialStatements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsCondensedConsolidatingBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_278A01F7AFDE29A411EBBAC414C85E91" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedBalanceSheetStatementTable" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementTable_B268415ADA013A21BD9CBAC414C74D70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_278A01F7AFDE29A411EBBAC414C85E91" xlink:to="loc_us-gaap_CondensedBalanceSheetStatementTable_B268415ADA013A21BD9CBAC414C74D70" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_577C76918C215C81BA77BAC414C71C5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_B268415ADA013A21BD9CBAC414C74D70" xlink:to="loc_dei_LegalEntityAxis_577C76918C215C81BA77BAC414C71C5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_E38B7D7E521CD5F4737ABAC414C76FD6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_577C76918C215C81BA77BAC414C71C5A" xlink:to="loc_dei_EntityDomain_E38B7D7E521CD5F4737ABAC414C76FD6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_E38B7D7E521CD5F4737ABAC414C76FD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_577C76918C215C81BA77BAC414C71C5A" xlink:to="loc_dei_EntityDomain_E38B7D7E521CD5F4737ABAC414C76FD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_B34F1341C35D713CCC19BAC414C7C8F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_E38B7D7E521CD5F4737ABAC414C76FD6" xlink:to="loc_us-gaap_ParentCompanyMember_B34F1341C35D713CCC19BAC414C7C8F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_420CEE6CAB007D258701BAC414C7F0EF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_E38B7D7E521CD5F4737ABAC414C76FD6" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_420CEE6CAB007D258701BAC414C7F0EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_EFF6D7EAE0D75E515227BAC414C7ECD1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_E38B7D7E521CD5F4737ABAC414C76FD6" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_EFF6D7EAE0D75E515227BAC414C7ECD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_F07D5F1C445302D4EE10BAC414C70E7F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_B268415ADA013A21BD9CBAC414C74D70" xlink:to="loc_us-gaap_ConsolidationItemsAxis_F07D5F1C445302D4EE10BAC414C70E7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_09E36F3B347ADC5332A2BAC414C7ED9A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_F07D5F1C445302D4EE10BAC414C70E7F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_09E36F3B347ADC5332A2BAC414C7ED9A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_09E36F3B347ADC5332A2BAC414C7ED9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_F07D5F1C445302D4EE10BAC414C70E7F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_09E36F3B347ADC5332A2BAC414C7ED9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_F831E057B5733D5C0B07BAC414C84087" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_09E36F3B347ADC5332A2BAC414C7ED9A" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_F831E057B5733D5C0B07BAC414C84087" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_86B7CF2D29B9B8037922BAC414C89480" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_278A01F7AFDE29A411EBBAC414C85E91" xlink:to="loc_us-gaap_AssetsAbstract_86B7CF2D29B9B8037922BAC414C89480" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_86B7CF2D29B9B8037922BAC414C89480" xlink:to="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_AE1427F8E903A248329BBAC414C82B2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_AE1427F8E903A248329BBAC414C82B2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_120DB6C57394DFA81427BAC414C88226" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_120DB6C57394DFA81427BAC414C88226" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_4FF2447FCD70BE7A8200BAC414C86A97" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_4FF2447FCD70BE7A8200BAC414C86A97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_FA0ECD363E2750E393CEBAC414C8210E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_FA0ECD363E2750E393CEBAC414C8210E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_89C4A08DEBDE49C87D49BAC414C8B9C5" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:to="loc_us-gaap_InventoryNet_89C4A08DEBDE49C87D49BAC414C8B9C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_497133D229593C4ABAA2BAC414C8E4C3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:to="loc_us-gaap_OtherAssetsCurrent_497133D229593C4ABAA2BAC414C8E4C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_DF6BBDFC34EC57A5DEB5BAC414C8748F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_682DD1920CEA8B9DEF81BAC414C879D8" xlink:to="loc_us-gaap_AssetsCurrent_DF6BBDFC34EC57A5DEB5BAC414C8748F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_86B7CF2D29B9B8037922BAC414C89480" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_91408E9CFA37EBE34174BAC414C8A007" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_91408E9CFA37EBE34174BAC414C8A007" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_9871A4758E0B1EFE8A8CBAC414C8FCBA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_9871A4758E0B1EFE8A8CBAC414C8FCBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_41B673B868DDB5C1235CBAC414C910DF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:to="loc_us-gaap_Goodwill_41B673B868DDB5C1235CBAC414C910DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_220F7DC305D1FD7765A6BAC414C9DC51" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_220F7DC305D1FD7765A6BAC414C9DC51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_4FD7DF1D070479FA1AADBAC414C9EDEE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_4FD7DF1D070479FA1AADBAC414C9EDEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_54657A460CABD7C31967BAC414C9AE8C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_54657A460CABD7C31967BAC414C9AE8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_853BE52732EEBA21EDBFBAC414C97E72" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_CF96EA0DF8CFBBE442D3BAC414C8D48F" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_853BE52732EEBA21EDBFBAC414C97E72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_1ED631319959D7BDD3ACBAC414C965DD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_86B7CF2D29B9B8037922BAC414C89480" xlink:to="loc_us-gaap_Assets_1ED631319959D7BDD3ACBAC414C965DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_6D15128AE21EDDF5248EBAC414C97A36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_278A01F7AFDE29A411EBBAC414C85E91" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_6D15128AE21EDDF5248EBAC414C97A36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_E151CE4F1075D97235E9BAC414C9E053" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_6D15128AE21EDDF5248EBAC414C97A36" xlink:to="loc_us-gaap_LiabilitiesAbstract_E151CE4F1075D97235E9BAC414C9E053" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_E151CE4F1075D97235E9BAC414C9E053" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_C693F37B0785C1585188BAC414C98BD7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_AccountsPayableCurrent_C693F37B0785C1585188BAC414C98BD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_592E10A0B9A2A3E82998BAC414C9AFDC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_DueToAffiliateCurrent_592E10A0B9A2A3E82998BAC414C9AFDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_F7998F6FD96B8C69D07DBAC414C9AAEC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_F7998F6FD96B8C69D07DBAC414C9AAEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_0387195CF230F6AEEC1CBAC414C95BA4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_0387195CF230F6AEEC1CBAC414C95BA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_51D2874EF2D0EA8F7395BAC414C941F9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_51D2874EF2D0EA8F7395BAC414C941F9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_AccruedWarranty" xlink:label="loc_wdc_AccruedWarranty_7E872EB13CE1556F292EBAC414CA885B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_wdc_AccruedWarranty_7E872EB13CE1556F292EBAC414CA885B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoan" xlink:label="loc_us-gaap_BridgeLoan_A04A243BC05250EC1337BAEEA0BF0598" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_BridgeLoan_A04A243BC05250EC1337BAEEA0BF0598" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_8373B31BCB269EEDF1EFBAC414CA9B0A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_LongTermDebtCurrent_8373B31BCB269EEDF1EFBAC414CA9B0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_BC48AA6D17E6F2B8FBAFBAC414CA778E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CBDABE68B91A1E90DA47BAC414C9A609" xlink:to="loc_us-gaap_LiabilitiesCurrent_BC48AA6D17E6F2B8FBAFBAC414CA778E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_0BC01A3882D62D637F83BAC414CA12C7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_E151CE4F1075D97235E9BAC414C9E053" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_0BC01A3882D62D637F83BAC414CA12C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_F1B2177F98824914A442BAC414CABF5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_0BC01A3882D62D637F83BAC414CA12C7" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_F1B2177F98824914A442BAC414CABF5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_29C90653E4352CE01644BAC414CA3650" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_0BC01A3882D62D637F83BAC414CA12C7" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_29C90653E4352CE01644BAC414CA3650" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_3218B35A0CE6B44CA4D9BAC414CA4D03" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_0BC01A3882D62D637F83BAC414CA12C7" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_3218B35A0CE6B44CA4D9BAC414CA4D03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_E1AAE2FE92E4D8657FB9BAC414CA8BFA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_E151CE4F1075D97235E9BAC414C9E053" xlink:to="loc_us-gaap_Liabilities_E1AAE2FE92E4D8657FB9BAC414CA8BFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_5278C17EBBF91F71FC7CBAC414CA43C0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_6D15128AE21EDDF5248EBAC414C97A36" xlink:to="loc_us-gaap_StockholdersEquityAbstract_5278C17EBBF91F71FC7CBAC414CA43C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_FCF361216E83796B3EDFBAC414CAAF61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_5278C17EBBF91F71FC7CBAC414CA43C0" xlink:to="loc_us-gaap_StockholdersEquity_FCF361216E83796B3EDFBAC414CAAF61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_824C8AA5BE98D7F886B9BAC414CA5643" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_6D15128AE21EDDF5248EBAC414C97A36" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_824C8AA5BE98D7F886B9BAC414CA5643" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_B56D3FEFF15B826FC4FF1F0B8DF11F5F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_B7030D4370E3C38626A11F0B8DF1B5A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_B56D3FEFF15B826FC4FF1F0B8DF11F5F" xlink:to="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_B7030D4370E3C38626A11F0B8DF1B5A9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_30E0B404AF2F4D558BBA1F0B8DF13BC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_B7030D4370E3C38626A11F0B8DF1B5A9" xlink:to="loc_dei_LegalEntityAxis_30E0B404AF2F4D558BBA1F0B8DF13BC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_5F315D7CFB6C804938CD1F0B8DF1A9F3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_30E0B404AF2F4D558BBA1F0B8DF13BC4" xlink:to="loc_dei_EntityDomain_5F315D7CFB6C804938CD1F0B8DF1A9F3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_5F315D7CFB6C804938CD1F0B8DF1A9F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_30E0B404AF2F4D558BBA1F0B8DF13BC4" xlink:to="loc_dei_EntityDomain_5F315D7CFB6C804938CD1F0B8DF1A9F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedBalanceSheetTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCondensedBalanceSheetTableTextBlock_531D05FEBFA24A25EDCC1F0B8DF1DDF0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_B56D3FEFF15B826FC4FF1F0B8DF11F5F" xlink:to="loc_us-gaap_ScheduleOfCondensedBalanceSheetTableTextBlock_531D05FEBFA24A25EDCC1F0B8DF1DDF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedIncomeStatementTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCondensedIncomeStatementTableTextBlock_62DBB9DD9A64FF8048BC1F0B8DF12641" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_B56D3FEFF15B826FC4FF1F0B8DF11F5F" xlink:to="loc_us-gaap_ScheduleOfCondensedIncomeStatementTableTextBlock_62DBB9DD9A64FF8048BC1F0B8DF12641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedStatementOfComprehensiveIncomeTableTextBlock" xlink:label="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTableTextBlock_0CFBD3CE1FEE2DD6506B1F0B8DF18C62" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_B56D3FEFF15B826FC4FF1F0B8DF11F5F" xlink:to="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTableTextBlock_0CFBD3CE1FEE2DD6506B1F0B8DF18C62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedCashFlowStatementTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCondensedCashFlowStatementTableTextBlock_1B4A4223AC69C5BEDE7B1F0B8DF1E258" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_B56D3FEFF15B826FC4FF1F0B8DF11F5F" xlink:to="loc_us-gaap_ScheduleOfCondensedCashFlowStatementTableTextBlock_1B4A4223AC69C5BEDE7B1F0B8DF1E258" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingStatementOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedCashFlowStatementTable" xlink:label="loc_us-gaap_CondensedCashFlowStatementTable_8015B33BF4F2FCEFB6F7BAC414A17B6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:to="loc_us-gaap_CondensedCashFlowStatementTable_8015B33BF4F2FCEFB6F7BAC414A17B6D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_6C83B64EE1D2AD37CD70BAC414A14A86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_8015B33BF4F2FCEFB6F7BAC414A17B6D" xlink:to="loc_dei_LegalEntityAxis_6C83B64EE1D2AD37CD70BAC414A14A86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_B0249EE398CEB4CB5BCABAC414A10A06_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_6C83B64EE1D2AD37CD70BAC414A14A86" xlink:to="loc_dei_EntityDomain_B0249EE398CEB4CB5BCABAC414A10A06_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_B0249EE398CEB4CB5BCABAC414A10A06" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_6C83B64EE1D2AD37CD70BAC414A14A86" xlink:to="loc_dei_EntityDomain_B0249EE398CEB4CB5BCABAC414A10A06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_65D43BC7F419521B2B67BAC414A170C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_B0249EE398CEB4CB5BCABAC414A10A06" xlink:to="loc_us-gaap_ParentCompanyMember_65D43BC7F419521B2B67BAC414A170C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_A16E54C2265CD0D1121DBAC414A113B4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_B0249EE398CEB4CB5BCABAC414A10A06" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_A16E54C2265CD0D1121DBAC414A113B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_86F66AF412D585AB9B41BAC414A123BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_B0249EE398CEB4CB5BCABAC414A10A06" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_86F66AF412D585AB9B41BAC414A123BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_7A932862C3B2DFE6E099BAC414A26FAA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_8015B33BF4F2FCEFB6F7BAC414A17B6D" xlink:to="loc_us-gaap_ConsolidationItemsAxis_7A932862C3B2DFE6E099BAC414A26FAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_A4D44C94E6DFD645FF5BBAC414A204C6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_7A932862C3B2DFE6E099BAC414A26FAA" xlink:to="loc_us-gaap_ConsolidationItemsDomain_A4D44C94E6DFD645FF5BBAC414A204C6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_A4D44C94E6DFD645FF5BBAC414A204C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_7A932862C3B2DFE6E099BAC414A26FAA" xlink:to="loc_us-gaap_ConsolidationItemsDomain_A4D44C94E6DFD645FF5BBAC414A204C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_6984F57D16F7556BC1EEBAC414A242B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_A4D44C94E6DFD645FF5BBAC414A204C6" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_6984F57D16F7556BC1EEBAC414A242B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_0CA69B54B751979C8AA1BAC414A2CC68" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_0CA69B54B751979C8AA1BAC414A2CC68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4C253043019C4071D230BAC414A28A61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_0CA69B54B751979C8AA1BAC414A2CC68" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4C253043019C4071D230BAC414A28A61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_D34E561B50CE89D5BB9FBAC414A30F43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_D34E561B50CE89D5BB9FBAC414A30F43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_3291B526537AB4C78396BAC414A307C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_3291B526537AB4C78396BAC414A307C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_2EB7C9FE50C246E95961BAC414A3F1F1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_2EB7C9FE50C246E95961BAC414A3F1F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_DE2424B0FE7F9CF0DB19BAC414A33FB6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_DE2424B0FE7F9CF0DB19BAC414A33FB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_5B174C7A233B63ACF49EBAC414A39D80" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_5B174C7A233B63ACF49EBAC414A39D80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_FB9FD83B9B9E677374C9BAC414A3373B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_FB9FD83B9B9E677374C9BAC414A3373B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_F4FF9ACB37D5D1FD02E6BAC414A3463C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_F4FF9ACB37D5D1FD02E6BAC414A3463C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_9F28BE506E0AE8AEAED3BAC414A3711D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_9F28BE506E0AE8AEAED3BAC414A3711D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_DE31A70DA93F3CEBFA55BAC414A32451" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_DE31A70DA93F3CEBFA55BAC414A32451" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_06DE52C7EE32A6B623F8BAC414A6ACCB" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_06DE52C7EE32A6B623F8BAC414A6ACCB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_46572869729E8AA05F41BAC414A4AE7F" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_46572869729E8AA05F41BAC414A4AE7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4C62A1A5184C8158C8B0BAC414A659D4" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_9C2B4D33799C7E6057D8BAC414A2D697" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4C62A1A5184C8158C8B0BAC414A659D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_19532C15AB79CCF206FCBAC414A60788" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_19532C15AB79CCF206FCBAC414A60788" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_1ECC459A525CBDC521DBBAC414A67D7C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_1ECC459A525CBDC521DBBAC414A67D7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_D681CE302E24304F3602BAC414A7B567" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_D681CE302E24304F3602BAC414A7B567" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_39754159963EABF44DCDBAEB6870B91E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_39754159963EABF44DCDBAEB6870B91E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts" xlink:label="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_B0A6F5FC5618A0815863BAC414A73E29" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_B0A6F5FC5618A0815863BAC414A73E29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_9A9B55D2303DB502B162BAC414A7483F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_PaymentsOfDividends_9A9B55D2303DB502B162BAC414A7483F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_D7551B7DFCF8BF5E9F73BAC414A7B062" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_D7551B7DFCF8BF5E9F73BAC414A7B062" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_D301D6B5FAB807AC4B6CBAC414A7AA9B" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_D301D6B5FAB807AC4B6CBAC414A7AA9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_AE00A93B1AB01D1E4F4ABAC414A7ADD8" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_AE00A93B1AB01D1E4F4ABAC414A7ADD8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_B4EFFB03DDCD14056CD1BAC414A853A2" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_B4EFFB03DDCD14056CD1BAC414A853A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9BB71CB2DA803AA78E95BAC414A82EA5" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9BB71CB2DA803AA78E95BAC414A82EA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_C4DA308FA9063EB5D6C3BAC414A8D1E1" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_B689217359439BEAA58ABAC414A6ADD3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_C4DA308FA9063EB5D6C3BAC414A8D1E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_9615F19BB8F233540D51BAC414A8E4FC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_9615F19BB8F233540D51BAC414A8E4FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_1F739B4C932E9E35E7D1BAC414A8BE31" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_1F739B4C932E9E35E7D1BAC414A8BE31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_28D2EAF865435EDE8D5BBAC414A89877" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_302C0748FA5EEC041D1BBAC414A214E6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_28D2EAF865435EDE8D5BBAC414A89877" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingStatementOfComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedStatementOfIncomeCaptionsLineItems" xlink:label="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedStatementOfComprehensiveIncomeTable" xlink:label="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_E09E8CCEB305C1253648BAC414B0FB0E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_E09E8CCEB305C1253648BAC414B0FB0E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_A0A27CF9C14F47F3323CBAC414B05E03" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_E09E8CCEB305C1253648BAC414B0FB0E" xlink:to="loc_dei_LegalEntityAxis_A0A27CF9C14F47F3323CBAC414B05E03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_40E256C9533374C75039BAC414B05F70_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_A0A27CF9C14F47F3323CBAC414B05E03" xlink:to="loc_dei_EntityDomain_40E256C9533374C75039BAC414B05F70_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_40E256C9533374C75039BAC414B05F70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_A0A27CF9C14F47F3323CBAC414B05E03" xlink:to="loc_dei_EntityDomain_40E256C9533374C75039BAC414B05F70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_AA3B8380017CF42DBB0DBAC414B0F3B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_40E256C9533374C75039BAC414B05F70" xlink:to="loc_us-gaap_ParentCompanyMember_AA3B8380017CF42DBB0DBAC414B0F3B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_9D42A724EF9FDC826EBDBAC414B0A8F9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_40E256C9533374C75039BAC414B05F70" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_9D42A724EF9FDC826EBDBAC414B0A8F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_D98D4FEDDB299D342D24BAC414B0923C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_40E256C9533374C75039BAC414B05F70" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_D98D4FEDDB299D342D24BAC414B0923C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_3BE80CA1A5CDD1D2680BBAC414B0755E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_E09E8CCEB305C1253648BAC414B0FB0E" xlink:to="loc_us-gaap_ConsolidationItemsAxis_3BE80CA1A5CDD1D2680BBAC414B0755E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_41994CD0F2163BB27558BAC414B00BAF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_3BE80CA1A5CDD1D2680BBAC414B0755E" xlink:to="loc_us-gaap_ConsolidationItemsDomain_41994CD0F2163BB27558BAC414B00BAF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_41994CD0F2163BB27558BAC414B00BAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_3BE80CA1A5CDD1D2680BBAC414B0755E" xlink:to="loc_us-gaap_ConsolidationItemsDomain_41994CD0F2163BB27558BAC414B00BAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_93AB5E6444626C74D421BAC414B05415" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_41994CD0F2163BB27558BAC414B00BAF" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_93AB5E6444626C74D421BAC414B05415" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_EC00EF198BC5544A1212BAC414B18B1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_NetIncomeLoss_EC00EF198BC5544A1212BAC414B18B1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_D3ADC8089F683613A529BAC414B192B9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_D3ADC8089F683613A529BAC414B192B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_D5B01F355F55FB48388BBAC414B1247E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_D5B01F355F55FB48388BBAC414B1247E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_DBC93DC90BF36EBBD6C8BAC414B15414" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_DBC93DC90BF36EBBD6C8BAC414B15414" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_C559C2303AAA8500854FBAEA8B5F2E9A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_C559C2303AAA8500854FBAEA8B5F2E9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_25B5A2486E276D12292BBAC414B101F6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_25B5A2486E276D12292BBAC414B101F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_98A41047CF4F553174A5BAC414B19F55" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_98A41047CF4F553174A5BAC414B19F55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7DD3577F4903AA135F0FBAC414B19E33" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7DD3577F4903AA135F0FBAC414B19E33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_49CED4CB13D02F9AE695BAC414B17A33" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_3391232F44A5419D1845BAC414B19445" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_49CED4CB13D02F9AE695BAC414B17A33" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingStatementOfIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedIncomeStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedIncomeStatementTable" xlink:label="loc_us-gaap_CondensedIncomeStatementTable_E7D818F0DC9313B1869DBAC414BAB454" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_CondensedIncomeStatementTable_E7D818F0DC9313B1869DBAC414BAB454" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_7BFC135878404A114926BAC414BA597C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_E7D818F0DC9313B1869DBAC414BAB454" xlink:to="loc_dei_LegalEntityAxis_7BFC135878404A114926BAC414BA597C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_5A2C984CCA75EFF43E10BAC414BAE6D5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_7BFC135878404A114926BAC414BA597C" xlink:to="loc_dei_EntityDomain_5A2C984CCA75EFF43E10BAC414BAE6D5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_5A2C984CCA75EFF43E10BAC414BAE6D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_7BFC135878404A114926BAC414BA597C" xlink:to="loc_dei_EntityDomain_5A2C984CCA75EFF43E10BAC414BAE6D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_11DBD0494519FA8329EEBAC414BAC8F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_5A2C984CCA75EFF43E10BAC414BAE6D5" xlink:to="loc_us-gaap_ParentCompanyMember_11DBD0494519FA8329EEBAC414BAC8F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_7259F5F652AF4C161288BAC414BA3C02" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_5A2C984CCA75EFF43E10BAC414BAE6D5" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_7259F5F652AF4C161288BAC414BA3C02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_9806E416CCBDE9BDD20BBAC414BA3674" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_5A2C984CCA75EFF43E10BAC414BAE6D5" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_9806E416CCBDE9BDD20BBAC414BA3674" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_B5FF4ACFB4D0DC887D2CBAC414BA2A40" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_E7D818F0DC9313B1869DBAC414BAB454" xlink:to="loc_us-gaap_ConsolidationItemsAxis_B5FF4ACFB4D0DC887D2CBAC414BA2A40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_F52A6BC07524696D8D6CBAC414BABCA5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_B5FF4ACFB4D0DC887D2CBAC414BA2A40" xlink:to="loc_us-gaap_ConsolidationItemsDomain_F52A6BC07524696D8D6CBAC414BABCA5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_F52A6BC07524696D8D6CBAC414BABCA5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_B5FF4ACFB4D0DC887D2CBAC414BA2A40" xlink:to="loc_us-gaap_ConsolidationItemsDomain_F52A6BC07524696D8D6CBAC414BABCA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_3BE066AF3CD029986755BAC414BAF528" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_F52A6BC07524696D8D6CBAC414BABCA5" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_3BE066AF3CD029986755BAC414BAF528" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_E0AD0F57A1D03AA51368BAC414BBFA11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_E0AD0F57A1D03AA51368BAC414BBFA11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaap_CostOfGoodsSold_5AA68E076DC0063AEE53BAC414BB82BA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_CostOfGoodsSold_5AA68E076DC0063AEE53BAC414BB82BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_3ADFD80B1CF053CFD551BAC414BBDB76" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_GrossProfit_3ADFD80B1CF053CFD551BAC414BBDB76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_2EADCEF9837B9772E0A7BAC414BBCCAC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_2EADCEF9837B9772E0A7BAC414BBCCAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_3F83401480CAE0DB2D36BAC414BBEA4D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_3F83401480CAE0DB2D36BAC414BBEA4D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_D00A82F69ABA59800FCCBAC414BB40EA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_D00A82F69ABA59800FCCBAC414BB40EA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_77DD39B425B3DCC69CDDBAC414BB0CCA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_77DD39B425B3DCC69CDDBAC414BB0CCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_136135CD0673A16A6F3DBAC414BBF4B6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_OperatingExpenses_136135CD0673A16A6F3DBAC414BBF4B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_C51846F33124A0DDBD54BAC414BB6EE3" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_OperatingIncomeLoss_C51846F33124A0DDBD54BAC414BB6EE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_5503779CC7B15743E5BDBAC414BBF906" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_InvestmentIncomeInterest_5503779CC7B15743E5BDBAC414BBF906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_A7AA63D1AAC2688A31A9BAC414BB4C06" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_InterestExpense_A7AA63D1AAC2688A31A9BAC414BB4C06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_419071D5EC0A5762706BBAC414BC0F76" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_419071D5EC0A5762706BBAC414BC0F76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_C2039B8390847579A9DABAC414BC6F32" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_C2039B8390847579A9DABAC414BC6F32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_28C70D724CB13697E08CBAC414BC2471" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_28C70D724CB13697E08CBAC414BC2471" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_B942BC193CEBE6121CD3BAC414BC4196" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_B942BC193CEBE6121CD3BAC414BC4196" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_C172673E546321365E40BAC414BC0BCA" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_C172673E546321365E40BAC414BC0BCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_CDF6D990AF0E65AE371FBAC414BC9DDA" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E8DB59E4F1D2615E2D90BAC414BB2DFB" xlink:to="loc_us-gaap_NetIncomeLoss_CDF6D990AF0E65AE371FBAC414BC9DDA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedStatementsOfIncome" 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/DebtBridgeFacilityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_2E2DB480DEEFF9CCF31DABC100F2B355" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_2719FACBF0148E7085BCABC100F1A8C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2E2DB480DEEFF9CCF31DABC100F2B355" xlink:to="loc_us-gaap_DebtInstrumentTable_2719FACBF0148E7085BCABC100F1A8C8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_48A0287679BD4A330A6BABC100F1719A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2719FACBF0148E7085BCABC100F1A8C8" xlink:to="loc_us-gaap_CreditFacilityAxis_48A0287679BD4A330A6BABC100F1719A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_322B4B17784B2C17439FABC100F10AD6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_48A0287679BD4A330A6BABC100F1719A" xlink:to="loc_us-gaap_CreditFacilityDomain_322B4B17784B2C17439FABC100F10AD6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_322B4B17784B2C17439FABC100F10AD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_48A0287679BD4A330A6BABC100F1719A" xlink:to="loc_us-gaap_CreditFacilityDomain_322B4B17784B2C17439FABC100F10AD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LetterOfCreditMember" xlink:label="loc_us-gaap_LetterOfCreditMember_E276577ADDFF289EAF14ABC100F13AE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_322B4B17784B2C17439FABC100F10AD6" xlink:to="loc_us-gaap_LetterOfCreditMember_E276577ADDFF289EAF14ABC100F13AE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_D1563466A25D8851113CABC100F1B947" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2719FACBF0148E7085BCABC100F1A8C8" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_D1563466A25D8851113CABC100F1B947" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_CA0FC5966111B4087DC9ABC100F20BCA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_D1563466A25D8851113CABC100F1B947" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_CA0FC5966111B4087DC9ABC100F20BCA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_CA0FC5966111B4087DC9ABC100F20BCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_D1563466A25D8851113CABC100F1B947" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_CA0FC5966111B4087DC9ABC100F20BCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_2723D8CBE5B2A1EFE105ABC100F2E460" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_CA0FC5966111B4087DC9ABC100F20BCA" xlink:to="loc_us-gaap_SubsequentEventMember_2723D8CBE5B2A1EFE105ABC100F2E460" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_4125FBD7D8B61423809CABC100F2F57A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2719FACBF0148E7085BCABC100F1A8C8" xlink:to="loc_us-gaap_DebtInstrumentAxis_4125FBD7D8B61423809CABC100F2F57A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_7568954C881552B66A6EABC100F215C3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_4125FBD7D8B61423809CABC100F2F57A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_7568954C881552B66A6EABC100F215C3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_7568954C881552B66A6EABC100F215C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_4125FBD7D8B61423809CABC100F2F57A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_7568954C881552B66A6EABC100F215C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_96C77E9C7DB9FB73AB0DABC100F2EB7A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_7568954C881552B66A6EABC100F215C3" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_96C77E9C7DB9FB73AB0DABC100F2EB7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_30CCAF8598EB70DC7E28ABC100F2324C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_7568954C881552B66A6EABC100F215C3" xlink:to="loc_us-gaap_BridgeLoanMember_30CCAF8598EB70DC7E28ABC100F2324C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_0120D12F2DFC5D453EEAABC100F29CDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2E2DB480DEEFF9CCF31DABC100F2B355" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_0120D12F2DFC5D453EEAABC100F29CDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_102AC1852D37FC677FB0ABC100F2896C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2E2DB480DEEFF9CCF31DABC100F2B355" xlink:to="loc_us-gaap_DebtInstrumentTerm_102AC1852D37FC677FB0ABC100F2896C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_2A3ECE11BCA21E360A0FABC100F7018E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2E2DB480DEEFF9CCF31DABC100F2B355" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_2A3ECE11BCA21E360A0FABC100F7018E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_86799378C39F608F7FA4ABC100F78AE1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2E2DB480DEEFF9CCF31DABC100F2B355" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_86799378C39F608F7FA4ABC100F78AE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_8DBC89B33EE08C8AD524ABC100F70698" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2E2DB480DEEFF9CCF31DABC100F2B355" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_8DBC89B33EE08C8AD524ABC100F70698" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_B531AC981FA8647681271F0B8CDA5CC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentTable_B531AC981FA8647681271F0B8CDA5CC8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_0DAF0EEBAA41DDBAE5191F0B8CDAFAC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_B531AC981FA8647681271F0B8CDA5CC8" xlink:to="loc_us-gaap_AwardDateAxis_0DAF0EEBAA41DDBAE5191F0B8CDAFAC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_2EEA5000B5C149BC4ED61F0B8CDACC76_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_0DAF0EEBAA41DDBAE5191F0B8CDAFAC8" xlink:to="loc_us-gaap_AwardDateDomain_2EEA5000B5C149BC4ED61F0B8CDACC76_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_2EEA5000B5C149BC4ED61F0B8CDACC76" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_0DAF0EEBAA41DDBAE5191F0B8CDAFAC8" xlink:to="loc_us-gaap_AwardDateDomain_2EEA5000B5C149BC4ED61F0B8CDACC76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_321140FA17C1781972BE1F0B8CDAAC1C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_B531AC981FA8647681271F0B8CDA5CC8" xlink:to="loc_us-gaap_DebtInstrumentAxis_321140FA17C1781972BE1F0B8CDAAC1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_321140FA17C1781972BE1F0B8CDAAC1C" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_321140FA17C1781972BE1F0B8CDAAC1C" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_8F60B1D08FAD3D4594DF1F0B8CDB74E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:to="loc_us-gaap_ConvertibleDebtMember_8F60B1D08FAD3D4594DF1F0B8CDB74E2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_2515121B2317C7D46E051F0B8CDBED42" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_2515121B2317C7D46E051F0B8CDBED42" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_03B16835392BB27603FB1F0B8CDB4C9E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_03B16835392BB27603FB1F0B8CDB4C9E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ExerciseOptionMember" xlink:label="loc_wdc_ExerciseOptionMember_621BCEF2898CE92111D21F0B8CDBAC14" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:to="loc_wdc_ExerciseOptionMember_621BCEF2898CE92111D21F0B8CDBAC14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_CA89DAD0FE3AC04CCA311F0B8CDB87E9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:to="loc_us-gaap_CallOptionMember_CA89DAD0FE3AC04CCA311F0B8CDB87E9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_A2017CallOptionsMember" xlink:label="loc_wdc_A2017CallOptionsMember_24C7208B239E60A4F8F51F0B8CDB6373" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:to="loc_wdc_A2017CallOptionsMember_24C7208B239E60A4F8F51F0B8CDB6373" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_A2020CallOptionsMember" xlink:label="loc_wdc_A2020CallOptionsMember_4DC745226778F58072C61F0B8CDBBEB3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57A1F4F9FD2B696093941F0B8CDADFDF" xlink:to="loc_wdc_A2020CallOptionsMember_4DC745226778F58072C61F0B8CDBBEB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_C1BE174B440A1519ED5E1F0B8CDB0812" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_C1BE174B440A1519ED5E1F0B8CDB0812" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_49ECBD4A9E4E1C63E3F21F0B8CDB79E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_49ECBD4A9E4E1C63E3F21F0B8CDB79E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_C2782450B26642B6B59D1F0B8CDB9B67" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_C2782450B26642B6B59D1F0B8CDB9B67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentRepurchaseAmount" xlink:label="loc_us-gaap_DebtInstrumentRepurchaseAmount_4F8E08C3DDF68297A1F61F0B8CDBF284" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentRepurchaseAmount_4F8E08C3DDF68297A1F61F0B8CDBF284" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtConversionConvertedInstrumentSharesIssued1" xlink:label="loc_us-gaap_DebtConversionConvertedInstrumentSharesIssued1_093A863C43BAB7C3E0341F0B8CDB4483" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtConversionConvertedInstrumentSharesIssued1_093A863C43BAB7C3E0341F0B8CDB4483" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentConvertedInstrumentAggregateValueofSharesIssued" xlink:label="loc_wdc_DebtInstrumentConvertedInstrumentAggregateValueofSharesIssued_3CC8C716F140EA1732811F0B8CDBFF98" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_wdc_DebtInstrumentConvertedInstrumentAggregateValueofSharesIssued_3CC8C716F140EA1732811F0B8CDBFF98" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentConvertibleConversionRatioShares" xlink:label="loc_wdc_DebtInstrumentConvertibleConversionRatioShares_01873F3828595EAD2B581F0B8CDBC395" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_wdc_DebtInstrumentConvertibleConversionRatioShares_01873F3828595EAD2B581F0B8CDBC395" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentConvertibleConversionRatioCash" xlink:label="loc_wdc_DebtInstrumentConvertibleConversionRatioCash_19A4801697C5B58079D61F0B8CDB357D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_wdc_DebtInstrumentConvertibleConversionRatioCash_19A4801697C5B58079D61F0B8CDB357D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_CEAB2CB931261E9AAB0E1F0B8CDB1847" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_CEAB2CB931261E9AAB0E1F0B8CDB1847" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_9E4E68264D5D27DECA251F0B8CDC1EAA" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_9E4E68264D5D27DECA251F0B8CDC1EAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1_3D8349CAAAA4CEA9D1991F0B8CDCCF67" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1_3D8349CAAAA4CEA9D1991F0B8CDCCF67" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ExtinguishmentofDebtandRelatedCallOptionsNetGainLoss" xlink:label="loc_wdc_ExtinguishmentofDebtandRelatedCallOptionsNetGainLoss_4186C8879E2B9C37AC811F0B8CDCE438" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_wdc_ExtinguishmentofDebtandRelatedCallOptionsNetGainLoss_4186C8879E2B9C37AC811F0B8CDCE438" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromWarrantExercises" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_0221EC0CD84B2F4208361F0B8CDCAACE" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_0221EC0CD84B2F4208361F0B8CDCAACE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_59A73705A1E23B45F10B1F0B8CDC58A7" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_59A73705A1E23B45F10B1F0B8CDC58A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_6CEA34A671808DD578D61F0B8CDC39AE" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3C7433993E98AC5BA8CE1F0B8CDB154D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_6CEA34A671808DD578D61F0B8CDC39AE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtLongTermDebtDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_7BB95D3CEE3FA809BF03B02686E34BEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_us-gaap_DebtInstrumentTable_7BB95D3CEE3FA809BF03B02686E34BEF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8EA23DD2EF61E5E1F9A3B02686E33FC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7BB95D3CEE3FA809BF03B02686E34BEF" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8EA23DD2EF61E5E1F9A3B02686E33FC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7693C61C89FABA74DC3AB02686E31921_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8EA23DD2EF61E5E1F9A3B02686E33FC7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7693C61C89FABA74DC3AB02686E31921_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7693C61C89FABA74DC3AB02686E31921" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8EA23DD2EF61E5E1F9A3B02686E33FC7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7693C61C89FABA74DC3AB02686E31921" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_12B300F1886FBF18B266B02686E33BD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7693C61C89FABA74DC3AB02686E31921" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_12B300F1886FBF18B266B02686E33BD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_796CE48C207062D4D8B0B02686E3CE52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7BB95D3CEE3FA809BF03B02686E34BEF" xlink:to="loc_us-gaap_DebtInstrumentAxis_796CE48C207062D4D8B0B02686E3CE52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_796CE48C207062D4D8B0B02686E3CE52" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_796CE48C207062D4D8B0B02686E3CE52" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OtherTermLoansMember" xlink:label="loc_wdc_OtherTermLoansMember_7E3E88A7AC3CA98BBDD9B02686E31D48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_OtherTermLoansMember_7E3E88A7AC3CA98BBDD9B02686E31D48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_ABFB26E8EC8259C307DAB02686E31191" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_us-gaap_LineOfCreditMember_ABFB26E8EC8259C307DAB02686E31191" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_2845BE7722712C0A7B7EB02686E37B50" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_TermLoanAMember_2845BE7722712C0A7B7EB02686E37B50" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanB2Member" xlink:label="loc_wdc_TermLoanB2Member_B2BFF0E5039B9FEC503AB031001E278C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_TermLoanB2Member_B2BFF0E5039B9FEC503AB031001E278C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_9772146C022E1C44C8D6B02686E36388" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_U.S.TermLoanBMember_9772146C022E1C44C8D6B02686E36388" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanB1Member" xlink:label="loc_wdc_U.S.TermLoanB1Member_E3428CB877AF4A059442B02686E33699" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_U.S.TermLoanB1Member_E3428CB877AF4A059442B02686E33699" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_EE27D8D944FAB5549390B02686E3E9C9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_U.S.TermLoanB2Member_EE27D8D944FAB5549390B02686E3E9C9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_32ADCE5E4C4155FDA326B02686E341A0" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_EuroTermLoanBMember_32ADCE5E4C4155FDA326B02686E341A0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanB1Member" xlink:label="loc_wdc_EuroTermLoanB1Member_F1D4F936C5BA4E17B873B02686E3AD78" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_EuroTermLoanB1Member_F1D4F936C5BA4E17B873B02686E3AD78" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_A2979542C773CE5DB5F6B02686E39010" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_EuroTermLoanB2Member_A2979542C773CE5DB5F6B02686E39010" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanBMember" xlink:label="loc_wdc_TermLoanBMember_80EE807219DB767C1F61B02686E3CF8A" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_TermLoanBMember_80EE807219DB767C1F61B02686E3CF8A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_E20D44159F02A001933CB02686E34E45" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_SecuredNotesMember_E20D44159F02A001933CB02686E34E45" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_62A2A9109E5FB3D365E3B02686E3A195" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_wdc_UnsecuredNotesMember_62A2A9109E5FB3D365E3B02686E3A195" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_D33FB663AEA472A327B0B02686E396E3" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_us-gaap_SeniorNotesMember_D33FB663AEA472A327B0B02686E396E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_C2B7C6D6E6F36742BC4BB02686E3CBE2" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_us-gaap_BridgeLoanMember_C2B7C6D6E6F36742BC4BB02686E3CBE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_DF201BF69DA8B4EA0BF7B02686E39914" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_57E798DC68AEA08BF2A1B02686E3E662" xlink:to="loc_us-gaap_ConvertibleDebtMember_DF201BF69DA8B4EA0BF7B02686E39914" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries" xlink:label="loc_wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries_B6AF39908466513B2192B030FFDFD856" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries_B6AF39908466513B2192B030FFDFD856" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1FE8332905468590DECEB02686E3AA94" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1FE8332905468590DECEB02686E3AA94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentIncreaseDecreaseOtherNet" xlink:label="loc_us-gaap_DebtInstrumentIncreaseDecreaseOtherNet_6F0F6380CBD231A3D910B02686E39730" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_us-gaap_DebtInstrumentIncreaseDecreaseOtherNet_6F0F6380CBD231A3D910B02686E39730" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_70F40830E070C166AE24B02686E3BC41" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_us-gaap_LongTermDebt_70F40830E070C166AE24B02686E3BC41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_088E1CF0DA9D4CFD95F9B02686E35E41" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_088E1CF0DA9D4CFD95F9B02686E35E41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_58F0B24E05FF01E08780B02686E34F28" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_58F0B24E05FF01E08780B02686E34F28" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_LongTermDebtCurrentandBridgeLoans" xlink:label="loc_wdc_LongTermDebtCurrentandBridgeLoans_8BCB611B3AD13C598163B02686E36339" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_wdc_LongTermDebtCurrentandBridgeLoans_8BCB611B3AD13C598163B02686E36339" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_381E345769DB36F1AE4FB02686E3016C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_06C0CF002E2E11FF8172B02686E3DB39" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_381E345769DB36F1AE4FB02686E3016C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_B5BC87E09C3FB0F395C31F0F3F8E62A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:to="loc_us-gaap_DebtInstrumentTable_B5BC87E09C3FB0F395C31F0F3F8E62A9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_7B3E6EC9108E486D02F81F0F3F8F4427" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_B5BC87E09C3FB0F395C31F0F3F8E62A9" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_7B3E6EC9108E486D02F81F0F3F8F4427" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_99965C2EDAA4548CCA8E1F0F3F8F5497_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7B3E6EC9108E486D02F81F0F3F8F4427" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_99965C2EDAA4548CCA8E1F0F3F8F5497_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_99965C2EDAA4548CCA8E1F0F3F8F5497" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7B3E6EC9108E486D02F81F0F3F8F4427" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_99965C2EDAA4548CCA8E1F0F3F8F5497" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_51A9C6F05DEE34CDB7BD1F0F3F8F0DEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_99965C2EDAA4548CCA8E1F0F3F8F5497" xlink:to="loc_us-gaap_SeniorNotesMember_51A9C6F05DEE34CDB7BD1F0F3F8F0DEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_2582674D8B96252E78841F0F3F8F806B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_B5BC87E09C3FB0F395C31F0F3F8E62A9" xlink:to="loc_us-gaap_DebtInstrumentAxis_2582674D8B96252E78841F0F3F8F806B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_BDA6AD54666A2D20F52F1F0F3F8FB0AD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_2582674D8B96252E78841F0F3F8F806B" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_BDA6AD54666A2D20F52F1F0F3F8FB0AD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_BDA6AD54666A2D20F52F1F0F3F8FB0AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_2582674D8B96252E78841F0F3F8F806B" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_BDA6AD54666A2D20F52F1F0F3F8FB0AD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanBMember" xlink:label="loc_wdc_TermLoanBMember_440C91E72B1F443827801F0F3F8FE856" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BDA6AD54666A2D20F52F1F0F3F8FB0AD" xlink:to="loc_wdc_TermLoanBMember_440C91E72B1F443827801F0F3F8FE856" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_A4FA6785909616BEEE261F0F3F8F166D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BDA6AD54666A2D20F52F1F0F3F8FB0AD" xlink:to="loc_wdc_SecuredNotesMember_A4FA6785909616BEEE261F0F3F8F166D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_BFC5B3E0E7C19DD9799A1F0F3F8F7CAC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_BDA6AD54666A2D20F52F1F0F3F8FB0AD" xlink:to="loc_wdc_UnsecuredNotesMember_BFC5B3E0E7C19DD9799A1F0F3F8F7CAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_6100D7E86349A179F7AA1F0F3F8F0CCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:to="loc_us-gaap_DebtInstrumentTerm_6100D7E86349A179F7AA1F0F3F8F0CCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_3F58E63D0B5EBC97ED0B1F0F3F8F4624" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_3F58E63D0B5EBC97ED0B1F0F3F8F4624" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_1976D5501C369A3AA9FD1F0F3F9043DD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_1976D5501C369A3AA9FD1F0F3F9043DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_E5CA972DFC1D80A95DB31F0F3F909796" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_E5CA972DFC1D80A95DB31F0F3F909796" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_3FCF65B9DE70862E988D1F0F3F9081F1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_3FCF65B9DE70862E988D1F0F3F9081F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_04901469E3C2A10060701F0F3F90621B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_3B566D7AA7FC3006E3211F0F3F8F6956" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_04901469E3C2A10060701F0F3F90621B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTermLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_9909332FD144E2C9E016C4FAFC213AF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DebtInstrumentTable_9909332FD144E2C9E016C4FAFC213AF7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_44B0FF4C3AC11C68B0A9C4FAFC216F5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_9909332FD144E2C9E016C4FAFC213AF7" xlink:to="loc_us-gaap_VariableRateAxis_44B0FF4C3AC11C68B0A9C4FAFC216F5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_F973F3B5D5FC323F795FC4FAFC217F17_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_44B0FF4C3AC11C68B0A9C4FAFC216F5B" xlink:to="loc_us-gaap_VariableRateDomain_F973F3B5D5FC323F795FC4FAFC217F17_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_F973F3B5D5FC323F795FC4FAFC217F17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_44B0FF4C3AC11C68B0A9C4FAFC216F5B" xlink:to="loc_us-gaap_VariableRateDomain_F973F3B5D5FC323F795FC4FAFC217F17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_880AF9CB1FEE477FC6E6C4FAFC2103BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_F973F3B5D5FC323F795FC4FAFC217F17" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_880AF9CB1FEE477FC6E6C4FAFC2103BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_CB142038B2B2D4F8533BC4FAFC21861C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_9909332FD144E2C9E016C4FAFC213AF7" xlink:to="loc_us-gaap_DebtInstrumentAxis_CB142038B2B2D4F8533BC4FAFC21861C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_CB142038B2B2D4F8533BC4FAFC21861C" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_CB142038B2B2D4F8533BC4FAFC21861C" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_2B6FDCE85B281FE90310C4FAFC215A3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_TermLoanAMember_2B6FDCE85B281FE90310C4FAFC215A3C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanBMember" xlink:label="loc_wdc_TermLoanBMember_310BE4764E704CD3FE8EC4FAFC214355" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_TermLoanBMember_310BE4764E704CD3FE8EC4FAFC214355" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanB1Member" xlink:label="loc_wdc_TermLoanB1Member_78B5D1C9BB7475AD4FA4C4FAFC214AB0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_TermLoanB1Member_78B5D1C9BB7475AD4FA4C4FAFC214AB0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_3780F9DDF2CE6DEBBFB6C4FAFC2138F4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_U.S.TermLoanBMember_3780F9DDF2CE6DEBBFB6C4FAFC2138F4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanB1Member" xlink:label="loc_wdc_U.S.TermLoanB1Member_EC433761B0DAFEF8CC09C4FAFC219BFD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_U.S.TermLoanB1Member_EC433761B0DAFEF8CC09C4FAFC219BFD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_8FF18BBBA07BF9C87BCEC4FAFC218A4C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_U.S.TermLoanB2Member_8FF18BBBA07BF9C87BCEC4FAFC218A4C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_31B5D1DDF9CE5D62690AC4FAFC21C9D5" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_EuroTermLoanBMember_31B5D1DDF9CE5D62690AC4FAFC21C9D5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanB1Member" xlink:label="loc_wdc_EuroTermLoanB1Member_B343AFF35F2FAE7E804AC4FAFC2194B3" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_EuroTermLoanB1Member_B343AFF35F2FAE7E804AC4FAFC2194B3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_05A3B1ECFA7AA5383B33C4FAFC213D62" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_E29012BA6DEFCD91840FC4FAFC21C109" xlink:to="loc_wdc_EuroTermLoanB2Member_05A3B1ECFA7AA5383B33C4FAFC213D62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_03A59DC78EB10ED6E9E5C4FAFC21F454" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_9909332FD144E2C9E016C4FAFC213AF7" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_03A59DC78EB10ED6E9E5C4FAFC21F454" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1ABA49E1D20D12C1110AC4FAFC218B0B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_03A59DC78EB10ED6E9E5C4FAFC21F454" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1ABA49E1D20D12C1110AC4FAFC218B0B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1ABA49E1D20D12C1110AC4FAFC218B0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_03A59DC78EB10ED6E9E5C4FAFC21F454" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1ABA49E1D20D12C1110AC4FAFC218B0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_3C6D2EEAA94423EDCEC1C4FAFC2174F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_1ABA49E1D20D12C1110AC4FAFC218B0B" xlink:to="loc_us-gaap_SubsequentEventMember_3C6D2EEAA94423EDCEC1C4FAFC2174F3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentDecreaseAccruedInterest" xlink:label="loc_wdc_DebtInstrumentDecreaseAccruedInterest_4F7DC0EF5763BE55B300C4FAFC214E63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_wdc_DebtInstrumentDecreaseAccruedInterest_4F7DC0EF5763BE55B300C4FAFC214E63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_01658898E1B62A59700AC4FAFC210B53" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_01658898E1B62A59700AC4FAFC210B53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExtinguishmentOfDebtAmount" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_944D8E3B4B3ACFEA23E8C4FAFC218109" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_944D8E3B4B3ACFEA23E8C4FAFC218109" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts" xlink:label="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_71970EBB5247D8C152DDC4FAFC212D71" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_71970EBB5247D8C152DDC4FAFC212D71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_57D4FB9E2E318013F94BC4FAFC218ED3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DebtInstrumentTerm_57D4FB9E2E318013F94BC4FAFC218ED3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_88DD8475EB52E11AE8D4C4FAFC2181C7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_RepaymentsOfDebt_88DD8475EB52E11AE8D4C4FAFC2181C7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentRequiredQuarterlyPrincipalPayment" xlink:label="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPayment_656DE45AE7C2F930FD3BC4FAFC2154C9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPayment_656DE45AE7C2F930FD3BC4FAFC2154C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredFinanceCostsGross" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_D27155395B31980F5609C4FAFC21FA50" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_D27155395B31980F5609C4FAFC21FA50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_06FDDB44653BC7C849B0C4FAFC216DDF" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_06FDDB44653BC7C849B0C4FAFC216DDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_991E28D3E60178DF20BCC4FAFC219EC6" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_991E28D3E60178DF20BCC4FAFC219EC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4C02EABFEF286E2F9CB8C4FAFC2103EA" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4C02EABFEF286E2F9CB8C4FAFC2103EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_AD9E33EFD600DC3B8D9DC4FAFC21AF60" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_AD9E33EFD600DC3B8D9DC4FAFC21AF60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_D4B3049AE2AAB72E56AFC4FAFC21D591" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_D4B3049AE2AAB72E56AFC4FAFC21D591" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_78EA8A17D05C13D09C2BC4FAFC21DF42" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_78EA8A17D05C13D09C2BC4FAFC21DF42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3B42CD87D662AB0A1D57C4FAFC210B66" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_3B42CD87D662AB0A1D57C4FAFC210B66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_5330FA2179AB03F78C7DC4FAFC211CCB" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_LongTermDebt_5330FA2179AB03F78C7DC4FAFC211CCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_DE603AAC48EA56F6D6F0C4FAFC2168FB" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_DE603AAC48EA56F6D6F0C4FAFC2168FB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentLIBORFloor" xlink:label="loc_wdc_DebtInstrumentLIBORFloor_1C216A787A5489C988B6C4FAFC216143" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_wdc_DebtInstrumentLIBORFloor_1C216A787A5489C988B6C4FAFC216143" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentEURIBORFloor" xlink:label="loc_wdc_DebtInstrumentEURIBORFloor_86CA7B63DE92AEC093A8C4FAFC21DA14" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_wdc_DebtInstrumentEURIBORFloor_86CA7B63DE92AEC093A8C4FAFC21DA14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_C0AAB952C82F9D330C98C4FAFC217299" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_C0AAB952C82F9D330C98C4FAFC217299" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtPercentageBearingVariableInterestRate" xlink:label="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_8F05FD3461434A3D522DC4FAFC211AB7" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_8F05FD3461434A3D522DC4FAFC211AB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_A81FADDD7F7FD7F9130FC4FAFC21C0BF" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_A81FADDD7F7FD7F9130FC4FAFC21C0BF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentPrepaymentFeePercentage" xlink:label="loc_wdc_DebtInstrumentPrepaymentFeePercentage_8F1C083D0B91DCDBA314C4FAFC21C010" xlink:type="locator" />
    <link:definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_wdc_DebtInstrumentPrepaymentFeePercentage_8F1C083D0B91DCDBA314C4FAFC21C010" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries" xlink:label="loc_wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries_9B0E94920183BA7B4217C4FAFC2161ED" xlink:type="locator" />
    <link:definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries_9B0E94920183BA7B4217C4FAFC2161ED" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtInstrumentPrepaymentFeePenaltyEffectivePeriod" xlink:label="loc_wdc_DebtInstrumentPrepaymentFeePenaltyEffectivePeriod_3A3AC9F2A4D97EBC7900C4FAFC218359" xlink:type="locator" />
    <link:definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_52C72E0610F6EDF5D886C4FAFC212B2E" xlink:to="loc_wdc_DebtInstrumentPrepaymentFeePenaltyEffectivePeriod_3A3AC9F2A4D97EBC7900C4FAFC218359" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTerminationOfExistingCreditAgreementAndBridgeLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_7529A8E82D2BBEA4C65AB5B8A3312BB9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_0F81C93890A2A2DFBC29B5B8A330EA73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7529A8E82D2BBEA4C65AB5B8A3312BB9" xlink:to="loc_us-gaap_DebtInstrumentTable_0F81C93890A2A2DFBC29B5B8A330EA73" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_9276FA782A76548BD7E6B5B8A33084B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0F81C93890A2A2DFBC29B5B8A330EA73" xlink:to="loc_us-gaap_DebtInstrumentAxis_9276FA782A76548BD7E6B5B8A33084B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_9276FA782A76548BD7E6B5B8A33084B2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_9276FA782A76548BD7E6B5B8A33084B2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_2E9095DC01E76236EC4FB5B8A330BD5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48" xlink:to="loc_wdc_U.S.TermLoanBMember_2E9095DC01E76236EC4FB5B8A330BD5D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_7E867FCEE646619E7CE5B5B8A330CBFD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48" xlink:to="loc_wdc_EuroTermLoanBMember_7E867FCEE646619E7CE5B5B8A330CBFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_53EA0C588A5048FF8B31B5B8A33096EE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48" xlink:to="loc_us-gaap_BridgeLoanMember_53EA0C588A5048FF8B31B5B8A33096EE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanBMember" xlink:label="loc_wdc_TermLoanBMember_248F7121EE33590F732AB5B8A330D6BF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48" xlink:to="loc_wdc_TermLoanBMember_248F7121EE33590F732AB5B8A330D6BF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OtherTermLoansMember" xlink:label="loc_wdc_OtherTermLoansMember_7F66925462EA170A5C83B5B8A330703A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4DD98A894877BF9B93E0B5B8A3305A48" xlink:to="loc_wdc_OtherTermLoansMember_7F66925462EA170A5C83B5B8A330703A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExtinguishmentOfDebtAmount" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_AE0E2E1F677BF8C5DAA0B5B8A3319B24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7529A8E82D2BBEA4C65AB5B8A3312BB9" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_AE0E2E1F677BF8C5DAA0B5B8A3319B24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_1204763458F32C810D31B5B8A3316988" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7529A8E82D2BBEA4C65AB5B8A3312BB9" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_1204763458F32C810D31B5B8A3316988" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/Derivatives" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesAdditionalInformationDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesDerivativeContractsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_BF47E8FF68C080553E761F0B8EF0966C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_565FA39410186AF690511F0B8EEC12C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_BF47E8FF68C080553E761F0B8EF0966C" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_565FA39410186AF690511F0B8EEC12C2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_A4EC2B7C13813FA7812E1F0B8EEC2145" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_565FA39410186AF690511F0B8EEC12C2" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_A4EC2B7C13813FA7812E1F0B8EEC2145" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_822391CCF7B272494C391F0B8EECFA0B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_A4EC2B7C13813FA7812E1F0B8EEC2145" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_822391CCF7B272494C391F0B8EECFA0B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_822391CCF7B272494C391F0B8EECFA0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_A4EC2B7C13813FA7812E1F0B8EEC2145" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_822391CCF7B272494C391F0B8EECFA0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_7C781C8FAD794DB9CD5B1F0B8EEC2836" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_822391CCF7B272494C391F0B8EECFA0B" xlink:to="loc_us-gaap_ForeignExchangeContractMember_7C781C8FAD794DB9CD5B1F0B8EEC2836" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_6A3EC5C0355FE9F312731F0B8EED29D4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_565FA39410186AF690511F0B8EEC12C2" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_6A3EC5C0355FE9F312731F0B8EED29D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_6A3EC5C0355FE9F312731F0B8EED29D4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_6A3EC5C0355FE9F312731F0B8EED29D4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCurrentAssetsMember" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_40D96D875F247EC014B71F0B8EED9E36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_40D96D875F247EC014B71F0B8EED9E36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_5C834FBD1322DDD80B171F0B8EED06A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_5C834FBD1322DDD80B171F0B8EED06A1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OtherCurrentAccruedLiabilitiesMember" xlink:label="loc_wdc_OtherCurrentAccruedLiabilitiesMember_51B4DEF6B9ABB09C250A1F0B8EED13C3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9" xlink:to="loc_wdc_OtherCurrentAccruedLiabilitiesMember_51B4DEF6B9ABB09C250A1F0B8EED13C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesMember" xlink:label="loc_us-gaap_OtherLiabilitiesMember_694316046C74EEC36F891F0B8EEDC169" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_9468C9D1F3EB28D572141F0B8EED17B9" xlink:to="loc_us-gaap_OtherLiabilitiesMember_694316046C74EEC36F891F0B8EEDC169" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeAssetsAbstract" xlink:label="loc_us-gaap_DerivativeAssetsAbstract_2305E479372810C86B201F0B8EF0B61A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_BF47E8FF68C080553E761F0B8EF0966C" xlink:to="loc_us-gaap_DerivativeAssetsAbstract_2305E479372810C86B201F0B8EF0B61A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_324ADFF6D2C83B73A1A81F0B8EF07E51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_2305E479372810C86B201F0B8EF0B61A" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_324ADFF6D2C83B73A1A81F0B8EF07E51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_AE63AFC366772349AA2D1F0B8EF05459" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_2305E479372810C86B201F0B8EF0B61A" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_AE63AFC366772349AA2D1F0B8EF05459" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_CallOptionDerivativeInstrumentAssetsatFairValue" xlink:label="loc_wdc_CallOptionDerivativeInstrumentAssetsatFairValue_CEA5426A7D74A04408B21F0B8EF09D19" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_2305E479372810C86B201F0B8EF0B61A" xlink:to="loc_wdc_CallOptionDerivativeInstrumentAssetsatFairValue_CEA5426A7D74A04408B21F0B8EF09D19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_7B51DB9CD7D75955560C1F0B8EF0D2B1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_2305E479372810C86B201F0B8EF0B61A" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_7B51DB9CD7D75955560C1F0B8EF0D2B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeLiabilitiesAbstract" xlink:label="loc_us-gaap_DerivativeLiabilitiesAbstract_9FCE15103EF19C5DD3391F0B8EF05DC7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_BF47E8FF68C080553E761F0B8EF0966C" xlink:to="loc_us-gaap_DerivativeLiabilitiesAbstract_9FCE15103EF19C5DD3391F0B8EF05DC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_3D8EA19F0B7AFF4BBAD81F0B8EF08917" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_9FCE15103EF19C5DD3391F0B8EF05DC7" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_3D8EA19F0B7AFF4BBAD81F0B8EF08917" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:label="loc_us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_E253D31DB279F1B181D11F0B8EF0C54A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_9FCE15103EF19C5DD3391F0B8EF05DC7" xlink:to="loc_us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_E253D31DB279F1B181D11F0B8EF0C54A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ExerciseOptionDerivativeInstrumentLiabilitiesatFairValue" xlink:label="loc_wdc_ExerciseOptionDerivativeInstrumentLiabilitiesatFairValue_473CBDD7E2AA074BA4AF1F0B8EF1F2C2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_9FCE15103EF19C5DD3391F0B8EF05DC7" xlink:to="loc_wdc_ExerciseOptionDerivativeInstrumentLiabilitiesatFairValue_473CBDD7E2AA074BA4AF1F0B8EF1F2C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_3005F2FBBB07BF8D60AA1F0B8EF1DF94" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_9FCE15103EF19C5DD3391F0B8EF05DC7" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_3005F2FBBB07BF8D60AA1F0B8EF1DF94" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesDerivativesInCashFlowHedgingRelationshipsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_366DB887CC5A763F3A411F0B8F655BDA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_3F9583EAE47C604442A71F0B8F649B0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_366DB887CC5A763F3A411F0B8F655BDA" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_3F9583EAE47C604442A71F0B8F649B0A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_332B4215716C43FB3A151F0B8F6415CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_3F9583EAE47C604442A71F0B8F649B0A" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_332B4215716C43FB3A151F0B8F6415CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B9D3CADBC43C1C312CB01F0B8F6436A8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_332B4215716C43FB3A151F0B8F6415CA" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B9D3CADBC43C1C312CB01F0B8F6436A8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B9D3CADBC43C1C312CB01F0B8F6436A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_332B4215716C43FB3A151F0B8F6415CA" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B9D3CADBC43C1C312CB01F0B8F6436A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_03F125A5C58A0668B0671F0B8F6515B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_B9D3CADBC43C1C312CB01F0B8F6436A8" xlink:to="loc_us-gaap_ForeignExchangeContractMember_03F125A5C58A0668B0671F0B8F6515B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_0EA2B25ACDDDCD75AA8D1F0B8F6531A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_3F9583EAE47C604442A71F0B8F649B0A" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_0EA2B25ACDDDCD75AA8D1F0B8F6531A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B0064F7654E188665CC51F0B8F658861_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0EA2B25ACDDDCD75AA8D1F0B8F6531A2" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B0064F7654E188665CC51F0B8F658861_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B0064F7654E188665CC51F0B8F658861" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0EA2B25ACDDDCD75AA8D1F0B8F6531A2" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B0064F7654E188665CC51F0B8F658861" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_ECD1799531AA65CC53261F0B8F65EA89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_B0064F7654E188665CC51F0B8F658861" xlink:to="loc_us-gaap_CostOfSalesMember_ECD1799531AA65CC53261F0B8F65EA89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6C0AA8D1947BBBAC37051F0B8F65B077" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_3F9583EAE47C604442A71F0B8F649B0A" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6C0AA8D1947BBBAC37051F0B8F65B077" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_1A332010A843AC411A861F0B8F656784_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6C0AA8D1947BBBAC37051F0B8F65B077" xlink:to="loc_us-gaap_HedgingRelationshipDomain_1A332010A843AC411A861F0B8F656784_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_1A332010A843AC411A861F0B8F656784" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6C0AA8D1947BBBAC37051F0B8F65B077" xlink:to="loc_us-gaap_HedgingRelationshipDomain_1A332010A843AC411A861F0B8F656784" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_80006FF7A87ACA10BAB51F0B8F657E55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_1A332010A843AC411A861F0B8F656784" xlink:to="loc_us-gaap_CashFlowHedgingMember_80006FF7A87ACA10BAB51F0B8F657E55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_1FFE20A49BB5A79DA2931F0B8F65958B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_366DB887CC5A763F3A411F0B8F655BDA" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_1FFE20A49BB5A79DA2931F0B8F65958B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_64E7AF01F239C8484BC21F0B8F657B82" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_366DB887CC5A763F3A411F0B8F655BDA" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_64E7AF01F239C8484BC21F0B8F657B82" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesOffsettingAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <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:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationLineItems" xlink:label="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationTable" xlink:label="loc_dei_DocumentInformationTable_5E1CB598FE6E53EA35CA44A3E1699168" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_DocumentInformationTable_5E1CB598FE6E53EA35CA44A3E1699168" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="loc_dei_DocumentInformationDocumentAxis_F8AC61A2C1632D879B5A44A3E16A614F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_5E1CB598FE6E53EA35CA44A3E1699168" xlink:to="loc_dei_DocumentInformationDocumentAxis_F8AC61A2C1632D879B5A44A3E16A614F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentDomain" xlink:label="loc_dei_DocumentDomain_1DC422FAC17097FA51C344A3E16A8471_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_DocumentInformationDocumentAxis_F8AC61A2C1632D879B5A44A3E16A614F" xlink:to="loc_dei_DocumentDomain_1DC422FAC17097FA51C344A3E16A8471_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentDomain" xlink:label="loc_dei_DocumentDomain_1DC422FAC17097FA51C344A3E16A8471" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_DocumentInformationDocumentAxis_F8AC61A2C1632D879B5A44A3E16A614F" xlink:to="loc_dei_DocumentDomain_1DC422FAC17097FA51C344A3E16A8471" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_52F5B55419BE83DA0EC144A3E16A27D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityRegistrantName_52F5B55419BE83DA0EC144A3E16A27D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_1265CAA03F4D093EEB8B44A3E16A03E6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityCentralIndexKey_1265CAA03F4D093EEB8B44A3E16A03E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_060EECB4DBE20D440C3344A3E16AFD03" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_CurrentFiscalYearEndDate_060EECB4DBE20D440C3344A3E16AFD03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_22A9E1EA139A9AFC444F44A3E16AEC56" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityFilerCategory_22A9E1EA139A9AFC444F44A3E16AEC56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_3BFA1DB55DC5BA26817744A3E16AF541" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_DocumentType_3BFA1DB55DC5BA26817744A3E16AF541" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_22370DCCD3485208CD7244A3E16A5AE7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_DocumentPeriodEndDate_22370DCCD3485208CD7244A3E16A5AE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_FA7EE0390886D2B7193244A3E16BA83C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_DocumentFiscalYearFocus_FA7EE0390886D2B7193244A3E16BA83C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_6DE49C9AD4C4346FECDB44A3E16BF73F" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_DocumentFiscalPeriodFocus_6DE49C9AD4C4346FECDB44A3E16BF73F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_F4A0BEE2C164CF2B816744A3E16BEB4C" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_AmendmentFlag_F4A0BEE2C164CF2B816744A3E16BEB4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_E2495126D428CF81DC3844A3E16B234E" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_E2495126D428CF81DC3844A3E16B234E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_267C47AB2A16ECE1007244A3E16BBEAA" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_267C47AB2A16ECE1007244A3E16BBEAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_E4943C2A32A058F008C944A3E16B8CF8" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityVoluntaryFilers_E4943C2A32A058F008C944A3E16B8CF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_E06022FE9A4CB792B5F844A3E16B6990" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityCurrentReportingStatus_E06022FE9A4CB792B5F844A3E16B6990" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat" xlink:label="loc_dei_EntityPublicFloat_1F740ED037234CEB240144A3E16B2E66" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_2EBA0C7FCC37867F4FCA44A3E16A923E" xlink:to="loc_dei_EntityPublicFloat_1F740ED037234CEB240144A3E16B2E66" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EarningsPerShare" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_BBECE8FC22629C33ADCA1F0B8C804845" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_7D5B7FA67176148C8E951F0B8C802C21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_BBECE8FC22629C33ADCA1F0B8C804845" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_7D5B7FA67176148C8E951F0B8C802C21" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_B319C1CFA67F0C78E5E71F0B8C806B11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_7D5B7FA67176148C8E951F0B8C802C21" xlink:to="loc_us-gaap_StatementClassOfStockAxis_B319C1CFA67F0C78E5E71F0B8C806B11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E389A1F99D323E4DB4CA1F0B8C80D554_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_B319C1CFA67F0C78E5E71F0B8C806B11" xlink:to="loc_us-gaap_ClassOfStockDomain_E389A1F99D323E4DB4CA1F0B8C80D554_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E389A1F99D323E4DB4CA1F0B8C80D554" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_B319C1CFA67F0C78E5E71F0B8C806B11" xlink:to="loc_us-gaap_ClassOfStockDomain_E389A1F99D323E4DB4CA1F0B8C80D554" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="loc_us-gaap_EarningsPerShareTextBlock_0D76393FD00D0ECA79221F0B8C80DA82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_BBECE8FC22629C33ADCA1F0B8C804845" xlink:to="loc_us-gaap_EarningsPerShareTextBlock_0D76393FD00D0ECA79221F0B8C80DA82" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_410F818FD53D733065CF44A3DE025E63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_410F818FD53D733065CF44A3DE025E63" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_F1F8E2991406D613023D44A3DE02157F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_410F818FD53D733065CF44A3DE025E63" xlink:to="loc_us-gaap_StatementClassOfStockAxis_F1F8E2991406D613023D44A3DE02157F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6659D4D03ACF25F9155744A3DE03DBB3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F1F8E2991406D613023D44A3DE02157F" xlink:to="loc_us-gaap_ClassOfStockDomain_6659D4D03ACF25F9155744A3DE03DBB3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6659D4D03ACF25F9155744A3DE03DBB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F1F8E2991406D613023D44A3DE02157F" xlink:to="loc_us-gaap_ClassOfStockDomain_6659D4D03ACF25F9155744A3DE03DBB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_57C81297D46A5E2F55D244A3DE032520" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_NetIncomeLoss_57C81297D46A5E2F55D244A3DE032520" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_890DE3883DFB9E7E5F7744A3DE033860" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_890DE3883DFB9E7E5F7744A3DE033860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_CBA1AA36E34FA017973E44A3DE032F5E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_CBA1AA36E34FA017973E44A3DE032F5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_09FFC0DC21209713DD3544A3DE037505" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_09FFC0DC21209713DD3544A3DE037505" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BasicEarningsPerShareProForma" xlink:label="loc_us-gaap_BasicEarningsPerShareProForma_6726E9EDF6A15652B5D144A3DE03E3A3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_BasicEarningsPerShareProForma_6726E9EDF6A15652B5D144A3DE03E3A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_78B6138DFBA418491F3944A3DE034B3B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_EarningsPerShareDiluted_78B6138DFBA418491F3944A3DE034B3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4EE9A8059766220D102A44A3DE03F1F2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_0BD13322237FB918914944A3DE03C621" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4EE9A8059766220D102A44A3DE03F1F2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EarningsPerShareTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_2527E869ED8498810B5B1F0B8FBA51B3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_6DC28DA80E24B73EB4591F0B8FBAAB4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_2527E869ED8498810B5B1F0B8FBA51B3" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_6DC28DA80E24B73EB4591F0B8FBAAB4B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_626045B09E93E7D0F29A1F0B8FBA2662" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_6DC28DA80E24B73EB4591F0B8FBAAB4B" xlink:to="loc_us-gaap_StatementClassOfStockAxis_626045B09E93E7D0F29A1F0B8FBA2662" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_4650CA062681C1984D4C1F0B8FBAD340_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_626045B09E93E7D0F29A1F0B8FBA2662" xlink:to="loc_us-gaap_ClassOfStockDomain_4650CA062681C1984D4C1F0B8FBAD340_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_4650CA062681C1984D4C1F0B8FBAD340" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_626045B09E93E7D0F29A1F0B8FBA2662" xlink:to="loc_us-gaap_ClassOfStockDomain_4650CA062681C1984D4C1F0B8FBAD340" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_EB7EE210769782ACE7881F0B8FBA786B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_2527E869ED8498810B5B1F0B8FBA51B3" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_EB7EE210769782ACE7881F0B8FBA786B" xlink:type="arc" />
  </link:definitionLink>
  <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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_B12F3142386D322233378E31C40B412F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_66140FDAE53752C70EC08E31C405897F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B12F3142386D322233378E31C40B412F" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_66140FDAE53752C70EC08E31C405897F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_3390C5D828BDAB1F831A8E31C4050250" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_66140FDAE53752C70EC08E31C405897F" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_3390C5D828BDAB1F831A8E31C4050250" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_A32576E9D9C9CA559A268E31C40A6A2C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_3390C5D828BDAB1F831A8E31C4050250" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_A32576E9D9C9CA559A268E31C40A6A2C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_A32576E9D9C9CA559A268E31C40A6A2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_3390C5D828BDAB1F831A8E31C4050250" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_A32576E9D9C9CA559A268E31C40A6A2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_04E3D2EF9247599FE4758E31C40B9203" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_A32576E9D9C9CA559A268E31C40A6A2C" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_04E3D2EF9247599FE4758E31C40B9203" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_19B14C1FE44D227A15468E31C40BEB84" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_A32576E9D9C9CA559A268E31C40A6A2C" xlink:to="loc_wdc_ImpairmentOfAssetsMember_19B14C1FE44D227A15468E31C40BEB84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_0EBA41D9622EB4345FAF8E31C40BF1FD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_A32576E9D9C9CA559A268E31C40A6A2C" xlink:to="loc_us-gaap_ContractTerminationMember_0EBA41D9622EB4345FAF8E31C40BF1FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_DE218025E10602DA345A8E31C40BBDE7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_66140FDAE53752C70EC08E31C405897F" xlink:to="loc_us-gaap_RestructuringPlanAxis_DE218025E10602DA345A8E31C40BBDE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_4500BCA6552E277942428E31C40BE811_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_DE218025E10602DA345A8E31C40BBDE7" xlink:to="loc_us-gaap_RestructuringPlanDomain_4500BCA6552E277942428E31C40BE811_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_4500BCA6552E277942428E31C40BE811" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_DE218025E10602DA345A8E31C40BBDE7" xlink:to="loc_us-gaap_RestructuringPlanDomain_4500BCA6552E277942428E31C40BE811" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_977301DECA7DBA5C9C9C8E31C40B49A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_4500BCA6552E277942428E31C40BE811" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_977301DECA7DBA5C9C9C8E31C40B49A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_502D352084AB19EC422D8E31C40B45C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B12F3142386D322233378E31C40B412F" xlink:to="loc_us-gaap_RestructuringCharges_502D352084AB19EC422D8E31C40B45C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_4AB0AC49D752C339AB9F8E31C40BE7B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B12F3142386D322233378E31C40B412F" xlink:to="loc_us-gaap_RestructuringReserveRollForward_4AB0AC49D752C339AB9F8E31C40BE7B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_56153E7ED984ABD253848E31C40B0EE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_4AB0AC49D752C339AB9F8E31C40BE7B1" xlink:to="loc_us-gaap_RestructuringReserve_56153E7ED984ABD253848E31C40B0EE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_2C7BFEB96CFF165953058E31C40BF013" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_4AB0AC49D752C339AB9F8E31C40BE7B1" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_2C7BFEB96CFF165953058E31C40BF013" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_C1575A792C263FE3483C8E31C40B68AE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_4AB0AC49D752C339AB9F8E31C40BE7B1" xlink:to="loc_us-gaap_PaymentsForRestructuring_C1575A792C263FE3483C8E31C40B68AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_9E958DB794C6E85293E98E31C40BE455" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_4AB0AC49D752C339AB9F8E31C40BE7B1" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_9E958DB794C6E85293E98E31C40BE455" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges" xlink:label="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_6AB6A554EF79BC531EF28E31C40BA18B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_B12F3142386D322233378E31C40B412F" xlink:to="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_6AB6A554EF79BC531EF28E31C40BA18B" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_A381109A8A2010E0D91FAB7D683A7EC6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4333FA7AF9B53F1014E7AB7D683AB86E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A381109A8A2010E0D91FAB7D683A7EC6" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4333FA7AF9B53F1014E7AB7D683AB86E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_BF1305580F71F09BBE7AAB7D683AC8DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4333FA7AF9B53F1014E7AB7D683AB86E" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_BF1305580F71F09BBE7AAB7D683AC8DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_2878671EFAE6C7EB55EBAB7D683A1C7C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_BF1305580F71F09BBE7AAB7D683AC8DA" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_2878671EFAE6C7EB55EBAB7D683A1C7C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_2878671EFAE6C7EB55EBAB7D683A1C7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_BF1305580F71F09BBE7AAB7D683AC8DA" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_2878671EFAE6C7EB55EBAB7D683A1C7C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_55ACA352CDCF0CD50CB5AB7D683ADEE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_2878671EFAE6C7EB55EBAB7D683A1C7C" xlink:to="loc_wdc_ImpairmentOfAssetsMember_55ACA352CDCF0CD50CB5AB7D683ADEE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_B8C37B8004A958B7BB7FAB7D683AF007" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4333FA7AF9B53F1014E7AB7D683AB86E" xlink:to="loc_us-gaap_RestructuringPlanAxis_B8C37B8004A958B7BB7FAB7D683AF007" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_9B21197643C7B9BC4CC9AB7D683A4524_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_B8C37B8004A958B7BB7FAB7D683AF007" xlink:to="loc_us-gaap_RestructuringPlanDomain_9B21197643C7B9BC4CC9AB7D683A4524_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_9B21197643C7B9BC4CC9AB7D683A4524" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_B8C37B8004A958B7BB7FAB7D683AF007" xlink:to="loc_us-gaap_RestructuringPlanDomain_9B21197643C7B9BC4CC9AB7D683A4524" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_BDF6D8762DBC12F1ACD0AB7D683AD807" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_9B21197643C7B9BC4CC9AB7D683A4524" xlink:to="loc_wdc_RestructuringPlanMember_BDF6D8762DBC12F1ACD0AB7D683AD807" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_AFA53608CBF1F3B7F3D0AB7D683AFD6A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_9B21197643C7B9BC4CC9AB7D683A4524" xlink:to="loc_wdc_OdawaraMember_AFA53608CBF1F3B7F3D0AB7D683AFD6A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_9800D136DF2D8B8D70FFAB7D683A6A5C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_9B21197643C7B9BC4CC9AB7D683A4524" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_9800D136DF2D8B8D70FFAB7D683A6A5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_3FDB558FCF00769F27FFAB7D683A7FEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A381109A8A2010E0D91FAB7D683A7EC6" xlink:to="loc_us-gaap_RestructuringCharges_3FDB558FCF00769F27FFAB7D683A7FEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost_DCBAB824C65C05B81BE9AB7D683A1C3C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A381109A8A2010E0D91FAB7D683A7EC6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost_DCBAB824C65C05B81BE9AB7D683A1C3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_A0AA38C02F918AB2EB1EAB7D683AB1ED" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A381109A8A2010E0D91FAB7D683A7EC6" xlink:to="loc_us-gaap_AssetImpairmentCharges_A0AA38C02F918AB2EB1EAB7D683AB1ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostsAndAssetImpairmentCharges" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_48571239DAED93BF3777AB7D683A207D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A381109A8A2010E0D91FAB7D683A7EC6" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_48571239DAED93BF3777AB7D683A207D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesOdawaraPlantClosureDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_0FB369CFC430C5D7E5ACB0B6200CE545" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C42DB89A3370CC626AC2B0B6200BCC0E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0FB369CFC430C5D7E5ACB0B6200CE545" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C42DB89A3370CC626AC2B0B6200BCC0E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_CF2D73B57CD4D12CB5C9B0B6200CB5A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C42DB89A3370CC626AC2B0B6200BCC0E" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_CF2D73B57CD4D12CB5C9B0B6200CB5A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_484648B5B443AFE82140B0B6200C52DA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_CF2D73B57CD4D12CB5C9B0B6200CB5A9" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_484648B5B443AFE82140B0B6200C52DA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_484648B5B443AFE82140B0B6200C52DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_CF2D73B57CD4D12CB5C9B0B6200CB5A9" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_484648B5B443AFE82140B0B6200C52DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_B9F893827FC65A23DFEAB0B6200CA127" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_484648B5B443AFE82140B0B6200C52DA" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_B9F893827FC65A23DFEAB0B6200CA127" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_A6CEC40333AB6204F1A0B0B6200C62E6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_484648B5B443AFE82140B0B6200C52DA" xlink:to="loc_wdc_ImpairmentOfAssetsMember_A6CEC40333AB6204F1A0B0B6200C62E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_EE6494C8EFBA98BD2511B0B6200CD7F2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_484648B5B443AFE82140B0B6200C52DA" xlink:to="loc_us-gaap_ContractTerminationMember_EE6494C8EFBA98BD2511B0B6200CD7F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_597467C8D2340D1FD01CB0B6200C8118" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_C42DB89A3370CC626AC2B0B6200BCC0E" xlink:to="loc_us-gaap_RestructuringPlanAxis_597467C8D2340D1FD01CB0B6200C8118" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_55B9A621D83CB99FADAAB0B6200CAB3A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_597467C8D2340D1FD01CB0B6200C8118" xlink:to="loc_us-gaap_RestructuringPlanDomain_55B9A621D83CB99FADAAB0B6200CAB3A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_55B9A621D83CB99FADAAB0B6200CAB3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_597467C8D2340D1FD01CB0B6200C8118" xlink:to="loc_us-gaap_RestructuringPlanDomain_55B9A621D83CB99FADAAB0B6200CAB3A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_76FEFC9CD2B804E56719B0B6200C8503" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_55B9A621D83CB99FADAAB0B6200CAB3A" xlink:to="loc_wdc_OdawaraMember_76FEFC9CD2B804E56719B0B6200C8503" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_91877193FE625FD5A4C7B0B6200CD594" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0FB369CFC430C5D7E5ACB0B6200CE545" xlink:to="loc_us-gaap_RestructuringCharges_91877193FE625FD5A4C7B0B6200CD594" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_0ED89C7BC12A955AF84EB0B6200CA60E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0FB369CFC430C5D7E5ACB0B6200CE545" xlink:to="loc_us-gaap_RestructuringReserveRollForward_0ED89C7BC12A955AF84EB0B6200CA60E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_CD62D482220A8E35C56EB0B6200C8D83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_0ED89C7BC12A955AF84EB0B6200CA60E" xlink:to="loc_us-gaap_RestructuringReserve_CD62D482220A8E35C56EB0B6200C8D83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_0F085C1DA2F216BB7AF8B0B6200C2BEB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_0ED89C7BC12A955AF84EB0B6200CA60E" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_0F085C1DA2F216BB7AF8B0B6200C2BEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_C1922789846F69498B29B0B6200DD8EA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_0ED89C7BC12A955AF84EB0B6200CA60E" xlink:to="loc_us-gaap_PaymentsForRestructuring_C1922789846F69498B29B0B6200DD8EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_A5681F0A37A389A7B810B0B6200D9CCF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_0ED89C7BC12A955AF84EB0B6200CA60E" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_A5681F0A37A389A7B810B0B6200D9CCF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges" xlink:label="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_C15820A80D4CE864B63EB0B6200D4DA4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0FB369CFC430C5D7E5ACB0B6200CE545" xlink:to="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_C15820A80D4CE864B63EB0B6200D4DA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_E6D04DD53120B1389812B0B6200D34DA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_0FB369CFC430C5D7E5ACB0B6200CE545" xlink:to="loc_us-gaap_AssetImpairmentCharges_E6D04DD53120B1389812B0B6200D34DA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="extended">
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SeveranceAndOtherChargesLineItems" xlink:label="loc_wdc_SeveranceAndOtherChargesLineItems_E03E0F5535145821EE13B0B5B52EF832" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_84C21E4CD0B360FA9E95B0B5B52D0B13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SeveranceAndOtherChargesLineItems_E03E0F5535145821EE13B0B5B52EF832" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_84C21E4CD0B360FA9E95B0B5B52D0B13" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_F09AB40D0AAF006B6925B0B5B52D2762" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_84C21E4CD0B360FA9E95B0B5B52D0B13" xlink:to="loc_us-gaap_RestructuringPlanAxis_F09AB40D0AAF006B6925B0B5B52D2762" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3E156D1227DD1BB052FFB0B5B52D1597_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_F09AB40D0AAF006B6925B0B5B52D2762" xlink:to="loc_us-gaap_RestructuringPlanDomain_3E156D1227DD1BB052FFB0B5B52D1597_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3E156D1227DD1BB052FFB0B5B52D1597" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_F09AB40D0AAF006B6925B0B5B52D2762" xlink:to="loc_us-gaap_RestructuringPlanDomain_3E156D1227DD1BB052FFB0B5B52D1597" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_DA655C99CD772F755974B0B5B52D9503" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3E156D1227DD1BB052FFB0B5B52D1597" xlink:to="loc_wdc_RestructuringPlanMember_DA655C99CD772F755974B0B5B52D9503" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_72236E9FC54D909FCEAAB0B5B52DB49E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_84C21E4CD0B360FA9E95B0B5B52D0B13" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_72236E9FC54D909FCEAAB0B5B52DB49E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_BE6A911751548CEB1D3BB0B5B52D1FAF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_72236E9FC54D909FCEAAB0B5B52DB49E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_BE6A911751548CEB1D3BB0B5B52D1FAF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_BE6A911751548CEB1D3BB0B5B52D1FAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_72236E9FC54D909FCEAAB0B5B52DB49E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_BE6A911751548CEB1D3BB0B5B52D1FAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_B0AF5888467E5679F21CB0B5B52D44E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_BE6A911751548CEB1D3BB0B5B52D1FAF" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_B0AF5888467E5679F21CB0B5B52D44E4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_D1ABD77ED75747D2FCE3B0B5B52D2D4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_BE6A911751548CEB1D3BB0B5B52D1FAF" xlink:to="loc_wdc_ImpairmentOfAssetsMember_D1ABD77ED75747D2FCE3B0B5B52D2D4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_3270F545D6DEEAF13A9FB0B5B52EF105" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_BE6A911751548CEB1D3BB0B5B52D1FAF" xlink:to="loc_us-gaap_ContractTerminationMember_3270F545D6DEEAF13A9FB0B5B52EF105" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_95CA0C7E6AEFC6B3C675B0B5B52EE62F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SeveranceAndOtherChargesLineItems_E03E0F5535145821EE13B0B5B52EF832" xlink:to="loc_us-gaap_RestructuringCharges_95CA0C7E6AEFC6B3C675B0B5B52EE62F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_689386DCBD013E392BB2B0B5B52EFCA5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SeveranceAndOtherChargesLineItems_E03E0F5535145821EE13B0B5B52EF832" xlink:to="loc_us-gaap_RestructuringReserveRollForward_689386DCBD013E392BB2B0B5B52EFCA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_67B35B94CC69A35DA1B4B0B5B52E69C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_689386DCBD013E392BB2B0B5B52EFCA5" xlink:to="loc_us-gaap_RestructuringReserve_67B35B94CC69A35DA1B4B0B5B52E69C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_130FF37371F9F650BF61B0B5B52EF826" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_689386DCBD013E392BB2B0B5B52EFCA5" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_130FF37371F9F650BF61B0B5B52EF826" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_7CD3AD73F2BC6F7C03CEB0B5B52EF656" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_689386DCBD013E392BB2B0B5B52EFCA5" xlink:to="loc_us-gaap_PaymentsForRestructuring_7CD3AD73F2BC6F7C03CEB0B5B52EF656" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_86C61702EF65F72E6916B0B5B52EB3B9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_689386DCBD013E392BB2B0B5B52EFCA5" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_86C61702EF65F72E6916B0B5B52EB3B9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges" xlink:label="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_8C3976913A81434A49F2B0B5B52E3E89" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SeveranceAndOtherChargesLineItems_E03E0F5535145821EE13B0B5B52EF832" xlink:to="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_8C3976913A81434A49F2B0B5B52E3E89" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanTextualsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_D8D35D92EDC8641287531F0B9033ED95" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_8AE559BFD1E160739A8C1F0B9032781F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D8D35D92EDC8641287531F0B9033ED95" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_8AE559BFD1E160739A8C1F0B9032781F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_67DB97D53F7ACF758D591F0B903285EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_8AE559BFD1E160739A8C1F0B9032781F" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_67DB97D53F7ACF758D591F0B903285EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_D2FAEC835FF10A76825B1F0B90322FA1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_67DB97D53F7ACF758D591F0B903285EA" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_D2FAEC835FF10A76825B1F0B90322FA1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_D2FAEC835FF10A76825B1F0B90322FA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_67DB97D53F7ACF758D591F0B903285EA" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_D2FAEC835FF10A76825B1F0B90322FA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_7EAA99F75B09A076D7A51F0B9032FC18" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_8AE559BFD1E160739A8C1F0B9032781F" xlink:to="loc_us-gaap_RestructuringPlanAxis_7EAA99F75B09A076D7A51F0B9032FC18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_1FC2E84B6C2E112061AD1F0B90322F32_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_7EAA99F75B09A076D7A51F0B9032FC18" xlink:to="loc_us-gaap_RestructuringPlanDomain_1FC2E84B6C2E112061AD1F0B90322F32_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_1FC2E84B6C2E112061AD1F0B90322F32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_7EAA99F75B09A076D7A51F0B9032FC18" xlink:to="loc_us-gaap_RestructuringPlanDomain_1FC2E84B6C2E112061AD1F0B90322F32" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_321EBA80059248A60B421F0B90325BA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_1FC2E84B6C2E112061AD1F0B90322F32" xlink:to="loc_wdc_RestructuringPlanMember_321EBA80059248A60B421F0B90325BA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_C11E36CD725249E8FF651F0B9032ED53" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_8AE559BFD1E160739A8C1F0B9032781F" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_C11E36CD725249E8FF651F0B9032ED53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D9AA7CD015BCA139045D1F0B903391B6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_C11E36CD725249E8FF651F0B9032ED53" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D9AA7CD015BCA139045D1F0B903391B6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D9AA7CD015BCA139045D1F0B903391B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_C11E36CD725249E8FF651F0B9032ED53" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D9AA7CD015BCA139045D1F0B903391B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_6D2FAFDBBA1FD6B2332F1F0B903311BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D9AA7CD015BCA139045D1F0B903391B6" xlink:to="loc_us-gaap_CostOfSalesMember_6D2FAFDBBA1FD6B2332F1F0B903311BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveAcceleratedDepreciation" xlink:label="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_086E9424E6539EDCC1B31F0B903396C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D8D35D92EDC8641287531F0B9033ED95" xlink:to="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_086E9424E6539EDCC1B31F0B903396C4" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_18E63A9A72EC1D2001A21F0B8D1F1B76" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_73DE1BD42A59BFE00BB91F0B8D1A72CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_18E63A9A72EC1D2001A21F0B8D1F1B76" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_73DE1BD42A59BFE00BB91F0B8D1A72CF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_3389C41DDDEBE27B1FD71F0B8D1F2FB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_73DE1BD42A59BFE00BB91F0B8D1A72CF" xlink:to="loc_us-gaap_RestructuringPlanAxis_3389C41DDDEBE27B1FD71F0B8D1F2FB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_7B348CE712C77A0D467E1F0B8D1F78F4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_3389C41DDDEBE27B1FD71F0B8D1F2FB7" xlink:to="loc_us-gaap_RestructuringPlanDomain_7B348CE712C77A0D467E1F0B8D1F78F4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_7B348CE712C77A0D467E1F0B8D1F78F4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_3389C41DDDEBE27B1FD71F0B8D1F2FB7" xlink:to="loc_us-gaap_RestructuringPlanDomain_7B348CE712C77A0D467E1F0B8D1F78F4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_D5ED9BF994BBC86C82731F0B8D1F65FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_7B348CE712C77A0D467E1F0B8D1F78F4" xlink:to="loc_wdc_RestructuringPlanMember_D5ED9BF994BBC86C82731F0B8D1F65FF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_AB0CF9F2FB2E136AECE21F0B8D1F385F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_7B348CE712C77A0D467E1F0B8D1F78F4" xlink:to="loc_wdc_OdawaraMember_AB0CF9F2FB2E136AECE21F0B8D1F385F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_E16E2D9FB9DA80A7FC541F0B8D1FC466" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_7B348CE712C77A0D467E1F0B8D1F78F4" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_E16E2D9FB9DA80A7FC541F0B8D1FC466" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:label="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_745E5D2F9BAE65DB3D561F0B8D1F55C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_18E63A9A72EC1D2001A21F0B8D1F1B76" xlink:to="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_745E5D2F9BAE65DB3D561F0B8D1F55C6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementPolicies" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_0563A29C1EF5AE336C3D1F0B8F8F8613" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_E95B7CF0A2EEB24251AE1F0B8F8E5681" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_0563A29C1EF5AE336C3D1F0B8F8F8613" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_E95B7CF0A2EEB24251AE1F0B8F8E5681" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92C6A587B231941CC6881F0B8F8F8491" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_E95B7CF0A2EEB24251AE1F0B8F8E5681" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92C6A587B231941CC6881F0B8F8F8491" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_096387313CB85D1FA35A1F0B8F8F5838_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92C6A587B231941CC6881F0B8F8F8491" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_096387313CB85D1FA35A1F0B8F8F5838_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_096387313CB85D1FA35A1F0B8F8F5838" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_92C6A587B231941CC6881F0B8F8F8491" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_096387313CB85D1FA35A1F0B8F8F5838" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_A4C97675B23CEB5F94F51F0B8F8FCFD5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_E95B7CF0A2EEB24251AE1F0B8F8E5681" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_A4C97675B23CEB5F94F51F0B8F8FCFD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_F30A795B47D37A030AE21F0B8F8F2C1F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_A4C97675B23CEB5F94F51F0B8F8FCFD5" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_F30A795B47D37A030AE21F0B8F8F2C1F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_F30A795B47D37A030AE21F0B8F8F2C1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_A4C97675B23CEB5F94F51F0B8F8FCFD5" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_F30A795B47D37A030AE21F0B8F8F2C1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_76019058045A473648351F0B8F8FB353" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_E95B7CF0A2EEB24251AE1F0B8F8E5681" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_76019058045A473648351F0B8F8FB353" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_17B7ABD969435EA656F41F0B8F8F5FD5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_76019058045A473648351F0B8F8FB353" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_17B7ABD969435EA656F41F0B8F8F5FD5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_17B7ABD969435EA656F41F0B8F8F5FD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_76019058045A473648351F0B8F8FB353" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_17B7ABD969435EA656F41F0B8F8F5FD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareholdersEquityClassAxis" xlink:label="loc_us-gaap_ShareholdersEquityClassAxis_A907DBB146736674FCF41F0B8F8FAA4B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_E95B7CF0A2EEB24251AE1F0B8F8E5681" xlink:to="loc_us-gaap_ShareholdersEquityClassAxis_A907DBB146736674FCF41F0B8F8FAA4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain" xlink:label="loc_us-gaap_FairValueByShareholdersEquityClassDomain_720972ADCDFD19969AA61F0B8F8F453D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareholdersEquityClassAxis_A907DBB146736674FCF41F0B8F8FAA4B" xlink:to="loc_us-gaap_FairValueByShareholdersEquityClassDomain_720972ADCDFD19969AA61F0B8F8F453D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain" xlink:label="loc_us-gaap_FairValueByShareholdersEquityClassDomain_720972ADCDFD19969AA61F0B8F8F453D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareholdersEquityClassAxis_A907DBB146736674FCF41F0B8F8FAA4B" xlink:to="loc_us-gaap_FairValueByShareholdersEquityClassDomain_720972ADCDFD19969AA61F0B8F8F453D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7899504149E7EA6631E81F0B8F8FE87D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_E95B7CF0A2EEB24251AE1F0B8F8E5681" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7899504149E7EA6631E81F0B8F8FE87D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D0C90F248FB7361CDFD41F0B8F8F3DD0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7899504149E7EA6631E81F0B8F8FE87D" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D0C90F248FB7361CDFD41F0B8F8F3DD0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D0C90F248FB7361CDFD41F0B8F8F3DD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7899504149E7EA6631E81F0B8F8FE87D" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D0C90F248FB7361CDFD41F0B8F8F3DD0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:label="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_0CF9EEADC6001DA168931F0B8F8FF1DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_0563A29C1EF5AE336C3D1F0B8F8F8613" xlink:to="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_0CF9EEADC6001DA168931F0B8F8FF1DA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAvailableForSaleSecuritiesMaturitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsCashAndMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsLineItems" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems_18246ECB025C9155A616B026359E13CF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_1AD25EDAC4EA51A6AF14B026359D4E8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_18246ECB025C9155A616B026359E13CF" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_1AD25EDAC4EA51A6AF14B026359D4E8B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_9A56150209E06B34E3DBB026359EAD14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_1AD25EDAC4EA51A6AF14B026359D4E8B" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_9A56150209E06B34E3DBB026359EAD14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_4C8293E403969C1B268EB026359E3352_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_9A56150209E06B34E3DBB026359EAD14" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_4C8293E403969C1B268EB026359E3352_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_4C8293E403969C1B268EB026359E3352" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_9A56150209E06B34E3DBB026359EAD14" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_4C8293E403969C1B268EB026359E3352" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_A83A6B33ECDD32AF0C3EB026359F1FE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_18246ECB025C9155A616B026359E13CF" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_A83A6B33ECDD32AF0C3EB026359F1FE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketableSecuritiesCurrent" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_1F08540005498C38F64DB026359FCE17" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_18246ECB025C9155A616B026359E13CF" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_1F08540005498C38F64DB026359FCE17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketableSecuritiesNoncurrent" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_FAC43E8D7616713D4FA9B026359F2EBC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_18246ECB025C9155A616B026359E13CF" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_FAC43E8D7616713D4FA9B026359F2EBC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TotalCashAndCashEquivalentsAndMarketableSecurities" xlink:label="loc_wdc_TotalCashAndCashEquivalentsAndMarketableSecurities_50203B2B4608C21ED74EB026359F4144" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_18246ECB025C9155A616B026359E13CF" xlink:to="loc_wdc_TotalCashAndCashEquivalentsAndMarketableSecurities_50203B2B4608C21ED74EB026359F4144" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsDebtInstrumentFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_C3678DEC16384D068709B0263E976E89" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_D8C199246455CD5DE099B0263E92973D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C3678DEC16384D068709B0263E976E89" xlink:to="loc_us-gaap_DebtInstrumentTable_D8C199246455CD5DE099B0263E92973D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_81FFF2DB90316D386A8CB0263E92E77E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D8C199246455CD5DE099B0263E92973D" xlink:to="loc_us-gaap_InvestmentTypeAxis_81FFF2DB90316D386A8CB0263E92E77E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_81FFF2DB90316D386A8CB0263E92E77E" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_81FFF2DB90316D386A8CB0263E92E77E" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_CE32B688725B5681DBB6B0263E936227" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4" xlink:to="loc_us-gaap_CertificatesOfDepositMember_CE32B688725B5681DBB6B0263E936227" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_1A0223FD9FB5B5B73AC2B0263E93CD7F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_1A0223FD9FB5B5B73AC2B0263E93CD7F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_CorporatenoteandbondsecuritiesMember" xlink:label="loc_wdc_CorporatenoteandbondsecuritiesMember_B17A724A522DCAC16A02B0263E946475" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4" xlink:to="loc_wdc_CorporatenoteandbondsecuritiesMember_B17A724A522DCAC16A02B0263E946475" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_CAD0A63246BBF529282BB0263E94E128" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_CAD0A63246BBF529282BB0263E94E128" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_MunicipalNotesAndBondsMember" xlink:label="loc_wdc_MunicipalNotesAndBondsMember_CC722B7343D3A40A95DEB0263E94191F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_BB3487B33E90C1FA483CB0263E93EAA4" xlink:to="loc_wdc_MunicipalNotesAndBondsMember_CC722B7343D3A40A95DEB0263E94191F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_42CBB675E6B904A182F4B0263E9459FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D8C199246455CD5DE099B0263E92973D" xlink:to="loc_us-gaap_DebtInstrumentAxis_42CBB675E6B904A182F4B0263E9459FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_42CBB675E6B904A182F4B0263E9459FE" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_42CBB675E6B904A182F4B0263E9459FE" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_5467CE8090185E0873C0B0263E9542BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_SecuredNotesMember_5467CE8090185E0873C0B0263E9542BB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_CBED9A450B98B5B59754B0263E95FF26" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_UnsecuredNotesMember_CBED9A450B98B5B59754B0263E95FF26" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_D77E8AC0EAD12FC8E527B0263E956BF6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_TermLoanAMember_D77E8AC0EAD12FC8E527B0263E956BF6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_D6AA35E434FBC0EECF6EB0263E9574C5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_U.S.TermLoanBMember_D6AA35E434FBC0EECF6EB0263E9574C5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanB1Member" xlink:label="loc_wdc_U.S.TermLoanB1Member_40F50C922A26C8FA18A4B0263E967797" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_U.S.TermLoanB1Member_40F50C922A26C8FA18A4B0263E967797" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_2E8131EB99F92A458670B0263E961313" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_U.S.TermLoanB2Member_2E8131EB99F92A458670B0263E961313" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_1027B81EAE1BD2003B91B0263E96ADA4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_EuroTermLoanBMember_1027B81EAE1BD2003B91B0263E96ADA4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanB1Member" xlink:label="loc_wdc_EuroTermLoanB1Member_7DC464ED4C0DAC8DF391B0263E9637BE" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_EuroTermLoanB1Member_7DC464ED4C0DAC8DF391B0263E9637BE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_F3CA4EF853A5DAB965FEB0263E969FF5" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_EuroTermLoanB2Member_F3CA4EF853A5DAB965FEB0263E969FF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_5A681BFCA50A917A76DDB0263E96F1BF" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_us-gaap_BridgeLoanMember_5A681BFCA50A917A76DDB0263E96F1BF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_AE220C7037024CDC0FD0B0263E969C2F" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_AE220C7037024CDC0FD0B0263E969C2F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_69B1C7AE6EDC9949269BB0263E974460" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_69B1C7AE6EDC9949269BB0263E974460" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DebtCostMember" xlink:label="loc_wdc_DebtCostMember_CAAE55147B0A18F591AEB0263E975488" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_2B7404FA93907417DDD1B0263E94CFFF" xlink:to="loc_wdc_DebtCostMember_CAAE55147B0A18F591AEB0263E975488" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_59355D6E16B3AE9EBBE7B0263E97B1A3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D8C199246455CD5DE099B0263E92973D" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_59355D6E16B3AE9EBBE7B0263E97B1A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D6155CD58621CDBB6179B0263E970636_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_59355D6E16B3AE9EBBE7B0263E97B1A3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D6155CD58621CDBB6179B0263E970636_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D6155CD58621CDBB6179B0263E970636" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_59355D6E16B3AE9EBBE7B0263E97B1A3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D6155CD58621CDBB6179B0263E970636" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_E22186B92B43DF4C76C2B0263E970BF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_D6155CD58621CDBB6179B0263E970636" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_E22186B92B43DF4C76C2B0263E970BF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_1DC55488CFF4CD98D828B0263E97A822" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C3678DEC16384D068709B0263E976E89" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_1DC55488CFF4CD98D828B0263E97A822" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_9B88449B81289901A2DDB0263E9744A3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C3678DEC16384D068709B0263E976E89" xlink:to="loc_us-gaap_LongTermDebt_9B88449B81289901A2DDB0263E9744A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_7D866CFA0AAE2496F5D4B0263E97A281" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C3678DEC16384D068709B0263E976E89" xlink:to="loc_us-gaap_LongTermDebtFairValue_7D866CFA0AAE2496F5D4B0263E97A281" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_85C762C1CC56A11901F5B02DF63F6097" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C3678DEC16384D068709B0263E976E89" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_85C762C1CC56A11901F5B02DF63F6097" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F8405D9D4503FFE576A28D8675248AF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F8405D9D4503FFE576A28D8675248AF1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_2B86BA53BC3E0D0FB1388D8675256B7A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F8405D9D4503FFE576A28D8675248AF1" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_2B86BA53BC3E0D0FB1388D8675256B7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_E6D8AA585F146029480E8D86752545EA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2B86BA53BC3E0D0FB1388D8675256B7A" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_E6D8AA585F146029480E8D86752545EA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_E6D8AA585F146029480E8D86752545EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2B86BA53BC3E0D0FB1388D8675256B7A" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_E6D8AA585F146029480E8D86752545EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_B9435DD9B0F6DE12CB988D8675253DDF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_E6D8AA585F146029480E8D86752545EA" xlink:to="loc_us-gaap_CallOptionMember_B9435DD9B0F6DE12CB988D8675253DDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeOptionMember" xlink:label="loc_us-gaap_ForeignExchangeOptionMember_72646D3A0E110E900E6F8D867525A658" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_E6D8AA585F146029480E8D86752545EA" xlink:to="loc_us-gaap_ForeignExchangeOptionMember_72646D3A0E110E900E6F8D867525A658" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A59C40159233AEA714CD8D8675257C2F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F8405D9D4503FFE576A28D8675248AF1" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A59C40159233AEA714CD8D8675257C2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_4607D7E64909EB066A028D8675268050_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A59C40159233AEA714CD8D8675257C2F" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4607D7E64909EB066A028D8675268050_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_4607D7E64909EB066A028D8675268050" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A59C40159233AEA714CD8D8675257C2F" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4607D7E64909EB066A028D8675268050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_C6B766C7862A4E7984DE8D867526EE76" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_4607D7E64909EB066A028D8675268050" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_C6B766C7862A4E7984DE8D867526EE76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_719EFF75CA7F716C37BA8D867526B418" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F8405D9D4503FFE576A28D8675248AF1" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_719EFF75CA7F716C37BA8D867526B418" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_719EFF75CA7F716C37BA8D867526B418" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_719EFF75CA7F716C37BA8D867526B418" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_ADA3A97FB5D6E8E0C18E8D867526B508" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_MoneyMarketFundsMember_ADA3A97FB5D6E8E0C18E8D867526B508" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_CorporatenoteandbondsecuritiesMember" xlink:label="loc_wdc_CorporatenoteandbondsecuritiesMember_4CE6433417D20BC5A0CC8D8675262524" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_wdc_CorporatenoteandbondsecuritiesMember_4CE6433417D20BC5A0CC8D8675262524" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_03064AF82A8E07C685C78D8675266728" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_03064AF82A8E07C685C78D8675266728" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_MunicipalNotesAndBondsMember" xlink:label="loc_wdc_MunicipalNotesAndBondsMember_0567E2E46BBABF2332488D8675262A3F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_wdc_MunicipalNotesAndBondsMember_0567E2E46BBABF2332488D8675262A3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_795D679FB61D9CA222EB8D8730508579" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_EquitySecuritiesMember_795D679FB61D9CA222EB8D8730508579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_4A0733601C3AC60E6B3D8D8675266C6D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_4A0733601C3AC60E6B3D8D8675266C6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_A498BF88D470B1C1228F8D867526F502" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_A498BF88D470B1C1228F8D867526F502" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_5BBFF0B0406BF6764AAD8D867526A596" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_5BBFF0B0406BF6764AAD8D867526A596" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_8E8BBD7691669C62CEC38D8675269375" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_CommercialPaperMember_8E8BBD7691669C62CEC38D8675269375" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_89FF2D4CBE041E57B7488D86752657B7" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_CertificatesOfDepositMember_89FF2D4CBE041E57B7488D86752657B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_4025CC8CA5B84F6AD7298D867526EF50" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_ForeignExchangeContractMember_4025CC8CA5B84F6AD7298D867526EF50" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_7CC01CABCD2DEC5228CE8D867526BEAD" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_wdc_TermLoanAMember_7CC01CABCD2DEC5228CE8D867526BEAD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_HedgingActivitiesMember" xlink:label="loc_wdc_HedgingActivitiesMember_4DD4A664256EE8C3764A8D86752794A0" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_wdc_HedgingActivitiesMember_4DD4A664256EE8C3764A8D86752794A0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_D00C571106147C984B9E8D867527D933" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_wdc_U.S.TermLoanBMember_D00C571106147C984B9E8D867527D933" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_662CA3A4D8D3E69850088D86752700BE" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_wdc_EuroTermLoanBMember_662CA3A4D8D3E69850088D86752700BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_8897B5DF7567E97D3FB38D867527EF14" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_us-gaap_BridgeLoanMember_8897B5DF7567E97D3FB38D867527EF14" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_NoteConversionOptionsMember" xlink:label="loc_wdc_NoteConversionOptionsMember_84A725CCBBB618D17C6C8D867527E222" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_2C2E5350ADB9AC6CD6908D8675263587" xlink:to="loc_wdc_NoteConversionOptionsMember_84A725CCBBB618D17C6C8D867527E222" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_497EED75709629FC1EB08D867527BA98" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F8405D9D4503FFE576A28D8675248AF1" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_497EED75709629FC1EB08D867527BA98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B61AC5D638B552D938D78D867527E92A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_497EED75709629FC1EB08D867527BA98" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B61AC5D638B552D938D78D867527E92A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B61AC5D638B552D938D78D867527E92A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_497EED75709629FC1EB08D867527BA98" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B61AC5D638B552D938D78D867527E92A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_2BA496B95CB3B8E7AC698D867527266A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B61AC5D638B552D938D78D867527E92A" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_2BA496B95CB3B8E7AC698D867527266A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_B352BC725802F2B64BB78D867527C1FB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B61AC5D638B552D938D78D867527E92A" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_B352BC725802F2B64BB78D867527C1FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_AEFD18983F2E312337A28D867527882A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B61AC5D638B552D938D78D867527E92A" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_AEFD18983F2E312337A28D867527882A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_43153E40590F4556C6F28D867527582A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_AssetsAbstract_43153E40590F4556C6F28D867527582A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_4714C52A6D6FC50C1C328D867527EA8F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_43153E40590F4556C6F28D867527582A" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_4714C52A6D6FC50C1C328D867527EA8F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ShorttermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_ShorttermInvestmentsFairValueDisclosure_F1C5CE423799B7BF99758D867527F09C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_43153E40590F4556C6F28D867527582A" xlink:to="loc_wdc_ShorttermInvestmentsFairValueDisclosure_F1C5CE423799B7BF99758D867527F09C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_LongtermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_LongtermInvestmentsFairValueDisclosure_0A397790C1B01627D4A28D86752700EA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_43153E40590F4556C6F28D867527582A" xlink:to="loc_wdc_LongtermInvestmentsFairValueDisclosure_0A397790C1B01627D4A28D86752700EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_12AD393072C6831C52E58D86752786AB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_43153E40590F4556C6F28D867527582A" xlink:to="loc_us-gaap_DerivativeAssets_12AD393072C6831C52E58D86752786AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_CD4655F6CBD74E2D2FF58D86752804A2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_43153E40590F4556C6F28D867527582A" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_CD4655F6CBD74E2D2FF58D86752804A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_A6068841CFB469ACE0E08D867528B35B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_LiabilitiesAbstract_A6068841CFB469ACE0E08D867528B35B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_B39001EF28C7B20031B88D8675285BDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A6068841CFB469ACE0E08D867528B35B" xlink:to="loc_us-gaap_DerivativeLiabilities_B39001EF28C7B20031B88D8675285BDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_7006E7214CCC40D962E78D86752803FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A6068841CFB469ACE0E08D867528B35B" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_7006E7214CCC40D962E78D86752803FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount" xlink:label="loc_us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount_03560FFC55ED5D57DB3D8D8675288AFA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount_03560FFC55ED5D57DB3D8D8675288AFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount" xlink:label="loc_us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount_14F19E7C108F0BB7EF078D867528385E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount_14F19E7C108F0BB7EF078D867528385E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsLevel1ToLevel2TransfersDescription" xlink:label="loc_us-gaap_FairValueAssetsLevel1ToLevel2TransfersDescription_97878AD929F8EF2BFA548D8675280213" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueAssetsLevel1ToLevel2TransfersDescription_97878AD929F8EF2BFA548D8675280213" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsLevel2ToLevel1TransfersDescription" xlink:label="loc_us-gaap_FairValueAssetsLevel2ToLevel1TransfersDescription_E1C91812D51A42DE67358D867528FB80" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueAssetsLevel2ToLevel1TransfersDescription_E1C91812D51A42DE67358D867528FB80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersDescription" xlink:label="loc_us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersDescription_B4E905B46A1A61B2B6258D8675288051" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersDescription_B4E905B46A1A61B2B6258D8675288051" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersDescription" xlink:label="loc_us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersDescription_11B1E8F022CC459709CC8D867528FBF6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersDescription_11B1E8F022CC459709CC8D867528FBF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_164C1E2AE37AB09CDB5A8D8675288185" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_437B4F538D74A46F883F8D867527315E" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_164C1E2AE37AB09CDB5A8D8675288185" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsLevelThreeAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_789F9ED6563D926E8CCFBAC417D3F12C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_62C6F2FA7022F779534ABAC417D2F188" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_789F9ED6563D926E8CCFBAC417D3F12C" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_62C6F2FA7022F779534ABAC417D2F188" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_64E6FCA84AB382C33EE1BAC417D2F91A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_62C6F2FA7022F779534ABAC417D2F188" xlink:to="loc_us-gaap_AwardDateAxis_64E6FCA84AB382C33EE1BAC417D2F91A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_3370D591665DD5DCE56EBAC417D26C03_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_64E6FCA84AB382C33EE1BAC417D2F91A" xlink:to="loc_us-gaap_AwardDateDomain_3370D591665DD5DCE56EBAC417D26C03_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_3370D591665DD5DCE56EBAC417D26C03" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_64E6FCA84AB382C33EE1BAC417D2F91A" xlink:to="loc_us-gaap_AwardDateDomain_3370D591665DD5DCE56EBAC417D26C03" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_A2017CallOptionsMember" xlink:label="loc_wdc_A2017CallOptionsMember_12A0B62E5B268E7FAA33BAC417D3584E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_3370D591665DD5DCE56EBAC417D26C03" xlink:to="loc_wdc_A2017CallOptionsMember_12A0B62E5B268E7FAA33BAC417D3584E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_A2020CallOptionsMember" xlink:label="loc_wdc_A2020CallOptionsMember_E05AD9E94F97D9DD4B5FBAC417D3C321" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_3370D591665DD5DCE56EBAC417D26C03" xlink:to="loc_wdc_A2020CallOptionsMember_E05AD9E94F97D9DD4B5FBAC417D3C321" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_B50B311F33E772044CA9BAC417D331CE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_62C6F2FA7022F779534ABAC417D2F188" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_B50B311F33E772044CA9BAC417D331CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4D27097F89FA6AD145C1BAC417D38FB1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_B50B311F33E772044CA9BAC417D331CE" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4D27097F89FA6AD145C1BAC417D38FB1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4D27097F89FA6AD145C1BAC417D38FB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_B50B311F33E772044CA9BAC417D331CE" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4D27097F89FA6AD145C1BAC417D38FB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_66EEE6D1C985F4335F07BAC417D391F3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_62C6F2FA7022F779534ABAC417D2F188" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_66EEE6D1C985F4335F07BAC417D391F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_63F76938A18ED9B87903BAC417D37CF7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_66EEE6D1C985F4335F07BAC417D391F3" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_63F76938A18ED9B87903BAC417D37CF7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_63F76938A18ED9B87903BAC417D37CF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_66EEE6D1C985F4335F07BAC417D391F3" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_63F76938A18ED9B87903BAC417D37CF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLocationAxis" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_121C4CBF80AA7A50FB98BAC417D32B8E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_62C6F2FA7022F779534ABAC417D2F188" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_121C4CBF80AA7A50FB98BAC417D32B8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLocationDomain" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_8CE7B2A3A81239378025BAC417D3F12F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_121C4CBF80AA7A50FB98BAC417D32B8E" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_8CE7B2A3A81239378025BAC417D3F12F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLocationDomain" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_8CE7B2A3A81239378025BAC417D3F12F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_121C4CBF80AA7A50FB98BAC417D32B8E" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_8CE7B2A3A81239378025BAC417D3F12F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_99963CCE8CEA47EE7A68BAC417D36C9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_789F9ED6563D926E8CCFBAC417D3F12C" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_99963CCE8CEA47EE7A68BAC417D36C9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_EBCFF6D6717A841B6E4CBAC417D3DB31" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_789F9ED6563D926E8CCFBAC417D3F12C" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_EBCFF6D6717A841B6E4CBAC417D3DB31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_C7E26573FDA598969A39BAC417D34729" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_789F9ED6563D926E8CCFBAC417D3F12C" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_C7E26573FDA598969A39BAC417D34729" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_7481B144BACFE5917AE4BAC417D34484" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_789F9ED6563D926E8CCFBAC417D3F12C" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_7481B144BACFE5917AE4BAC417D34484" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsLevelThreeLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_DDDBCDAC1ACE9C3DDCC444A3DF8E1355" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_5599FD75D30D36A9AB1B44A3DF8E19E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_DDDBCDAC1ACE9C3DDCC444A3DF8E1355" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_5599FD75D30D36A9AB1B44A3DF8E19E2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_CEC4846293B4CB1013F244A3DF8E468F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_5599FD75D30D36A9AB1B44A3DF8E19E2" xlink:to="loc_us-gaap_AwardDateAxis_CEC4846293B4CB1013F244A3DF8E468F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_181AFD9AAED95987B69444A3DF8E5261_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_CEC4846293B4CB1013F244A3DF8E468F" xlink:to="loc_us-gaap_AwardDateDomain_181AFD9AAED95987B69444A3DF8E5261_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_181AFD9AAED95987B69444A3DF8E5261" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_CEC4846293B4CB1013F244A3DF8E468F" xlink:to="loc_us-gaap_AwardDateDomain_181AFD9AAED95987B69444A3DF8E5261" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_A2017ExchangeOptionMember" xlink:label="loc_wdc_A2017ExchangeOptionMember_49FED534B68AA0E8F96144A3DF8E3623" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_181AFD9AAED95987B69444A3DF8E5261" xlink:to="loc_wdc_A2017ExchangeOptionMember_49FED534B68AA0E8F96144A3DF8E3623" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_A2017CallOptionsMember" xlink:label="loc_wdc_A2017CallOptionsMember_644F499751FBF823CCF444A3DF8E45B9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_181AFD9AAED95987B69444A3DF8E5261" xlink:to="loc_wdc_A2017CallOptionsMember_644F499751FBF823CCF444A3DF8E45B9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_A2020ExchangeOptionMember" xlink:label="loc_wdc_A2020ExchangeOptionMember_C9F10CED0A5C7A0C1DE844A3DF8E8DBD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_181AFD9AAED95987B69444A3DF8E5261" xlink:to="loc_wdc_A2020ExchangeOptionMember_C9F10CED0A5C7A0C1DE844A3DF8E8DBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_F8D708D41F4DBE51D90D44A3DF8F9874" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_DDDBCDAC1ACE9C3DDCC444A3DF8E1355" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_F8D708D41F4DBE51D90D44A3DF8F9874" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_4FA0F66B6FF080BD881A44A3DF8F6C5B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_DDDBCDAC1ACE9C3DDCC444A3DF8E1355" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_4FA0F66B6FF080BD881A44A3DF8F6C5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_E2E87DCAB7284C57EBA344A3DF8F0ED1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_DDDBCDAC1ACE9C3DDCC444A3DF8E1355" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_E2E87DCAB7284C57EBA344A3DF8F0ED1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_188CE57CD2565086541944A3DF8FC2CE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_DDDBCDAC1ACE9C3DDCC444A3DF8E1355" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_188CE57CD2565086541944A3DF8FC2CE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_E55DD2D4CFBAB4A10E161F0B8E34A355" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_DB656975C78966A772DA1F0B8E33252A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_E55DD2D4CFBAB4A10E161F0B8E34A355" xlink:to="loc_us-gaap_StatementTable_DB656975C78966A772DA1F0B8E33252A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_A5FC4EF1ED57F15FCB711F0B8E33F0ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_DB656975C78966A772DA1F0B8E33252A" xlink:to="loc_us-gaap_TaxPeriodAxis_A5FC4EF1ED57F15FCB711F0B8E33F0ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_D479C4318A12D7CA41B41F0B8E335934_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxPeriodAxis_A5FC4EF1ED57F15FCB711F0B8E33F0ED" xlink:to="loc_us-gaap_TaxPeriodDomain_D479C4318A12D7CA41B41F0B8E335934_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_D479C4318A12D7CA41B41F0B8E335934" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxPeriodAxis_A5FC4EF1ED57F15FCB711F0B8E33F0ED" xlink:to="loc_us-gaap_TaxPeriodDomain_D479C4318A12D7CA41B41F0B8E335934" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesTaxProvisionDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20170331.xsd#wdc_IncomeTaxDisclosureLineItems" xlink:label="loc_wdc_IncomeTaxDisclosureLineItems_5561B62066744DDDD9B8BAC416582A44" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_IncomeTaxDisclosureTable" xlink:label="loc_wdc_IncomeTaxDisclosureTable_C840D859B76ECA3A24A4BAC41653FF1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_5561B62066744DDDD9B8BAC416582A44" xlink:to="loc_wdc_IncomeTaxDisclosureTable_C840D859B76ECA3A24A4BAC41653FF1F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_21E4D9C03D8F0F03B208BAC41658D8D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_C840D859B76ECA3A24A4BAC41653FF1F" xlink:to="loc_us-gaap_TaxPeriodAxis_21E4D9C03D8F0F03B208BAC41658D8D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_56F7C3D8787402E50610BAC416582D5B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxPeriodAxis_21E4D9C03D8F0F03B208BAC41658D8D4" xlink:to="loc_us-gaap_TaxPeriodDomain_56F7C3D8787402E50610BAC416582D5B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_56F7C3D8787402E50610BAC416582D5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxPeriodAxis_21E4D9C03D8F0F03B208BAC41658D8D4" xlink:to="loc_us-gaap_TaxPeriodDomain_56F7C3D8787402E50610BAC416582D5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97C68CC11A4FF3691BFBBAC41658A8C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_5561B62066744DDDD9B8BAC416582A44" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_97C68CC11A4FF3691BFBBAC41658A8C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_5922FF132D1187969290BAC41658C21D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_5561B62066744DDDD9B8BAC416582A44" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_5922FF132D1187969290BAC41658C21D" xlink:type="arc" />
  </link:definitionLink>
  <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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_70BED8DA35E526CE733FB5B80D82C210" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_70BED8DA35E526CE733FB5B80D82C210" xlink:to="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_5A4BE4EB9D36D9D269BFB5B80D80A94C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_5A4BE4EB9D36D9D269BFB5B80D80A94C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_8B897838DDB55E31002BB5B80D80057D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_5A4BE4EB9D36D9D269BFB5B80D80A94C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_8B897838DDB55E31002BB5B80D80057D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_8B897838DDB55E31002BB5B80D80057D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_5A4BE4EB9D36D9D269BFB5B80D80A94C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_8B897838DDB55E31002BB5B80D80057D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_7C222969EAEDCF7D3544B5B80D81A5AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_7C222969EAEDCF7D3544B5B80D81A5AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_F398551019F2296C28C9B5B80D812F38_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_7C222969EAEDCF7D3544B5B80D81A5AC" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_F398551019F2296C28C9B5B80D812F38_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_F398551019F2296C28C9B5B80D812F38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_7C222969EAEDCF7D3544B5B80D81A5AC" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_F398551019F2296C28C9B5B80D812F38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationCaseAxis" xlink:label="loc_us-gaap_LitigationCaseAxis_EC855B73291B6F66F059B5B80D814DA8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:to="loc_us-gaap_LitigationCaseAxis_EC855B73291B6F66F059B5B80D814DA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_7A259961BAC008B02CC9B5B80D81EEDB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationCaseAxis_EC855B73291B6F66F059B5B80D814DA8" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_7A259961BAC008B02CC9B5B80D81EEDB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationCaseTypeDomain" xlink:label="loc_us-gaap_LitigationCaseTypeDomain_7A259961BAC008B02CC9B5B80D81EEDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationCaseAxis_EC855B73291B6F66F059B5B80D814DA8" xlink:to="loc_us-gaap_LitigationCaseTypeDomain_7A259961BAC008B02CC9B5B80D81EEDB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationStatusAxis" xlink:label="loc_us-gaap_LitigationStatusAxis_EB34C2D2A275E7EC3F58B5B80D8104C0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:to="loc_us-gaap_LitigationStatusAxis_EB34C2D2A275E7EC3F58B5B80D8104C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_5ACEC79F0EF517EE3607B5B80D811AE2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LitigationStatusAxis_EB34C2D2A275E7EC3F58B5B80D8104C0" xlink:to="loc_us-gaap_LitigationStatusDomain_5ACEC79F0EF517EE3607B5B80D811AE2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LitigationStatusDomain" xlink:label="loc_us-gaap_LitigationStatusDomain_5ACEC79F0EF517EE3607B5B80D811AE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LitigationStatusAxis_EB34C2D2A275E7EC3F58B5B80D8104C0" xlink:to="loc_us-gaap_LitigationStatusDomain_5ACEC79F0EF517EE3607B5B80D811AE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_99287490C1136C05C583B5B80D818985" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_99287490C1136C05C583B5B80D818985" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_9B1B7523693F6909ED45B5B80D812BB1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_99287490C1136C05C583B5B80D818985" xlink:to="loc_us-gaap_LossContingencyNatureDomain_9B1B7523693F6909ED45B5B80D812BB1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_9B1B7523693F6909ED45B5B80D812BB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_99287490C1136C05C583B5B80D818985" xlink:to="loc_us-gaap_LossContingencyNatureDomain_9B1B7523693F6909ED45B5B80D812BB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_7C78CDEC1CB28D333B8CB5B80D82A388" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_B8D7E729A576462C0261B5B80D8072F0" xlink:to="loc_us-gaap_RangeAxis_7C78CDEC1CB28D333B8CB5B80D82A388" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0C02C94D9762238638DBB5B80D82EDBA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_7C78CDEC1CB28D333B8CB5B80D82A388" xlink:to="loc_us-gaap_RangeMember_0C02C94D9762238638DBB5B80D82EDBA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_0C02C94D9762238638DBB5B80D82EDBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_7C78CDEC1CB28D333B8CB5B80D82A388" xlink:to="loc_us-gaap_RangeMember_0C02C94D9762238638DBB5B80D82EDBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_B87CBEE186035C8B2FDEB5B80D829EA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_0C02C94D9762238638DBB5B80D82EDBA" xlink:to="loc_us-gaap_MaximumMember_B87CBEE186035C8B2FDEB5B80D829EA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_5A9BB071D967963A1604B5B80D8293ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_70BED8DA35E526CE733FB5B80D82C210" xlink:to="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_5A9BB071D967963A1604B5B80D8293ED" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesAdditionalInfoDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OrganizationAndPresentationLineItems" xlink:label="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:label="loc_wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_3ADB0C60B357070198B21F0B8F23C97B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:to="loc_wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_3ADB0C60B357070198B21F0B8F23C97B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_B5B51FE776D96D2767AA1F0B8F2371D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_3ADB0C60B357070198B21F0B8F23C97B" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_B5B51FE776D96D2767AA1F0B8F2371D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_55BD55914A6CF09682541F0B8F24C6E1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_B5B51FE776D96D2767AA1F0B8F2371D1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_55BD55914A6CF09682541F0B8F24C6E1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_55BD55914A6CF09682541F0B8F24C6E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_B5B51FE776D96D2767AA1F0B8F2371D1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_55BD55914A6CF09682541F0B8F24C6E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCurrentAssetsMember" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_0236FA36A9EDB994809F1F0B8F24570B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_55BD55914A6CF09682541F0B8F24C6E1" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_0236FA36A9EDB994809F1F0B8F24570B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_E566B092AB1BAD1EFB0B1F0B8F243603" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_55BD55914A6CF09682541F0B8F24C6E1" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_E566B092AB1BAD1EFB0B1F0B8F243603" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ProductWarrantyPeriodMinimum" xlink:label="loc_wdc_ProductWarrantyPeriodMinimum_52A23B11F983A78B48391F0B8F244AD8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:to="loc_wdc_ProductWarrantyPeriodMinimum_52A23B11F983A78B48391F0B8F244AD8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ProductWarrantyPeriodMaximum" xlink:label="loc_wdc_ProductWarrantyPeriodMaximum_98E242A0544FF46FEAE31F0B8F24E51D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:to="loc_wdc_ProductWarrantyPeriodMaximum_98E242A0544FF46FEAE31F0B8F24E51D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_8516817A5FC01B9B07A01F0B8F24B1B9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:to="loc_us-gaap_AdvertisingExpense_8516817A5FC01B9B07A01F0B8F24B1B9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_RecognitionOfLiabilitiesForUncertainTaxPositionsDescription" xlink:label="loc_wdc_RecognitionOfLiabilitiesForUncertainTaxPositionsDescription_7F9EA9832DBBEC8338A71F0B8F24A4B1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:to="loc_wdc_RecognitionOfLiabilitiesForUncertainTaxPositionsDescription_7F9EA9832DBBEC8338A71F0B8F24A4B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumRemainingMaturityOfForeignCurrencyDerivatives1" xlink:label="loc_us-gaap_MaximumRemainingMaturityOfForeignCurrencyDerivatives1_BBB7803B399EC8B429E21F0B8F247ACF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:to="loc_us-gaap_MaximumRemainingMaturityOfForeignCurrencyDerivatives1_BBB7803B399EC8B429E21F0B8F247ACF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_59B2FDB172010B69640D1F0B8F24EC65" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_49D31B342224810BFCFD1F0B8F24B3B0" xlink:to="loc_invest_DerivativeNotionalAmount_59B2FDB172010B69640D1F0B8F24EC65" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables" 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/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B1DE17249CC32BD10E9B1F0B8B98EE89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B1DE17249CC32BD10E9B1F0B8B98EE89" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B8BF16006525D2406D531F0B8B98FFEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B1DE17249CC32BD10E9B1F0B8B98EE89" xlink:to="loc_us-gaap_RangeAxis_B8BF16006525D2406D531F0B8B98FFEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_9CF6B66081BC3873E11A1F0B8B98C96E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B8BF16006525D2406D531F0B8B98FFEA" xlink:to="loc_us-gaap_RangeMember_9CF6B66081BC3873E11A1F0B8B98C96E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_9CF6B66081BC3873E11A1F0B8B98C96E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B8BF16006525D2406D531F0B8B98FFEA" xlink:to="loc_us-gaap_RangeMember_9CF6B66081BC3873E11A1F0B8B98C96E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_15B599CDE3A7978102BD1F0B8B98EB92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_9CF6B66081BC3873E11A1F0B8B98C96E" xlink:to="loc_us-gaap_MinimumMember_15B599CDE3A7978102BD1F0B8B98EB92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_3DBB57ABE1879050FA4F1F0B8B98EA84" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_9CF6B66081BC3873E11A1F0B8B98C96E" xlink:to="loc_us-gaap_MaximumMember_3DBB57ABE1879050FA4F1F0B8B98EA84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7D21D0F038D9861E011D1F0B8B99D429" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B1DE17249CC32BD10E9B1F0B8B98EE89" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7D21D0F038D9861E011D1F0B8B99D429" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_DB914DA65C9977B10EDB1F0B8B994052_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7D21D0F038D9861E011D1F0B8B99D429" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_DB914DA65C9977B10EDB1F0B8B994052_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_DB914DA65C9977B10EDB1F0B8B994052" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7D21D0F038D9861E011D1F0B8B99D429" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_DB914DA65C9977B10EDB1F0B8B994052" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_28C26EC4265C92FDAE451F0B8B99B3CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_DB914DA65C9977B10EDB1F0B8B994052" xlink:to="loc_us-gaap_EquitySecuritiesMember_28C26EC4265C92FDAE451F0B8B99B3CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_EE7E5564FAE9DFB710071F0B8B997345" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_DB914DA65C9977B10EDB1F0B8B994052" xlink:to="loc_us-gaap_DebtSecuritiesMember_EE7E5564FAE9DFB710071F0B8B997345" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsMember" xlink:label="loc_us-gaap_OtherAssetsMember_9786A1D4A4975F1518861F0B8B99D275" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_DB914DA65C9977B10EDB1F0B8B994052" xlink:to="loc_us-gaap_OtherAssetsMember_9786A1D4A4975F1518861F0B8B99D275" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AFB1E0A7F323A069EBC21F0B8B9922DA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B1DE17249CC32BD10E9B1F0B8B98EE89" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AFB1E0A7F323A069EBC21F0B8B9922DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_A679261090A49C4E0EAB1F0B8B997F17_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AFB1E0A7F323A069EBC21F0B8B9922DA" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_A679261090A49C4E0EAB1F0B8B997F17_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_A679261090A49C4E0EAB1F0B8B997F17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AFB1E0A7F323A069EBC21F0B8B9922DA" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_A679261090A49C4E0EAB1F0B8B997F17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_E01263727DB32B5189FB1F0B8B999E4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_A679261090A49C4E0EAB1F0B8B997F17" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_E01263727DB32B5189FB1F0B8B999E4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_BABB309B081DF4B426FA1F0B8B997575" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_BABB309B081DF4B426FA1F0B8B997575" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_85F07585904307D957421F0B8B99F027" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_85F07585904307D957421F0B8B99F027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_84BA1B1EB3BB4D9395D81F0B8B9955C4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_84BA1B1EB3BB4D9395D81F0B8B9955C4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PriorServiceCreditsForDefinedBenefitPensionPlansIncludedInAccumulatedOtherComprehensiveIncomeAtBalanceSheetDate" xlink:label="loc_wdc_PriorServiceCreditsForDefinedBenefitPensionPlansIncludedInAccumulatedOtherComprehensiveIncomeAtBalanceSheetDate_EA1E2F409A05DC9CAE031F0B8B99EB9B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_wdc_PriorServiceCreditsForDefinedBenefitPensionPlansIncludedInAccumulatedOtherComprehensiveIncomeAtBalanceSheetDate_EA1E2F409A05DC9CAE031F0B8B99EB9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" xlink:label="loc_us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations_302166321EFFE3F09EE01F0B8B99EC09" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations_302166321EFFE3F09EE01F0B8B99EC09" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_AssetsHeldInNonSignificantDefinedBenefitPlan" xlink:label="loc_wdc_AssetsHeldInNonSignificantDefinedBenefitPlan_9AE194ABF71CB361FACD1F0B8B995CCB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_wdc_AssetsHeldInNonSignificantDefinedBenefitPlan_9AE194ABF71CB361FACD1F0B8B995CCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear" xlink:label="loc_us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear_A032F22AA3C1B180CDBC1F0B8B993510" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear_A032F22AA3C1B180CDBC1F0B8B993510" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DefinedBenefitPlanExpectedFutureBenefitPaymentsAnnualRange" xlink:label="loc_wdc_DefinedBenefitPlanExpectedFutureBenefitPaymentsAnnualRange_A852BC4CE312A8E6A8881F0B8B998392" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_wdc_DefinedBenefitPlanExpectedFutureBenefitPaymentsAnnualRange_A852BC4CE312A8E6A8881F0B8B998392" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DefinedBenefitPlanEstimatedAnnualBenefitsPaymentPeriod" xlink:label="loc_wdc_DefinedBenefitPlanEstimatedAnnualBenefitsPaymentPeriod_858B6974C21F3D9F6E8B1F0B8B9A49AA" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DDC4242E773C71C9B5AC1F0B8B993FA7" xlink:to="loc_wdc_DefinedBenefitPlanEstimatedAnnualBenefitsPaymentPeriod_858B6974C21F3D9F6E8B1F0B8B9A49AA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetail" xlink:type="extended">
    <link:loc xlink:href="wdc-20170331.xsd#wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems" xlink:label="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_4545DFA5DBBD6C3204491F0B90161DB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_4545DFA5DBBD6C3204491F0B90161DB3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_55843C47C4AF5D689B2F1F0B9016130C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_4545DFA5DBBD6C3204491F0B90161DB3" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_55843C47C4AF5D689B2F1F0B9016130C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_45961D18EDE5329F9A981F0B9016C0BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_55843C47C4AF5D689B2F1F0B9016130C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_45961D18EDE5329F9A981F0B9016C0BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_45961D18EDE5329F9A981F0B9016C0BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_55843C47C4AF5D689B2F1F0B9016130C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_45961D18EDE5329F9A981F0B9016C0BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_D517EEC555D95FA62DEA1F0B901663C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_45961D18EDE5329F9A981F0B9016C0BB" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_D517EEC555D95FA62DEA1F0B901663C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_0FE0463CF6C8A7055D9C1F0B90162165" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_0FE0463CF6C8A7055D9C1F0B90162165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_A274A9189F2C951829E21F0B9016056A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_A274A9189F2C951829E21F0B9016056A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_6D066DF15D67B7612F101F0B90162C64" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_6D066DF15D67B7612F101F0B90162C64" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DefinedBenefitPlanBenefitsPaidBenefitObligation" xlink:label="loc_wdc_DefinedBenefitPlanBenefitsPaidBenefitObligation_BC89EAD5BE6CE6E971A51F0B9016A5CB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_wdc_DefinedBenefitPlanBenefitsPaidBenefitObligation_BC89EAD5BE6CE6E971A51F0B9016A5CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanEffectOfSettlementsAndCurtailmentsOnAccumulatedBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanEffectOfSettlementsAndCurtailmentsOnAccumulatedBenefitObligation_57E835D715A8F6F807071F0B9016617A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanEffectOfSettlementsAndCurtailmentsOnAccumulatedBenefitObligation_57E835D715A8F6F807071F0B9016617A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanOtherChanges" xlink:label="loc_us-gaap_DefinedBenefitPlanOtherChanges_783761C69273B483624F1F0B90175F5A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanOtherChanges_783761C69273B483624F1F0B90175F5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_3AADFC80C33B126355FE1F0B901775F7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_3AADFC80C33B126355FE1F0B901775F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_7681A9904DC6D6446A001F0B90171868" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_7681A9904DC6D6446A001F0B90171868" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_AAB82EAC82CFD27CF0841F0B9017AB83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_7681A9904DC6D6446A001F0B90171868" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_AAB82EAC82CFD27CF0841F0B9017AB83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_431AF54C9F9A3758751A1F0B9017216F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_7681A9904DC6D6446A001F0B90171868" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_431AF54C9F9A3758751A1F0B9017216F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DefinedBenefitPlanUnfundedStatus" xlink:label="loc_wdc_DefinedBenefitPlanUnfundedStatus_684D45DD81F0D787E28C1F0B9017C1DF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_7681A9904DC6D6446A001F0B90171868" xlink:to="loc_wdc_DefinedBenefitPlanUnfundedStatus_684D45DD81F0D787E28C1F0B9017C1DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_4D1864B8D1CBD553DB6D1F0B9017A9CD" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_4D1864B8D1CBD553DB6D1F0B9017A9CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_B8FA1C13DBB313E999911F0B90172D7B" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_B8FA1C13DBB313E999911F0B90172D7B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_DefinedBenefitPlanBenefitsPaidPlanAssets" xlink:label="loc_wdc_DefinedBenefitPlanBenefitsPaidPlanAssets_43697B704F8B558B505F1F0B9017BAC5" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_wdc_DefinedBenefitPlanBenefitsPaidPlanAssets_43697B704F8B558B505F1F0B9017BAC5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OtherChangesInPlanAssets" xlink:label="loc_wdc_OtherChangesInPlanAssets_E080244469D0E87639061F0B901781A8" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_wdc_OtherChangesInPlanAssets_E080244469D0E87639061F0B901781A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets_5350197FBC2662C6B83D1F0B9017758B" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_3328ABB840E1B4DBEA4D1F0B9016E9B8" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets_5350197FBC2662C6B83D1F0B9017758B" 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/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A7951738B7F53220EC3C1F0B8F925BDF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1AA2C6E957BF9689A8441F0B8F92BFCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A7951738B7F53220EC3C1F0B8F925BDF" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1AA2C6E957BF9689A8441F0B8F92BFCA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_98509E4871522B9B14D71F0B8F922E83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1AA2C6E957BF9689A8441F0B8F92BFCA" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_98509E4871522B9B14D71F0B8F922E83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_3305B437078596A9A2611F0B8F92A8BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_98509E4871522B9B14D71F0B8F922E83" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_3305B437078596A9A2611F0B8F92A8BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_3305B437078596A9A2611F0B8F92A8BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_98509E4871522B9B14D71F0B8F922E83" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_3305B437078596A9A2611F0B8F92A8BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_7C833AF495E0252301B61F0B8F92FBD4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_3305B437078596A9A2611F0B8F92A8BB" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_7C833AF495E0252301B61F0B8F92FBD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_B7F23692DAD98F1514D61F0B8F93D6C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A7951738B7F53220EC3C1F0B8F925BDF" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_B7F23692DAD98F1514D61F0B8F93D6C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_A939F7DF242E7A231B0A1F0B8F937841" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A7951738B7F53220EC3C1F0B8F925BDF" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_A939F7DF242E7A231B0A1F0B8F937841" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_3B1A91003EB2FD6DD39F1F0B8F93508B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A7951738B7F53220EC3C1F0B8F925BDF" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_3B1A91003EB2FD6DD39F1F0B8F93508B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentAccountingPronouncementAndAccountingChanges" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_1D276C86B1B9ECF6DF161F0B8FADA506" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_7F82081D0983448FCB071F0B8FADD833" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_1D276C86B1B9ECF6DF161F0B8FADA506" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_7F82081D0983448FCB071F0B8FADD833" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98323C920D68360A8FD01F0B8FAD4E0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_7F82081D0983448FCB071F0B8FADD833" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98323C920D68360A8FD01F0B8FAD4E0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_2F7A8BB21C33821786AD1F0B8FAD08C7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98323C920D68360A8FD01F0B8FAD4E0A" xlink:to="loc_us-gaap_TypeOfAdoptionMember_2F7A8BB21C33821786AD1F0B8FAD08C7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_2F7A8BB21C33821786AD1F0B8FAD08C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_98323C920D68360A8FD01F0B8FAD4E0A" xlink:to="loc_us-gaap_TypeOfAdoptionMember_2F7A8BB21C33821786AD1F0B8FAD08C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:label="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_15C8E3A5658B4F915F631F0B8FADC206" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_1D276C86B1B9ECF6DF161F0B8FADA506" xlink:to="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_15C8E3A5658B4F915F631F0B8FADC206" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsTables" 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/ShareholdersEquityAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B0D90C4F467647CF06471F0B8FDD579E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B0D90C4F467647CF06471F0B8FDD579E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_260633E112A1E3A8B5E11F0B8FDD76E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B0D90C4F467647CF06471F0B8FDD579E" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_260633E112A1E3A8B5E11F0B8FDD76E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2B87C26F73FE16DF40A21F0B8FDDC6B2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_260633E112A1E3A8B5E11F0B8FDD76E0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2B87C26F73FE16DF40A21F0B8FDDC6B2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2B87C26F73FE16DF40A21F0B8FDDC6B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_260633E112A1E3A8B5E11F0B8FDD76E0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2B87C26F73FE16DF40A21F0B8FDDC6B2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_DC9ACEACC03506E9287E1F0B8FDD8333" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2B87C26F73FE16DF40A21F0B8FDDC6B2" xlink:to="loc_wdc_SanDiskMember_DC9ACEACC03506E9287E1F0B8FDD8333" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_01426EDF9467F6B901B51F0B8FDD5B95" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B0D90C4F467647CF06471F0B8FDD579E" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_01426EDF9467F6B901B51F0B8FDD5B95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_35BBE6EDE40C1360648D1F0B8FDD0E4E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01426EDF9467F6B901B51F0B8FDD5B95" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_35BBE6EDE40C1360648D1F0B8FDD0E4E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_35BBE6EDE40C1360648D1F0B8FDD0E4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01426EDF9467F6B901B51F0B8FDD5B95" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_35BBE6EDE40C1360648D1F0B8FDD0E4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_9AD9F10C8A1C93CED66A1F0B8FDDFC08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_35BBE6EDE40C1360648D1F0B8FDD0E4E" xlink:to="loc_us-gaap_SubsequentEventMember_9AD9F10C8A1C93CED66A1F0B8FDDFC08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_31A9FF59C611A81320141F0B8FDD475A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B0D90C4F467647CF06471F0B8FDD579E" xlink:to="loc_us-gaap_RangeAxis_31A9FF59C611A81320141F0B8FDD475A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_4F7D9DF76647E6A435301F0B8FDD6DE7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_31A9FF59C611A81320141F0B8FDD475A" xlink:to="loc_us-gaap_RangeMember_4F7D9DF76647E6A435301F0B8FDD6DE7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_4F7D9DF76647E6A435301F0B8FDD6DE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_31A9FF59C611A81320141F0B8FDD475A" xlink:to="loc_us-gaap_RangeMember_4F7D9DF76647E6A435301F0B8FDD6DE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_798A97A35EE56EC93C891F0B8FDD711D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4F7D9DF76647E6A435301F0B8FDD6DE7" xlink:to="loc_us-gaap_MinimumMember_798A97A35EE56EC93C891F0B8FDD711D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_D2E2C7AAB9120F4E10FB1F0B8FDD6F97" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_4F7D9DF76647E6A435301F0B8FDD6DE7" xlink:to="loc_us-gaap_MaximumMember_D2E2C7AAB9120F4E10FB1F0B8FDD6F97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_56138890A919E25DF1EE1F0B8FDD8C36" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_B0D90C4F467647CF06471F0B8FDD579E" xlink:to="loc_us-gaap_AwardTypeAxis_56138890A919E25DF1EE1F0B8FDD8C36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_56138890A919E25DF1EE1F0B8FDD8C36" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_56138890A919E25DF1EE1F0B8FDD8C36" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_DD5794A1FC4BCF2A488C1F0B8FDD29F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:to="loc_us-gaap_EmployeeStockOptionMember_DD5794A1FC4BCF2A488C1F0B8FDD29F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_A9BE5EE0528167279D301F0B8FDE7BBC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_A9BE5EE0528167279D301F0B8FDE7BBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_23FF9395DE09315E8A111F0B8FDE5CE0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:to="loc_us-gaap_PerformanceSharesMember_23FF9395DE09315E8A111F0B8FDE5CE0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_E5DAAA87289380EC01BD1F0B8FDE7849" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_E5DAAA87289380EC01BD1F0B8FDE7849" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_7B93F24DE9BE11DBB5491F0B8FDEC1B4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_7B93F24DE9BE11DBB5491F0B8FDEC1B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_091DC764301EAED391BF1F0B8FDE22A1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F427631E4341B1BCFC021F0B8FDDB4B7" xlink:to="loc_us-gaap_TreasuryStockMember_091DC764301EAED391BF1F0B8FDE22A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_DE6A88054FE9C4BF1A2A1F0B8FDE7407" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_DE6A88054FE9C4BF1A2A1F0B8FDE7407" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_AssumedStockAppreciationRightsOutstandingAtBalanceSheetDate" xlink:label="loc_wdc_AssumedStockAppreciationRightsOutstandingAtBalanceSheetDate_FFFE23811C6892EF993D1F0B8FDED5A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_wdc_AssumedStockAppreciationRightsOutstandingAtBalanceSheetDate_FFFE23811C6892EF993D1F0B8FDED5A2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_AggregateValueOfRestrictedStockAwardsVested" xlink:label="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_DB54A115D5390834D4D61F0B8FDEF75F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_DB54A115D5390834D4D61F0B8FDEF75F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OptionsOutstandingToPurchaseSharesWithExercisePriceBelowCompanyStockPrice" xlink:label="loc_wdc_OptionsOutstandingToPurchaseSharesWithExercisePriceBelowCompanyStockPrice_EE29DE3ADB235CC697CC1F0B8FDE29C0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_wdc_OptionsOutstandingToPurchaseSharesWithExercisePriceBelowCompanyStockPrice_EE29DE3ADB235CC697CC1F0B8FDE29C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_ADFDD060838820543EE91F0B8FDE85A0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_ADFDD060838820543EE91F0B8FDE85A0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OptionsOutstandingToPurchaseSharesWithExercisePriceBelowCompanyStockPriceIntrinsicValue" xlink:label="loc_wdc_OptionsOutstandingToPurchaseSharesWithExercisePriceBelowCompanyStockPriceIntrinsicValue_EA2394CC5D74945C2D291F0B8FDE6254" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_wdc_OptionsOutstandingToPurchaseSharesWithExercisePriceBelowCompanyStockPriceIntrinsicValue_EA2394CC5D74945C2D291F0B8FDE6254" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_StockAppreciationRightOutstandingWeightedAverageExercisePrice" xlink:label="loc_wdc_StockAppreciationRightOutstandingWeightedAverageExercisePrice_B44F849B32C9523B920B1F0B8FDEB301" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_wdc_StockAppreciationRightOutstandingWeightedAverageExercisePrice_B44F849B32C9523B920B1F0B8FDEB301" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_CashSettledStockAppreciationRightsLiability" xlink:label="loc_wdc_CashSettledStockAppreciationRightsLiability_1404C1B0B87ABF41D50F1F0B8FDE75D4" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A2D581A141EE6947F75D1F0B8FDE4814" xlink:to="loc_wdc_CashSettledStockAppreciationRightsLiability_1404C1B0B87ABF41D50F1F0B8FDE75D4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityDividendsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_EE5BB8307514A6122319A137CFAD9B57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:to="loc_us-gaap_DividendsPayableTable_EE5BB8307514A6122319A137CFAD9B57" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_44B98533421A92131A66A137CFAEB95A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_EE5BB8307514A6122319A137CFAD9B57" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_44B98533421A92131A66A137CFAEB95A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_59C5F55C099E1BF3C70AA137CFAE7B09_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_44B98533421A92131A66A137CFAEB95A" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_59C5F55C099E1BF3C70AA137CFAE7B09_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_59C5F55C099E1BF3C70AA137CFAE7B09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_44B98533421A92131A66A137CFAEB95A" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_59C5F55C099E1BF3C70AA137CFAE7B09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_4D219F9FFFE9EC883552A137CFAEA523" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_59C5F55C099E1BF3C70AA137CFAE7B09" xlink:to="loc_us-gaap_SubsequentEventMember_4D219F9FFFE9EC883552A137CFAEA523" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableDateDeclaredDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_724FD32D67B1CC3B5F79A137CFAF3308" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:to="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_724FD32D67B1CC3B5F79A137CFAF3308" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_BD30997025C5818BA208A137CFAFC976" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_BD30997025C5818BA208A137CFAFC976" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_1673F3BB17C47DE90B69A137CFAFA1F1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_1673F3BB17C47DE90B69A137CFAFA1F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableDateOfRecordDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_253C5882799FB489606EA137CFAF65E3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:to="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_253C5882799FB489606EA137CFAF65E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_36D3C7878F407F4E99B9A137CFAFF8E9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:to="loc_us-gaap_DividendsCommonStockCash_36D3C7878F407F4E99B9A137CFAFF8E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsSharebasedCompensationPaidInKind" xlink:label="loc_us-gaap_DividendsSharebasedCompensationPaidInKind_A5A65DE0B0D283EDD7C8A137CFAF5465" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7CA8FB499EEC2EDE1249A137CFAF401C" xlink:to="loc_us-gaap_DividendsSharebasedCompensationPaidInKind_A5A65DE0B0D283EDD7C8A137CFAF5465" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E3D7407847ED04A7F12A44A3DE54CA85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E3D7407847ED04A7F12A44A3DE54CA85" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_91584A03A4CC25219E9844A3DE54A095" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E3D7407847ED04A7F12A44A3DE54CA85" xlink:to="loc_us-gaap_AwardTypeAxis_91584A03A4CC25219E9844A3DE54A095" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6516635751B1C04FD70344A3DE548544_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_91584A03A4CC25219E9844A3DE54A095" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6516635751B1C04FD70344A3DE548544_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6516635751B1C04FD70344A3DE548544" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_91584A03A4CC25219E9844A3DE54A095" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6516635751B1C04FD70344A3DE548544" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_A79BC1F7F6BB221B755044A3DE54E84C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6516635751B1C04FD70344A3DE548544" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_A79BC1F7F6BB221B755044A3DE54E84C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_03025DEF3969FE27568944A3DE54511C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_03025DEF3969FE27568944A3DE54511C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2892F7918FCE5D7E751E44A3DE54C61C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2892F7918FCE5D7E751E44A3DE54C61C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriod" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriod_24DD93C7B951212D8CC144A3DE545364" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriod_24DD93C7B951212D8CC144A3DE545364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_90ED726E5D32BB4C25D144A3DE54DB09" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_90ED726E5D32BB4C25D144A3DE54DB09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_04A88192F13DB45465A344A3DE545852" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_04A88192F13DB45465A344A3DE545852" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingNumber" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingNumber_DCCCAB62429532175C3444A3DE5558C4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingNumber_DCCCAB62429532175C3444A3DE5558C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_49E4FA9FFDF3EC5590C644A3DE55F08B" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_49E4FA9FFDF3EC5590C644A3DE55F08B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7F1962E56C42A576A3F544A3DE55F7A8" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7F1962E56C42A576A3F544A3DE55F7A8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriodWeightedAverageGrantDateFairValue_CB2DB992F7000FC6BAD144A3DE55288C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriodWeightedAverageGrantDateFairValue_CB2DB992F7000FC6BAD144A3DE55288C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_CE5D27E6020BDF59B78D44A3DE55A73B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_CE5D27E6020BDF59B78D44A3DE55A73B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_C9D493A783C4E5A0A5A344A3DE557F2B" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_C9D493A783C4E5A0A5A344A3DE557F2B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingWeightedAverageGrantDateFairValue_B4DD182048EC238632D044A3DE55D393" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D8BC789D172ABB8C4A2644A3DE548516" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingWeightedAverageGrantDateFairValue_B4DD182048EC238632D044A3DE55D393" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_E10C65FBCC0D39F277931F0B8DADD804" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_9A9D15780A989F5953F11F0B8DADCA99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_E10C65FBCC0D39F277931F0B8DADD804" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_9A9D15780A989F5953F11F0B8DADCA99" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_EEF120632AE3D9DF5C161F0B8DAD38E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_9A9D15780A989F5953F11F0B8DADCA99" xlink:to="loc_us-gaap_StatementClassOfStockAxis_EEF120632AE3D9DF5C161F0B8DAD38E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E8228581FE7EE8F065F91F0B8DADD61E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_EEF120632AE3D9DF5C161F0B8DAD38E4" xlink:to="loc_us-gaap_ClassOfStockDomain_E8228581FE7EE8F065F91F0B8DADD61E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E8228581FE7EE8F065F91F0B8DADD61E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_EEF120632AE3D9DF5C161F0B8DAD38E4" xlink:to="loc_us-gaap_ClassOfStockDomain_E8228581FE7EE8F065F91F0B8DADD61E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="loc_us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_E5603DA9E1F9D3ECF99C1F0B8DADBC2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E10C65FBCC0D39F277931F0B8DADD804" xlink:to="loc_us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_E5603DA9E1F9D3ECF99C1F0B8DADBC2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramExpirationDate" xlink:label="loc_us-gaap_StockRepurchaseProgramExpirationDate_8B9010BAC8B09F32DA811F0B8DADF9E5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E10C65FBCC0D39F277931F0B8DADD804" xlink:to="loc_us-gaap_StockRepurchaseProgramExpirationDate_8B9010BAC8B09F32DA811F0B8DADF9E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_35A55FC4B374AFE0074C1F0B8DAD275B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E10C65FBCC0D39F277931F0B8DADD804" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_35A55FC4B374AFE0074C1F0B8DAD275B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockAppreciationRightsSarsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_5DAD65273F69BE039DC61F0B8F168E31" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_67B18AD36F50B06442581F0B8F154FA7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_5DAD65273F69BE039DC61F0B8F168E31" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_67B18AD36F50B06442581F0B8F154FA7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_4F97F3B17953BB3D3D211F0B8F15DFEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_67B18AD36F50B06442581F0B8F154FA7" xlink:to="loc_us-gaap_AwardTypeAxis_4F97F3B17953BB3D3D211F0B8F15DFEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11E013242F5A1D352DAD1F0B8F167444_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_4F97F3B17953BB3D3D211F0B8F15DFEF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11E013242F5A1D352DAD1F0B8F167444_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11E013242F5A1D352DAD1F0B8F167444" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_4F97F3B17953BB3D3D211F0B8F15DFEF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11E013242F5A1D352DAD1F0B8F167444" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_F7A3F3234D47DA5B9F5B1F0B8F16BBBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11E013242F5A1D352DAD1F0B8F167444" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_F7A3F3234D47DA5B9F5B1F0B8F16BBBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_59F39758B132034CC55B1F0B8F160131" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_67B18AD36F50B06442581F0B8F154FA7" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_59F39758B132034CC55B1F0B8F160131" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_CFC73A2260BBF77FFF971F0B8F16D1D3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_59F39758B132034CC55B1F0B8F160131" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_CFC73A2260BBF77FFF971F0B8F16D1D3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_CFC73A2260BBF77FFF971F0B8F16D1D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_59F39758B132034CC55B1F0B8F160131" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_CFC73A2260BBF77FFF971F0B8F16D1D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_E9AE43A291AD860110AC1F0B8F167DF1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_67B18AD36F50B06442581F0B8F154FA7" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_E9AE43A291AD860110AC1F0B8F167DF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_9CA0E1A5C90BC87FBB091F0B8F16FC60_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_E9AE43A291AD860110AC1F0B8F167DF1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_9CA0E1A5C90BC87FBB091F0B8F16FC60_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_9CA0E1A5C90BC87FBB091F0B8F16FC60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_E9AE43A291AD860110AC1F0B8F167DF1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_9CA0E1A5C90BC87FBB091F0B8F16FC60" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_CompensationCostForCashSettledStockAppreciationRights" xlink:label="loc_wdc_CompensationCostForCashSettledStockAppreciationRights_CB8F093D1F56B453A54F1F0B8F163122" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_5DAD65273F69BE039DC61F0B8F168E31" xlink:to="loc_wdc_CompensationCostForCashSettledStockAppreciationRights_CB8F093D1F56B453A54F1F0B8F163122" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EmployeeServiceShareBasedCompensationTaxBenefitFromStockAppreciationRightsCompensationExpense" xlink:label="loc_wdc_EmployeeServiceShareBasedCompensationTaxBenefitFromStockAppreciationRightsCompensationExpense_9D639B3FEDEA62208BA81F0B8F165221" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_5DAD65273F69BE039DC61F0B8F168E31" xlink:to="loc_wdc_EmployeeServiceShareBasedCompensationTaxBenefitFromStockAppreciationRightsCompensationExpense_9D639B3FEDEA62208BA81F0B8F165221" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_CompensationCostBenefitforCashSettledStockAppreciationRightsNetofTax" xlink:label="loc_wdc_CompensationCostBenefitforCashSettledStockAppreciationRightsNetofTax_33905FE65E226BF3FD321F0B8F163ABC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_5DAD65273F69BE039DC61F0B8F168E31" xlink:to="loc_wdc_CompensationCostBenefitforCashSettledStockAppreciationRightsNetofTax_33905FE65E226BF3FD321F0B8F163ABC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8987E1C41B53D93DE2CC1F0B8E2466BF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C6D4D78C227066B305221F0B8E2362C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8987E1C41B53D93DE2CC1F0B8E2466BF" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C6D4D78C227066B305221F0B8E2362C7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_BFF735FB6EAA1954A7031F0B8E232448" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C6D4D78C227066B305221F0B8E2362C7" xlink:to="loc_us-gaap_AwardTypeAxis_BFF735FB6EAA1954A7031F0B8E232448" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_BFF735FB6EAA1954A7031F0B8E232448" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_BFF735FB6EAA1954A7031F0B8E232448" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_ADC9DEBF1A668A4B03FE1F0B8E238A95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB" xlink:to="loc_us-gaap_EmployeeStockOptionMember_ADC9DEBF1A668A4B03FE1F0B8E238A95" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_A7B1211502C11B9AEBAB1F0B8E239B45" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_A7B1211502C11B9AEBAB1F0B8E239B45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_C04C0250D12A40EBEB511F0B8E232D54" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_C04C0250D12A40EBEB511F0B8E232D54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_065944160FE0B0F28C291F0B8E2456F8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAB99CEB823E0DA3C48B1F0B8E23E7BB" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_065944160FE0B0F28C291F0B8E2456F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_703418B7C335171711791F0B8E24A639" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_C6D4D78C227066B305221F0B8E2362C7" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_703418B7C335171711791F0B8E24A639" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_703418B7C335171711791F0B8E24A639" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_703418B7C335171711791F0B8E24A639" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_4C3F4642C8D9ECA39DF81F0B8E249078" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478" xlink:to="loc_us-gaap_CostOfSalesMember_4C3F4642C8D9ECA39DF81F0B8E249078" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_B81B0C69923D146269441F0B8E24B6D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_B81B0C69923D146269441F0B8E24B6D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_8529C68B21E774D0B9EA1F0B8E24481D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_8529C68B21E774D0B9EA1F0B8E24481D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringChargesMember" xlink:label="loc_us-gaap_RestructuringChargesMember_C52AB59E7CDC915C045F1F0B8E24352D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_9990210C9D2D21C0D8961F0B8E243478" xlink:to="loc_us-gaap_RestructuringChargesMember_C52AB59E7CDC915C045F1F0B8E24352D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_9F99A0EED9C584F8EE781F0B8E2473CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8987E1C41B53D93DE2CC1F0B8E2466BF" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_9F99A0EED9C584F8EE781F0B8E2473CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_EE7B4BACBE401B8585EB1F0B8E2493D9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8987E1C41B53D93DE2CC1F0B8E2466BF" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_EE7B4BACBE401B8585EB1F0B8E2493D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_FFEC31097F832EE6D10E1F0B8E241C5A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8987E1C41B53D93DE2CC1F0B8E2466BF" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_FFEC31097F832EE6D10E1F0B8E241C5A" 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/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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_00FBF85BCD3EFBBB88BFA811B808CEFD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_BCA88EBB2FD5CBBCB5ACA811B80839FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_00FBF85BCD3EFBBB88BFA811B808CEFD" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_BCA88EBB2FD5CBBCB5ACA811B80839FF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_F03303358334B2904DCCA811B8084CEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_BCA88EBB2FD5CBBCB5ACA811B80839FF" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_F03303358334B2904DCCA811B8084CEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0DC2CDA472BBBEDF5AFAA811B808CD67_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F03303358334B2904DCCA811B8084CEB" xlink:to="loc_us-gaap_EquityComponentDomain_0DC2CDA472BBBEDF5AFAA811B808CD67_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0DC2CDA472BBBEDF5AFAA811B808CD67" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F03303358334B2904DCCA811B8084CEB" xlink:to="loc_us-gaap_EquityComponentDomain_0DC2CDA472BBBEDF5AFAA811B808CD67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_E2D5A0EFB497B70FCE95A811B80816B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0DC2CDA472BBBEDF5AFAA811B808CD67" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_E2D5A0EFB497B70FCE95A811B80816B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_609E2AEED39DD72FF5F1A811B808E63C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0DC2CDA472BBBEDF5AFAA811B808CD67" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_609E2AEED39DD72FF5F1A811B808E63C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_09134C818D674B260778A811B80812F0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_BCA88EBB2FD5CBBCB5ACA811B80839FF" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_09134C818D674B260778A811B80812F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_09134C818D674B260778A811B80812F0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_09134C818D674B260778A811B80812F0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_C39E363F893D1A981F65A811B808F0D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9" xlink:to="loc_us-gaap_CostOfSalesMember_C39E363F893D1A981F65A811B808F0D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_2542BF7F76976017884DA811B808F9CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_2542BF7F76976017884DA811B808F9CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseMember" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_88AF212199A8EE9775A8A811B8086331" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_88AF212199A8EE9775A8A811B8086331" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TaxExpenseMember" xlink:label="loc_wdc_TaxExpenseMember_B4D47A8772EF66589336A811B808634A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9" xlink:to="loc_wdc_TaxExpenseMember_B4D47A8772EF66589336A811B808634A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_C7ACF886B19B0C27CD56A8120389D745" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_047706C29F6304ADDB13A811B808C6D9" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_C7ACF886B19B0C27CD56A8120389D745" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTax_FF8CCC444D04D4509422A811B80848E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_00FBF85BCD3EFBBB88BFA811B808CEFD" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTax_FF8CCC444D04D4509422A811B80848E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_BD1DD075D0505EA9CC95A811B80837CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_00FBF85BCD3EFBBB88BFA811B808CEFD" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_BD1DD075D0505EA9CC95A811B80837CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_C6ACE834915D9FEAB2A4A811B8081BAB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_00FBF85BCD3EFBBB88BFA811B808CEFD" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_C6ACE834915D9FEAB2A4A811B8081BAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax_D90E32661291EBD7826DA811B808D37E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_00FBF85BCD3EFBBB88BFA811B808CEFD" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax_D90E32661291EBD7826DA811B808D37E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_9521773AA60CD2C2A3DBA811B80817A8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_00FBF85BCD3EFBBB88BFA811B808CEFD" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_9521773AA60CD2C2A3DBA811B80817A8" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0CA68F56B848B79120B7BAC417FBD1B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0CA68F56B848B79120B7BAC417FBD1B6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_F1D09150722BCA18FDF7BAC417FB4644" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0CA68F56B848B79120B7BAC417FBD1B6" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_F1D09150722BCA18FDF7BAC417FB4644" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2234DCEA840B22FB6845BAC417FB4E71_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F1D09150722BCA18FDF7BAC417FB4644" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2234DCEA840B22FB6845BAC417FB4E71_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2234DCEA840B22FB6845BAC417FB4E71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F1D09150722BCA18FDF7BAC417FB4644" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2234DCEA840B22FB6845BAC417FB4E71" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_ForeignCurrencyTranslationMember" xlink:label="loc_wdc_ForeignCurrencyTranslationMember_45D716DF77CAD42B6CF3BAC417FBBDC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_2234DCEA840B22FB6845BAC417FB4E71" xlink:to="loc_wdc_ForeignCurrencyTranslationMember_45D716DF77CAD42B6CF3BAC417FBBDC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_481B823F0E6477BCB910BAC417FB1C6C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_2234DCEA840B22FB6845BAC417FB4E71" xlink:to="loc_us-gaap_ForeignExchangeContractMember_481B823F0E6477BCB910BAC417FB1C6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanTypeAxis" xlink:label="loc_us-gaap_DefinedContributionPlanTypeAxis_ED49CCEFE884437118A4BAC417FBC29A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0CA68F56B848B79120B7BAC417FBD1B6" xlink:to="loc_us-gaap_DefinedContributionPlanTypeAxis_ED49CCEFE884437118A4BAC417FBC29A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanTypeDomain" xlink:label="loc_us-gaap_DefinedContributionPlanTypeDomain_9F4561F2D6E7738206F8BAC417FB54A3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedContributionPlanTypeAxis_ED49CCEFE884437118A4BAC417FBC29A" xlink:to="loc_us-gaap_DefinedContributionPlanTypeDomain_9F4561F2D6E7738206F8BAC417FB54A3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanTypeDomain" xlink:label="loc_us-gaap_DefinedContributionPlanTypeDomain_9F4561F2D6E7738206F8BAC417FB54A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedContributionPlanTypeAxis_ED49CCEFE884437118A4BAC417FBC29A" xlink:to="loc_us-gaap_DefinedContributionPlanTypeDomain_9F4561F2D6E7738206F8BAC417FB54A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_5431E1DC752F3C73E72CBAC417FB7056" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPlanTypeDomain_9F4561F2D6E7738206F8BAC417FB54A3" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_5431E1DC752F3C73E72CBAC417FB7056" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_407C02B4F9F9FFDCD13DBAC417FB2768" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_407C02B4F9F9FFDCD13DBAC417FB2768" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_5549F441350D2913AF04BAC417FB4301" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_5549F441350D2913AF04BAC417FB4301" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_34F0303311924466065BBAC417FB6705" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_34F0303311924466065BBAC417FB6705" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_450424E6F022B04F6D78BAC417FCE5B2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_450424E6F022B04F6D78BAC417FCE5B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationBeforeTax_280D0B6F776B55FD90FBBAC417FC092A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationBeforeTax_280D0B6F776B55FD90FBBAC417FC092A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_EC266BC0036065EFAD2FBAC417FC1F71" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_EC266BC0036065EFAD2FBAC417FC1F71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_33E67F783CF133A4E9CCBAC417FC5228" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_33E67F783CF133A4E9CCBAC417FC5228" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_AccumulatedOtherComprehensiveIncomeAdjustmentAfterReclassificationNetofTax" xlink:label="loc_wdc_AccumulatedOtherComprehensiveIncomeAdjustmentAfterReclassificationNetofTax_2FBFDC6DB8D65F26F60DBAC417FC1525" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_A8886A8A9CCBB7C4EAE1BAC417FBD71F" xlink:to="loc_wdc_AccumulatedOtherComprehensiveIncomeAdjustmentAfterReclassificationNetofTax_2FBFDC6DB8D65F26F60DBAC417FC1525" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_1C67CAFE7D7737E8B26D1F0B8C36D117" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_CA834A46304F94EE35441F0B8C350DD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_1C67CAFE7D7737E8B26D1F0B8C36D117" xlink:to="loc_wdc_SupplementalFinancialInformationTable_CA834A46304F94EE35441F0B8C350DD1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_B75B96ED1D87CC3C4E211F0B8C36F440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_CA834A46304F94EE35441F0B8C350DD1" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_B75B96ED1D87CC3C4E211F0B8C36F440" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_69CAC26D776A13B71C8A1F0B8C368B97_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_B75B96ED1D87CC3C4E211F0B8C36F440" xlink:to="loc_us-gaap_ReceivableTypeDomain_69CAC26D776A13B71C8A1F0B8C368B97_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_69CAC26D776A13B71C8A1F0B8C368B97" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_B75B96ED1D87CC3C4E211F0B8C36F440" xlink:to="loc_us-gaap_ReceivableTypeDomain_69CAC26D776A13B71C8A1F0B8C368B97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_6C1CBD7691D8F53C274B1F0B8C36F052" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_CA834A46304F94EE35441F0B8C350DD1" xlink:to="loc_us-gaap_DebtInstrumentAxis_6C1CBD7691D8F53C274B1F0B8C36F052" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_AD83C45335E06F42D0B81F0B8C360ED7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_6C1CBD7691D8F53C274B1F0B8C36F052" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_AD83C45335E06F42D0B81F0B8C360ED7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_AD83C45335E06F42D0B81F0B8C360ED7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_6C1CBD7691D8F53C274B1F0B8C36F052" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_AD83C45335E06F42D0B81F0B8C360ED7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_TradeReceivablesFactoredCashReceived" xlink:label="loc_wdc_TradeReceivablesFactoredCashReceived_82FDDED30900C68275C21F0B8C36878B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_1C67CAFE7D7737E8B26D1F0B8C36D117" xlink:to="loc_wdc_TradeReceivablesFactoredCashReceived_82FDDED30900C68275C21F0B8C36878B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology" xlink:label="loc_wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology_0C6C424942D54445C2771F0B8C368AB6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_1C67CAFE7D7737E8B26D1F0B8C36D117" xlink:to="loc_wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology_0C6C424942D54445C2771F0B8C368AB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_874FEE1A8D4D09A4A37E1F0B8C36DDF4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_1C67CAFE7D7737E8B26D1F0B8C36D117" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_874FEE1A8D4D09A4A37E1F0B8C36DDF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_BB6B4234844D6B6A190B1F0B8C361823" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_1C67CAFE7D7737E8B26D1F0B8C36D117" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_BB6B4234844D6B6A190B1F0B8C361823" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_460E90D9E4E530EC6D4144A3E045D1F0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_CC4F26F7C6312ACB3E1044A3E044752B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_460E90D9E4E530EC6D4144A3E045D1F0" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_CC4F26F7C6312ACB3E1044A3E044752B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_9ED9E14A0DDC7918CE7944A3E044EB98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_CC4F26F7C6312ACB3E1044A3E044752B" xlink:to="loc_us-gaap_ConsolidationItemsAxis_9ED9E14A0DDC7918CE7944A3E044EB98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_27D1BBA69005985CF2F244A3E045A0EE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_9ED9E14A0DDC7918CE7944A3E044EB98" xlink:to="loc_us-gaap_ConsolidationItemsDomain_27D1BBA69005985CF2F244A3E045A0EE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_27D1BBA69005985CF2F244A3E045A0EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_9ED9E14A0DDC7918CE7944A3E044EB98" xlink:to="loc_us-gaap_ConsolidationItemsDomain_27D1BBA69005985CF2F244A3E045A0EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8EE11F9605139570E7E644A3E0459ED6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_CC4F26F7C6312ACB3E1044A3E044752B" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8EE11F9605139570E7E644A3E0459ED6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_321418F7E5275E7353F044A3E045ADB4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8EE11F9605139570E7E644A3E0459ED6" xlink:to="loc_us-gaap_SegmentDomain_321418F7E5275E7353F044A3E045ADB4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_321418F7E5275E7353F044A3E045ADB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8EE11F9605139570E7E644A3E0459ED6" xlink:to="loc_us-gaap_SegmentDomain_321418F7E5275E7353F044A3E045ADB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_446A9F832ACD8563D55A44A3E045809B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_CC4F26F7C6312ACB3E1044A3E044752B" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_446A9F832ACD8563D55A44A3E045809B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B1494079FFA8D17826B644A3E04514A2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_446A9F832ACD8563D55A44A3E045809B" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B1494079FFA8D17826B644A3E04514A2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B1494079FFA8D17826B644A3E04514A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_446A9F832ACD8563D55A44A3E045809B" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B1494079FFA8D17826B644A3E04514A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_30A9CC9B8B753309D4AA44A3E0458521" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_CC4F26F7C6312ACB3E1044A3E044752B" xlink:to="loc_us-gaap_RangeAxis_30A9CC9B8B753309D4AA44A3E0458521" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_29C67E3718B2E525405444A3E0450662_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_30A9CC9B8B753309D4AA44A3E0458521" xlink:to="loc_us-gaap_RangeMember_29C67E3718B2E525405444A3E0450662_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_29C67E3718B2E525405444A3E0450662" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_30A9CC9B8B753309D4AA44A3E0458521" xlink:to="loc_us-gaap_RangeMember_29C67E3718B2E525405444A3E0450662" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_AD442302F2C5401C66B744A3E0453D39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_460E90D9E4E530EC6D4144A3E045D1F0" xlink:to="loc_us-gaap_Goodwill_AD442302F2C5401C66B744A3E0453D39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_455B852F19860A1DA0C344A3E04510B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_460E90D9E4E530EC6D4144A3E045D1F0" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_455B852F19860A1DA0C344A3E04510B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_8C5804F8685B41A73BF144A3E046C367" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_460E90D9E4E530EC6D4144A3E045D1F0" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_8C5804F8685B41A73BF144A3E046C367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_78EECBDBAF75FF97000444A3E046E4D5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_460E90D9E4E530EC6D4144A3E045D1F0" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_78EECBDBAF75FF97000444A3E046E4D5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoriesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryLineItems" xlink:label="loc_us-gaap_InventoryLineItems_B86E9E1A2DDB69299CCF1F0B8D5108FA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryCurrentTable" xlink:label="loc_us-gaap_InventoryCurrentTable_9C33E3E999C42A9A1BFA1F0B8D516D7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InventoryLineItems_B86E9E1A2DDB69299CCF1F0B8D5108FA" xlink:to="loc_us-gaap_InventoryCurrentTable_9C33E3E999C42A9A1BFA1F0B8D516D7D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PublicUtilitiesInventoryAxis" xlink:label="loc_us-gaap_PublicUtilitiesInventoryAxis_4CD70FA3D1A91BCAF5D11F0B8D519604" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InventoryCurrentTable_9C33E3E999C42A9A1BFA1F0B8D516D7D" xlink:to="loc_us-gaap_PublicUtilitiesInventoryAxis_4CD70FA3D1A91BCAF5D11F0B8D519604" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_2270388C7CF75D16D9B91F0B8D513406_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_4CD70FA3D1A91BCAF5D11F0B8D519604" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_2270388C7CF75D16D9B91F0B8D513406_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_2270388C7CF75D16D9B91F0B8D513406" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_4CD70FA3D1A91BCAF5D11F0B8D519604" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_2270388C7CF75D16D9B91F0B8D513406" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_A5FF5ECD92DCA7ED1C681F0B8D517E4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_B86E9E1A2DDB69299CCF1F0B8D5108FA" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_A5FF5ECD92DCA7ED1C681F0B8D517E4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_5117DD2D50A8C151FA351F0B8D512270" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_B86E9E1A2DDB69299CCF1F0B8D5108FA" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_5117DD2D50A8C151FA351F0B8D512270" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_A7BAC5367985A12116EA1F0B8D515398" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_B86E9E1A2DDB69299CCF1F0B8D5108FA" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_A7BAC5367985A12116EA1F0B8D515398" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_913A250C947F86C8CCE61F0B8D513E30" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_B86E9E1A2DDB69299CCF1F0B8D5108FA" xlink:to="loc_us-gaap_InventoryNet_913A250C947F86C8CCE61F0B8D513E30" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_B4BFAF3B29BBB4BF1C671F0B8DE87135" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_138D4F97FF4A7F3033061F0B8DE7A817" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_B4BFAF3B29BBB4BF1C671F0B8DE87135" xlink:to="loc_wdc_SupplementalFinancialInformationTable_138D4F97FF4A7F3033061F0B8DE7A817" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA3002287516A58F744A1F0B8DE7F436" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_138D4F97FF4A7F3033061F0B8DE7A817" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA3002287516A58F744A1F0B8DE7F436" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA3002287516A58F744A1F0B8DE7F436" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA3002287516A58F744A1F0B8DE7F436" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LandAndBuildingMember" xlink:label="loc_us-gaap_LandAndBuildingMember_861EE8E396F8EBA5E9851F0B8DE8B5FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:to="loc_us-gaap_LandAndBuildingMember_861EE8E396F8EBA5E9851F0B8DE8B5FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_C85BCB21FF632956B0711F0B8DE88A76" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_C85BCB21FF632956B0711F0B8DE88A76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_045813B5315EA2A5C6A01F0B8DE83FE5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_045813B5315EA2A5C6A01F0B8DE83FE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_7FA25D6F029A9B62D4741F0B8DE885F7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_7FA25D6F029A9B62D4741F0B8DE885F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_17D132BD11ACCB1159741F0B8DE8E8C9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_17D132BD11ACCB1159741F0B8DE8E8C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_0F38901982190DFA5B721F0B8DE88BA9" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FD53C93DFF1BD9901F571F0B8DE7B208" xlink:to="loc_us-gaap_ConstructionInProgressMember_0F38901982190DFA5B721F0B8DE88BA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_F96CF4F41E654F238A821F0B8DE8EC51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_B4BFAF3B29BBB4BF1C671F0B8DE87135" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_F96CF4F41E654F238A821F0B8DE8EC51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_8C4FDA4E293EC85234C61F0B8DE82A64" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_F96CF4F41E654F238A821F0B8DE8EC51" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_8C4FDA4E293EC85234C61F0B8DE82A64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_D0146C6089B50B689F521F0B8DE885F6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_F96CF4F41E654F238A821F0B8DE8EC51" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_D0146C6089B50B689F521F0B8DE885F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_DDD9EBEDF632907E82F31F0B8DE8313C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_F96CF4F41E654F238A821F0B8DE8EC51" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_DDD9EBEDF632907E82F31F0B8DE8313C" 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:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProductWarrantyLiabilityLineItems" xlink:label="loc_us-gaap_ProductWarrantyLiabilityLineItems_8BAE1595889E452641441F0B8E88CA07" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProductWarrantyLiabilityTable" xlink:label="loc_us-gaap_ProductWarrantyLiabilityTable_0B98856F1A734E5B8B331F0B8E885174" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_8BAE1595889E452641441F0B8E88CA07" xlink:to="loc_us-gaap_ProductWarrantyLiabilityTable_0B98856F1A734E5B8B331F0B8E885174" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OtherComprehensiveIncomeAxis" xlink:label="loc_wdc_OtherComprehensiveIncomeAxis_74CC08239E751CB44C1D1F0B8E88A2F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ProductWarrantyLiabilityTable_0B98856F1A734E5B8B331F0B8E885174" xlink:to="loc_wdc_OtherComprehensiveIncomeAxis_74CC08239E751CB44C1D1F0B8E88A2F6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OtherComprehensiveIncomeDomain" xlink:label="loc_wdc_OtherComprehensiveIncomeDomain_B5AE6E36DF88BDB810971F0B8E88E01B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_OtherComprehensiveIncomeAxis_74CC08239E751CB44C1D1F0B8E88A2F6" xlink:to="loc_wdc_OtherComprehensiveIncomeDomain_B5AE6E36DF88BDB810971F0B8E88E01B_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170331.xsd#wdc_OtherComprehensiveIncomeDomain" xlink:label="loc_wdc_OtherComprehensiveIncomeDomain_B5AE6E36DF88BDB810971F0B8E88E01B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_OtherComprehensiveIncomeAxis_74CC08239E751CB44C1D1F0B8E88A2F6" xlink:to="loc_wdc_OtherComprehensiveIncomeDomain_B5AE6E36DF88BDB810971F0B8E88E01B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_CEDFCC2812FF98D890A41F0B8E88FE3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_8BAE1595889E452641441F0B8E88CA07" xlink:to="loc_us-gaap_StandardProductWarrantyAccrual_CEDFCC2812FF98D890A41F0B8E88FE3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualAdditionsFromBusinessAcquisition" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualAdditionsFromBusinessAcquisition_9F7BDB104E633A18FE101F0B8E88E5A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_8BAE1595889E452641441F0B8E88CA07" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualAdditionsFromBusinessAcquisition_9F7BDB104E633A18FE101F0B8E88E5A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_8DE2EB10A65F54D8F2861F0B8E8887E1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_8BAE1595889E452641441F0B8E88CA07" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_8DE2EB10A65F54D8F2861F0B8E8887E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPayments_49845691F45D372FE1DE1F0B8E889CA1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_8BAE1595889E452641441F0B8E88CA07" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualPayments_49845691F45D372FE1DE1F0B8E889CA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_EAAFE3AFDB8E5052C7191F0B8E89F1FA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_8BAE1595889E452641441F0B8E88CA07" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_EAAFE3AFDB8E5052C7191F0B8E89F1FA" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
