<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedParties" xlink:href="wdc-20170929.xsd#CommitmentsContingenciesAndRelatedParties" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:href="wdc-20170929.xsd#CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:href="wdc-20170929.xsd#CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:href="wdc-20170929.xsd#CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:href="wdc-20170929.xsd#CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:href="wdc-20170929.xsd#CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:href="wdc-20170929.xsd#CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="wdc-20170929.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20170929.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="wdc-20170929.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="wdc-20170929.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="wdc-20170929.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20170929.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20170929.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:href="wdc-20170929.xsd#DerivativesInstrumentsAndHedgingActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetailTextual" xlink:href="wdc-20170929.xsd#DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetailTextual" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:href="wdc-20170929.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20170929.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20170929.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20170929.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:href="wdc-20170929.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanDetailTextuals" xlink:href="wdc-20170929.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanDetailTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20170929.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:href="wdc-20170929.xsd#FairValueMeasurementsAndInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:href="wdc-20170929.xsd#FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAvailableForSaleSecuritiesMaturitiesDetails" xlink:href="wdc-20170929.xsd#FairValueMeasurementsAndInvestmentsAvailableForSaleSecuritiesMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:href="wdc-20170929.xsd#FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:href="wdc-20170929.xsd#FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:href="wdc-20170929.xsd#FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20170929.xsd#FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpense" xlink:href="wdc-20170929.xsd#IncomeTaxExpense" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetailsTextuals" xlink:href="wdc-20170929.xsd#IncomeTaxExpenseAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:href="wdc-20170929.xsd#IncomeTaxExpenseTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTaxProvisionDetails" xlink:href="wdc-20170929.xsd#IncomeTaxExpenseTaxProvisionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20170929.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20170929.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:href="wdc-20170929.xsd#NetIncomeLossPerCommonShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareDetails" xlink:href="wdc-20170929.xsd#NetIncomeLossPerCommonShareEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareTables" xlink:href="wdc-20170929.xsd#NetIncomeLossPerCommonShareEarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" xlink:href="wdc-20170929.xsd#OrganizationAndBasisOfPresentationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:href="wdc-20170929.xsd#OrganizationAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20170929.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:href="wdc-20170929.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20170929.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20170929.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20170929.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncements" xlink:href="wdc-20170929.xsd#RecentlyAdoptedAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:href="wdc-20170929.xsd#RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetail" xlink:href="wdc-20170929.xsd#ScheduleOfDebtDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetailTextual" xlink:href="wdc-20170929.xsd#ScheduleOfDebtDetailTextual" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:href="wdc-20170929.xsd#SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeDetails" xlink:href="wdc-20170929.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:href="wdc-20170929.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:href="wdc-20170929.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:href="wdc-20170929.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:href="wdc-20170929.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20170929.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:href="wdc-20170929.xsd#ShareholdersEquityDividendsDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:href="wdc-20170929.xsd#ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:href="wdc-20170929.xsd#ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20170929.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:href="wdc-20170929.xsd#ShareholdersEquityStockOptionActivityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20170929.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20170929.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20170929.xsd#SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedParties" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_BCEE201172D9DA3684F88E0A799D889C" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable" xlink:label="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_E2F116AB00314B9E8BD18E0A799D8861" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_BCEE201172D9DA3684F88E0A799D889C" xlink:to="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_E2F116AB00314B9E8BD18E0A799D8861" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C36630024EA0C2EFD338E0A799D73A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_E2F116AB00314B9E8BD18E0A799D8861" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C36630024EA0C2EFD338E0A799D73A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_D6396C96C0C4CDB633348E0A799D7807_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C36630024EA0C2EFD338E0A799D73A3" xlink:to="loc_us-gaap_RelatedPartyDomain_D6396C96C0C4CDB633348E0A799D7807_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_D6396C96C0C4CDB633348E0A799D7807" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_9C36630024EA0C2EFD338E0A799D73A3" xlink:to="loc_us-gaap_RelatedPartyDomain_D6396C96C0C4CDB633348E0A799D7807" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_60A76BEB94BA74B27A068E0A799D4CCF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_D6396C96C0C4CDB633348E0A799D7807" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_60A76BEB94BA74B27A068E0A799D4CCF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EquityMethodInvestorNameAxis" xlink:label="loc_wdc_EquityMethodInvestorNameAxis_EF84859F11BC840FC4B68E0A799DE3C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_E2F116AB00314B9E8BD18E0A799D8861" xlink:to="loc_wdc_EquityMethodInvestorNameAxis_EF84859F11BC840FC4B68E0A799DE3C8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_E3D11C5C07B3D2C81A878E0A799D7018_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_EF84859F11BC840FC4B68E0A799DE3C8" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_E3D11C5C07B3D2C81A878E0A799D7018_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_E3D11C5C07B3D2C81A878E0A799D7018" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_EF84859F11BC840FC4B68E0A799DE3C8" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_E3D11C5C07B3D2C81A878E0A799D7018" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_WesternDigitalCorpMember" xlink:label="loc_wdc_WesternDigitalCorpMember_1E5C62B17209CF4247EA8E0A799DA938" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_E3D11C5C07B3D2C81A878E0A799D7018" xlink:to="loc_wdc_WesternDigitalCorpMember_1E5C62B17209CF4247EA8E0A799DA938" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_69DA7999314F1B30F6FC8E0A799DF7A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_E2F116AB00314B9E8BD18E0A799D8861" xlink:to="loc_us-gaap_RangeAxis_69DA7999314F1B30F6FC8E0A799DF7A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_14009C08F309649E2DD48E0A799DABFD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_69DA7999314F1B30F6FC8E0A799DF7A5" xlink:to="loc_us-gaap_RangeMember_14009C08F309649E2DD48E0A799DABFD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_14009C08F309649E2DD48E0A799DABFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_69DA7999314F1B30F6FC8E0A799DF7A5" xlink:to="loc_us-gaap_RangeMember_14009C08F309649E2DD48E0A799DABFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_268D27CAAD6C3E62510C8E0A799D7315" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_14009C08F309649E2DD48E0A799DABFD" xlink:to="loc_us-gaap_MinimumMember_268D27CAAD6C3E62510C8E0A799D7315" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_0152401022E20B7B91B58E0A799DA675" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_14009C08F309649E2DD48E0A799DABFD" xlink:to="loc_us-gaap_MaximumMember_0152401022E20B7B91B58E0A799DA675" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_BAFD93286E82261770E38E0A799DD583" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_BCEE201172D9DA3684F88E0A799D889C" xlink:to="loc_us-gaap_RelatedPartyTransactionsAbstract_BAFD93286E82261770E38E0A799DD583" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_PaymentsforProceedsfromEquityMethodInvestments" xlink:label="loc_wdc_PaymentsforProceedsfromEquityMethodInvestments_65CB205632AFB03764BA8E0A799DF512" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_BAFD93286E82261770E38E0A799DD583" xlink:to="loc_wdc_PaymentsforProceedsfromEquityMethodInvestments_65CB205632AFB03764BA8E0A799DF512" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_935CBCF8DC7D7C97AED28E0A799D0ACC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_BAFD93286E82261770E38E0A799DD583" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_935CBCF8DC7D7C97AED28E0A799D0ACC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_InvestmentFundingCommitments" xlink:label="loc_wdc_InvestmentFundingCommitments_17A6DD97A5A4EDA18FA18E0A799DD3F7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_BAFD93286E82261770E38E0A799DD583" xlink:to="loc_wdc_InvestmentFundingCommitments_17A6DD97A5A4EDA18FA18E0A799DD3F7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_492B89A14A205ADE0B6A82EBD1C3F195" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_CCF0142657337DFDC8D882EBD1C28D3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_492B89A14A205ADE0B6A82EBD1C3F195" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_CCF0142657337DFDC8D882EBD1C28D3E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_5E7F2899793C37F49E4182EBD1C381B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_CCF0142657337DFDC8D882EBD1C28D3E" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_5E7F2899793C37F49E4182EBD1C381B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_5E7F2899793C37F49E4182EBD1C381B5" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_5E7F2899793C37F49E4182EBD1C381B5" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_FlashPartnersLtdMember" xlink:label="loc_wdc_FlashPartnersLtdMember_D7E35C05D37DB9802B5782EBD1C34256" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657" xlink:to="loc_wdc_FlashPartnersLtdMember_D7E35C05D37DB9802B5782EBD1C34256" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_FlashAllianceLtdMember" xlink:label="loc_wdc_FlashAllianceLtdMember_E1BDAF8EC627D0C7B1B382EBD1C3B5D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657" xlink:to="loc_wdc_FlashAllianceLtdMember_E1BDAF8EC627D0C7B1B382EBD1C3B5D2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_FlashForwardLtdMember" xlink:label="loc_wdc_FlashForwardLtdMember_8C539E008C68375223FF82EBD1C3650A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657" xlink:to="loc_wdc_FlashForwardLtdMember_8C539E008C68375223FF82EBD1C3650A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_6B85BE8C207FD599166382EBD1C39085" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_B176E8F1C2B4F728798C82EBD1C3A657" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_6B85BE8C207FD599166382EBD1C39085" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_67F7F864403C98E0201682EBD1C3193F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_492B89A14A205ADE0B6A82EBD1C3F195" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_67F7F864403C98E0201682EBD1C3193F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_7848BC126921964877D182EBD1C31771" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_492B89A14A205ADE0B6A82EBD1C3F195" xlink:to="loc_us-gaap_Investments_7848BC126921964877D182EBD1C31771" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_36E46FD1623DA8A587A782EBD1C35EF6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_492B89A14A205ADE0B6A82EBD1C3F195" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_36E46FD1623DA8A587A782EBD1C35EF6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_580E75F112FA5EDF656282EBD2501013" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_580E75F112FA5EDF656282EBD2501013" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_CBDD779497E8F391537782EBD2501B48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_580E75F112FA5EDF656282EBD2501013" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_CBDD779497E8F391537782EBD2501B48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_B22D7E7F41B01AF4896482EBD250AA6E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_CBDD779497E8F391537782EBD2501B48" xlink:to="loc_us-gaap_RelatedPartyDomain_B22D7E7F41B01AF4896482EBD250AA6E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_B22D7E7F41B01AF4896482EBD250AA6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_CBDD779497E8F391537782EBD2501B48" xlink:to="loc_us-gaap_RelatedPartyDomain_B22D7E7F41B01AF4896482EBD250AA6E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_5343C29C7685A17467A282EBD250E377" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_B22D7E7F41B01AF4896482EBD250AA6E" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_5343C29C7685A17467A282EBD250E377" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_33C22410952131DA432582EBD2509ECA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_580E75F112FA5EDF656282EBD2501013" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_33C22410952131DA432582EBD2509ECA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_30F1A6C8CBD93D70B2B382EBD250A3C1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_33C22410952131DA432582EBD2509ECA" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_30F1A6C8CBD93D70B2B382EBD250A3C1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_30F1A6C8CBD93D70B2B382EBD250A3C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_33C22410952131DA432582EBD2509ECA" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_30F1A6C8CBD93D70B2B382EBD250A3C1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_PaymentOfPrincipalAmortizationMember" xlink:label="loc_wdc_PaymentOfPrincipalAmortizationMember_977B495DAC9465D6EE2282EBD2501980" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_30F1A6C8CBD93D70B2B382EBD250A3C1" xlink:to="loc_wdc_PaymentOfPrincipalAmortizationMember_977B495DAC9465D6EE2282EBD2501980" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_PurchaseOptionExercisePriceMember" xlink:label="loc_wdc_PurchaseOptionExercisePriceMember_DE038B5A9EA50593BF5482EBD25026E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_30F1A6C8CBD93D70B2B382EBD250A3C1" xlink:to="loc_wdc_PurchaseOptionExercisePriceMember_DE038B5A9EA50593BF5482EBD25026E3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_7B462084BA71652BA9DB82EBD251A10A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_7B462084BA71652BA9DB82EBD251A10A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_96C3E7D1F29E6F69A9C482EBD251AB27" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_96C3E7D1F29E6F69A9C482EBD251AB27" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_02CD77F9D0B12A62CD9282EBD251CFAB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_02CD77F9D0B12A62CD9282EBD251CFAB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_B70133E43F00826114B282EBD251AC6D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_B70133E43F00826114B282EBD251AC6D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_6E4F9C3A9F7C9BE52D2A82EBD25102E8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_6E4F9C3A9F7C9BE52D2A82EBD25102E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_6E553E79D7A87539502F82EBD2517B9E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_3233AAA30AC703D6630A82EBD2509F55" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_6E553E79D7A87539502F82EBD2517B9E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_8176E90B0C09E455762082EBD2462CD6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_1C06C62BDCC44461B9E682EBD246EDC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_8176E90B0C09E455762082EBD2462CD6" xlink:to="loc_us-gaap_LossContingenciesTable_1C06C62BDCC44461B9E682EBD246EDC1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_826EF61EC7D321C3EDAC82EBD2464A43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1C06C62BDCC44461B9E682EBD246EDC1" xlink:to="loc_wdc_BalanceSheetInformationAxis_826EF61EC7D321C3EDAC82EBD2464A43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_4FC73FB83DCD757C81C182EBD246DDA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_826EF61EC7D321C3EDAC82EBD2464A43" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4FC73FB83DCD757C81C182EBD246DDA8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_4FC73FB83DCD757C81C182EBD246DDA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_826EF61EC7D321C3EDAC82EBD2464A43" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4FC73FB83DCD757C81C182EBD246DDA8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_1E1BCDFC3F7F1C6989D682EBD2462DAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4FC73FB83DCD757C81C182EBD246DDA8" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_1E1BCDFC3F7F1C6989D682EBD2462DAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_DFA198E0B37075B3FDAE82EBD24684F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_1C06C62BDCC44461B9E682EBD246EDC1" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_DFA198E0B37075B3FDAE82EBD24684F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_B18C8AC96AF071544B3782EBD246133D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_DFA198E0B37075B3FDAE82EBD24684F1" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_B18C8AC96AF071544B3782EBD246133D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_B18C8AC96AF071544B3782EBD246133D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_DFA198E0B37075B3FDAE82EBD24684F1" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_B18C8AC96AF071544B3782EBD246133D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_9F5E69BECD213839338982EBD2469C94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_B18C8AC96AF071544B3782EBD246133D" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_9F5E69BECD213839338982EBD2469C94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_E33A645F91A74A58071782EBD246253F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_8176E90B0C09E455762082EBD2462CD6" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_E33A645F91A74A58071782EBD246253F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_C04CE4731AB8D1C001F782EBD1CB1A6B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_17DD1A841273BC30914F82EBD1CA1684" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_C04CE4731AB8D1C001F782EBD1CB1A6B" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_17DD1A841273BC30914F82EBD1CA1684" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_A0B012FDE338E88F9C4682EBD1CA5598" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_17DD1A841273BC30914F82EBD1CA1684" xlink:to="loc_wdc_BalanceSheetInformationAxis_A0B012FDE338E88F9C4682EBD1CA5598" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_A0B012FDE338E88F9C4682EBD1CA5598" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_A0B012FDE338E88F9C4682EBD1CA5598" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NotesReceivableMember" xlink:label="loc_us-gaap_NotesReceivableMember_15211A3827D2439D9F7882EBD1CBCE0C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569" xlink:to="loc_us-gaap_NotesReceivableMember_15211A3827D2439D9F7882EBD1CBCE0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_0F6D14C8BDD87C37222482EBD1CB2D0C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_0F6D14C8BDD87C37222482EBD1CB2D0C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_57E5753FF53A4E22721282EBD1CB7F90" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_57E5753FF53A4E22721282EBD1CB7F90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_971811F650A3FD831F4082EBD1CBE2E1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_EF1E93121FFD2663E2F582EBD1CB6569" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_971811F650A3FD831F4082EBD1CBE2E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_0666B8A009B7862FC8B382EBD1CBB01B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_17DD1A841273BC30914F82EBD1CA1684" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_0666B8A009B7862FC8B382EBD1CBB01B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_95D47D05CC22F2E2DDF382EBD1CB383E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_0666B8A009B7862FC8B382EBD1CBB01B" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_95D47D05CC22F2E2DDF382EBD1CB383E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_95D47D05CC22F2E2DDF382EBD1CB383E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_0666B8A009B7862FC8B382EBD1CBB01B" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_95D47D05CC22F2E2DDF382EBD1CB383E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_C1498269946E4606B8B882EBD1CB9146" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_95D47D05CC22F2E2DDF382EBD1CB383E" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_C1498269946E4606B8B882EBD1CB9146" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_916A6465F80F2DE5A91282EBD1CB8947" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_C04CE4731AB8D1C001F782EBD1CB1A6B" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_916A6465F80F2DE5A91282EBD1CB8947" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_113D05C4C6AC1C80801E82EBD1CB61B2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_C04CE4731AB8D1C001F782EBD1CB1A6B" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_113D05C4C6AC1C80801E82EBD1CB61B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryGross" xlink:label="loc_us-gaap_InventoryGross_6C35569D17AA80ACB3A982EBD1CBFF93" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_C04CE4731AB8D1C001F782EBD1CB1A6B" xlink:to="loc_us-gaap_InventoryGross_6C35569D17AA80ACB3A982EBD1CBFF93" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetailTextual" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_6F77D8030B22627C10C170817018C8FE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_68C225A215CD99A8B803708170176163" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_6F77D8030B22627C10C170817018C8FE" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_68C225A215CD99A8B803708170176163" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_4653014D9BD2B496FF20708170180759" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_68C225A215CD99A8B803708170176163" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_4653014D9BD2B496FF20708170180759" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_3346ABDDA9131CB15EB470817018A46A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_4653014D9BD2B496FF20708170180759" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_3346ABDDA9131CB15EB470817018A46A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_3346ABDDA9131CB15EB470817018A46A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_4653014D9BD2B496FF20708170180759" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_3346ABDDA9131CB15EB470817018A46A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_3618E20F736CA6F5AB7F70817018378D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_3346ABDDA9131CB15EB470817018A46A" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_3618E20F736CA6F5AB7F70817018378D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_3FA8D3B658E25FF7C7DA7081701823F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_3346ABDDA9131CB15EB470817018A46A" xlink:to="loc_us-gaap_ContractTerminationMember_3FA8D3B658E25FF7C7DA7081701823F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_87BC706F758B741AC8D2708170187C68" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_68C225A215CD99A8B803708170176163" xlink:to="loc_us-gaap_RestructuringPlanAxis_87BC706F758B741AC8D2708170187C68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_A7A26131869AC29004C07081701807CE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_87BC706F758B741AC8D2708170187C68" xlink:to="loc_us-gaap_RestructuringPlanDomain_A7A26131869AC29004C07081701807CE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_A7A26131869AC29004C07081701807CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_87BC706F758B741AC8D2708170187C68" xlink:to="loc_us-gaap_RestructuringPlanDomain_A7A26131869AC29004C07081701807CE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_7515A12571A9FC5E1FD870817018B000" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_A7A26131869AC29004C07081701807CE" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_7515A12571A9FC5E1FD870817018B000" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_53FA3A57DE88A42D580E708170180FD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_6F77D8030B22627C10C170817018C8FE" xlink:to="loc_us-gaap_RestructuringReserveRollForward_53FA3A57DE88A42D580E708170180FD0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_252530F224D39EBB291D708170181AB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_53FA3A57DE88A42D580E708170180FD0" xlink:to="loc_us-gaap_RestructuringReserve_252530F224D39EBB291D708170181AB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_CB467DDAF75CE756D4E570817019B075" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_53FA3A57DE88A42D580E708170180FD0" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_CB467DDAF75CE756D4E570817019B075" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_D5630A1E77B6D40C9C9870817019AEFE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_53FA3A57DE88A42D580E708170180FD0" xlink:to="loc_us-gaap_PaymentsForRestructuring_D5630A1E77B6D40C9C9870817019AEFE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_E16B362A4D42408B67797E8FCB52A478" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_3484F01074C6E076DAD77E8FCB526F46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E16B362A4D42408B67797E8FCB52A478" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_3484F01074C6E076DAD77E8FCB526F46" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_0A1AD3845BA408408FA67E8FCB5222ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_3484F01074C6E076DAD77E8FCB526F46" xlink:to="loc_us-gaap_RestructuringPlanAxis_0A1AD3845BA408408FA67E8FCB5222ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_9D81AFE72B44DDEA275A7E8FCB520B35_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_0A1AD3845BA408408FA67E8FCB5222ED" xlink:to="loc_us-gaap_RestructuringPlanDomain_9D81AFE72B44DDEA275A7E8FCB520B35_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_9D81AFE72B44DDEA275A7E8FCB520B35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_0A1AD3845BA408408FA67E8FCB5222ED" xlink:to="loc_us-gaap_RestructuringPlanDomain_9D81AFE72B44DDEA275A7E8FCB520B35" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_3C3EEDB50D02A08D243E7E8FCB527914" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_9D81AFE72B44DDEA275A7E8FCB520B35" xlink:to="loc_wdc_RestructuringPlanMember_3C3EEDB50D02A08D243E7E8FCB527914" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_454A55CD1E18D57369767E8FCB52C1CC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_9D81AFE72B44DDEA275A7E8FCB520B35" xlink:to="loc_wdc_OdawaraMember_454A55CD1E18D57369767E8FCB52C1CC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_9807F7BF9E7AF917CD5E7E8FCB528D72" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_9D81AFE72B44DDEA275A7E8FCB520B35" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_9807F7BF9E7AF917CD5E7E8FCB528D72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_BAA8D4D868644EF0CAE17E8FCB52C058" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_E16B362A4D42408B67797E8FCB52A478" xlink:to="loc_us-gaap_RestructuringCharges_BAA8D4D868644EF0CAE17E8FCB52C058" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_958316DC8FA3929D09A570817020904B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_2F1AE2ADA3D4205C62B57081701F6A36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_958316DC8FA3929D09A570817020904B" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_2F1AE2ADA3D4205C62B57081701F6A36" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_4E73658E07B79D39E5277081701FB0AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_2F1AE2ADA3D4205C62B57081701F6A36" xlink:to="loc_us-gaap_RestructuringPlanAxis_4E73658E07B79D39E5277081701FB0AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_63839CC03848AF263FC57081701F49CE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_4E73658E07B79D39E5277081701FB0AC" xlink:to="loc_us-gaap_RestructuringPlanDomain_63839CC03848AF263FC57081701F49CE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_63839CC03848AF263FC57081701F49CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_4E73658E07B79D39E5277081701FB0AC" xlink:to="loc_us-gaap_RestructuringPlanDomain_63839CC03848AF263FC57081701F49CE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_15AD973EDD5410A329117081701F33E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_63839CC03848AF263FC57081701F49CE" xlink:to="loc_wdc_RestructuringPlanMember_15AD973EDD5410A329117081701F33E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_4FA828CF8DFBA313260B70817020A9B4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_2F1AE2ADA3D4205C62B57081701F6A36" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_4FA828CF8DFBA313260B70817020A9B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_531D5E984A7603AD624D70817020D26C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_4FA828CF8DFBA313260B70817020A9B4" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_531D5E984A7603AD624D70817020D26C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_531D5E984A7603AD624D70817020D26C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_4FA828CF8DFBA313260B70817020A9B4" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_531D5E984A7603AD624D70817020D26C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_0DEEB52E36E6CADDEC6770817020CFE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_531D5E984A7603AD624D70817020D26C" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_0DEEB52E36E6CADDEC6770817020CFE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_3F9257A8AE669379F3B8708170207E9E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_531D5E984A7603AD624D70817020D26C" xlink:to="loc_us-gaap_ContractTerminationMember_3F9257A8AE669379F3B8708170207E9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_A18607BE311A355BB32D70817020714A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_958316DC8FA3929D09A570817020904B" xlink:to="loc_us-gaap_RestructuringReserveRollForward_A18607BE311A355BB32D70817020714A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_919CF526C6712DCD5387708170206F75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_A18607BE311A355BB32D70817020714A" xlink:to="loc_us-gaap_RestructuringReserve_919CF526C6712DCD5387708170206F75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_C9AA303493EF166B03E670817020069C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_A18607BE311A355BB32D70817020714A" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_C9AA303493EF166B03E670817020069C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_191DF22622E8602A0CEB70817020EB1E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_A18607BE311A355BB32D70817020714A" xlink:to="loc_us-gaap_PaymentsForRestructuring_191DF22622E8602A0CEB70817020EB1E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanDetailTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_A295ED6FF713B2E6C0B27F7E2D42E4CF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_948B62B9624B05FB0A5E7F7E2D419138" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A295ED6FF713B2E6C0B27F7E2D42E4CF" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_948B62B9624B05FB0A5E7F7E2D419138" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_1AF0998B851BF92E6AC77F7E2D41B979" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_948B62B9624B05FB0A5E7F7E2D419138" xlink:to="loc_us-gaap_RestructuringPlanAxis_1AF0998B851BF92E6AC77F7E2D41B979" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_FBD67D4795F122A53CE57F7E2D41CFB7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_1AF0998B851BF92E6AC77F7E2D41B979" xlink:to="loc_us-gaap_RestructuringPlanDomain_FBD67D4795F122A53CE57F7E2D41CFB7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_FBD67D4795F122A53CE57F7E2D41CFB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_1AF0998B851BF92E6AC77F7E2D41B979" xlink:to="loc_us-gaap_RestructuringPlanDomain_FBD67D4795F122A53CE57F7E2D41CFB7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_10073646453C1FBFEA397F7E2D4187FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_FBD67D4795F122A53CE57F7E2D41CFB7" xlink:to="loc_wdc_RestructuringPlanMember_10073646453C1FBFEA397F7E2D4187FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_8B18066A46EF289EF1377F7E2D41DA52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_948B62B9624B05FB0A5E7F7E2D419138" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_8B18066A46EF289EF1377F7E2D41DA52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_C7B20F3D04CD120C90297F7E2D41BC24_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_8B18066A46EF289EF1377F7E2D41DA52" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_C7B20F3D04CD120C90297F7E2D41BC24_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_C7B20F3D04CD120C90297F7E2D41BC24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_8B18066A46EF289EF1377F7E2D41DA52" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_C7B20F3D04CD120C90297F7E2D41BC24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_11E287543D1620CB10E77F7E2D425A2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_C7B20F3D04CD120C90297F7E2D41BC24" xlink:to="loc_us-gaap_CostOfSalesMember_11E287543D1620CB10E77F7E2D425A2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveAcceleratedDepreciation" xlink:label="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_7D0BF9CD464337C8B9867F7E2D42675F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_A295ED6FF713B2E6C0B27F7E2D42E4CF" xlink:to="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_7D0BF9CD464337C8B9867F7E2D42675F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_5BBF69589583AB2D49B06F97F6E89A9C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_700E0DF285DDFD9867A46F97F6E808CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_5BBF69589583AB2D49B06F97F6E89A9C" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_700E0DF285DDFD9867A46F97F6E808CC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_7C70847FF0753BAC9AEC6F97F6E82285" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_700E0DF285DDFD9867A46F97F6E808CC" xlink:to="loc_us-gaap_RestructuringPlanAxis_7C70847FF0753BAC9AEC6F97F6E82285" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_E386A7BDB3B55FCE294E6F97F6E8B970_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_7C70847FF0753BAC9AEC6F97F6E82285" xlink:to="loc_us-gaap_RestructuringPlanDomain_E386A7BDB3B55FCE294E6F97F6E8B970_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_E386A7BDB3B55FCE294E6F97F6E8B970" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_7C70847FF0753BAC9AEC6F97F6E82285" xlink:to="loc_us-gaap_RestructuringPlanDomain_E386A7BDB3B55FCE294E6F97F6E8B970" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_639FA3AC90DA96D8E1DC6F97F6E82C35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_E386A7BDB3B55FCE294E6F97F6E8B970" xlink:to="loc_wdc_RestructuringPlanMember_639FA3AC90DA96D8E1DC6F97F6E82C35" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_C7B2A9EE273A159FAC846F97F6E8F280" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_E386A7BDB3B55FCE294E6F97F6E8B970" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_C7B2A9EE273A159FAC846F97F6E8F280" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:label="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_4E802093AA910214C5846F97F6E9CA86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_5BBF69589583AB2D49B06F97F6E89A9C" xlink:to="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_4E802093AA910214C5846F97F6E9CA86" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAvailableForSaleSecuritiesMaturitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_9AD6C2DE19CF76135D9482BD69C29EC2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_61E32E49687894F6051682BD69C28B1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9AD6C2DE19CF76135D9482BD69C29EC2" xlink:to="loc_us-gaap_DebtInstrumentTable_61E32E49687894F6051682BD69C28B1A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_6EB14A095E14C604D40D82BD69C2A48E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_61E32E49687894F6051682BD69C28B1A" xlink:to="loc_us-gaap_DebtInstrumentAxis_6EB14A095E14C604D40D82BD69C2A48E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_6EB14A095E14C604D40D82BD69C2A48E" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_6EB14A095E14C604D40D82BD69C2A48E" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_BE3022F13BC86B7CE43882BD69C2087A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:to="loc_wdc_SecuredNotesMember_BE3022F13BC86B7CE43882BD69C2087A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_6E9880A0D00603E9B29B82BD69C21EA6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:to="loc_wdc_UnsecuredNotesMember_6E9880A0D00603E9B29B82BD69C21EA6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_463855755E4DC539688E82BD69C274DB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:to="loc_wdc_TermLoanAMember_463855755E4DC539688E82BD69C274DB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_12F67687BC92CA85E42A82BD69C24350" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:to="loc_wdc_U.S.TermLoanB2Member_12F67687BC92CA85E42A82BD69C24350" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_13A975457059F49E1AF082BD69C26C14" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:to="loc_wdc_EuroTermLoanB2Member_13A975457059F49E1AF082BD69C26C14" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_DFD1DC9AC01F8D4AFB2782BD69C22BC0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_DFD1DC9AC01F8D4AFB2782BD69C22BC0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_DebtCostMember" xlink:label="loc_wdc_DebtCostMember_CD598776CC279D0D827982BD69C2AE66" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_517F71062EFBA160F82D82BD69C239B8" xlink:to="loc_wdc_DebtCostMember_CD598776CC279D0D827982BD69C2AE66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_9A8D4C2A48E9425F5A1082BD69C22848" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9AD6C2DE19CF76135D9482BD69C29EC2" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_9A8D4C2A48E9425F5A1082BD69C22848" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_1779CC1B3C282E179A7082BD69C2BEC7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9AD6C2DE19CF76135D9482BD69C29EC2" xlink:to="loc_us-gaap_LongTermDebt_1779CC1B3C282E179A7082BD69C2BEC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_EEAEE3F4EE6D4F8C3CAB82BD69C37287" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9AD6C2DE19CF76135D9482BD69C29EC2" xlink:to="loc_us-gaap_LongTermDebtFairValue_EEAEE3F4EE6D4F8C3CAB82BD69C37287" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A52F5F91B693950D03C683245CB281EE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F2D1F075B14F260F56DB83245CAB1207" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A52F5F91B693950D03C683245CB281EE" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F2D1F075B14F260F56DB83245CAB1207" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EC7BE7DB186A3504C69C83245CABD6A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F2D1F075B14F260F56DB83245CAB1207" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EC7BE7DB186A3504C69C83245CABD6A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_0A79E64CEAF7E94D3AD683245CAB8043_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EC7BE7DB186A3504C69C83245CABD6A6" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_0A79E64CEAF7E94D3AD683245CAB8043_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_0A79E64CEAF7E94D3AD683245CAB8043" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EC7BE7DB186A3504C69C83245CABD6A6" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_0A79E64CEAF7E94D3AD683245CAB8043" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_26ECC8C0CBC19C8D8EFA83245CAB01A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_0A79E64CEAF7E94D3AD683245CAB8043" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_26ECC8C0CBC19C8D8EFA83245CAB01A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_E49DB92FF42DF50B691283245CABA9F4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F2D1F075B14F260F56DB83245CAB1207" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_E49DB92FF42DF50B691283245CABA9F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_E49DB92FF42DF50B691283245CABA9F4" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_E49DB92FF42DF50B691283245CABA9F4" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_CA762C3657EFB8CAA3E983245CABD4C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_MoneyMarketFundsMember_CA762C3657EFB8CAA3E983245CABD4C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_8BE192AFAEAE6F78DE8983245CAB011B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_CertificatesOfDepositMember_8BE192AFAEAE6F78DE8983245CAB011B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_CorporatenoteandbondsecuritiesMember" xlink:label="loc_wdc_CorporatenoteandbondsecuritiesMember_539009EC41BC5691A6EE83245CABB241" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_wdc_CorporatenoteandbondsecuritiesMember_539009EC41BC5691A6EE83245CABB241" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_1B980BC50E7F70D6C9CC83245CAB8782" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_1B980BC50E7F70D6C9CC83245CAB8782" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_MunicipalNotesAndBondsMember" xlink:label="loc_wdc_MunicipalNotesAndBondsMember_470D3D07CCADF081C3E183245CABE278" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_wdc_MunicipalNotesAndBondsMember_470D3D07CCADF081C3E183245CABE278" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_5CF1A9A187F73039FF7F83245CB13053" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_EquitySecuritiesMember_5CF1A9A187F73039FF7F83245CB13053" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_2918C8121DD610D62DE883245CB170B2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_2918C8121DD610D62DE883245CB170B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_779E0ABC5CED8E3A62BD83245CB1B4D3" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_779E0ABC5CED8E3A62BD83245CB1B4D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_13EEF4C4B0CC81C747D283245CB1D3B0" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_13EEF4C4B0CC81C747D283245CB1D3B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_B25D08B89238F8B8EA1483245CB1C1A3" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_ForeignExchangeContractMember_B25D08B89238F8B8EA1483245CB1C1A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_562E770B22FE37D1C02E83245CB1409F" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_us-gaap_InterestRateSwapMember_562E770B22FE37D1C02E83245CB1409F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_NoteConversionOptionsMember" xlink:label="loc_wdc_NoteConversionOptionsMember_A751DF599B1842D8BFAD83245CB11CFC" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_762AA091BBC48D435EBD83245CABA9DD" xlink:to="loc_wdc_NoteConversionOptionsMember_A751DF599B1842D8BFAD83245CB11CFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C164B4F10E2112D37A7383245CB12701" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_F2D1F075B14F260F56DB83245CAB1207" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C164B4F10E2112D37A7383245CB12701" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9D63E810E07A10411BB083245CB1DB30_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C164B4F10E2112D37A7383245CB12701" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9D63E810E07A10411BB083245CB1DB30_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9D63E810E07A10411BB083245CB1DB30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C164B4F10E2112D37A7383245CB12701" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9D63E810E07A10411BB083245CB1DB30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_4BCD2892E2525A7F644B83245CB1609B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9D63E810E07A10411BB083245CB1DB30" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_4BCD2892E2525A7F644B83245CB1609B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_3E6EEA706C87749862E283245CB1D047" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9D63E810E07A10411BB083245CB1DB30" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_3E6EEA706C87749862E283245CB1D047" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_063F1AD6E0162C5273A383245CB148A1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9D63E810E07A10411BB083245CB1DB30" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_063F1AD6E0162C5273A383245CB148A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_0AD9BE322102AD32899583245CB252AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A52F5F91B693950D03C683245CB281EE" xlink:to="loc_us-gaap_AssetsAbstract_0AD9BE322102AD32899583245CB252AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_41A7BEB2504D3574AA5183245CB21244" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_0AD9BE322102AD32899583245CB252AF" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_41A7BEB2504D3574AA5183245CB21244" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_ShorttermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_ShorttermInvestmentsFairValueDisclosure_50C2622D02325A31C54183245CB27BB4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_0AD9BE322102AD32899583245CB252AF" xlink:to="loc_wdc_ShorttermInvestmentsFairValueDisclosure_50C2622D02325A31C54183245CB27BB4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_LongtermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_LongtermInvestmentsFairValueDisclosure_7221671DF7C53451541883245CB274B0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_0AD9BE322102AD32899583245CB252AF" xlink:to="loc_wdc_LongtermInvestmentsFairValueDisclosure_7221671DF7C53451541883245CB274B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_D569A99D30790D26180C83245CB2AA03" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_0AD9BE322102AD32899583245CB252AF" xlink:to="loc_us-gaap_DerivativeAssets_D569A99D30790D26180C83245CB2AA03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_9F46D943CC2967061D4D83245CB225BC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_0AD9BE322102AD32899583245CB252AF" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_9F46D943CC2967061D4D83245CB225BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_7F4630DF4BC0D327ADFB83245CB2BF2E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A52F5F91B693950D03C683245CB281EE" xlink:to="loc_us-gaap_LiabilitiesAbstract_7F4630DF4BC0D327ADFB83245CB2BF2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_4187F98B2B2957C2EC6683245CB2680D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_7F4630DF4BC0D327ADFB83245CB2BF2E" xlink:to="loc_us-gaap_DerivativeLiabilities_4187F98B2B2957C2EC6683245CB2680D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_E2D1D1F18E8F3FFF458B83245CB28AD9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_7F4630DF4BC0D327ADFB83245CB2BF2E" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_E2D1D1F18E8F3FFF458B83245CB28AD9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpense" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="wdc-20170929.xsd#wdc_IncomeTaxDisclosureLineItems" xlink:label="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_IncomeTaxDisclosureTable" xlink:label="loc_wdc_IncomeTaxDisclosureTable_A724E40C83ED965F23C98E0D65E06770" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_wdc_IncomeTaxDisclosureTable_A724E40C83ED965F23C98E0D65E06770" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_A9687DEC1A822FD4E0A78E0D65E0FC6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_A724E40C83ED965F23C98E0D65E06770" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_A9687DEC1A822FD4E0A78E0D65E0FC6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_1647EF38BF6D26436CC78E0D65E00163_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_A9687DEC1A822FD4E0A78E0D65E0FC6D" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_1647EF38BF6D26436CC78E0D65E00163_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_1647EF38BF6D26436CC78E0D65E00163" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_A9687DEC1A822FD4E0A78E0D65E0FC6D" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_1647EF38BF6D26436CC78E0D65E00163" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_E189374E158A900CCDD98E0D65F081F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_1647EF38BF6D26436CC78E0D65E00163" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_E189374E158A900CCDD98E0D65F081F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_F66F7A2F3364DC24D2508E0D65F0619C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_A724E40C83ED965F23C98E0D65E06770" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_F66F7A2F3364DC24D2508E0D65F0619C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4561907DBA14D6C5A0E88E0D65F01B4C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_F66F7A2F3364DC24D2508E0D65F0619C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4561907DBA14D6C5A0E88E0D65F01B4C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4561907DBA14D6C5A0E88E0D65F01B4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_F66F7A2F3364DC24D2508E0D65F0619C" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4561907DBA14D6C5A0E88E0D65F01B4C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_2B6FC0430D31F943770D8E0D65F018AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4561907DBA14D6C5A0E88E0D65F01B4C" xlink:to="loc_wdc_SanDiskMember_2B6FC0430D31F943770D8E0D65F018AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6E21A3EBC219C51B4B0B8E0D65F08CF9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_A724E40C83ED965F23C98E0D65E06770" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6E21A3EBC219C51B4B0B8E0D65F08CF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_A4D476235C034F67AA8F8E0D65F0348C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6E21A3EBC219C51B4B0B8E0D65F08CF9" xlink:to="loc_us-gaap_TypeOfAdoptionMember_A4D476235C034F67AA8F8E0D65F0348C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_A4D476235C034F67AA8F8E0D65F0348C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6E21A3EBC219C51B4B0B8E0D65F08CF9" xlink:to="loc_us-gaap_TypeOfAdoptionMember_A4D476235C034F67AA8F8E0D65F0348C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_567B218BBC4EC6D883DA8E0D65F06CA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_A4D476235C034F67AA8F8E0D65F0348C" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_567B218BBC4EC6D883DA8E0D65F06CA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_F26285521583BDFC4CD68E0D65F0D42D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_F26285521583BDFC4CD68E0D65F0D42D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_2434EF4ED730AEFC8F588E0D65F08B54" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_2434EF4ED730AEFC8F588E0D65F08B54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_D74DA444E1F04F556DFA8E0D65F09EBF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_D74DA444E1F04F556DFA8E0D65F09EBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_3CB08706E1FB109778848E0D65F064AC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_3CB08706E1FB109778848E0D65F064AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherTaxExpenseBenefit" xlink:label="loc_us-gaap_OtherTaxExpenseBenefit_709D0A09C087773925768E0D65F0C947" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_OtherTaxExpenseBenefit_709D0A09C087773925768E0D65F0C947" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations_DE6E540708563DB8A9BE8E0D65F09E8E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations_DE6E540708563DB8A9BE8E0D65F09E8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_ECE55C345793249AAB2B8E0D65F0F0AA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_ECE55C345793249AAB2B8E0D65F0F0AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_5F0E9553FA9FFFF900BC8E0D65F0EF46" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_5F0E9553FA9FFFF900BC8E0D65F0EF46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_31D360EF58545CF0801E8E0D65F03E4D" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_A454DD7A6546911F25438E0D65F0E18C" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_31D360EF58545CF0801E8E0D65F03E4D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTaxProvisionDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedings" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_AE626B6EEC660823E71E833E654A5F6F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_9C58F050EDDDAE0D5826833E654A3760" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_AE626B6EEC660823E71E833E654A5F6F" xlink:to="loc_us-gaap_LossContingenciesTable_9C58F050EDDDAE0D5826833E654A3760" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_2DBB64A0C3E272FF2805833E654ADDF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_9C58F050EDDDAE0D5826833E654A3760" xlink:to="loc_us-gaap_RangeAxis_2DBB64A0C3E272FF2805833E654ADDF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F7214AD701FBCE77C2B3833E654AA777_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_2DBB64A0C3E272FF2805833E654ADDF8" xlink:to="loc_us-gaap_RangeMember_F7214AD701FBCE77C2B3833E654AA777_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F7214AD701FBCE77C2B3833E654AA777" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_2DBB64A0C3E272FF2805833E654ADDF8" xlink:to="loc_us-gaap_RangeMember_F7214AD701FBCE77C2B3833E654AA777" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_48023CEB69E959CB6F08833E654A891A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F7214AD701FBCE77C2B3833E654AA777" xlink:to="loc_us-gaap_MaximumMember_48023CEB69E959CB6F08833E654A891A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNumberOfPlaintiffs" xlink:label="loc_us-gaap_LossContingencyNumberOfPlaintiffs_AD006C9CF33241254408835DA500BEEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_AE626B6EEC660823E71E833E654A5F6F" xlink:to="loc_us-gaap_LossContingencyNumberOfPlaintiffs_AD006C9CF33241254408835DA500BEEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyNewClaimsFiledNumber" xlink:label="loc_us-gaap_LossContingencyNewClaimsFiledNumber_CCBE1BEC3A3AA206E83983592C018F16" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_AE626B6EEC660823E71E833E654A5F6F" xlink:to="loc_us-gaap_LossContingencyNewClaimsFiledNumber_CCBE1BEC3A3AA206E83983592C018F16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyPendingClaimsNumber" xlink:label="loc_us-gaap_LossContingencyPendingClaimsNumber_9E0CBE604394FCE6E7D7835F75D01B13" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_AE626B6EEC660823E71E833E654A5F6F" xlink:to="loc_us-gaap_LossContingencyPendingClaimsNumber_9E0CBE604394FCE6E7D7835F75D01B13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyDamagesSoughtValue" xlink:label="loc_us-gaap_LossContingencyDamagesSoughtValue_F7E93F7D0297E7D6604D833E654AE6D8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_AE626B6EEC660823E71E833E654A5F6F" xlink:to="loc_us-gaap_LossContingencyDamagesSoughtValue_F7E93F7D0297E7D6604D833E654AE6D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_A939F38F6308F089DE45833E654A1375" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_AE626B6EEC660823E71E833E654A5F6F" xlink:to="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_A939F38F6308F089DE45833E654A1375" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareEarningsPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_29D1DDC7B8BD0725F6FF6F97F7F9CB9B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_133351C1000287713C916F97F7F83A70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_29D1DDC7B8BD0725F6FF6F97F7F9CB9B" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_133351C1000287713C916F97F7F83A70" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_AD8790C1DC68D9807EED6F97F7F8F7B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_133351C1000287713C916F97F7F83A70" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_AD8790C1DC68D9807EED6F97F7F8F7B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_B6D89D6DE6CE3C3832FC6F97F7F8DC53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_AD8790C1DC68D9807EED6F97F7F8F7B3" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_B6D89D6DE6CE3C3832FC6F97F7F8DC53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_B6D89D6DE6CE3C3832FC6F97F7F8DC53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_AD8790C1DC68D9807EED6F97F7F8F7B3" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_B6D89D6DE6CE3C3832FC6F97F7F8DC53" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_JapanesePlanMember" xlink:label="loc_wdc_JapanesePlanMember_61444E2F0FDD3A7742B06FF298655694" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_B6D89D6DE6CE3C3832FC6F97F7F8DC53" xlink:to="loc_wdc_JapanesePlanMember_61444E2F0FDD3A7742B06FF298655694" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_D9F672DD0584B44438826F97F7F9086D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_29D1DDC7B8BD0725F6FF6F97F7F9CB9B" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_D9F672DD0584B44438826F97F7F9086D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_D1AF6043CD72B3334D906F97F7F95AD6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_29D1DDC7B8BD0725F6FF6F97F7F9CB9B" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_D1AF6043CD72B3334D906F97F7F95AD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_89E8DE2E5378D97C02C76F97F7F9FF63" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_29D1DDC7B8BD0725F6FF6F97F7F9CB9B" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_89E8DE2E5378D97C02C76F97F7F9FF63" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_12BC9B365191E0909A866FF5139022D6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_FB17F910614C95DFB5F66FF5138FD154" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_12BC9B365191E0909A866FF5139022D6" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_FB17F910614C95DFB5F66FF5138FD154" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_AB7365D2C04AB11162B16FF46F51E9F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_FB17F910614C95DFB5F66FF5138FD154" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_AB7365D2C04AB11162B16FF46F51E9F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_E734D3E3734929C6E1846FF46F524327_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_AB7365D2C04AB11162B16FF46F51E9F0" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_E734D3E3734929C6E1846FF46F524327_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_E734D3E3734929C6E1846FF46F524327" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_AB7365D2C04AB11162B16FF46F51E9F0" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_E734D3E3734929C6E1846FF46F524327" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_JapanesePlanMember" xlink:label="loc_wdc_JapanesePlanMember_805CEA2C79071EA52C396FF46F520956" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_E734D3E3734929C6E1846FF46F524327" xlink:to="loc_wdc_JapanesePlanMember_805CEA2C79071EA52C396FF46F520956" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_4BD9B997863FED13EC3A6FF46F52FDDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_12BC9B365191E0909A866FF5139022D6" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_4BD9B997863FED13EC3A6FF46F52FDDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_14DA4693EC5C747385EE6FF46F52590A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_12BC9B365191E0909A866FF5139022D6" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_14DA4693EC5C747385EE6FF46F52590A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_2C0F1CB3A962F4E3EA5A6FF46F529EB1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_12BC9B365191E0909A866FF5139022D6" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_2C0F1CB3A962F4E3EA5A6FF46F529EB1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_490CDD2469F2E2A2C14C831C06008281" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_0A819502C30EF559388A831C05FF2356" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_490CDD2469F2E2A2C14C831C06008281" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_0A819502C30EF559388A831C05FF2356" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_D80A3A50FC86ABD363C2831C05FF6446" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_0A819502C30EF559388A831C05FF2356" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_D80A3A50FC86ABD363C2831C05FF6446" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_4EAB2D47387615F49DBE831C05FFBEDE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D80A3A50FC86ABD363C2831C05FF6446" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4EAB2D47387615F49DBE831C05FFBEDE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_4EAB2D47387615F49DBE831C05FFBEDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D80A3A50FC86ABD363C2831C05FF6446" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4EAB2D47387615F49DBE831C05FFBEDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_AF78C95E383654DF6523831C05FFCFC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4EAB2D47387615F49DBE831C05FFBEDE" xlink:to="loc_us-gaap_RetainedEarningsMember_AF78C95E383654DF6523831C05FFCFC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6C996F12A11FEC6A4073831C05FF14C4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_0A819502C30EF559388A831C05FF2356" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6C996F12A11FEC6A4073831C05FF14C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_0532108C0BD696E43AC8831C05FF090A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6C996F12A11FEC6A4073831C05FF14C4" xlink:to="loc_us-gaap_TypeOfAdoptionMember_0532108C0BD696E43AC8831C05FF090A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_0532108C0BD696E43AC8831C05FF090A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_6C996F12A11FEC6A4073831C05FF14C4" xlink:to="loc_us-gaap_TypeOfAdoptionMember_0532108C0BD696E43AC8831C05FF090A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_E92B950F8FEE25794B94831C05FF6A7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_0532108C0BD696E43AC8831C05FF090A" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_E92B950F8FEE25794B94831C05FF6A7E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_CumulativeAdjustmentScenarioAxis" xlink:label="loc_wdc_CumulativeAdjustmentScenarioAxis_2C0E134DAA5BE2A5404E831C05FFAB9D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_0A819502C30EF559388A831C05FF2356" xlink:to="loc_wdc_CumulativeAdjustmentScenarioAxis_2C0E134DAA5BE2A5404E831C05FFAB9D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_CumulativeAdjustmentScenarioDomain" xlink:label="loc_wdc_CumulativeAdjustmentScenarioDomain_D9ABA7BB3B9C4C2F05D6831C05FFF66E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_CumulativeAdjustmentScenarioAxis_2C0E134DAA5BE2A5404E831C05FFAB9D" xlink:to="loc_wdc_CumulativeAdjustmentScenarioDomain_D9ABA7BB3B9C4C2F05D6831C05FFF66E_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_CumulativeAdjustmentScenarioDomain" xlink:label="loc_wdc_CumulativeAdjustmentScenarioDomain_D9ABA7BB3B9C4C2F05D6831C05FFF66E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_CumulativeAdjustmentScenarioAxis_2C0E134DAA5BE2A5404E831C05FFAB9D" xlink:to="loc_wdc_CumulativeAdjustmentScenarioDomain_D9ABA7BB3B9C4C2F05D6831C05FFF66E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_WindfallTaxBenefitUnrecognizedMember" xlink:label="loc_wdc_WindfallTaxBenefitUnrecognizedMember_5E1DFE66654706CCAA7E831C05FFB9AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CumulativeAdjustmentScenarioDomain_D9ABA7BB3B9C4C2F05D6831C05FFF66E" xlink:to="loc_wdc_WindfallTaxBenefitUnrecognizedMember_5E1DFE66654706CCAA7E831C05FFB9AB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_CumulativeAdjustmentChangeinAccountingPolicyMember" xlink:label="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyMember_426CE4F1FFFA18FB875A831C05FF561D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CumulativeAdjustmentScenarioDomain_D9ABA7BB3B9C4C2F05D6831C05FFF66E" xlink:to="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyMember_426CE4F1FFFA18FB875A831C05FF561D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_CumulativeAdjustmentChangeinAccountingPolicyTaxImpactMember" xlink:label="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyTaxImpactMember_C4DB7603D32641080628831C0600C0E2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CumulativeAdjustmentScenarioDomain_D9ABA7BB3B9C4C2F05D6831C05FFF66E" xlink:to="loc_wdc_CumulativeAdjustmentChangeinAccountingPolicyTaxImpactMember_C4DB7603D32641080628831C0600C0E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_CBE7DFF830A77C738E38831C0600F7CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_490CDD2469F2E2A2C14C831C06008281" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_CBE7DFF830A77C738E38831C0600F7CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_7947A68648ACEF3C2046831C0600546F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_490CDD2469F2E2A2C14C831C06008281" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_7947A68648ACEF3C2046831C0600546F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ScheduleOfDebtDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_C629B3C8C0E8EDE7A2C57E8FCC4EECFE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_086E0E5376DAB1E3AB7B7E8FCC4E07DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C629B3C8C0E8EDE7A2C57E8FCC4EECFE" xlink:to="loc_us-gaap_DebtInstrumentTable_086E0E5376DAB1E3AB7B7E8FCC4E07DC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_CDAF884502EB77270B897E8FCC4E3502" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_086E0E5376DAB1E3AB7B7E8FCC4E07DC" xlink:to="loc_us-gaap_DebtInstrumentAxis_CDAF884502EB77270B897E8FCC4E3502" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_CDAF884502EB77270B897E8FCC4E3502" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_CDAF884502EB77270B897E8FCC4E3502" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_2538775D9FD7A76D24317E8FCC4E0EE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:to="loc_wdc_TermLoanAMember_2538775D9FD7A76D24317E8FCC4E0EE2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_12DFE1D8A132B2DC0D117E8FCC4E7949" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:to="loc_wdc_U.S.TermLoanB2Member_12DFE1D8A132B2DC0D117E8FCC4E7949" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_789297BDD0D5165779297E8FCC4E0AE1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:to="loc_wdc_EuroTermLoanB2Member_789297BDD0D5165779297E8FCC4E0AE1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_3BA2FDD6EAEF08DC7A457E8FCC4E697D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:to="loc_wdc_SecuredNotesMember_3BA2FDD6EAEF08DC7A457E8FCC4E697D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_E5BE210191A04E8B83B17E8FCC4EBBC9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:to="loc_wdc_UnsecuredNotesMember_E5BE210191A04E8B83B17E8FCC4EBBC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_5A4EAACEC2365350B97D7E8FCC4E904F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_DBEBAD40280EDAB293A97E8FCC4ED78F" xlink:to="loc_us-gaap_ConvertibleDebtMember_5A4EAACEC2365350B97D7E8FCC4E904F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_F9D0B849BF3C5838A6727E8FCC4E369D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C629B3C8C0E8EDE7A2C57E8FCC4EECFE" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_F9D0B849BF3C5838A6727E8FCC4E369D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_AACA96BD70B7B74F02BB7E8FCC4E17A6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C629B3C8C0E8EDE7A2C57E8FCC4EECFE" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_AACA96BD70B7B74F02BB7E8FCC4E17A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_CD9F0E45FDAA83759E397E8FCC4F0C69" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C629B3C8C0E8EDE7A2C57E8FCC4EECFE" xlink:to="loc_us-gaap_LongTermDebt_CD9F0E45FDAA83759E397E8FCC4F0C69" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_LongTermDebtCurrentandBridgeLoans" xlink:label="loc_wdc_LongTermDebtCurrentandBridgeLoans_654987916A07EF38C6D17E8FCC4F8912" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C629B3C8C0E8EDE7A2C57E8FCC4EECFE" xlink:to="loc_wdc_LongTermDebtCurrentandBridgeLoans_654987916A07EF38C6D17E8FCC4F8912" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_ED77E4017F525A8CE8C97E8FCC4F7182" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_C629B3C8C0E8EDE7A2C57E8FCC4EECFE" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_ED77E4017F525A8CE8C97E8FCC4F7182" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ScheduleOfDebtDetailTextual" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_7484AEA82494B0562B5D7E8FCC495B5D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_665267DD166A7C3939C37E8FCC4838DF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7484AEA82494B0562B5D7E8FCC495B5D" xlink:to="loc_us-gaap_DebtInstrumentTable_665267DD166A7C3939C37E8FCC4838DF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_6638A4D32C286FE674537E8FCC48229B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_665267DD166A7C3939C37E8FCC4838DF" xlink:to="loc_us-gaap_DebtInstrumentAxis_6638A4D32C286FE674537E8FCC48229B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_14946C6F48970AF51EC97E8FCC4845FE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_6638A4D32C286FE674537E8FCC48229B" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_14946C6F48970AF51EC97E8FCC4845FE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_14946C6F48970AF51EC97E8FCC4845FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_6638A4D32C286FE674537E8FCC48229B" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_14946C6F48970AF51EC97E8FCC4845FE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_42BE6D27FDEEA30ED28A7E8FCC494BF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14946C6F48970AF51EC97E8FCC4845FE" xlink:to="loc_wdc_SecuredNotesMember_42BE6D27FDEEA30ED28A7E8FCC494BF4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_4F9A7B1AC5D7AE4B21137E8FCC49315A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_14946C6F48970AF51EC97E8FCC4845FE" xlink:to="loc_wdc_UnsecuredNotesMember_4F9A7B1AC5D7AE4B21137E8FCC49315A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_0C96C63D39D70F2725827E8FCC497AE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7484AEA82494B0562B5D7E8FCC495B5D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_0C96C63D39D70F2725827E8FCC497AE2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedStatementOfIncomeCaptionsLineItems" xlink:label="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedStatementOfComprehensiveIncomeTable" xlink:label="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_F5C87ED47BE0E015EC1F6FD312D63216" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_F5C87ED47BE0E015EC1F6FD312D63216" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_FC2FED2210E809D21ABE6FD312D6A0BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_F5C87ED47BE0E015EC1F6FD312D63216" xlink:to="loc_us-gaap_ConsolidationItemsAxis_FC2FED2210E809D21ABE6FD312D6A0BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_9B632755D9C0ABC5D8BA6FD312D6829A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_FC2FED2210E809D21ABE6FD312D6A0BB" xlink:to="loc_us-gaap_ConsolidationItemsDomain_9B632755D9C0ABC5D8BA6FD312D6829A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_9B632755D9C0ABC5D8BA6FD312D6829A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_FC2FED2210E809D21ABE6FD312D6A0BB" xlink:to="loc_us-gaap_ConsolidationItemsDomain_9B632755D9C0ABC5D8BA6FD312D6829A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_0BFACB240730A6F4FF926FD312D737B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_9B632755D9C0ABC5D8BA6FD312D6829A" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_0BFACB240730A6F4FF926FD312D737B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_176C357F236B6D9801DB6FD312D769F5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_F5C87ED47BE0E015EC1F6FD312D63216" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_176C357F236B6D9801DB6FD312D769F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_A3728579128A2661900C6FD312D75935_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_176C357F236B6D9801DB6FD312D769F5" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_A3728579128A2661900C6FD312D75935_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_A3728579128A2661900C6FD312D75935" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_176C357F236B6D9801DB6FD312D769F5" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_A3728579128A2661900C6FD312D75935" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_88FDA8744DC72EB799786FD312D740AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_A3728579128A2661900C6FD312D75935" xlink:to="loc_us-gaap_ParentCompanyMember_88FDA8744DC72EB799786FD312D740AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_50A09F9E94CE6D42299D6FD312D7BF07" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_A3728579128A2661900C6FD312D75935" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_50A09F9E94CE6D42299D6FD312D7BF07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_852B064C2FA3EC3CA74A6FD312D7F71A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_A3728579128A2661900C6FD312D75935" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_852B064C2FA3EC3CA74A6FD312D7F71A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_EE527215B11186CB4B426FD312DDB00F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_NetIncomeLoss_EE527215B11186CB4B426FD312DDB00F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_44D001FF3D368A1153A36FD312DD7F63" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_44D001FF3D368A1153A36FD312DD7F63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_1760551209147114717B6FD312DD7BA2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_1760551209147114717B6FD312DD7BA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_74280D8A51C20896511E6FD312DDC03B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_74280D8A51C20896511E6FD312DDC03B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_53B3E72174ACC94BB2106FD312DE7780" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_53B3E72174ACC94BB2106FD312DE7780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_8806DB1CFE59767817F16FD312DE9665" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_8806DB1CFE59767817F16FD312DE9665" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_8186D8F4F2275FEDC79D6FD312DE61B5" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_8186D8F4F2275FEDC79D6FD312DE61B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_71B5374F6A5B3B600D306FD312DEF43B" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_71B5374F6A5B3B600D306FD312DEF43B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_46A6DC80D5FB1FD736A66FD312DE8102" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_F3FD296EC085270F046E6FD312D80951" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_46A6DC80D5FB1FD736A66FD312DE8102" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedIncomeStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedIncomeStatementTable" xlink:label="loc_us-gaap_CondensedIncomeStatementTable_EA5728D5DCFA726E0D337F9892AA73A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_CondensedIncomeStatementTable_EA5728D5DCFA726E0D337F9892AA73A9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_1E591128A4DDF8C43B727F9892AA95FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_EA5728D5DCFA726E0D337F9892AA73A9" xlink:to="loc_us-gaap_ConsolidationItemsAxis_1E591128A4DDF8C43B727F9892AA95FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_DF85F9B062F6EC5B928A7F9892AA7A11_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_1E591128A4DDF8C43B727F9892AA95FF" xlink:to="loc_us-gaap_ConsolidationItemsDomain_DF85F9B062F6EC5B928A7F9892AA7A11_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_DF85F9B062F6EC5B928A7F9892AA7A11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_1E591128A4DDF8C43B727F9892AA95FF" xlink:to="loc_us-gaap_ConsolidationItemsDomain_DF85F9B062F6EC5B928A7F9892AA7A11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_D9DFD2EA5E00647A64B77F9892AA0F1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_DF85F9B062F6EC5B928A7F9892AA7A11" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_D9DFD2EA5E00647A64B77F9892AA0F1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_E29562D6B87AC2348E587F9892AAA372" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_EA5728D5DCFA726E0D337F9892AA73A9" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_E29562D6B87AC2348E587F9892AAA372" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_95F24FF3F5DF04CA58047F9892AA2273_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_E29562D6B87AC2348E587F9892AAA372" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_95F24FF3F5DF04CA58047F9892AA2273_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_95F24FF3F5DF04CA58047F9892AA2273" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_E29562D6B87AC2348E587F9892AAA372" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_95F24FF3F5DF04CA58047F9892AA2273" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_31CF882E913AD07525897F9892AA6F36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_95F24FF3F5DF04CA58047F9892AA2273" xlink:to="loc_us-gaap_ParentCompanyMember_31CF882E913AD07525897F9892AA6F36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_83AF92F69CA374E5B2C07F9892AA2891" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_95F24FF3F5DF04CA58047F9892AA2273" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_83AF92F69CA374E5B2C07F9892AA2891" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_F793397C6A939EA6055E7F9892AA1B8C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_95F24FF3F5DF04CA58047F9892AA2273" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_F793397C6A939EA6055E7F9892AA1B8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_F41761B1D2CD5234F9FE7F9892AB5856" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_F41761B1D2CD5234F9FE7F9892AB5856" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaap_CostOfGoodsSold_7A3D22C27A9945E2FA2A7F9892ABFF70" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_CostOfGoodsSold_7A3D22C27A9945E2FA2A7F9892ABFF70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_1D4FD46AFCA2F1B7B59B7F9892ABF912" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_GrossProfit_1D4FD46AFCA2F1B7B59B7F9892ABF912" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_C71FDB0F683B7753DE5D7F9892ABDADD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_OperatingExpensesAbstract_C71FDB0F683B7753DE5D7F9892ABDADD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_C1891AF800B78D9762F97F9892ABCA2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_C71FDB0F683B7753DE5D7F9892ABDADD" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_C1891AF800B78D9762F97F9892ABCA2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_1F7FA05B6797B326499F7F9892ABBBCD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_C71FDB0F683B7753DE5D7F9892ABDADD" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_1F7FA05B6797B326499F7F9892ABBBCD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_8141F732C4C7938C68D67F9892AB0C1B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_C71FDB0F683B7753DE5D7F9892ABDADD" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_8141F732C4C7938C68D67F9892AB0C1B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_60B35E13240A7C7D85517F9892ABC7C4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_C71FDB0F683B7753DE5D7F9892ABDADD" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_60B35E13240A7C7D85517F9892ABC7C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_D254B6C092F29680B1EB7F9892ABFA3A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_C71FDB0F683B7753DE5D7F9892ABDADD" xlink:to="loc_us-gaap_OperatingExpenses_D254B6C092F29680B1EB7F9892ABFA3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_73FB3ED36D6FB13085CC7F9892AB579B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_OperatingIncomeLoss_73FB3ED36D6FB13085CC7F9892AB579B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_5E5ACAECCF791264EBAB7F9892AB4B29" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_InvestmentIncomeInterest_5E5ACAECCF791264EBAB7F9892AB4B29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_D14B74C633B13268BE497F9892ABDC84" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_InterestExpense_D14B74C633B13268BE497F9892ABDC84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_1EF83DCE4352B7DA67307F9892AB0C8E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_1EF83DCE4352B7DA67307F9892AB0C8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_6A7CD62745CE09B9EE767F9892ABF12A" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_6A7CD62745CE09B9EE767F9892ABF12A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_6B8C417FA4110976D84B7F9892ABFE18" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_6B8C417FA4110976D84B7F9892ABFE18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_EC81040DA99D1179F7F67F9892AC35C2" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_EC81040DA99D1179F7F67F9892AC35C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_1AC4F728812EE445DD607F9892AC3127" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_1AC4F728812EE445DD607F9892AC3127" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_B9E6059DDBB13F5FD8BA7F9892AC8B49" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_F8B4D1FB301D96EBC48D7F9892AAB452" xlink:to="loc_us-gaap_NetIncomeLoss_B9E6059DDBB13F5FD8BA7F9892AC8B49" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_A6CBB3B9EAFFCF77C1307F9892B713C7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedBalanceSheetStatementTable" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementTable_929EA506A2943D0E07917F9892B66E7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_A6CBB3B9EAFFCF77C1307F9892B713C7" xlink:to="loc_us-gaap_CondensedBalanceSheetStatementTable_929EA506A2943D0E07917F9892B66E7C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_4C4857FC77364B6824B07F9892B6B3FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_929EA506A2943D0E07917F9892B66E7C" xlink:to="loc_us-gaap_ConsolidationItemsAxis_4C4857FC77364B6824B07F9892B6B3FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_0E6D3A61A2D1BFA4CA647F9892B64684_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_4C4857FC77364B6824B07F9892B6B3FB" xlink:to="loc_us-gaap_ConsolidationItemsDomain_0E6D3A61A2D1BFA4CA647F9892B64684_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_0E6D3A61A2D1BFA4CA647F9892B64684" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_4C4857FC77364B6824B07F9892B6B3FB" xlink:to="loc_us-gaap_ConsolidationItemsDomain_0E6D3A61A2D1BFA4CA647F9892B64684" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_D94C86291F9870BCA6A07F9892B68B8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_0E6D3A61A2D1BFA4CA647F9892B64684" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_D94C86291F9870BCA6A07F9892B68B8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_5B5050A85EB6BC7A72CE7F9892B63BD4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_929EA506A2943D0E07917F9892B66E7C" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_5B5050A85EB6BC7A72CE7F9892B63BD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_B24B335A0BF23AD9D1DC7F9892B6375E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_5B5050A85EB6BC7A72CE7F9892B63BD4" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_B24B335A0BF23AD9D1DC7F9892B6375E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_B24B335A0BF23AD9D1DC7F9892B6375E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_5B5050A85EB6BC7A72CE7F9892B63BD4" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_B24B335A0BF23AD9D1DC7F9892B6375E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_D36CD294E2EC63E615AE7F9892B66B35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_B24B335A0BF23AD9D1DC7F9892B6375E" xlink:to="loc_us-gaap_ParentCompanyMember_D36CD294E2EC63E615AE7F9892B66B35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_5C40E0F8501CB9E4D43F7F9892B647AF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_B24B335A0BF23AD9D1DC7F9892B6375E" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_5C40E0F8501CB9E4D43F7F9892B647AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_CFEEE55FADE4BDFC5ACB7F9892B6A5EF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_B24B335A0BF23AD9D1DC7F9892B6375E" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_CFEEE55FADE4BDFC5ACB7F9892B6A5EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_80D4AE7AC569DC42E1B27F9892B77AB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_A6CBB3B9EAFFCF77C1307F9892B713C7" xlink:to="loc_us-gaap_AssetsAbstract_80D4AE7AC569DC42E1B27F9892B77AB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_80D4AE7AC569DC42E1B27F9892B77AB0" xlink:to="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_C46A122C0408169585927F9892B7637D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_C46A122C0408169585927F9892B7637D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_4F68573F74BAAD10337C7F9892B7E241" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_4F68573F74BAAD10337C7F9892B7E241" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_9C8709DEC1FE191987A77F9892B70E75" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_9C8709DEC1FE191987A77F9892B70E75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_A246B5B2E94B7DB144AB7F9892B7767F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_A246B5B2E94B7DB144AB7F9892B7767F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_ABE859112CD75462340C7F9892B79302" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:to="loc_us-gaap_InventoryNet_ABE859112CD75462340C7F9892B79302" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_979BCD442D2FC24649557F9892B774E2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:to="loc_us-gaap_OtherAssetsCurrent_979BCD442D2FC24649557F9892B774E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_F4E1131BC1CF11FAF8417F9892B71B43" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_6277599C51FAB842D4837F9892B719C6" xlink:to="loc_us-gaap_AssetsCurrent_F4E1131BC1CF11FAF8417F9892B71B43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_80D4AE7AC569DC42E1B27F9892B77AB0" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_05FE7E79B1EA6632523A7F9892B744B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_05FE7E79B1EA6632523A7F9892B744B5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_BC0789000AC81FBB75EA7F9892B713C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_BC0789000AC81FBB75EA7F9892B713C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_B803E421358BCB209F887F9892B7BDB8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:to="loc_us-gaap_Goodwill_B803E421358BCB209F887F9892B7BDB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_CD61CABDDC84EDE5FDC27F9892B702A2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_CD61CABDDC84EDE5FDC27F9892B702A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_FC2F691C4A76A13D82A37F9892B8FDE6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_FC2F691C4A76A13D82A37F9892B8FDE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_93457C0517DBEE32FE5D7F9892B890C3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_93457C0517DBEE32FE5D7F9892B890C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_51B4565165BAA476D5E27F9892B8BBB4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_1FEAE01DE05E8349A8497F9892B7748B" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_51B4565165BAA476D5E27F9892B8BBB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_67CFEF51BCA46A73396C7F9892B8F720" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_80D4AE7AC569DC42E1B27F9892B77AB0" xlink:to="loc_us-gaap_Assets_67CFEF51BCA46A73396C7F9892B8F720" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_DEEC786DA63AD32B6ED07F9892B897D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_A6CBB3B9EAFFCF77C1307F9892B713C7" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_DEEC786DA63AD32B6ED07F9892B897D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_B41FF9960B8C20A449127F9892B87871" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_DEEC786DA63AD32B6ED07F9892B897D6" xlink:to="loc_us-gaap_LiabilitiesAbstract_B41FF9960B8C20A449127F9892B87871" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_B41FF9960B8C20A449127F9892B87871" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_02301439F06500178E217F9892B81F37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_us-gaap_AccountsPayableCurrent_02301439F06500178E217F9892B81F37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_55BBC09B04703BFB03CC7F9892B8E725" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_55BBC09B04703BFB03CC7F9892B8E725" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_67F17351A9B2FF4E68CF7F9892B8D37A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_us-gaap_DueToAffiliateCurrent_67F17351A9B2FF4E68CF7F9892B8D37A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_A57B86386DE7A5B789F37F9892B8ACA3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_A57B86386DE7A5B789F37F9892B8ACA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_C50A4159508BCDEE74A07F9892B85B96" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_C50A4159508BCDEE74A07F9892B85B96" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_AccruedWarranty" xlink:label="loc_wdc_AccruedWarranty_DFE26A9A778A9A8915897F9892B889E6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_wdc_AccruedWarranty_DFE26A9A778A9A8915897F9892B889E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_7EC66AA2A323ABEB66ED7F9892B9CFFC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_us-gaap_LongTermDebtCurrent_7EC66AA2A323ABEB66ED7F9892B9CFFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_FEDA55EFD4F4D6C99D667F9892B94D2B" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_A087ABC0D607B0F8B36C7F9892B87287" xlink:to="loc_us-gaap_LiabilitiesCurrent_FEDA55EFD4F4D6C99D667F9892B94D2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_BFCA0FA030CBBE115FE87F9892B9543E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_B41FF9960B8C20A449127F9892B87871" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_BFCA0FA030CBBE115FE87F9892B9543E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_28AC5A47B600AEEC25AD7F9892B953DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_BFCA0FA030CBBE115FE87F9892B9543E" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_28AC5A47B600AEEC25AD7F9892B953DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_BEE7EA4E9C68314E62847F9892B976ED" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_BFCA0FA030CBBE115FE87F9892B9543E" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_BEE7EA4E9C68314E62847F9892B976ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_9645514164FB462CE53A7F9892B9DA4A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_BFCA0FA030CBBE115FE87F9892B9543E" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_9645514164FB462CE53A7F9892B9DA4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_B9BE86A6B32D5AF45E7B7F9892B9883E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_B41FF9960B8C20A449127F9892B87871" xlink:to="loc_us-gaap_Liabilities_B9BE86A6B32D5AF45E7B7F9892B9883E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_8AA7296095FF652210E57F9892B9859A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_DEEC786DA63AD32B6ED07F9892B897D6" xlink:to="loc_us-gaap_StockholdersEquityAbstract_8AA7296095FF652210E57F9892B9859A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_D11F9E130EE47E4D6D6F7F9892B984D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_8AA7296095FF652210E57F9892B9859A" xlink:to="loc_us-gaap_StockholdersEquity_D11F9E130EE47E4D6D6F7F9892B984D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_A5D876BF504B9044980A7F9892B9484D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_DEEC786DA63AD32B6ED07F9892B897D6" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_A5D876BF504B9044980A7F9892B9484D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CondensedCashFlowStatementTable" xlink:label="loc_us-gaap_CondensedCashFlowStatementTable_27138D759E51EF5F63EC928F63D61EFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:to="loc_us-gaap_CondensedCashFlowStatementTable_27138D759E51EF5F63EC928F63D61EFD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_CFFF42141E2F8E21560B928F63D6A5AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_27138D759E51EF5F63EC928F63D61EFD" xlink:to="loc_us-gaap_ConsolidationItemsAxis_CFFF42141E2F8E21560B928F63D6A5AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_2B882B9A8A7FE33B5335928F63D6757C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_CFFF42141E2F8E21560B928F63D6A5AA" xlink:to="loc_us-gaap_ConsolidationItemsDomain_2B882B9A8A7FE33B5335928F63D6757C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_2B882B9A8A7FE33B5335928F63D6757C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_CFFF42141E2F8E21560B928F63D6A5AA" xlink:to="loc_us-gaap_ConsolidationItemsDomain_2B882B9A8A7FE33B5335928F63D6757C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_CBD9952D6309783D9BA2928F63D669EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_2B882B9A8A7FE33B5335928F63D6757C" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_CBD9952D6309783D9BA2928F63D669EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesAxis" xlink:label="loc_us-gaap_ConsolidatedEntitiesAxis_D5AF075660FE9ECD792B928F63D60CAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_27138D759E51EF5F63EC928F63D61EFD" xlink:to="loc_us-gaap_ConsolidatedEntitiesAxis_D5AF075660FE9ECD792B928F63D60CAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_140411C386D318AAB662928F63D6B251_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_D5AF075660FE9ECD792B928F63D60CAE" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_140411C386D318AAB662928F63D6B251_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsolidatedEntitiesDomain" xlink:label="loc_us-gaap_ConsolidatedEntitiesDomain_140411C386D318AAB662928F63D6B251" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidatedEntitiesAxis_D5AF075660FE9ECD792B928F63D60CAE" xlink:to="loc_us-gaap_ConsolidatedEntitiesDomain_140411C386D318AAB662928F63D6B251" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_DB7EBF6ABDB630F534DC928F63D6B0D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_140411C386D318AAB662928F63D6B251" xlink:to="loc_us-gaap_ParentCompanyMember_DB7EBF6ABDB630F534DC928F63D6B0D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_665023AD1893E2016576928F63D64EA7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_140411C386D318AAB662928F63D6B251" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_665023AD1893E2016576928F63D64EA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_0EBA66F4F47F0BAD8051928F63D6C2DE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidatedEntitiesDomain_140411C386D318AAB662928F63D6B251" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_0EBA66F4F47F0BAD8051928F63D6C2DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_2EA48D130123584373A7928F63D6AD14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_2EA48D130123584373A7928F63D6AD14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_CC6F6BF3D24DBCDC1EBF928F63D687F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_2EA48D130123584373A7928F63D6AD14" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_CC6F6BF3D24DBCDC1EBF928F63D687F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_E67837EAC11DFA744A6D928F63D64316" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_E67837EAC11DFA744A6D928F63D64316" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_D4FC8586131D6F810BE2928F63D6B3D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_D4FC8586131D6F810BE2928F63D6B3D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_F1EEF022146E6C47EE2C928F63D79AD1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_F1EEF022146E6C47EE2C928F63D79AD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_68E68BEA5D87FD041A1E928F63D7D5BB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_68E68BEA5D87FD041A1E928F63D7D5BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_DDD25FED4F34F84F4987928F63D73575" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_DDD25FED4F34F84F4987928F63D73575" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_A7548AC1B044A9B55CD4928F63D73FEB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_A7548AC1B044A9B55CD4928F63D73FEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_F793C7CB2DD032AB672E928F63D7361D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_F793C7CB2DD032AB672E928F63D7361D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_18A70785F6FAB1DC2738928F63D75AE2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_18A70785F6FAB1DC2738928F63D75AE2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_D654A5E27ED27D6197AF928F63D7D6C2" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_D654A5E27ED27D6197AF928F63D7D6C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_8CD86490770CEB111BD7928F63D7B090" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_8CD86490770CEB111BD7928F63D7B090" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_83E3419F6C3FBE858B07928F63D7796B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_83E3419F6C3FBE858B07928F63D7796B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_D95930ED0CA2B54555AD928F63D76B32" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_D95930ED0CA2B54555AD928F63D76B32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_A813129931E9C3D47374928F63D72CF3" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_817D934CC21015FAF68F928F63D6840C" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_A813129931E9C3D47374928F63D72CF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_B05730EFDBFD8CDB0C14928F63D7B756" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_B05730EFDBFD8CDB0C14928F63D7B756" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_DEC510B8325650176E63928F63D7EE10" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_DEC510B8325650176E63928F63D7EE10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_34BD23A6B8668D5223E6928F63D7D6F7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_34BD23A6B8668D5223E6928F63D7D6F7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts" xlink:label="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_C6526106F4FA84ABFE33928F63D8F457" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_C6526106F4FA84ABFE33928F63D8F457" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_E4A2800226A45DC04697928F63D8997E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_PaymentsOfDividends_E4A2800226A45DC04697928F63D8997E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromHedgeFinancingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_8D2D1D469B50C1DEF6A5928F63D88F17" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_8D2D1D469B50C1DEF6A5928F63D88F17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_715E3B5623B3899A7F08928F63D84A54" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_715E3B5623B3899A7F08928F63D84A54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_45083148DC8519610DAC928F63D892EF" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_45083148DC8519610DAC928F63D892EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_05ED545B07835D5B3B22928F63D8B951" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_05ED545B07835D5B3B22928F63D8B951" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_EA998E044BC0F0300C8E928F63D8C4DF" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_EA998E044BC0F0300C8E928F63D8C4DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_F488146D47763D41FD98928F63D8E203" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_F488146D47763D41FD98928F63D8E203" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_DB141B78A76A74E60F57928F63D861E3" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_9512CB0DC925F60D438F928F63D79551" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_DB141B78A76A74E60F57928F63D861E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_8B49BFBD23D4741CB851928F63D8ADCA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_8B49BFBD23D4741CB851928F63D8ADCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_FF6BC9F903EE1DE59F34928F63D8132C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_FF6BC9F903EE1DE59F34928F63D8132C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_41BA690EF19BEB04599B928F63D8CED3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_3C5A6588E0093273361F928F63D6E0F9" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_41BA690EF19BEB04599B928F63D8CED3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_7F54A3983532AF700F2473497C19ACF7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_B16C7B39DFFE2BB1C89B73497C199BC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_7F54A3983532AF700F2473497C19ACF7" xlink:to="loc_us-gaap_DividendsPayableTable_B16C7B39DFFE2BB1C89B73497C199BC7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_995FD62C72D460EF12CE73497C1947FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_B16C7B39DFFE2BB1C89B73497C199BC7" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_995FD62C72D460EF12CE73497C1947FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_EE0F0C1AAF997FDB03C873497C19E617_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_995FD62C72D460EF12CE73497C1947FB" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_EE0F0C1AAF997FDB03C873497C19E617_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_EE0F0C1AAF997FDB03C873497C19E617" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_995FD62C72D460EF12CE73497C1947FB" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_EE0F0C1AAF997FDB03C873497C19E617" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_4CCD3FE25D2131A95B7373497C19377D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_EE0F0C1AAF997FDB03C873497C19E617" xlink:to="loc_us-gaap_SubsequentEventMember_4CCD3FE25D2131A95B7373497C19377D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableDateDeclaredDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_261223DBC416DA34777B73497C19C3FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7F54A3983532AF700F2473497C19ACF7" xlink:to="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_261223DBC416DA34777B73497C19C3FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_96DF807E1B2055351F5D73497C19F259" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7F54A3983532AF700F2473497C19ACF7" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_96DF807E1B2055351F5D73497C19F259" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfOrdinaryDividends" xlink:label="loc_us-gaap_PaymentsOfOrdinaryDividends_48608E8B706F2818037673497C19153D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7F54A3983532AF700F2473497C19ACF7" xlink:to="loc_us-gaap_PaymentsOfOrdinaryDividends_48608E8B706F2818037673497C19153D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_1823499FE812DA38EB9E73497C192D03" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7F54A3983532AF700F2473497C19ACF7" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_1823499FE812DA38EB9E73497C192D03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsPayableDateOfRecordDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_2F6951FB96FDD475C52673497C19D075" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_7F54A3983532AF700F2473497C19ACF7" xlink:to="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_2F6951FB96FDD475C52673497C19D075" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A873614C2864B57CEF856F97F78DD33E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D984A657B24DEFA44D176F97F78CB8ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A873614C2864B57CEF856F97F78DD33E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D984A657B24DEFA44D176F97F78CB8ED" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_DC11AA525FC26657549F6F97F78C9853" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D984A657B24DEFA44D176F97F78CB8ED" xlink:to="loc_us-gaap_AwardTypeAxis_DC11AA525FC26657549F6F97F78C9853" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C16175D039D441A96AF6F97F78CDCC6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_DC11AA525FC26657549F6F97F78C9853" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C16175D039D441A96AF6F97F78CDCC6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C16175D039D441A96AF6F97F78CDCC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_DC11AA525FC26657549F6F97F78C9853" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C16175D039D441A96AF6F97F78CDCC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_F2A2458B9F61859F64EB6F97F78C3656" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C16175D039D441A96AF6F97F78CDCC6" xlink:to="loc_us-gaap_EmployeeStockOptionMember_F2A2458B9F61859F64EB6F97F78C3656" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_7C1970CB370D0100E39D6F97F78D0AFF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C16175D039D441A96AF6F97F78CDCC6" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_7C1970CB370D0100E39D6F97F78D0AFF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_0000328EC3E3F10A35396F97F78D6AB6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C16175D039D441A96AF6F97F78CDCC6" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_0000328EC3E3F10A35396F97F78D6AB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_C68547373A3E72326BC66F97F78D87CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D984A657B24DEFA44D176F97F78CB8ED" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_C68547373A3E72326BC66F97F78D87CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_A6936FF3F3738E1EC6DC6F97F78D554D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_C68547373A3E72326BC66F97F78D87CD" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_A6936FF3F3738E1EC6DC6F97F78D554D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_A6936FF3F3738E1EC6DC6F97F78D554D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_C68547373A3E72326BC66F97F78D87CD" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_A6936FF3F3738E1EC6DC6F97F78D554D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_9DD6FBA58560A8515C636F97F78DF978" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_A6936FF3F3738E1EC6DC6F97F78D554D" xlink:to="loc_us-gaap_CostOfSalesMember_9DD6FBA58560A8515C636F97F78DF978" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_9E255DFB1EFB094825E76F97F78D9452" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_A6936FF3F3738E1EC6DC6F97F78D554D" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_9E255DFB1EFB094825E76F97F78D9452" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_F280BF19792D328D48946F97F78D8788" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_A6936FF3F3738E1EC6DC6F97F78D554D" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_F280BF19792D328D48946F97F78D8788" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_6F9E44FAFFAE869B3A016F97F78DF23A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A873614C2864B57CEF856F97F78DD33E" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_6F9E44FAFFAE869B3A016F97F78DF23A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_7D4CB98420BC14DFF19E6F97F78D161E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A873614C2864B57CEF856F97F78DD33E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_7D4CB98420BC14DFF19E6F97F78D161E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_8C4CF829B34C66FD96E86F97F78D27BD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A873614C2864B57CEF856F97F78DD33E" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_8C4CF829B34C66FD96E86F97F78D27BD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_A4F041ACEB94343FF9DC70339561E568" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_3D2BABD77BA37BB9F0D7703395618463" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_A4F041ACEB94343FF9DC70339561E568" xlink:to="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_3D2BABD77BA37BB9F0D7703395618463" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_E22CD877F9DA54A217FF70339561D394" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_3D2BABD77BA37BB9F0D7703395618463" xlink:to="loc_us-gaap_AwardTypeAxis_E22CD877F9DA54A217FF70339561D394" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_492E28071052D0BE36D2703395610D02_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_E22CD877F9DA54A217FF70339561D394" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_492E28071052D0BE36D2703395610D02_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_492E28071052D0BE36D2703395610D02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_E22CD877F9DA54A217FF70339561D394" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_492E28071052D0BE36D2703395610D02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_C4E9A2B945C632FF6C8C703395610BE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_492E28071052D0BE36D2703395610D02" xlink:to="loc_us-gaap_EmployeeStockOptionMember_C4E9A2B945C632FF6C8C703395610BE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0905D037EDFB0CC0A10A703395617985" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_492E28071052D0BE36D2703395610D02" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0905D037EDFB0CC0A10A703395617985" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_96191C69FCFAE88C089B70339561C827" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_492E28071052D0BE36D2703395610D02" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_96191C69FCFAE88C089B70339561C827" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_B58665B47CA6AF4A195970339561AAE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_A4F041ACEB94343FF9DC70339561E568" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_B58665B47CA6AF4A195970339561AAE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_F8A05CF8019A026B2C467033956188B0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_A4F041ACEB94343FF9DC70339561E568" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_F8A05CF8019A026B2C467033956188B0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_60AC8A5D35A83F1DE84F6F03511EA395" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_D9DB89EC12D2EBF393456F03511EFC96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_60AC8A5D35A83F1DE84F6F03511EA395" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_D9DB89EC12D2EBF393456F03511EFC96" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_C0CE5C719B7EE683658E6F49F8540177" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_D9DB89EC12D2EBF393456F03511EFC96" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_C0CE5C719B7EE683658E6F49F8540177" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_2B3C19C330390AB0D14F6F49F85C5780_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_C0CE5C719B7EE683658E6F49F8540177" xlink:to="loc_us-gaap_EquityComponentDomain_2B3C19C330390AB0D14F6F49F85C5780_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_2B3C19C330390AB0D14F6F49F85C5780" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_C0CE5C719B7EE683658E6F49F8540177" xlink:to="loc_us-gaap_EquityComponentDomain_2B3C19C330390AB0D14F6F49F85C5780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_0F65BEFBCE6CED2F4A486F49F8B92A51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_2B3C19C330390AB0D14F6F49F85C5780" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_0F65BEFBCE6CED2F4A486F49F8B92A51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_C791974F01A851B61C806F03511E9A78" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_D9DB89EC12D2EBF393456F03511EFC96" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_C791974F01A851B61C806F03511E9A78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1B0FD58856EB5F6C09826F03511E5737_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_C791974F01A851B61C806F03511E9A78" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1B0FD58856EB5F6C09826F03511E5737_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1B0FD58856EB5F6C09826F03511E5737" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_C791974F01A851B61C806F03511E9A78" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1B0FD58856EB5F6C09826F03511E5737" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_9821FA4C57DECE783EEC6F03511E779B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1B0FD58856EB5F6C09826F03511E5737" xlink:to="loc_us-gaap_CostOfSalesMember_9821FA4C57DECE783EEC6F03511E779B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_7125CEA935DF68C71A946F03511E9165" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1B0FD58856EB5F6C09826F03511E5737" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_7125CEA935DF68C71A946F03511E9165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax_B90745CAFAFA967332266F03511F4BED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_60AC8A5D35A83F1DE84F6F03511EA395" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax_B90745CAFAFA967332266F03511F4BED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_7C1AFDC3B531F09E23F16F49F80D271E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_60AC8A5D35A83F1DE84F6F03511EA395" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_7C1AFDC3B531F09E23F16F49F80D271E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_F0EAD7DE390DCFDD297B6F03511F80EC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_60AC8A5D35A83F1DE84F6F03511EA395" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_F0EAD7DE390DCFDD297B6F03511F80EC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_006EFD8CA7226BF0DB8379FF758A12F2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_47DA41BDEF1D5A32EC8879FF7589A0DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_006EFD8CA7226BF0DB8379FF758A12F2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_47DA41BDEF1D5A32EC8879FF7589A0DA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_1606A4CD5DE15BB3BF8C79FF758A9526" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_47DA41BDEF1D5A32EC8879FF7589A0DA" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_1606A4CD5DE15BB3BF8C79FF758A9526" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_D0C69FFCC50446FBBEF279FF758A0B25_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1606A4CD5DE15BB3BF8C79FF758A9526" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_D0C69FFCC50446FBBEF279FF758A0B25_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_D0C69FFCC50446FBBEF279FF758A0B25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1606A4CD5DE15BB3BF8C79FF758A9526" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_D0C69FFCC50446FBBEF279FF758A0B25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeMember" xlink:label="loc_us-gaap_DerivativeMember_0C89F74B5007528BFD0479FF758AC04D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_D0C69FFCC50446FBBEF279FF758A0B25" xlink:to="loc_us-gaap_DerivativeMember_0C89F74B5007528BFD0479FF758AC04D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestmentsByCategoryAxis" xlink:label="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_4816E65A47303AA6EEB279FF758988D1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_47DA41BDEF1D5A32EC8879FF7589A0DA" xlink:to="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_4816E65A47303AA6EEB279FF758988D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_82555DB4737E3C804BBD79FF758996EC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_4816E65A47303AA6EEB279FF758988D1" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_82555DB4737E3C804BBD79FF758996EC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_82555DB4737E3C804BBD79FF758996EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_4816E65A47303AA6EEB279FF758988D1" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_82555DB4737E3C804BBD79FF758996EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_C8DAE2A53740B80FAF1679FF758ABB90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_82555DB4737E3C804BBD79FF758996EC" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_C8DAE2A53740B80FAF1679FF758ABB90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_1056D80B1A1BA9E397F279FF75896135" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_47DA41BDEF1D5A32EC8879FF7589A0DA" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_1056D80B1A1BA9E397F279FF75896135" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_3E9BA154F708F3DA767C79FF75890B4D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1056D80B1A1BA9E397F279FF75896135" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_3E9BA154F708F3DA767C79FF75890B4D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_3E9BA154F708F3DA767C79FF75890B4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1056D80B1A1BA9E397F279FF75896135" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_3E9BA154F708F3DA767C79FF75890B4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyGainLossMember" xlink:label="loc_us-gaap_ForeignCurrencyGainLossMember_F602FA72DCD1732ECDED79FF758953C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_3E9BA154F708F3DA767C79FF75890B4D" xlink:to="loc_us-gaap_ForeignCurrencyGainLossMember_F602FA72DCD1732ECDED79FF758953C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_B8EC56B427D01E6C15AC79FF75896AFB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_47DA41BDEF1D5A32EC8879FF7589A0DA" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_B8EC56B427D01E6C15AC79FF75896AFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_2471EA2A180F449E80E579FF7589EA62_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_B8EC56B427D01E6C15AC79FF75896AFB" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_2471EA2A180F449E80E579FF7589EA62_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_2471EA2A180F449E80E579FF7589EA62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_B8EC56B427D01E6C15AC79FF75896AFB" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_2471EA2A180F449E80E579FF7589EA62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_B3191ADEDF8443D978FE79FF758925BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_2471EA2A180F449E80E579FF7589EA62" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_B3191ADEDF8443D978FE79FF758925BB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:label="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_9BE50A5C81487B1D8E0879FF758A0E23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_006EFD8CA7226BF0DB8379FF758A12F2" xlink:to="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_9BE50A5C81487B1D8E0879FF758A0E23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_133D482AE9022DA76F5D79FF758A169F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_9BE50A5C81487B1D8E0879FF758A0E23" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_133D482AE9022DA76F5D79FF758A169F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_ACC0E67FEF93D88454D779FF758AADEA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_9BE50A5C81487B1D8E0879FF758A0E23" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_ACC0E67FEF93D88454D779FF758AADEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_424F16833182C7E1E86C79FF758AE9CC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_9BE50A5C81487B1D8E0879FF758A0E23" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_424F16833182C7E1E86C79FF758AE9CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_8DC01867AD76E6013D5F79FF758AEC64" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AccumulatedOtherComprehensiveIncomeLossRollForward_9BE50A5C81487B1D8E0879FF758A0E23" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_8DC01867AD76E6013D5F79FF758AEC64" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:href="wdc-20170929.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_1FE208C09A9A990C366772DD2E86DA2C" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_A2ADCBBF9579584354F972DD2E80FDEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_1FE208C09A9A990C366772DD2E86DA2C" xlink:to="loc_wdc_SupplementalFinancialInformationTable_A2ADCBBF9579584354F972DD2E80FDEF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D105AA2F59953C61FFFF72DD2E80FE82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_A2ADCBBF9579584354F972DD2E80FDEF" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D105AA2F59953C61FFFF72DD2E80FE82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D105AA2F59953C61FFFF72DD2E80FE82" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D105AA2F59953C61FFFF72DD2E80FE82" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandAndBuildingMember" xlink:label="loc_us-gaap_LandAndBuildingMember_47DA8BAA7596A6B7A69D72DD2E80EF44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:to="loc_us-gaap_LandAndBuildingMember_47DA8BAA7596A6B7A69D72DD2E80EF44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_17411F14BAE0AE58EAA872DD2E86AEA6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_17411F14BAE0AE58EAA872DD2E86AEA6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170929.xsd#wdc_ComputerEquipmentandSoftwareMember" xlink:label="loc_wdc_ComputerEquipmentandSoftwareMember_06EE4FE09C5E94B8806D72DD2E86FED2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:to="loc_wdc_ComputerEquipmentandSoftwareMember_06EE4FE09C5E94B8806D72DD2E86FED2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_CBBBCD7DE4A1542207D872DD2E863666" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_CBBBCD7DE4A1542207D872DD2E863666" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_47E6647F72EE47517A4A72DD2E869B29" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_47E6647F72EE47517A4A72DD2E869B29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_0F896392700D698C330672DD2E8683B3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_065E8C02EC09AFE2D32672DD2E804942" xlink:to="loc_us-gaap_ConstructionInProgressMember_0F896392700D698C330672DD2E8683B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_4D3D5358D75715F44F0D72DD2E869639" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_1FE208C09A9A990C366772DD2E86DA2C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_4D3D5358D75715F44F0D72DD2E869639" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_5E2FFC9223644ABCF56772DD2E86D910" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_4D3D5358D75715F44F0D72DD2E869639" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_5E2FFC9223644ABCF56772DD2E86D910" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_3EDC4C09EEA888AF187772DD2E86780A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_4D3D5358D75715F44F0D72DD2E869639" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_3EDC4C09EEA888AF187772DD2E86780A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_BF4279E64B36009A81DE72DD2E86B7CD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_4D3D5358D75715F44F0D72DD2E869639" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_BF4279E64B36009A81DE72DD2E86B7CD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="extended" />
</link:linkbase>
