<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.wdc.com/role/Acquisition" xlink:href="wdc-20170630.xsd#Acquisition" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionAcquisitionPurchasePriceDetails" xlink:href="wdc-20170630.xsd#AcquisitionAcquisitionPurchasePriceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionAdditionalInformationDetailTextuals" xlink:href="wdc-20170630.xsd#AcquisitionAdditionalInformationDetailTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:href="wdc-20170630.xsd#AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionProFormaDetails" xlink:href="wdc-20170630.xsd#AcquisitionProFormaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionPropertyPlantAndEquipmentAcquiredDetails" xlink:href="wdc-20170630.xsd#AcquisitionPropertyPlantAndEquipmentAcquiredDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionPurchasePriceAllocationDetails" xlink:href="wdc-20170630.xsd#AcquisitionPurchasePriceAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AcquisitionTables" xlink:href="wdc-20170630.xsd#AcquisitionTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/AdditionalInfoDetailsTextuals" xlink:href="wdc-20170630.xsd#AdditionalInfoDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRisk" xlink:href="wdc-20170630.xsd#BusinessSegmentGeographicInformationAndConcentrationOfRisk" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskAdditionalInformationDetailsTextuals" xlink:href="wdc-20170630.xsd#BusinessSegmentGeographicInformationAndConcentrationOfRiskAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskLongLivedAssetsByGeographyDetails" xlink:href="wdc-20170630.xsd#BusinessSegmentGeographicInformationAndConcentrationOfRiskLongLivedAssetsByGeographyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskRevenueByEndMarketDetails" xlink:href="wdc-20170630.xsd#BusinessSegmentGeographicInformationAndConcentrationOfRiskRevenueByEndMarketDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskRevenueByGeographyDetails" xlink:href="wdc-20170630.xsd#BusinessSegmentGeographicInformationAndConcentrationOfRiskRevenueByGeographyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskTables" xlink:href="wdc-20170630.xsd#BusinessSegmentGeographicInformationAndConcentrationOfRiskTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingencies" xlink:href="wdc-20170630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesAdditionalInformationDetailsTextuals" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesEquityInvestmentsDetails" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsUnderOperatingLeasesDetails" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesFutureMinimumLeasePaymentsUnderOperatingLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesMaximumLossExposureDetail" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesMaximumLossExposureDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesPurchaseCommitmentsDetails" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesPurchaseCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesRentExpenseDetails" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesRentExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsAndContingenciesTables" xlink:href="wdc-20170630.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingFinancialStatements" xlink:href="wdc-20170630.xsd#CondensedConsolidatingFinancialStatements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsCondensedConsolidatingBalanceSheetDetails" xlink:href="wdc-20170630.xsd#CondensedConsolidatingFinancialStatementsCondensedConsolidatingBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsTables" xlink:href="wdc-20170630.xsd#CondensedConsolidatingFinancialStatementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingStatementOfCashFlowsDetails" xlink:href="wdc-20170630.xsd#CondensedConsolidatingStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingStatementOfComprehensiveIncomeDetails" xlink:href="wdc-20170630.xsd#CondensedConsolidatingStatementOfComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatingStatementOfIncomeDetails" xlink:href="wdc-20170630.xsd#CondensedConsolidatingStatementOfIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedBalanceSheets" xlink:href="wdc-20170630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20170630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="wdc-20170630.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="wdc-20170630.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfIncome" xlink:href="wdc-20170630.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:href="wdc-20170630.xsd#ConsolidatedStatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedValuationAndQualifyingAccounts" xlink:href="wdc-20170630.xsd#ConsolidatedValuationAndQualifyingAccounts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedValuationAndQualifyingAccountsConsolidatedValuationAndQualifyingAccountsDetail" xlink:href="wdc-20170630.xsd#ConsolidatedValuationAndQualifyingAccountsConsolidatedValuationAndQualifyingAccountsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ConsolidatedValuationAndQualifyingAccountsConsolidatedValuationAndQualifyingAccountsTables" xlink:href="wdc-20170630.xsd#ConsolidatedValuationAndQualifyingAccountsConsolidatedValuationAndQualifyingAccountsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20170630.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtConvertibleNotesDetailsTextuals" xlink:href="wdc-20170630.xsd#DebtConvertibleNotesDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtMaturitiesDetails" xlink:href="wdc-20170630.xsd#DebtMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtSeniorNotesDetailsTextuals" xlink:href="wdc-20170630.xsd#DebtSeniorNotesDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20170630.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTermLoansDetailsTextuals" xlink:href="wdc-20170630.xsd#DebtTermLoansDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTerminationOfExistingCreditAgreementAndBridgeLoansDetailsTextuals" xlink:href="wdc-20170630.xsd#DebtTerminationOfExistingCreditAgreementAndBridgeLoansDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Derivatives" xlink:href="wdc-20170630.xsd#Derivatives" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesAdditionalInformationDetailTextual" xlink:href="wdc-20170630.xsd#DerivativesAdditionalInformationDetailTextual" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesDerivativeContractsDetails" xlink:href="wdc-20170630.xsd#DerivativesDerivativeContractsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesDerivativesInCashFlowHedgingRelationshipsDetail" xlink:href="wdc-20170630.xsd#DerivativesDerivativesInCashFlowHedgingRelationshipsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesOffsettingAssetsAndLiabilitiesDetailTextual" xlink:href="wdc-20170630.xsd#DerivativesOffsettingAssetsAndLiabilitiesDetailTextual" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesTables" xlink:href="wdc-20170630.xsd#DerivativesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:href="wdc-20170630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EarningsPerShare" xlink:href="wdc-20170630.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EarningsPerShareDetails" xlink:href="wdc-20170630.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EarningsPerShareTables" xlink:href="wdc-20170630.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20170630.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20170630.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20170630.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesOdawaraPlantClosureDetails" xlink:href="wdc-20170630.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesOdawaraPlantClosureDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:href="wdc-20170630.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanTextualsDetails" xlink:href="wdc-20170630.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanTextualsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20170630.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementPolicies" xlink:href="wdc-20170630.xsd#FairValueMeasurementPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurements" xlink:href="wdc-20170630.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAdditionalInformationDetails" xlink:href="wdc-20170630.xsd#FairValueMeasurementsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAvailableForSaleSecuritiesMaturitiesDetails" xlink:href="wdc-20170630.xsd#FairValueMeasurementsAvailableForSaleSecuritiesMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsCashAndMarketableSecuritiesDetails" xlink:href="wdc-20170630.xsd#FairValueMeasurementsCashAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsDebtInstrumentFairValueDetails" xlink:href="wdc-20170630.xsd#FairValueMeasurementsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20170630.xsd#FairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsLevelThreeAssetsDetails" xlink:href="wdc-20170630.xsd#FairValueMeasurementsLevelThreeAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsLevelThreeLiabilitiesDetails" xlink:href="wdc-20170630.xsd#FairValueMeasurementsLevelThreeLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsTables" xlink:href="wdc-20170630.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssets" xlink:href="wdc-20170630.xsd#GoodwillAndOtherIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsAdditionalInformationDetailsTextuals" xlink:href="wdc-20170630.xsd#GoodwillAndOtherIntangibleAssetsAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsGoodwillDetails" xlink:href="wdc-20170630.xsd#GoodwillAndOtherIntangibleAssetsGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetAmortizationDetails" xlink:href="wdc-20170630.xsd#GoodwillAndOtherIntangibleAssetsIntangibleAssetAmortizationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetFutureAmortizationDetails" xlink:href="wdc-20170630.xsd#GoodwillAndOtherIntangibleAssetsIntangibleAssetFutureAmortizationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetsDetail" xlink:href="wdc-20170630.xsd#GoodwillAndOtherIntangibleAssetsIntangibleAssetsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:href="wdc-20170630.xsd#GoodwillAndOtherIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxes" xlink:href="wdc-20170630.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesAdditionalInformationDetailsTextuals" xlink:href="wdc-20170630.xsd#IncomeTaxesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesComponentsOfProvisionForIncomeTaxesDetail" xlink:href="wdc-20170630.xsd#IncomeTaxesComponentsOfProvisionForIncomeTaxesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetail" xlink:href="wdc-20170630.xsd#IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesDomesticAndForeignComponentsOfIncomeBeforeIncomeTaxesDetail" xlink:href="wdc-20170630.xsd#IncomeTaxesDomesticAndForeignComponentsOfIncomeBeforeIncomeTaxesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesNolCarryforwardDetails" xlink:href="wdc-20170630.xsd#IncomeTaxesNolCarryforwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesTables" xlink:href="wdc-20170630.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesUSFederalStatutoryRateToCompanysEffectiveTaxRateDetail" xlink:href="wdc-20170630.xsd#IncomeTaxesUSFederalStatutoryRateToCompanysEffectiveTaxRateDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxesUnrecognizedTaxPositionsDetail" xlink:href="wdc-20170630.xsd#IncomeTaxesUnrecognizedTaxPositionsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20170630.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20170630.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:href="wdc-20170630.xsd#OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="wdc-20170630.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="wdc-20170630.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansJapaneseDefinedBenefitPensionPlansMajorAssetCategoriesAndTheirAssociatedFairValuesDetails" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlansJapaneseDefinedBenefitPensionPlansMajorAssetCategoriesAndTheirAssociatedFairValuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineBenefitCostsDetails" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineBenefitCostsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineBenefitObligationsDetails" xlink:href="wdc-20170630.xsd#PensionsAndOtherPostRetirementBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineBenefitObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PropertyPlantAndEquipmentDetailsTextuals" xlink:href="wdc-20170630.xsd#PropertyPlantAndEquipmentDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/QuarterlyResultsOfOperations" xlink:href="wdc-20170630.xsd#QuarterlyResultsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/QuarterlyResultsOfOperationsSupplementalQuarterlyResultsDetails" xlink:href="wdc-20170630.xsd#QuarterlyResultsOfOperationsSupplementalQuarterlyResultsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/QuarterlyResultsOfOperationsTables" xlink:href="wdc-20170630.xsd#QuarterlyResultsOfOperationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentAccountingPronouncementAndAccountingChanges" xlink:href="wdc-20170630.xsd#RecentAccountingPronouncementAndAccountingChanges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsDetails" xlink:href="wdc-20170630.xsd#RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsTables" xlink:href="wdc-20170630.xsd#RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetail" xlink:href="wdc-20170630.xsd#ScheduleOfDebtDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20170630.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityAdditionalInformationDetailsTextuals" xlink:href="wdc-20170630.xsd#ShareholdersEquityAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:href="wdc-20170630.xsd#ShareholdersEquityDividendsDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityFairValueOfStockOptionsGrantedDetail" xlink:href="wdc-20170630.xsd#ShareholdersEquityFairValueOfStockOptionsGrantedDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityFairValueOfVestedAwardsDetails" xlink:href="wdc-20170630.xsd#ShareholdersEquityFairValueOfVestedAwardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityFairValuesOfAllEmployeeStockPurchasePlanGrantedDetail" xlink:href="wdc-20170630.xsd#ShareholdersEquityFairValuesOfAllEmployeeStockPurchasePlanGrantedDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:href="wdc-20170630.xsd#ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:href="wdc-20170630.xsd#ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockAppreciationRightsSarsDetails" xlink:href="wdc-20170630.xsd#ShareholdersEquityStockAppreciationRightsSarsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20170630.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:href="wdc-20170630.xsd#ShareholdersEquityStockOptionActivityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockReservedForIssuanceDetail" xlink:href="wdc-20170630.xsd#ShareholdersEquityStockReservedForIssuanceDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20170630.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20170630.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeReclassificationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20170630.xsd#SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/WesternDigitalCorporation401KPlan" xlink:href="wdc-20170630.xsd#WesternDigitalCorporation401KPlan" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/WesternDigitalCorporation401PlanAdditionalInformationDetailsTextualsDetails" xlink:href="wdc-20170630.xsd#WesternDigitalCorporation401PlanAdditionalInformationDetailsTextualsDetails" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/Acquisition" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionAcquisitionPurchasePriceDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_0D428721F393AFF9B3C1D317807E6620" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2D44B60425885AD26EB4D317807EDD12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0D428721F393AFF9B3C1D317807E6620" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2D44B60425885AD26EB4D317807EDD12" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_EBE790862EDBA020A9FDD317807E5689" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2D44B60425885AD26EB4D317807EDD12" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_EBE790862EDBA020A9FDD317807E5689" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0507C5792FDC1DDA84EFD317807ED9CF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EBE790862EDBA020A9FDD317807E5689" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0507C5792FDC1DDA84EFD317807ED9CF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0507C5792FDC1DDA84EFD317807ED9CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EBE790862EDBA020A9FDD317807E5689" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0507C5792FDC1DDA84EFD317807ED9CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_336FC605016AE4533717D317807EFC38" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2D44B60425885AD26EB4D317807EDD12" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_336FC605016AE4533717D317807EFC38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_040F79E0CDF44F1B1065D317807EB044_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_336FC605016AE4533717D317807EFC38" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_040F79E0CDF44F1B1065D317807EB044_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_040F79E0CDF44F1B1065D317807EB044" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_336FC605016AE4533717D317807EFC38" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_040F79E0CDF44F1B1065D317807EB044" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_9D27B0868A22AD2D52A3D317807E92A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2D44B60425885AD26EB4D317807EDD12" xlink:to="loc_us-gaap_StatementClassOfStockAxis_9D27B0868A22AD2D52A3D317807E92A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_9615445F3F98EECE34F1D317807E9331_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_9D27B0868A22AD2D52A3D317807E92A5" xlink:to="loc_us-gaap_ClassOfStockDomain_9615445F3F98EECE34F1D317807E9331_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_9615445F3F98EECE34F1D317807E9331" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_9D27B0868A22AD2D52A3D317807E92A5" xlink:to="loc_us-gaap_ClassOfStockDomain_9615445F3F98EECE34F1D317807E9331" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_DA4F0C68348D3407F3B4D317807E4902" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0D428721F393AFF9B3C1D317807E6620" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_DA4F0C68348D3407F3B4D317807E4902" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_2B9B07D9EF2680A9AC0AD317807F7105" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0D428721F393AFF9B3C1D317807E6620" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_2B9B07D9EF2680A9AC0AD317807F7105" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FairValueOfStockOptionsandRSUsAssumed" xlink:label="loc_wdc_FairValueOfStockOptionsandRSUsAssumed_49C34FAEFBFBDE7D3B8ED317807F26F6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0D428721F393AFF9B3C1D317807E6620" xlink:to="loc_wdc_FairValueOfStockOptionsandRSUsAssumed_49C34FAEFBFBDE7D3B8ED317807F26F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_5A46018D495D67F0AFBBD317807EC014" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_0D428721F393AFF9B3C1D317807E6620" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_5A46018D495D67F0AFBBD317807EC014" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionAdditionalInformationDetailTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_B5B06CF46227513F7669100916EFCB51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_B5B06CF46227513F7669100916EFCB51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3027828B75393FC9A3BB100916EFB571_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_B5B06CF46227513F7669100916EFCB51" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3027828B75393FC9A3BB100916EFB571_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3027828B75393FC9A3BB100916EFB571" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_B5B06CF46227513F7669100916EFCB51" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3027828B75393FC9A3BB100916EFB571" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_A3576A046E244B3EB4EB100916EF1DF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3027828B75393FC9A3BB100916EFB571" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_A3576A046E244B3EB4EB100916EF1DF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_E9A46DF7EB1762E2B9FD100916EF0FF5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:to="loc_us-gaap_AwardTypeAxis_E9A46DF7EB1762E2B9FD100916EF0FF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCF2B8A854E3AB663B44100916EF1A58_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_E9A46DF7EB1762E2B9FD100916EF0FF5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCF2B8A854E3AB663B44100916EF1A58_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCF2B8A854E3AB663B44100916EF1A58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_E9A46DF7EB1762E2B9FD100916EF0FF5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCF2B8A854E3AB663B44100916EF1A58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_042B37FF8CAC65BC2091100916EF1ABC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCF2B8A854E3AB663B44100916EF1A58" xlink:to="loc_us-gaap_EmployeeStockOptionMember_042B37FF8CAC65BC2091100916EF1ABC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0BDF2C21355FC3C2A211100916EF758D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CCF2B8A854E3AB663B44100916EF1A58" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0BDF2C21355FC3C2A211100916EF758D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_8CA8B05B6E3534EC9FD5100916EF883C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_8CA8B05B6E3534EC9FD5100916EF883C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_2A261C089917E7B7E2F4100916EF67FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_8CA8B05B6E3534EC9FD5100916EF883C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_2A261C089917E7B7E2F4100916EF67FF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_2A261C089917E7B7E2F4100916EF67FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_8CA8B05B6E3534EC9FD5100916EF883C" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_2A261C089917E7B7E2F4100916EF67FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeSeveranceMember" xlink:label="loc_us-gaap_EmployeeSeveranceMember_2BB71ABB4DE3FEEED682100916EFAD0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_2A261C089917E7B7E2F4100916EF67FF" xlink:to="loc_us-gaap_EmployeeSeveranceMember_2BB71ABB4DE3FEEED682100916EFAD0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_9B8A45B538A87A492EB1100916EF57F7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:to="loc_us-gaap_VestingAxis_9B8A45B538A87A492EB1100916EF57F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_C7793401F1F075508C96100916EF1C30_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_9B8A45B538A87A492EB1100916EF57F7" xlink:to="loc_us-gaap_VestingDomain_C7793401F1F075508C96100916EF1C30_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_C7793401F1F075508C96100916EF1C30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_9B8A45B538A87A492EB1100916EF57F7" xlink:to="loc_us-gaap_VestingDomain_C7793401F1F075508C96100916EF1C30" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AcceleratedEquityAwardsMember" xlink:label="loc_wdc_AcceleratedEquityAwardsMember_B24DCC42C2B5C15763B6100916EF6192" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_C7793401F1F075508C96100916EF1C30" xlink:to="loc_wdc_AcceleratedEquityAwardsMember_B24DCC42C2B5C15763B6100916EF6192" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_72DE5EFD4A93CCFA3BDA100916EFBEAD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_72DE5EFD4A93CCFA3BDA100916EFBEAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_A578979B5BE8DE8D3BB9100916EFF469_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_72DE5EFD4A93CCFA3BDA100916EFBEAD" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_A578979B5BE8DE8D3BB9100916EFF469_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_A578979B5BE8DE8D3BB9100916EFF469" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_72DE5EFD4A93CCFA3BDA100916EFBEAD" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_A578979B5BE8DE8D3BB9100916EFF469" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_8C8F588B7267B39B05EA100916EF976A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_A578979B5BE8DE8D3BB9100916EFF469" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_8C8F588B7267B39B05EA100916EF976A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_75561A19E467EE6CA5F9100916EFABE4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_A578979B5BE8DE8D3BB9100916EFF469" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_75561A19E467EE6CA5F9100916EFABE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_7B11A8A229B0E2290B47100916EF406D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_7B11A8A229B0E2290B47100916EF406D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D789A4F24414421E07DD100916EFA28B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_7B11A8A229B0E2290B47100916EF406D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D789A4F24414421E07DD100916EFA28B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D789A4F24414421E07DD100916EFA28B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_7B11A8A229B0E2290B47100916EF406D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D789A4F24414421E07DD100916EFA28B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_104E9AA8609ED5514C59100916EF196E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D789A4F24414421E07DD100916EFA28B" xlink:to="loc_wdc_SanDiskMember_104E9AA8609ED5514C59100916EF196E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AmplidataMember" xlink:label="loc_wdc_AmplidataMember_3A46E248A46EDD55AFEE100916EFC3B8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D789A4F24414421E07DD100916EFA28B" xlink:to="loc_wdc_AmplidataMember_3A46E248A46EDD55AFEE100916EFC3B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_93D962D68DCFF3E9D264100916EF762D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_030EAE6EDF25C4B68058100916EFE5E7" xlink:to="loc_us-gaap_DebtInstrumentAxis_93D962D68DCFF3E9D264100916EF762D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_379FD2CBE7CB47D05381100916EF6E72_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_93D962D68DCFF3E9D264100916EF762D" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_379FD2CBE7CB47D05381100916EF6E72_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_379FD2CBE7CB47D05381100916EF6E72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_93D962D68DCFF3E9D264100916EF762D" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_379FD2CBE7CB47D05381100916EF6E72" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_DF9E50EAFCC2A73ACCEA100916EF18B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_379FD2CBE7CB47D05381100916EF6E72" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_DF9E50EAFCC2A73ACCEA100916EF18B9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_0F726F3CAE6B3DA2556F100916EF0A84" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_379FD2CBE7CB47D05381100916EF6E72" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_0F726F3CAE6B3DA2556F100916EF0A84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_364A23F6E0990A312AC9100916EF75E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_364A23F6E0990A312AC9100916EF75E0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedCurrentAssetsReceivablesNetofIncentivesandDoubtfulAccounts" xlink:label="loc_wdc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedCurrentAssetsReceivablesNetofIncentivesandDoubtfulAccounts_22984E4D1B4A9CBFA28D100CEAA93A32" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_wdc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedCurrentAssetsReceivablesNetofIncentivesandDoubtfulAccounts_22984E4D1B4A9CBFA28D100CEAA93A32" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PurchasePriceAbstract" xlink:label="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BusinessCombinationAcquireeEquityCashPaidperShare" xlink:label="loc_wdc_BusinessCombinationAcquireeEquityCashPaidperShare_0645A7CC01ED64E21823100916EFA9C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:to="loc_wdc_BusinessCombinationAcquireeEquityCashPaidperShare_0645A7CC01ED64E21823100916EFA9C0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BusinessCombinationAcquireeEquityAcquirerSharesProvidedperAcquireeShare" xlink:label="loc_wdc_BusinessCombinationAcquireeEquityAcquirerSharesProvidedperAcquireeShare_8B38EA7C8A44D66F7CD9100916EF00E4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:to="loc_wdc_BusinessCombinationAcquireeEquityAcquirerSharesProvidedperAcquireeShare_8B38EA7C8A44D66F7CD9100916EF00E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_748E9DC30B2C12523236100916EF650C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_748E9DC30B2C12523236100916EF650C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_9316E2E91217F4F22D5D100916EF330D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_9316E2E91217F4F22D5D100916EF330D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_166AEEDABA3F86679747100916EFB06D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_166AEEDABA3F86679747100916EFB06D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_B527CC6C4ECC6251FE61100916EF0464" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_B527CC6C4ECC6251FE61100916EF0464" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FairValueOfStockOptionsandRSUsAssumed" xlink:label="loc_wdc_FairValueOfStockOptionsandRSUsAssumed_D2638FB8AB8ABC8D5C7F100916EFB5BD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PurchasePriceAbstract_90FBD098E71DF3220935100916EF53B8" xlink:to="loc_wdc_FairValueOfStockOptionsandRSUsAssumed_D2638FB8AB8ABC8D5C7F100916EFB5BD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_IntangibleAssetsandGoodwillAbstract" xlink:label="loc_wdc_IntangibleAssetsandGoodwillAbstract_4FEE766C1F6A153A46FB100916EF96D7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_wdc_IntangibleAssetsandGoodwillAbstract_4FEE766C1F6A153A46FB100916EF96D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_95B206BF0F710BCA2990100916EFA3E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IntangibleAssetsandGoodwillAbstract_4FEE766C1F6A153A46FB100916EF96D7" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_95B206BF0F710BCA2990100916EFA3E0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology" xlink:label="loc_wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology_576F15B41DF656194A1A100916EFABE4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IntangibleAssetsandGoodwillAbstract_4FEE766C1F6A153A46FB100916EF96D7" xlink:to="loc_wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology_576F15B41DF656194A1A100916EFABE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_DD1DD9A14B299E930865100916EF4669" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IntangibleAssetsandGoodwillAbstract_4FEE766C1F6A153A46FB100916EF96D7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_DD1DD9A14B299E930865100916EF4669" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_4581845AC5E42539DC51100916EFD4E6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IntangibleAssetsandGoodwillAbstract_4FEE766C1F6A153A46FB100916EF96D7" xlink:to="loc_us-gaap_Goodwill_4581845AC5E42539DC51100916EFD4E6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleNotesandRelatedDerivativesAbstract" xlink:label="loc_wdc_ConvertibleNotesandRelatedDerivativesAbstract_89B2055C17D690A0B697100916EFB960" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_wdc_ConvertibleNotesandRelatedDerivativesAbstract_89B2055C17D690A0B697100916EFB960" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_BF1A2E358FC25665810A100916EF2C3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_ConvertibleNotesandRelatedDerivativesAbstract_89B2055C17D690A0B697100916EFB960" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_BF1A2E358FC25665810A100916EF2C3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationAbstract" xlink:label="loc_us-gaap_ShareBasedCompensationAbstract_D36894FCE7B2E1BFE751100916EFA9E2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_us-gaap_ShareBasedCompensationAbstract_D36894FCE7B2E1BFE751100916EFA9E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_CA0705F716EE790B2F7C100916EF294A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationAbstract_D36894FCE7B2E1BFE751100916EFA9E2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_CA0705F716EE790B2F7C100916EF294A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_8F8814CE5C2F889A04FE100916EF0DC9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationAbstract_D36894FCE7B2E1BFE751100916EFA9E2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_8F8814CE5C2F889A04FE100916EF0DC9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AcquisitionCostsAbstract" xlink:label="loc_wdc_AcquisitionCostsAbstract_F65ED731CD8620F28EFD100916EF3305" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_4225C05E7340689EC100100916EFDE13" xlink:to="loc_wdc_AcquisitionCostsAbstract_F65ED731CD8620F28EFD100916EF3305" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_188F2672638CD52604AA100916EF71FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_AcquisitionCostsAbstract_F65ED731CD8620F28EFD100916EF3305" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_188F2672638CD52604AA100916EF71FD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionIdentifiableIntangibleAssetsAcquiredDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_B5015D7EEBEC1A4FC405DE2FBB88F9B2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0EAE82981F05D1E726BFDE2FBB871A9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5015D7EEBEC1A4FC405DE2FBB88F9B2" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0EAE82981F05D1E726BFDE2FBB871A9F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9EFB496A18C86116A0A6DE2FBB88ABFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0EAE82981F05D1E726BFDE2FBB871A9F" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9EFB496A18C86116A0A6DE2FBB88ABFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3F6AD0A17A36733A3D93DE2FBB88B5BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9EFB496A18C86116A0A6DE2FBB88ABFC" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3F6AD0A17A36733A3D93DE2FBB88B5BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3F6AD0A17A36733A3D93DE2FBB88B5BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_9EFB496A18C86116A0A6DE2FBB88ABFC" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3F6AD0A17A36733A3D93DE2FBB88B5BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_332DB92A6023E3E6A932DE2FBB88D574" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3F6AD0A17A36733A3D93DE2FBB88B5BB" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_332DB92A6023E3E6A932DE2FBB88D574" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" xlink:label="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember_36A31BEEDB4F463D6D26DE2FBB88696E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3F6AD0A17A36733A3D93DE2FBB88B5BB" xlink:to="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember_36A31BEEDB4F463D6D26DE2FBB88696E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_810B0B3B7C7F1AA0BB79DE2FBB88D1EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0EAE82981F05D1E726BFDE2FBB871A9F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_810B0B3B7C7F1AA0BB79DE2FBB88D1EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_810B0B3B7C7F1AA0BB79DE2FBB88D1EA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_810B0B3B7C7F1AA0BB79DE2FBB88D1EA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ExistingTechnologyMember" xlink:label="loc_wdc_ExistingTechnologyMember_086895CE35B241174FAFDE2FBB888705" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED" xlink:to="loc_wdc_ExistingTechnologyMember_086895CE35B241174FAFDE2FBB888705" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TradenamesandtrademarksMember" xlink:label="loc_wdc_TradenamesandtrademarksMember_C8AB16F28013E803863BDE2FBB88C794" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED" xlink:to="loc_wdc_TradenamesandtrademarksMember_C8AB16F28013E803863BDE2FBB88C794" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_C272529F66C95F06FD00DE2FBB88D0A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED" xlink:to="loc_us-gaap_CustomerRelationshipsMember_C272529F66C95F06FD00DE2FBB88D0A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SupplyCommitmentMember" xlink:label="loc_us-gaap_SupplyCommitmentMember_054C52D5886ADA727488DE48A7ED1D64" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED" xlink:to="loc_us-gaap_SupplyCommitmentMember_054C52D5886ADA727488DE48A7ED1D64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_69407C1CE6D53C6EACD1DE48CDFBD278" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_72BE22B999CC8D967342DE2FBB889DED" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_69407C1CE6D53C6EACD1DE48CDFBD278" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_2837ADC1195E1A5B52C1DE2FBB882089" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_0EAE82981F05D1E726BFDE2FBB871A9F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_2837ADC1195E1A5B52C1DE2FBB882089" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C3F9EEEF969982B330E9DE2FBB880FC8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2837ADC1195E1A5B52C1DE2FBB882089" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C3F9EEEF969982B330E9DE2FBB880FC8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C3F9EEEF969982B330E9DE2FBB880FC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2837ADC1195E1A5B52C1DE2FBB882089" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C3F9EEEF969982B330E9DE2FBB880FC8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_FA4CE495CEE6BADC3B7EDE2FBB884279" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C3F9EEEF969982B330E9DE2FBB880FC8" xlink:to="loc_wdc_SanDiskMember_FA4CE495CEE6BADC3B7EDE2FBB884279" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_6363199E2BDB9A1B67F0DE2FBB89D04A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5015D7EEBEC1A4FC405DE2FBB88F9B2" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_6363199E2BDB9A1B67F0DE2FBB89D04A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_80DB3211CB5EFE3BC080DE2FBB89ED40" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5015D7EEBEC1A4FC405DE2FBB88F9B2" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_80DB3211CB5EFE3BC080DE2FBB89ED40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_36902995DD320F63208CDE2FBB8E1FC3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5015D7EEBEC1A4FC405DE2FBB88F9B2" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_36902995DD320F63208CDE2FBB8E1FC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_9B874E686AEC6BD2ADE5DE2FBB8EE35C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5015D7EEBEC1A4FC405DE2FBB88F9B2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_9B874E686AEC6BD2ADE5DE2FBB8EE35C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_8967C725E22B5E8F8C75DE2FBB8E1E9B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_B5015D7EEBEC1A4FC405DE2FBB88F9B2" xlink:to="loc_us-gaap_Goodwill_8967C725E22B5E8F8C75DE2FBB8E1E9B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionProFormaDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ED0C2635F42033EA35912AF3ABA50202" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ED0C2635F42033EA35912AF3ABA50202" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_0B9E425257658ED00F882AF3ABA5A584" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_ED0C2635F42033EA35912AF3ABA50202" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_0B9E425257658ED00F882AF3ABA5A584" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7B227FA3F104BE63F3D52AF3ABA5D41C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0B9E425257658ED00F882AF3ABA5A584" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7B227FA3F104BE63F3D52AF3ABA5D41C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7B227FA3F104BE63F3D52AF3ABA5D41C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0B9E425257658ED00F882AF3ABA5A584" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7B227FA3F104BE63F3D52AF3ABA5D41C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_D94AA82F0BEC10A29ED72AF3ABA50B6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7B227FA3F104BE63F3D52AF3ABA5D41C" xlink:to="loc_wdc_SanDiskMember_D94AA82F0BEC10A29ED72AF3ABA50B6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_0AAA42A32AC1451B85D62AF3ABA62448" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:to="loc_us-gaap_Revenues_0AAA42A32AC1451B85D62AF3ABA62448" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_1EAD4CAEE73C9AC7782C2AF3ABA6E6C0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:to="loc_us-gaap_NetIncomeLoss_1EAD4CAEE73C9AC7782C2AF3ABA6E6C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_1FE37C282C359829CA562AF3ABA6115D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_1FE37C282C359829CA562AF3ABA6115D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_D3EED68685114AD5FC132AF3ABA63D3A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_D3EED68685114AD5FC132AF3ABA63D3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_D9055BDB2C37DF86936A2AF3ABA68FEA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_D9055BDB2C37DF86936A2AF3ABA68FEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_E7749E52BEDBE8942CBA2AF3ABA6AFEE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7B82003D58305C9D8B982AF3ABA67276" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_E7749E52BEDBE8942CBA2AF3ABA6AFEE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionPropertyPlantAndEquipmentAcquiredDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_A6CB189DE8571BCBC406E371CBA7302E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_63598E7E0DD36CB043E3E371CBA51001" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6CB189DE8571BCBC406E371CBA7302E" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_63598E7E0DD36CB043E3E371CBA51001" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_4F5D35619E6622D9CF57E371CBA7A0C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_63598E7E0DD36CB043E3E371CBA51001" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_4F5D35619E6622D9CF57E371CBA7A0C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D63983A3FF66DA430F64E371CBA7B47D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4F5D35619E6622D9CF57E371CBA7A0C8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D63983A3FF66DA430F64E371CBA7B47D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D63983A3FF66DA430F64E371CBA7B47D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4F5D35619E6622D9CF57E371CBA7A0C8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D63983A3FF66DA430F64E371CBA7B47D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_701FA23D62E878298A88E371CBA75CFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_D63983A3FF66DA430F64E371CBA7B47D" xlink:to="loc_wdc_SanDiskMember_701FA23D62E878298A88E371CBA75CFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1C73BCB634884DBB10E9E371CBA52D37" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_63598E7E0DD36CB043E3E371CBA51001" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1C73BCB634884DBB10E9E371CBA52D37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1C73BCB634884DBB10E9E371CBA52D37" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1C73BCB634884DBB10E9E371CBA52D37" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_6E1DEA3EF76A72A92A6DE371CBA6A8C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048" xlink:to="loc_us-gaap_LandMember_6E1DEA3EF76A72A92A6DE371CBA6A8C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_1C91A06A63520177EA5CE371CBA63A20" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048" xlink:to="loc_us-gaap_BuildingMember_1C91A06A63520177EA5CE371CBA63A20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_F8622AB740F485AD0422E371CBA63492" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_F8622AB740F485AD0422E371CBA63492" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_9F95342F5022A6101778E371CBA73859" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_9F95342F5022A6101778E371CBA73859" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_A6A5009485DF3948E351E371CBA70F5F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_746FB00CCF5FF3B34F0CE371CBA64048" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_A6A5009485DF3948E351E371CBA70F5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_790CD548720E32980C0CE371CBA71561" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6CB189DE8571BCBC406E371CBA7302E" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_790CD548720E32980C0CE371CBA71561" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_2C5663528B52475216C7E371CBA79764" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_A6CB189DE8571BCBC406E371CBA7302E" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_2C5663528B52475216C7E371CBA79764" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_94E8EAA2983ABE816ACE100920F3EB61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_94E8EAA2983ABE816ACE100920F3EB61" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_4DAF293F11FD9AC5B1BC100920F4B164" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_94E8EAA2983ABE816ACE100920F3EB61" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_4DAF293F11FD9AC5B1BC100920F4B164" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C70A17AFB2AE8C2484D2100920F50C6B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4DAF293F11FD9AC5B1BC100920F4B164" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C70A17AFB2AE8C2484D2100920F50C6B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C70A17AFB2AE8C2484D2100920F50C6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_4DAF293F11FD9AC5B1BC100920F4B164" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C70A17AFB2AE8C2484D2100920F50C6B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_FEB957B49F1ACB087340100920F5E4FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_C70A17AFB2AE8C2484D2100920F50C6B" xlink:to="loc_wdc_SanDiskMember_FEB957B49F1ACB087340100920F5E4FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_5C64D7D7C96529C2E0B6100920F516BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_5C64D7D7C96529C2E0B6100920F516BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities_392903F294481AB67FB8100920FB45A0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities_392903F294481AB67FB8100920FB45A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_B0A64D2C1FD50C5524E0100920FBE531" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_B0A64D2C1FD50C5524E0100920FBE531" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_367061600E36D614A709100920FB845A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_367061600E36D614A709100920FB845A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_40523C301512B2B4CFD6100920FBBBCF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_40523C301512B2B4CFD6100920FBBBCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_20A27BAA2197C5540644100920FBAE65" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_20A27BAA2197C5540644100920FBAE65" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BusinessCombinationEquityInvestmentsandNotesReceivables" xlink:label="loc_wdc_BusinessCombinationEquityInvestmentsandNotesReceivables_96F924E3956E2B004504101EE587A5BD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_wdc_BusinessCombinationEquityInvestmentsandNotesReceivables_96F924E3956E2B004504101EE587A5BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_6BACBC1AAEE75828C75B100920FB18C1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_6BACBC1AAEE75828C75B100920FB18C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_5D1EA70441F96B6629D7100920FBBC33" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_5D1EA70441F96B6629D7100920FBBC33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_3BA47CFDF5B6E5088CB8100920FB7CC3" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_3BA47CFDF5B6E5088CB8100920FB7CC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8BCEF7D85F480E9BE9B8100920FC982E" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_8BCEF7D85F480E9BE9B8100920FC982E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_8FBE16E589AABC6E7941100920FC1E1F" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_8FBE16E589AABC6E7941100920FC1E1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_818E8BCC6CC2FC996660100920FC0E58" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_818E8BCC6CC2FC996660100920FC0E58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancialLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancialLiabilities_6A9030536FAB009D8502100920FC24C6" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancialLiabilities_6A9030536FAB009D8502100920FC24C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_773A9D2A14483FE27F44100920FCBCE4" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_773A9D2A14483FE27F44100920FCBCE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_A36C80B2734A90222E6A100920FCF9CB" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_A36C80B2734A90222E6A100920FCF9CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_576641B2FD2C47CF1D5E100920FC53A4" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_Goodwill_576641B2FD2C47CF1D5E100920FC53A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_A746FCF70473F1935CB1100920FC84A8" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_709907556956CA305D22100920F5686D" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_A746FCF70473F1935CB1100920FC84A8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AcquisitionTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_66003833FDDCBEB0EADA2B074E13B5DF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB42412C6E6046817CF22B074E1263C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66003833FDDCBEB0EADA2B074E13B5DF" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB42412C6E6046817CF22B074E1263C5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_11601F5134F215F3DA732B074E126CBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB42412C6E6046817CF22B074E1263C5" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_11601F5134F215F3DA732B074E126CBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB6F4C173F02B4A02FC22B074E12FAA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_11601F5134F215F3DA732B074E126CBD" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB6F4C173F02B4A02FC22B074E12FAA8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB6F4C173F02B4A02FC22B074E12FAA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_11601F5134F215F3DA732B074E126CBD" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB6F4C173F02B4A02FC22B074E12FAA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentMember_E6EA7EE1283038415C0E2B074E12B1E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB6F4C173F02B4A02FC22B074E12FAA8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentMember_E6EA7EE1283038415C0E2B074E12B1E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_4C80EBC4872AFA5523FC2B074E130FAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB6F4C173F02B4A02FC22B074E12FAA8" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_4C80EBC4872AFA5523FC2B074E130FAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_C0BD0F8121FB5614123C2B074E13A22D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FB42412C6E6046817CF22B074E1263C5" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_C0BD0F8121FB5614123C2B074E13A22D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C4870930A99E0F3E4712B074E13FFE8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_C0BD0F8121FB5614123C2B074E13A22D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C4870930A99E0F3E4712B074E13FFE8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C4870930A99E0F3E4712B074E13FFE8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_C0BD0F8121FB5614123C2B074E13A22D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C4870930A99E0F3E4712B074E13FFE8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_07437C02C3D14D5EE85A2B074E13CDE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C4870930A99E0F3E4712B074E13FFE8" xlink:to="loc_wdc_SanDiskMember_07437C02C3D14D5EE85A2B074E13CDE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_5B6C23AF831F73B317E42B074E13A4E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66003833FDDCBEB0EADA2B074E13B5DF" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock_5B6C23AF831F73B317E42B074E13A4E6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PurchasePriceAllocationOfBusinessCombinationTableTextBlock" xlink:label="loc_wdc_PurchasePriceAllocationOfBusinessCombinationTableTextBlock_86947C959B73F06E2DCB2B074E1372BA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66003833FDDCBEB0EADA2B074E13B5DF" xlink:to="loc_wdc_PurchasePriceAllocationOfBusinessCombinationTableTextBlock_86947C959B73F06E2DCB2B074E1372BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_13EBB6144A83928B1F182B074E13F700" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66003833FDDCBEB0EADA2B074E13B5DF" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_13EBB6144A83928B1F182B074E13F700" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_327A74CD113E160DCE8D2B074E130A0A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_66003833FDDCBEB0EADA2B074E13B5DF" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_327A74CD113E160DCE8D2B074E130A0A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/AdditionalInfoDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OrganizationAndPresentationLineItems" xlink:label="loc_wdc_OrganizationAndPresentationLineItems_CE5D0385704A61BB2B72DE2F283B8256" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:label="loc_wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_BFE2E1FB23E10BC3889EDE2F283B7968" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_CE5D0385704A61BB2B72DE2F283B8256" xlink:to="loc_wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_BFE2E1FB23E10BC3889EDE2F283B7968" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_DB2A4118BE02361750DDDE2F283B7E6A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_BFE2E1FB23E10BC3889EDE2F283B7968" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_DB2A4118BE02361750DDDE2F283B7E6A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_2C4EBCCB621DE1ED0CF3DE2F283BA145_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_DB2A4118BE02361750DDDE2F283B7E6A" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_2C4EBCCB621DE1ED0CF3DE2F283BA145_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_2C4EBCCB621DE1ED0CF3DE2F283BA145" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_DB2A4118BE02361750DDDE2F283B7E6A" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_2C4EBCCB621DE1ED0CF3DE2F283BA145" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCurrentAssetsMember" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_A026AB6E6438634ADD82DE2F283B6C53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_2C4EBCCB621DE1ED0CF3DE2F283BA145" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_A026AB6E6438634ADD82DE2F283B6C53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_B7E347B8979EE3F0A15EDE2F283B8A4A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_2C4EBCCB621DE1ED0CF3DE2F283BA145" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_B7E347B8979EE3F0A15EDE2F283B8A4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_11404D1DEFB89FAA2AA4DE2F283B9B48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_CE5D0385704A61BB2B72DE2F283B8256" xlink:to="loc_us-gaap_AdvertisingExpense_11404D1DEFB89FAA2AA4DE2F283B9B48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_20E6571B667E41FFD7D7DE2F283BE737" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_OrganizationAndPresentationLineItems_CE5D0385704A61BB2B72DE2F283B8256" xlink:to="loc_invest_DerivativeNotionalAmount_20E6571B667E41FFD7D7DE2F283BE737" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRisk" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskLineItems" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskTable" xlink:label="loc_us-gaap_ConcentrationRiskTable_7FCE39CE4AE23ADB0D3307BA86927DE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_us-gaap_ConcentrationRiskTable_7FCE39CE4AE23ADB0D3307BA86927DE5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_36D006A0606BA44497B607BA86922210" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_7FCE39CE4AE23ADB0D3307BA86927DE5" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_36D006A0606BA44497B607BA86922210" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_14A5A22B269D5ECDF2ED07BA8692074D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_36D006A0606BA44497B607BA86922210" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_14A5A22B269D5ECDF2ED07BA8692074D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_14A5A22B269D5ECDF2ED07BA8692074D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_36D006A0606BA44497B607BA86922210" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_14A5A22B269D5ECDF2ED07BA8692074D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsMember" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsMember_9ECD71B02862A212393407BA86924934" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_14A5A22B269D5ECDF2ED07BA8692074D" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsMember_9ECD71B02862A212393407BA86924934" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_20999792FBD10901172D07BA8692DFCF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_7FCE39CE4AE23ADB0D3307BA86927DE5" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_20999792FBD10901172D07BA8692DFCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_B39FB6D02A7B8804552F07BA869237BC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_20999792FBD10901172D07BA8692DFCF" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_B39FB6D02A7B8804552F07BA869237BC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_B39FB6D02A7B8804552F07BA869237BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_20999792FBD10901172D07BA8692DFCF" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_B39FB6D02A7B8804552F07BA869237BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_3A7E4087068D4451EF7A07BA8693F0ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_B39FB6D02A7B8804552F07BA869237BC" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_3A7E4087068D4451EF7A07BA8693F0ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_81EEC9FF2D3E26DAD9B907BA8693EBE7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_7FCE39CE4AE23ADB0D3307BA86927DE5" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_81EEC9FF2D3E26DAD9B907BA8693EBE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1DD0C05A53C71C3D58C307BA8693E440_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_81EEC9FF2D3E26DAD9B907BA8693EBE7" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1DD0C05A53C71C3D58C307BA8693E440_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1DD0C05A53C71C3D58C307BA8693E440" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_81EEC9FF2D3E26DAD9B907BA8693EBE7" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1DD0C05A53C71C3D58C307BA8693E440" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueNetMember" xlink:label="loc_us-gaap_SalesRevenueNetMember_F341ECED59CEEEE3E09E07BA8693738A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1DD0C05A53C71C3D58C307BA8693E440" xlink:to="loc_us-gaap_SalesRevenueNetMember_F341ECED59CEEEE3E09E07BA8693738A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableMember" xlink:label="loc_us-gaap_AccountsReceivableMember_FCD6731DEA76CB6ACA3D07BA86938F8C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1DD0C05A53C71C3D58C307BA8693E440" xlink:to="loc_us-gaap_AccountsReceivableMember_FCD6731DEA76CB6ACA3D07BA86938F8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_ED06FE8F081BEC51E32F07BA8693ACED" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_7FCE39CE4AE23ADB0D3307BA86927DE5" xlink:to="loc_us-gaap_MajorCustomersAxis_ED06FE8F081BEC51E32F07BA8693ACED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_A872643AE0497002CCC707BA869370F9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_ED06FE8F081BEC51E32F07BA8693ACED" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_A872643AE0497002CCC707BA869370F9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_A872643AE0497002CCC707BA869370F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_ED06FE8F081BEC51E32F07BA8693ACED" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_A872643AE0497002CCC707BA869370F9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DellInc.Member" xlink:label="loc_wdc_DellInc.Member_894EC1EDE9830E7563B107BA8AE1131A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A872643AE0497002CCC707BA869370F9" xlink:to="loc_wdc_DellInc.Member_894EC1EDE9830E7563B107BA8AE1131A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_HewlettPackardCompanyMember" xlink:label="loc_wdc_HewlettPackardCompanyMember_ED9B39A77F94D8E4B96007BA8694B276" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A872643AE0497002CCC707BA869370F9" xlink:to="loc_wdc_HewlettPackardCompanyMember_ED9B39A77F94D8E4B96007BA8694B276" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TopTenCustomersMember" xlink:label="loc_wdc_TopTenCustomersMember_94D237455131F062F46907BA8694BF9F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_A872643AE0497002CCC707BA869370F9" xlink:to="loc_wdc_TopTenCustomersMember_94D237455131F062F46907BA8694BF9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_CA94BC49DCED3C57F7D707BA8694DB80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_us-gaap_NumberOfOperatingSegments_CA94BC49DCED3C57F7D707BA8694DB80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_0B9216C90FAABCB8CA2007BA8694961D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_us-gaap_NumberOfReportableSegments_0B9216C90FAABCB8CA2007BA8694961D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_02F1CF258069FA05196307BA86942D4B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_02F1CF258069FA05196307BA86942D4B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConcentrationRiskNumber" xlink:label="loc_wdc_ConcentrationRiskNumber_A7445EEFF7A62F75243C07BA8694B38C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_wdc_ConcentrationRiskNumber_A7445EEFF7A62F75243C07BA8694B38C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_313F9C24FF559D1089B807BA86947435" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_313F9C24FF559D1089B807BA86947435" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EntityWideAccountsReceivableMajorCustomerPercentage" xlink:label="loc_wdc_EntityWideAccountsReceivableMajorCustomerPercentage_344E387807B531D0D7BD07BA8694028B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_wdc_EntityWideAccountsReceivableMajorCustomerPercentage_344E387807B531D0D7BD07BA8694028B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_AC18CB8973708BA41DF407BA8694627B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_DB417C74CA235AE30A6007BA86945529" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_AC18CB8973708BA41DF407BA8694627B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskLongLivedAssetsByGeographyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8D32C293ED4F33551335F28898040A19" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_16EF865524600B30A63DF2889803665C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8D32C293ED4F33551335F28898040A19" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_16EF865524600B30A63DF2889803665C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_8FEE102B5E88A2B1BBEEF28898048D48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_16EF865524600B30A63DF2889803665C" xlink:to="loc_us-gaap_StatementGeographicalAxis_8FEE102B5E88A2B1BBEEF28898048D48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_8FEE102B5E88A2B1BBEEF28898048D48" xlink:to="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_8FEE102B5E88A2B1BBEEF28898048D48" xlink:to="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2016/country-2016-01-31.xsd#country_US" xlink:label="loc_country_US_A9977E8D2C9E798916F2F2889827E88B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70" xlink:to="loc_country_US_A9977E8D2C9E798916F2F2889827E88B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2016/country-2016-01-31.xsd#country_CN" xlink:label="loc_country_CN_421CF3E130CAAE938BB1F2889837D906" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70" xlink:to="loc_country_CN_421CF3E130CAAE938BB1F2889837D906" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AsiaMember" xlink:label="loc_us-gaap_AsiaMember_5C0C8DC713A8C00EE0B7F28898497AC6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70" xlink:to="loc_us-gaap_AsiaMember_5C0C8DC713A8C00EE0B7F28898497AC6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuropeMiddleEastAndAfricaMember" xlink:label="loc_wdc_EuropeMiddleEastAndAfricaMember_A48ED16CAED832FCD910F288985814B6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_A787E3006CC605C62891F2889804BB70" xlink:to="loc_wdc_EuropeMiddleEastAndAfricaMember_A48ED16CAED832FCD910F288985814B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="loc_us-gaap_NoncurrentAssets_B432F0797B6A9CF4A4ECF28898169C46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8D32C293ED4F33551335F28898040A19" xlink:to="loc_us-gaap_NoncurrentAssets_B432F0797B6A9CF4A4ECF28898169C46" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskRevenueByEndMarketDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_8130B6ECCB88815984E2F2839B9024AE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_664B88993063AB1C600BF2839B7550FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_8130B6ECCB88815984E2F2839B9024AE" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_664B88993063AB1C600BF2839B7550FB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EndMarketsAxis" xlink:label="loc_wdc_EndMarketsAxis_A296FE25FBF253FF725AF2839C1E3385" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_664B88993063AB1C600BF2839B7550FB" xlink:to="loc_wdc_EndMarketsAxis_A296FE25FBF253FF725AF2839C1E3385" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EndMarketsDomain" xlink:label="loc_wdc_EndMarketsDomain_210A7788188BC2980D88F2839C1E1E2D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EndMarketsAxis_A296FE25FBF253FF725AF2839C1E3385" xlink:to="loc_wdc_EndMarketsDomain_210A7788188BC2980D88F2839C1E1E2D_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EndMarketsDomain" xlink:label="loc_wdc_EndMarketsDomain_210A7788188BC2980D88F2839C1E1E2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EndMarketsAxis_A296FE25FBF253FF725AF2839C1E3385" xlink:to="loc_wdc_EndMarketsDomain_210A7788188BC2980D88F2839C1E1E2D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ClientDevicesMember" xlink:label="loc_wdc_ClientDevicesMember_E7BE8222D755912A6273F2839C9756BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EndMarketsDomain_210A7788188BC2980D88F2839C1E1E2D" xlink:to="loc_wdc_ClientDevicesMember_E7BE8222D755912A6273F2839C9756BC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DataCenterDevicesSolutionsMember" xlink:label="loc_wdc_DataCenterDevicesSolutionsMember_0C8D40A612996EA066D5F2839CD700FA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EndMarketsDomain_210A7788188BC2980D88F2839C1E1E2D" xlink:to="loc_wdc_DataCenterDevicesSolutionsMember_0C8D40A612996EA066D5F2839CD700FA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ClientSolutionsMember" xlink:label="loc_wdc_ClientSolutionsMember_ADE3D568A57C7110DED2F2839D193165" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EndMarketsDomain_210A7788188BC2980D88F2839C1E1E2D" xlink:to="loc_wdc_ClientSolutionsMember_ADE3D568A57C7110DED2F2839D193165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_6FEBE43770E8B84802EFF2839BDD231B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_8130B6ECCB88815984E2F2839B9024AE" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_6FEBE43770E8B84802EFF2839BDD231B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskRevenueByGeographyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:label="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_B20FEDB051ACAAE83418F28686A9AE6B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_A420237D1D6DC948E36DF28686A829EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_B20FEDB051ACAAE83418F28686A9AE6B" xlink:to="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_A420237D1D6DC948E36DF28686A829EE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_B58E56F7DFBC25EEA8C6F2868713EEDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_A420237D1D6DC948E36DF28686A829EE" xlink:to="loc_us-gaap_StatementGeographicalAxis_B58E56F7DFBC25EEA8C6F2868713EEDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_B58E56F7DFBC25EEA8C6F2868713EEDC" xlink:to="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_B58E56F7DFBC25EEA8C6F2868713EEDC" xlink:to="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2016/country-2016-01-31.xsd#country_US" xlink:label="loc_country_US_0011900B5338159903B0F28687693647" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:to="loc_country_US_0011900B5338159903B0F28687693647" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2016/country-2016-01-31.xsd#country_CN" xlink:label="loc_country_CN_CAFF12BBA9432475FB6FF2868798CF55" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:to="loc_country_CN_CAFF12BBA9432475FB6FF2868798CF55" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_HongKongMember" xlink:label="loc_wdc_HongKongMember_B109CD81E1AEB8A87B60F28687C8C11D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:to="loc_wdc_HongKongMember_B109CD81E1AEB8A87B60F28687C8C11D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AsiaMember" xlink:label="loc_us-gaap_AsiaMember_25F818B40FE4A4CA2B61F28687F8801C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:to="loc_us-gaap_AsiaMember_25F818B40FE4A4CA2B61F28687F8801C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuropeMiddleEastAndAfricaMember" xlink:label="loc_wdc_EuropeMiddleEastAndAfricaMember_5A5DDA3E395ACEA677E9F286882B3106" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:to="loc_wdc_EuropeMiddleEastAndAfricaMember_5A5DDA3E395ACEA677E9F286882B3106" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OthersMember" xlink:label="loc_wdc_OthersMember_BDA6DF9F2E8E01125033F286885C2EB9" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5588A5014C6294432353F2868713B568" xlink:to="loc_wdc_OthersMember_BDA6DF9F2E8E01125033F286885C2EB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_A2B80B2EF99B8B49E541F28686E4DCEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_B20FEDB051ACAAE83418F28686A9AE6B" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_A2B80B2EF99B8B49E541F28686E4DCEA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/BusinessSegmentGeographicInformationAndConcentrationOfRiskTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8063EAEB451147B26CC0CCF1BD88D13C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_AF31D6BA103E02087D9DCCF1BD875CD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8063EAEB451147B26CC0CCF1BD88D13C" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_AF31D6BA103E02087D9DCCF1BD875CD5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_43E68873ABC79024FB4FCCF1BD87F4D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_AF31D6BA103E02087D9DCCF1BD875CD5" xlink:to="loc_us-gaap_ConsolidationItemsAxis_43E68873ABC79024FB4FCCF1BD87F4D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_8D5C2CD21EA256049BCBCCF1BD87D9DE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_43E68873ABC79024FB4FCCF1BD87F4D7" xlink:to="loc_us-gaap_ConsolidationItemsDomain_8D5C2CD21EA256049BCBCCF1BD87D9DE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_8D5C2CD21EA256049BCBCCF1BD87D9DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_43E68873ABC79024FB4FCCF1BD87F4D7" xlink:to="loc_us-gaap_ConsolidationItemsDomain_8D5C2CD21EA256049BCBCCF1BD87D9DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_6448C78C5A9956E8F339CCF1BD879A49" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_AF31D6BA103E02087D9DCCF1BD875CD5" xlink:to="loc_us-gaap_StatementGeographicalAxis_6448C78C5A9956E8F339CCF1BD879A49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_3209C9DA82CBDE6896E4CCF1BD87D0FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_6448C78C5A9956E8F339CCF1BD879A49" xlink:to="loc_us-gaap_SegmentGeographicalDomain_3209C9DA82CBDE6896E4CCF1BD87D0FF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_3209C9DA82CBDE6896E4CCF1BD87D0FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_6448C78C5A9956E8F339CCF1BD879A49" xlink:to="loc_us-gaap_SegmentGeographicalDomain_3209C9DA82CBDE6896E4CCF1BD87D0FF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_RevenuefromExternalCustomersbyEndMarketsTableTextBlock" xlink:label="loc_wdc_RevenuefromExternalCustomersbyEndMarketsTableTextBlock_C5D890624EFCCC91DA52CD436B61FA10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8063EAEB451147B26CC0CCF1BD88D13C" xlink:to="loc_wdc_RevenuefromExternalCustomersbyEndMarketsTableTextBlock_C5D890624EFCCC91DA52CD436B61FA10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock" xlink:label="loc_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_5659FBE4F6BF0A8F5D59CCF1BD88E678" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8063EAEB451147B26CC0CCF1BD88D13C" xlink:to="loc_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_5659FBE4F6BF0A8F5D59CCF1BD88E678" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongLivedAssetsByGeographicAreasTableTextBlock" xlink:label="loc_us-gaap_LongLivedAssetsByGeographicAreasTableTextBlock_1F1B69A8536BA34F1B6CCCF1BD8866DE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_8063EAEB451147B26CC0CCF1BD88D13C" xlink:to="loc_us-gaap_LongLivedAssetsByGeographicAreasTableTextBlock_1F1B69A8536BA34F1B6CCCF1BD8866DE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_C5EA160D6E9A257CFFC5F2E7209FF6CB" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable" xlink:label="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_7DC5B9815EB4BB43CF70F2E720981E83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_C5EA160D6E9A257CFFC5F2E7209FF6CB" xlink:to="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_7DC5B9815EB4BB43CF70F2E720981E83" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_965529D4CBD2A163EC4CF2E7209E41D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_7DC5B9815EB4BB43CF70F2E720981E83" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_965529D4CBD2A163EC4CF2E7209E41D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_9F79FC586E6030286FE2F2E7209E873C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_965529D4CBD2A163EC4CF2E7209E41D4" xlink:to="loc_us-gaap_RelatedPartyDomain_9F79FC586E6030286FE2F2E7209E873C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_9F79FC586E6030286FE2F2E7209E873C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_965529D4CBD2A163EC4CF2E7209E41D4" xlink:to="loc_us-gaap_RelatedPartyDomain_9F79FC586E6030286FE2F2E7209E873C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_43F89869878FBE9992F2F2E7209E4154" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_9F79FC586E6030286FE2F2E7209E873C" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_43F89869878FBE9992F2F2E7209E4154" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EquityMethodInvestorNameAxis" xlink:label="loc_wdc_EquityMethodInvestorNameAxis_ABC438DBF1FB6C2B0F02F2E7209EEEFE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_7DC5B9815EB4BB43CF70F2E720981E83" xlink:to="loc_wdc_EquityMethodInvestorNameAxis_ABC438DBF1FB6C2B0F02F2E7209EEEFE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_D697481B3BFC7E9B6436F2E7209E3C1F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_ABC438DBF1FB6C2B0F02F2E7209EEEFE" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_D697481B3BFC7E9B6436F2E7209E3C1F_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EquityMethodInvestorNameDomain" xlink:label="loc_wdc_EquityMethodInvestorNameDomain_D697481B3BFC7E9B6436F2E7209E3C1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_EquityMethodInvestorNameAxis_ABC438DBF1FB6C2B0F02F2E7209EEEFE" xlink:to="loc_wdc_EquityMethodInvestorNameDomain_D697481B3BFC7E9B6436F2E7209E3C1F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_WesternDigitalCorpMember" xlink:label="loc_wdc_WesternDigitalCorpMember_7E0B63E96DDE34072E57F2E7209EDFF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_D697481B3BFC7E9B6436F2E7209E3C1F" xlink:to="loc_wdc_WesternDigitalCorpMember_7E0B63E96DDE34072E57F2E7209EDFF4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ToshibaCorpMember" xlink:label="loc_wdc_ToshibaCorpMember_F80E2E34C4611281DFAEF2E7209E9F8A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EquityMethodInvestorNameDomain_D697481B3BFC7E9B6436F2E7209E3C1F" xlink:to="loc_wdc_ToshibaCorpMember_F80E2E34C4611281DFAEF2E7209E9F8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_F359A9A88A50ABB0949DF2E7209F9452" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_ScheduleOfCommitmentsContingenciesAndGuaranteesTable_7DC5B9815EB4BB43CF70F2E720981E83" xlink:to="loc_us-gaap_RangeAxis_F359A9A88A50ABB0949DF2E7209F9452" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F3C5791F5B9133331A6CF2E7209F6EE3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_F359A9A88A50ABB0949DF2E7209F9452" xlink:to="loc_us-gaap_RangeMember_F3C5791F5B9133331A6CF2E7209F6EE3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F3C5791F5B9133331A6CF2E7209F6EE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_F359A9A88A50ABB0949DF2E7209F9452" xlink:to="loc_us-gaap_RangeMember_F3C5791F5B9133331A6CF2E7209F6EE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_24DD40A8124A7707F9D1F2E7209FC10A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F3C5791F5B9133331A6CF2E7209F6EE3" xlink:to="loc_us-gaap_MinimumMember_24DD40A8124A7707F9D1F2E7209FC10A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_6ACD50BB62CF1428ECFBF2E7209FDD97" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F3C5791F5B9133331A6CF2E7209F6EE3" xlink:to="loc_us-gaap_MaximumMember_6ACD50BB62CF1428ECFBF2E7209FDD97" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_JointVenturesAbstract" xlink:label="loc_wdc_JointVenturesAbstract_1CBB4D829ADE1598EB4BF2E7209F36D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_C5EA160D6E9A257CFFC5F2E7209FF6CB" xlink:to="loc_wdc_JointVenturesAbstract_1CBB4D829ADE1598EB4BF2E7209F36D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_41B31544C3540C246CBAF2E7209F4E44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_JointVenturesAbstract_1CBB4D829ADE1598EB4BF2E7209F36D7" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_41B31544C3540C246CBAF2E7209F4E44" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PartnersOwnershipInVentureBusiness" xlink:label="loc_wdc_PartnersOwnershipInVentureBusiness_AD9CCE8C62CFC1510CF5F2E7209F90A0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_JointVenturesAbstract_1CBB4D829ADE1598EB4BF2E7209F36D7" xlink:to="loc_wdc_PartnersOwnershipInVentureBusiness_AD9CCE8C62CFC1510CF5F2E7209F90A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_1EA12172A12C237F0B56F2E7209FBB71" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_C5EA160D6E9A257CFFC5F2E7209FF6CB" xlink:to="loc_us-gaap_RelatedPartyTransactionsAbstract_1EA12172A12C237F0B56F2E7209FBB71" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PaymentsforProceedsfromEquityMethodInvestments" xlink:label="loc_wdc_PaymentsforProceedsfromEquityMethodInvestments_4A11A9D10C125328FA31F2E7209FC428" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_1EA12172A12C237F0B56F2E7209FBB71" xlink:to="loc_wdc_PaymentsforProceedsfromEquityMethodInvestments_4A11A9D10C125328FA31F2E7209FC428" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_9E69E81315C0BC264F14F2E7209FD5EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_1EA12172A12C237F0B56F2E7209FBB71" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_9E69E81315C0BC264F14F2E7209FD5EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:label="loc_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_8B0F31F4E864E32AA57FF2E7209F0A81" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_1EA12172A12C237F0B56F2E7209FBB71" xlink:to="loc_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_8B0F31F4E864E32AA57FF2E7209F0A81" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_InvestmentFundingCommitments" xlink:label="loc_wdc_InvestmentFundingCommitments_96763CB716B417B759C3F2E7209F867A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_1EA12172A12C237F0B56F2E7209FBB71" xlink:to="loc_wdc_InvestmentFundingCommitments_96763CB716B417B759C3F2E7209F867A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D1185CA91A195F10584CEAB642282A6A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_248DD02BA4DD5A6ADAD2EAB642277237" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D1185CA91A195F10584CEAB642282A6A" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_248DD02BA4DD5A6ADAD2EAB642277237" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B5D0DD99B83D4306375BEAB642276B0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_248DD02BA4DD5A6ADAD2EAB642277237" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B5D0DD99B83D4306375BEAB642276B0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B5D0DD99B83D4306375BEAB642276B0A" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_B5D0DD99B83D4306375BEAB642276B0A" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FlashPartnersLtdMember" xlink:label="loc_wdc_FlashPartnersLtdMember_FF41D2DBC8EF56D90807EAB642278E34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627" xlink:to="loc_wdc_FlashPartnersLtdMember_FF41D2DBC8EF56D90807EAB642278E34" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FlashAllianceLtdMember" xlink:label="loc_wdc_FlashAllianceLtdMember_5A71FD9600F2EF477759EAB6422816C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627" xlink:to="loc_wdc_FlashAllianceLtdMember_5A71FD9600F2EF477759EAB6422816C5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FlashForwardLtdMember" xlink:label="loc_wdc_FlashForwardLtdMember_DCC9A1F980FF6D8CD8E6EAB64228804C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627" xlink:to="loc_wdc_FlashForwardLtdMember_DCC9A1F980FF6D8CD8E6EAB64228804C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_6CB60B70C498B6498DB7EAB642283D8D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_46A8596CE8F515773CEFEAB642279627" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_6CB60B70C498B6498DB7EAB642283D8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_92677BD441AE6F74017BEAB64228F048" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D1185CA91A195F10584CEAB642282A6A" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_92677BD441AE6F74017BEAB64228F048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_F8C705AB3D7EE68F263FEAB64228882F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D1185CA91A195F10584CEAB642282A6A" xlink:to="loc_us-gaap_Investments_F8C705AB3D7EE68F263FEAB64228882F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_7A407E6F327C2B95D501EAB6422848E4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D1185CA91A195F10584CEAB642282A6A" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_7A407E6F327C2B95D501EAB6422848E4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsUnderOperatingLeasesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasedAssetsLineItems" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_33430E34EAE3E8C13F4FF1DCCF8BBC26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_33430E34EAE3E8C13F4FF1DCCF8BBC26" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_95FA8804D680179C0F91F1DCCF8B49E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_33430E34EAE3E8C13F4FF1DCCF8BBC26" xlink:to="loc_us-gaap_RangeAxis_95FA8804D680179C0F91F1DCCF8B49E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_32873A6A2CD2D9D1428CF1DCCF8C2D41_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_95FA8804D680179C0F91F1DCCF8B49E5" xlink:to="loc_us-gaap_RangeMember_32873A6A2CD2D9D1428CF1DCCF8C2D41_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_32873A6A2CD2D9D1428CF1DCCF8C2D41" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_95FA8804D680179C0F91F1DCCF8B49E5" xlink:to="loc_us-gaap_RangeMember_32873A6A2CD2D9D1428CF1DCCF8C2D41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_D2FFB22A834E9712EC1DF1DCCF8C8F0D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_D2FFB22A834E9712EC1DF1DCCF8C8F0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_5ECD153779E94E83BEF4F1DCCF8C2E85" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_5ECD153779E94E83BEF4F1DCCF8C2E85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_D65945C4C3C274D8E973F1DCCF8C1190" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_D65945C4C3C274D8E973F1DCCF8C1190" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_2CE8902F0D203512A2DCF1DCCF8C58A5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_2CE8902F0D203512A2DCF1DCCF8C58A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_8A37B5A3EB2DB3DF2073F1DCCF8C33B2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_8A37B5A3EB2DB3DF2073F1DCCF8C33B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_9B1CBB7F50B90CAC590FF1DCCF8C74C5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_9B1CBB7F50B90CAC590FF1DCCF8C74C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_9FFB7FEE30C5F9011AB3F1DCCF8C92B8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_9FFB7FEE30C5F9011AB3F1DCCF8C92B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_8FCB9754C119DFFC2EF0F1DCCF8CE5CD" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_B27C5C583F9048481105F1DCCF8CA75B" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_8FCB9754C119DFFC2EF0F1DCCF8CE5CD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_A48571A9F070CA643ABCF1DCCF9B53C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_A48571A9F070CA643ABCF1DCCF9B53C7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_72C09672D8A23FF9D5CAF1DCCF9BD8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_A48571A9F070CA643ABCF1DCCF9B53C7" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_72C09672D8A23FF9D5CAF1DCCF9BD8B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_6FCC6121D330940C7C7BF1DCCF9B8975_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_72C09672D8A23FF9D5CAF1DCCF9BD8B1" xlink:to="loc_us-gaap_RelatedPartyDomain_6FCC6121D330940C7C7BF1DCCF9B8975_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_6FCC6121D330940C7C7BF1DCCF9B8975" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_72C09672D8A23FF9D5CAF1DCCF9BD8B1" xlink:to="loc_us-gaap_RelatedPartyDomain_6FCC6121D330940C7C7BF1DCCF9B8975" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_8067C52A3791E773D550F1DCCF9B5C79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_6FCC6121D330940C7C7BF1DCCF9B8975" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_8067C52A3791E773D550F1DCCF9B5C79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_E05BBC821606525546F1F1DCCF9BA92B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_A48571A9F070CA643ABCF1DCCF9B53C7" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_E05BBC821606525546F1F1DCCF9BA92B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_68F21FFA7F43DCE03F11F1DCCF9B812F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_E05BBC821606525546F1F1DCCF9BA92B" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_68F21FFA7F43DCE03F11F1DCCF9B812F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_68F21FFA7F43DCE03F11F1DCCF9B812F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_E05BBC821606525546F1F1DCCF9BA92B" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_68F21FFA7F43DCE03F11F1DCCF9B812F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PaymentOfPrincipalAmortizationMember" xlink:label="loc_wdc_PaymentOfPrincipalAmortizationMember_81D74F814588F5B55F9BF1DCCF9B417F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_68F21FFA7F43DCE03F11F1DCCF9B812F" xlink:to="loc_wdc_PaymentOfPrincipalAmortizationMember_81D74F814588F5B55F9BF1DCCF9B417F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PurchaseOptionExercisePriceMember" xlink:label="loc_wdc_PurchaseOptionExercisePriceMember_36442EBDA007162870BDF1DCCF9BCA83" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_68F21FFA7F43DCE03F11F1DCCF9B812F" xlink:to="loc_wdc_PurchaseOptionExercisePriceMember_36442EBDA007162870BDF1DCCF9BCA83" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_56F3278794073BAF87C4F1DCCF9B1A9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_56F3278794073BAF87C4F1DCCF9B1A9A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_23DB4A8CF5C422323E42F1DCCF9B5104" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_23DB4A8CF5C422323E42F1DCCF9B5104" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_721AB5C967B824833FCCF1DCCF9B8017" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_721AB5C967B824833FCCF1DCCF9B8017" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_2BDFE4638188FE0A3BDCF1DCCF9B00D3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_2BDFE4638188FE0A3BDCF1DCCF9B00D3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_FCAF8114FF5CDB16009BF1DCCF9CF523" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_FCAF8114FF5CDB16009BF1DCCF9CF523" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_828B5C691B7106C6D113F1DCCF9C08FB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4EEBF34B28C06385C5F6F1DCCF9BDFB1" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_828B5C691B7106C6D113F1DCCF9C08FB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_B12B15F6ECB0C836D72DF1DCCFAA50B7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_8CDADDD6EC53F1F39EE1F1DCCFA9BA31" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_B12B15F6ECB0C836D72DF1DCCFAA50B7" xlink:to="loc_us-gaap_LossContingenciesTable_8CDADDD6EC53F1F39EE1F1DCCFA9BA31" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_956E82499929B60C28EBF1DCCFA9B19C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_8CDADDD6EC53F1F39EE1F1DCCFA9BA31" xlink:to="loc_wdc_BalanceSheetInformationAxis_956E82499929B60C28EBF1DCCFA9B19C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_6C5EC91A4368D76E36C4F1DCCFA9209E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_956E82499929B60C28EBF1DCCFA9B19C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_6C5EC91A4368D76E36C4F1DCCFA9209E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_6C5EC91A4368D76E36C4F1DCCFA9209E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_956E82499929B60C28EBF1DCCFA9B19C" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_6C5EC91A4368D76E36C4F1DCCFA9209E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_8372779C761DFED60CF0F2CBC3DB3FDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_6C5EC91A4368D76E36C4F1DCCFA9209E" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_8372779C761DFED60CF0F2CBC3DB3FDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_88117807A473F0C6C227F1DCCFA90E0A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_8CDADDD6EC53F1F39EE1F1DCCFA9BA31" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_88117807A473F0C6C227F1DCCFA90E0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_9E8393AAAFCE0BE25913F1DCCFA997B0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_88117807A473F0C6C227F1DCCFA90E0A" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_9E8393AAAFCE0BE25913F1DCCFA997B0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_9E8393AAAFCE0BE25913F1DCCFA997B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_88117807A473F0C6C227F1DCCFA90E0A" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_9E8393AAAFCE0BE25913F1DCCFA997B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_DCA383370570AE4EB990F1DCCFAAF50A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_9E8393AAAFCE0BE25913F1DCCFA997B0" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_DCA383370570AE4EB990F1DCCFAAF50A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_211294C6253482E14F2EF1DCCFAA2933" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_B12B15F6ECB0C836D72DF1DCCFAA50B7" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_211294C6253482E14F2EF1DCCFAA2933" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesMaximumLossExposureDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_82F759211275D24AD247111F0D69D9F8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8F1DC0BFE15DF45031D5111F0D6442F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_82F759211275D24AD247111F0D69D9F8" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8F1DC0BFE15DF45031D5111F0D6442F8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BalanceSheetInformationAxis" xlink:label="loc_wdc_BalanceSheetInformationAxis_43896027F0796A3A360A111F0D6423E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8F1DC0BFE15DF45031D5111F0D6442F8" xlink:to="loc_wdc_BalanceSheetInformationAxis_43896027F0796A3A360A111F0D6423E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_BalanceSheetInformationAxis_43896027F0796A3A360A111F0D6423E7" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_BalanceSheetInformationAxis_43896027F0796A3A360A111F0D6423E7" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NotesReceivableMember" xlink:label="loc_us-gaap_NotesReceivableMember_B859F20077BDF7FAA075111F0D69BCA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13" xlink:to="loc_us-gaap_NotesReceivableMember_B859F20077BDF7FAA075111F0D69BCA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_DD774F76DD20A96436A2111F0D69747D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_DD774F76DD20A96436A2111F0D69747D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OffBalanceSheetGuaranteeMember" xlink:label="loc_wdc_OffBalanceSheetGuaranteeMember_8A303E763BF852F6D323111F0D69D589" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13" xlink:to="loc_wdc_OffBalanceSheetGuaranteeMember_8A303E763BF852F6D323111F0D69D589" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_E521D8C0963A79F0240C111F0D69F839" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_66B896CFEC25813E2640111F0D69EF13" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_E521D8C0963A79F0240C111F0D69F839" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_7C13550B79FE8AF16D79111F0D69C7B9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_8F1DC0BFE15DF45031D5111F0D6442F8" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_7C13550B79FE8AF16D79111F0D69C7B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_7D7BC62AA6D494E65F6C111F0D6942EE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_7C13550B79FE8AF16D79111F0D69C7B9" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_7D7BC62AA6D494E65F6C111F0D6942EE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_7D7BC62AA6D494E65F6C111F0D6942EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_7C13550B79FE8AF16D79111F0D69C7B9" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_7D7BC62AA6D494E65F6C111F0D6942EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityMethodInvesteeMember" xlink:label="loc_us-gaap_EquityMethodInvesteeMember_E0F78A4322443A915576111F0D69E687" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7D7BC62AA6D494E65F6C111F0D6942EE" xlink:to="loc_us-gaap_EquityMethodInvesteeMember_E0F78A4322443A915576111F0D69E687" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_6282A0BF5030E4C34294111F0D697A37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_82F759211275D24AD247111F0D69D9F8" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_6282A0BF5030E4C34294111F0D697A37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_6C13F75B4834A2E32141111F0D69BF37" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_82F759211275D24AD247111F0D69D9F8" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_6C13F75B4834A2E32141111F0D69BF37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryGross" xlink:label="loc_us-gaap_InventoryGross_153A1A0719CB647A017F111F1080401C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_82F759211275D24AD247111F0D69D9F8" xlink:to="loc_us-gaap_InventoryGross_153A1A0719CB647A017F111F1080401C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PrepaymentsToRelatedPartiesOther" xlink:label="loc_wdc_PrepaymentsToRelatedPartiesOther_7DC31C6A85219090805B111F0D6AE274" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_82F759211275D24AD247111F0D69D9F8" xlink:to="loc_wdc_PrepaymentsToRelatedPartiesOther_7DC31C6A85219090805B111F0D6AE274" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesPurchaseCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermPurchaseCommitmentLineItems" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermPurchaseCommitmentTable" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable_813DDFEFF471E669B1CD2AF3AD69BE01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_813DDFEFF471E669B1CD2AF3AD69BE01" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_F7FCF79A3FA3D4F918D72AF3AD6965FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_813DDFEFF471E669B1CD2AF3AD69BE01" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_F7FCF79A3FA3D4F918D72AF3AD6965FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_2137FE4B81B93ED4DABC2AF3AD69006C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_F7FCF79A3FA3D4F918D72AF3AD6965FE" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_2137FE4B81B93ED4DABC2AF3AD69006C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_2137FE4B81B93ED4DABC2AF3AD69006C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_F7FCF79A3FA3D4F918D72AF3AD6965FE" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_2137FE4B81B93ED4DABC2AF3AD69006C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PurchaseObligationDueInNextTwelveMonths" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_F98C46297E38923BD90E2AF3AD698BAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_F98C46297E38923BD90E2AF3AD698BAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PurchaseObligationDueInSecondYear" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_FF98369D7CD98CD043592AF3AD6979AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_FF98369D7CD98CD043592AF3AD6979AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PurchaseObligationDueInThirdYear" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_541B1A48D981D0D85C182AF3AD69B0BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_541B1A48D981D0D85C182AF3AD69B0BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PurchaseObligationDueInFourthYear" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthYear_3D28BFCE38EE0C90D5F82AF3AD6976DC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthYear_3D28BFCE38EE0C90D5F82AF3AD6976DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PurchaseObligationDueInFifthYear" xlink:label="loc_us-gaap_PurchaseObligationDueInFifthYear_3EE2979F3D07163301EE2AF3AD690046" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_PurchaseObligationDueInFifthYear_3EE2979F3D07163301EE2AF3AD690046" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PurchaseObligationDueAfterFifthYear" xlink:label="loc_us-gaap_PurchaseObligationDueAfterFifthYear_3BB74AC9E51FBF2B3BF72AF3AD6AF384" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_PurchaseObligationDueAfterFifthYear_3BB74AC9E51FBF2B3BF72AF3AD6AF384" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PurchaseObligation" xlink:label="loc_us-gaap_PurchaseObligation_02369ABC863CE02AEA342AF3AD6A50E4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_86433562D5FA92B972032AF3AD695810" xlink:to="loc_us-gaap_PurchaseObligation_02369ABC863CE02AEA342AF3AD6A50E4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesRentExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasedAssetsLineItems" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_4CAA6EACC1E420A2757FC87DBB033AD8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_73EF01B58E6E650E963FC87DBB038285" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_4CAA6EACC1E420A2757FC87DBB033AD8" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_73EF01B58E6E650E963FC87DBB038285" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B8CFD31173BF0EFA7025C88094E58F98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_73EF01B58E6E650E963FC87DBB038285" xlink:to="loc_us-gaap_RangeAxis_B8CFD31173BF0EFA7025C88094E58F98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_2578666075716E6BFA63C88094E5279C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B8CFD31173BF0EFA7025C88094E58F98" xlink:to="loc_us-gaap_RangeMember_2578666075716E6BFA63C88094E5279C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_2578666075716E6BFA63C88094E5279C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B8CFD31173BF0EFA7025C88094E58F98" xlink:to="loc_us-gaap_RangeMember_2578666075716E6BFA63C88094E5279C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLeasesRentExpenseNet" xlink:label="loc_us-gaap_OperatingLeasesRentExpenseNet_846007F0F004DF07FFFBC87EA02E824B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_4CAA6EACC1E420A2757FC87DBB033AD8" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseNet_846007F0F004DF07FFFBC87EA02E824B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingFinancialStatements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsCondensedConsolidatingBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_EED698213DD12EFEFBA00C43373FB1F4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedBalanceSheetStatementTable" xlink:label="loc_us-gaap_CondensedBalanceSheetStatementTable_649A7C7345D9168157D20C43373E133D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_EED698213DD12EFEFBA00C43373FB1F4" xlink:to="loc_us-gaap_CondensedBalanceSheetStatementTable_649A7C7345D9168157D20C43373E133D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_173B93D03D7F9334CA710C43373FB447" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_649A7C7345D9168157D20C43373E133D" xlink:to="loc_us-gaap_ConsolidationItemsAxis_173B93D03D7F9334CA710C43373FB447" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_B8DD54FF09338FEC5CFD0C43373F74B8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_173B93D03D7F9334CA710C43373FB447" xlink:to="loc_us-gaap_ConsolidationItemsDomain_B8DD54FF09338FEC5CFD0C43373F74B8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_B8DD54FF09338FEC5CFD0C43373F74B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_173B93D03D7F9334CA710C43373FB447" xlink:to="loc_us-gaap_ConsolidationItemsDomain_B8DD54FF09338FEC5CFD0C43373F74B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_3C3D71365C145595C6000C43373F34BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_B8DD54FF09338FEC5CFD0C43373F74B8" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_3C3D71365C145595C6000C43373F34BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_427BA61C47C22976E3270C43373F8E36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementTable_649A7C7345D9168157D20C43373E133D" xlink:to="loc_dei_LegalEntityAxis_427BA61C47C22976E3270C43373F8E36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_098DB30269F5B0A0D0250C43373F21D2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_427BA61C47C22976E3270C43373F8E36" xlink:to="loc_dei_EntityDomain_098DB30269F5B0A0D0250C43373F21D2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_098DB30269F5B0A0D0250C43373F21D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_427BA61C47C22976E3270C43373F8E36" xlink:to="loc_dei_EntityDomain_098DB30269F5B0A0D0250C43373F21D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_824EFE64D412897F259F0C43373FF36A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_098DB30269F5B0A0D0250C43373F21D2" xlink:to="loc_us-gaap_ParentCompanyMember_824EFE64D412897F259F0C43373FF36A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_D6E409A34C797FF8C3780C43373F7B7D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_098DB30269F5B0A0D0250C43373F21D2" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_D6E409A34C797FF8C3780C43373F7B7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_AAA04282E90E66C48BCC0C43373FEAFD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_098DB30269F5B0A0D0250C43373F21D2" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_AAA04282E90E66C48BCC0C43373FEAFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_3A5C7A78E56BC59E34740C43373F198F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_EED698213DD12EFEFBA00C43373FB1F4" xlink:to="loc_us-gaap_AssetsAbstract_3A5C7A78E56BC59E34740C43373F198F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_3A5C7A78E56BC59E34740C43373F198F" xlink:to="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6CDF1C8B786CFF24185B0C43373F6A57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6CDF1C8B786CFF24185B0C43373F6A57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_CF5C44EBF43C3AF1A99E0C43373FAC41" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_CF5C44EBF43C3AF1A99E0C43373FAC41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_AA1E8D88375E2B41E0620C43373F2764" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_AA1E8D88375E2B41E0620C43373F2764" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_EDC3CBD1610581C4C5710C43373FD5C0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_EDC3CBD1610581C4C5710C43373FD5C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_6828EA2224585A624C8D0C43373FE0BA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:to="loc_us-gaap_InventoryNet_6828EA2224585A624C8D0C43373FE0BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_04FBD24F2BACE43E22320C4337409AEF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:to="loc_us-gaap_OtherAssetsCurrent_04FBD24F2BACE43E22320C4337409AEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_CEF77E743A416C84BB8A0C4337409505" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_7897E74546C530BD57870C43373F955F" xlink:to="loc_us-gaap_AssetsCurrent_CEF77E743A416C84BB8A0C4337409505" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_3A5C7A78E56BC59E34740C43373F198F" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_13558EB81526DC0D55BE0C43374035B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_13558EB81526DC0D55BE0C43374035B1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_A67D8D5F8D13ACAB35B80C4337403E69" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_A67D8D5F8D13ACAB35B80C4337403E69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_2407BCDBA57123BAA5E00C433740E9B3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:to="loc_us-gaap_Goodwill_2407BCDBA57123BAA5E00C433740E9B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_500F3F134D60BC2FB8410C433740BE90" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_500F3F134D60BC2FB8410C433740BE90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_700F4BC1EA94D2306AA90C43374066E0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_700F4BC1EA94D2306AA90C43374066E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_9A6A931D98135D7DC0060C433740DD65" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_9A6A931D98135D7DC0060C433740DD65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_37C0EDEF489B52BCD19E0C4337403980" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_A738143B414564392BC20C43374056AD" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_37C0EDEF489B52BCD19E0C4337403980" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_AD4F3D40659B9E5214660C433740E0F6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_3A5C7A78E56BC59E34740C43373F198F" xlink:to="loc_us-gaap_Assets_AD4F3D40659B9E5214660C433740E0F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1444C96701D213375CB20C433740D896" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedBalanceSheetStatementsCaptionsLineItems_EED698213DD12EFEFBA00C43373FB1F4" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1444C96701D213375CB20C433740D896" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_333A737995D78A43B76F0C4337407E98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1444C96701D213375CB20C433740D896" xlink:to="loc_us-gaap_LiabilitiesAbstract_333A737995D78A43B76F0C4337407E98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_333A737995D78A43B76F0C4337407E98" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_7E92CE1A0C7D52CA0B7D0C4337406E5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_AccountsPayableCurrent_7E92CE1A0C7D52CA0B7D0C4337406E5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_CA37094EE13B0BA9E17E0C433740D47E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_DueToAffiliateCurrent_CA37094EE13B0BA9E17E0C433740D47E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_4167A1AA2E987CA27E2B0C433740DFB9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_4167A1AA2E987CA27E2B0C433740DFB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_BA48E5EC522937FCE57B0C4337411C69" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_BA48E5EC522937FCE57B0C4337411C69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_DE2A341378CD8FB15E9A0C433741EEBB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_DE2A341378CD8FB15E9A0C433741EEBB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AccruedWarranty" xlink:label="loc_wdc_AccruedWarranty_CE29FD1E372DAFEA9FF20C4337410E03" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_wdc_AccruedWarranty_CE29FD1E372DAFEA9FF20C4337410E03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoan" xlink:label="loc_us-gaap_BridgeLoan_60E196D98AE88CBDCE4D0C4337415585" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_BridgeLoan_60E196D98AE88CBDCE4D0C4337415585" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_BB9A8F86C5D90FF5A7240C433741E750" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_LongTermDebtCurrent_BB9A8F86C5D90FF5A7240C433741E750" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_5C259701B180ED273BA60C433741830B" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_CC87DE734653139A4D2B0C4337409667" xlink:to="loc_us-gaap_LiabilitiesCurrent_5C259701B180ED273BA60C433741830B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_D3D3631042D35B49A72B0C433741183D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_333A737995D78A43B76F0C4337407E98" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_D3D3631042D35B49A72B0C433741183D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_77522FC93A99EEB677700C433741FFCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_D3D3631042D35B49A72B0C433741183D" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_77522FC93A99EEB677700C433741FFCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_AA8071FE8CE4186535EA0C4337413AF2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_D3D3631042D35B49A72B0C433741183D" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_AA8071FE8CE4186535EA0C4337413AF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_40EFBF19AF8F7029AC630C4337418F3A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_D3D3631042D35B49A72B0C433741183D" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_40EFBF19AF8F7029AC630C4337418F3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_69A59E63334434ACA0E80C433741735F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_333A737995D78A43B76F0C4337407E98" xlink:to="loc_us-gaap_Liabilities_69A59E63334434ACA0E80C433741735F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_C6C15EFEF194F26EE1BE0C4337419010" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1444C96701D213375CB20C433740D896" xlink:to="loc_us-gaap_StockholdersEquityAbstract_C6C15EFEF194F26EE1BE0C4337419010" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_820955CA1F682F6401180C433741BD29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_C6C15EFEF194F26EE1BE0C4337419010" xlink:to="loc_us-gaap_StockholdersEquity_820955CA1F682F6401180C433741BD29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_EBF48BC9C03B954AB8E50C4337418088" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1444C96701D213375CB20C433740D896" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_EBF48BC9C03B954AB8E50C4337418088" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingFinancialStatementsTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_623B72A33D182F7A3DFFEAB64224EF92" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_2ADD7B53F68557D89CA7EAB642239C1E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_623B72A33D182F7A3DFFEAB64224EF92" xlink:to="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_2ADD7B53F68557D89CA7EAB642239C1E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_95ABDD3A302420346C82EAB642233E38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCondensedFinancialStatementsTable_2ADD7B53F68557D89CA7EAB642239C1E" xlink:to="loc_dei_LegalEntityAxis_95ABDD3A302420346C82EAB642233E38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_D3FEF7F24F57EC11AFADEAB64224659E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_95ABDD3A302420346C82EAB642233E38" xlink:to="loc_dei_EntityDomain_D3FEF7F24F57EC11AFADEAB64224659E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_D3FEF7F24F57EC11AFADEAB64224659E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_95ABDD3A302420346C82EAB642233E38" xlink:to="loc_dei_EntityDomain_D3FEF7F24F57EC11AFADEAB64224659E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedBalanceSheetTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCondensedBalanceSheetTableTextBlock_4B8B17B909C1ADF06DB0EAB64224EE19" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_623B72A33D182F7A3DFFEAB64224EF92" xlink:to="loc_us-gaap_ScheduleOfCondensedBalanceSheetTableTextBlock_4B8B17B909C1ADF06DB0EAB64224EE19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedIncomeStatementTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCondensedIncomeStatementTableTextBlock_326642C7C9AB642E2FE7EAB64224777C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_623B72A33D182F7A3DFFEAB64224EF92" xlink:to="loc_us-gaap_ScheduleOfCondensedIncomeStatementTableTextBlock_326642C7C9AB642E2FE7EAB64224777C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedStatementOfComprehensiveIncomeTableTextBlock" xlink:label="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTableTextBlock_629CC6085003A6156086EAB642244712" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_623B72A33D182F7A3DFFEAB64224EF92" xlink:to="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTableTextBlock_629CC6085003A6156086EAB642244712" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCondensedCashFlowStatementTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCondensedCashFlowStatementTableTextBlock_585514A51B769720FC43EAB64224C11C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedFinancialStatementsCaptionsLineItems_623B72A33D182F7A3DFFEAB64224EF92" xlink:to="loc_us-gaap_ScheduleOfCondensedCashFlowStatementTableTextBlock_585514A51B769720FC43EAB64224C11C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingStatementOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedCashFlowStatementTable" xlink:label="loc_us-gaap_CondensedCashFlowStatementTable_9E5D7102A18742C0853A2AD23A709E15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:to="loc_us-gaap_CondensedCashFlowStatementTable_9E5D7102A18742C0853A2AD23A709E15" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_781A73318E6E5D2E615F2AD23A70D9B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_9E5D7102A18742C0853A2AD23A709E15" xlink:to="loc_us-gaap_ConsolidationItemsAxis_781A73318E6E5D2E615F2AD23A70D9B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_0AAE5789CB2CD803F3552AD23A70B032_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_781A73318E6E5D2E615F2AD23A70D9B1" xlink:to="loc_us-gaap_ConsolidationItemsDomain_0AAE5789CB2CD803F3552AD23A70B032_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_0AAE5789CB2CD803F3552AD23A70B032" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_781A73318E6E5D2E615F2AD23A70D9B1" xlink:to="loc_us-gaap_ConsolidationItemsDomain_0AAE5789CB2CD803F3552AD23A70B032" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_D83873E086508ADCF5212AD23A713268" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_0AAE5789CB2CD803F3552AD23A70B032" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_D83873E086508ADCF5212AD23A713268" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_C8F1ABA5C7E054632D4C2AD23A717424" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedCashFlowStatementTable_9E5D7102A18742C0853A2AD23A709E15" xlink:to="loc_dei_LegalEntityAxis_C8F1ABA5C7E054632D4C2AD23A717424" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_06976B959D373CA27F892AD23A71321A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_C8F1ABA5C7E054632D4C2AD23A717424" xlink:to="loc_dei_EntityDomain_06976B959D373CA27F892AD23A71321A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_06976B959D373CA27F892AD23A71321A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_C8F1ABA5C7E054632D4C2AD23A717424" xlink:to="loc_dei_EntityDomain_06976B959D373CA27F892AD23A71321A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_908A455A196999B8F8CB2AD23A713FDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_06976B959D373CA27F892AD23A71321A" xlink:to="loc_us-gaap_ParentCompanyMember_908A455A196999B8F8CB2AD23A713FDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_CA4AAF350C210985ADE62AD23A719AFA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_06976B959D373CA27F892AD23A71321A" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_CA4AAF350C210985ADE62AD23A719AFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_1D57364533EAD6419F2C2AD23A71580B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_06976B959D373CA27F892AD23A71321A" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_1D57364533EAD6419F2C2AD23A71580B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_16BA95C8D9862CC6811B2AD23A71FD1C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_16BA95C8D9862CC6811B2AD23A71FD1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6F60C22D54E40A5256192AD23A713E29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_16BA95C8D9862CC6811B2AD23A71FD1C" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6F60C22D54E40A5256192AD23A713E29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_744524A2AD47C5F2DBCF2AD23A71C2D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_744524A2AD47C5F2DBCF2AD23A71C2D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_E1C70A5D724B8B3A7D0D2AD23A711782" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_E1C70A5D724B8B3A7D0D2AD23A711782" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_E653A2491E60BBAFCBDD2AD23A721489" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_E653A2491E60BBAFCBDD2AD23A721489" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_023854872BDF546D75FD2AD23A72C424" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_023854872BDF546D75FD2AD23A72C424" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_6DF8D2BC5A936FFCC04D2AD23A72D74C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_6DF8D2BC5A936FFCC04D2AD23A72D74C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_B5C1706A33BCD630892C2AD23A72E993" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_B5C1706A33BCD630892C2AD23A72E993" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_F8FEC3DEDF7F0372B39A2AD23A729692" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_F8FEC3DEDF7F0372B39A2AD23A729692" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_F1690382C6B84F79CA602AD23A722155" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_F1690382C6B84F79CA602AD23A722155" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_A07A78BFBB566A0375262AD23A7247CE" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_A07A78BFBB566A0375262AD23A7247CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_59960DC7224D634A0A312AD23A723E8E" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_59960DC7224D634A0A312AD23A723E8E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ReturnofCapitalfromConsolidatedSubsidiaries" xlink:label="loc_wdc_ReturnofCapitalfromConsolidatedSubsidiaries_DE8EDCD7F3062AC8A8FE2AD23A720D52" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_wdc_ReturnofCapitalfromConsolidatedSubsidiaries_DE8EDCD7F3062AC8A8FE2AD23A720D52" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_DAEC1D54D8325DB178782AD23A7293F2" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_DAEC1D54D8325DB178782AD23A7293F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_FDAEECB5263C4227E24C2AD23A73AFDC" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_FDAEECB5263C4227E24C2AD23A73AFDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_B24CCB0E64CB5A2CA11F2AD23A734B77" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_C23B5F762BD73090411F2AD23A71E332" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_B24CCB0E64CB5A2CA11F2AD23A734B77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_D671F93D357A80C78F1C2AD23A7307F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_D671F93D357A80C78F1C2AD23A7307F9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_C64B13F4049647EFE39A2AD23A73A402" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_C64B13F4049647EFE39A2AD23A73A402" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_35F9CD2671A955FE92CE2AD23A736DAB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_35F9CD2671A955FE92CE2AD23A736DAB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts" xlink:label="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_DE6698AB470095364C972AD23A738D28" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_DE6698AB470095364C972AD23A738D28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfConvertibleDebt" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_FB8802099DE7260E2B322AD23A74B6F9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_FB8802099DE7260E2B322AD23A74B6F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_6C773052B37637D43E4E2AD23A744DBA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_6C773052B37637D43E4E2AD23A744DBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_AD860C50674EF01F687A2AD23A74168D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_AD860C50674EF01F687A2AD23A74168D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_4324D7E78E941914C7BD2AD23A742824" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_4324D7E78E941914C7BD2AD23A742824" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_AFBD1A346C1381A442142AD23A7424E5" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_PaymentsOfDividends_AFBD1A346C1381A442142AD23A7424E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForHedgeFinancingActivities" xlink:label="loc_us-gaap_PaymentsForHedgeFinancingActivities_2AF5384A474109FBF7E42AD23A74DD97" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_PaymentsForHedgeFinancingActivities_2AF5384A474109FBF7E42AD23A74DD97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_A69E3252A109C59FABC02AD23A749EF4" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_A69E3252A109C59FABC02AD23A749EF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_71E71C019E16FBDF1F722AD23A749298" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_71E71C019E16FBDF1F722AD23A749298" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_B345B49655CA1118C6BA2AD23A74289A" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_B345B49655CA1118C6BA2AD23A74289A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfWarrants" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfWarrants_80E1154AB83D1A845C982AD23A7459D6" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfWarrants_80E1154AB83D1A845C982AD23A7459D6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_Returnofcapitaltoparent" xlink:label="loc_wdc_Returnofcapitaltoparent_286E981FFA831E718DEE2AD23A742C86" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_wdc_Returnofcapitaltoparent_286E981FFA831E718DEE2AD23A742C86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_5553BA45851C3FDBC01E2AD23A745159" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_5553BA45851C3FDBC01E2AD23A745159" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_2B0FC7B11988DAE8F3382AD23A7428A9" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_2B0FC7B11988DAE8F3382AD23A7428A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_238194C7D250BFE53FE32AD23A755692" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_244ED4EFE04CDCF596792AD23A733714" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_238194C7D250BFE53FE32AD23A755692" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_A4DEC425F19EF646B36D2AD23A75AEBB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_A4DEC425F19EF646B36D2AD23A75AEBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_E659DC747643476620E72AD23A757364" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_E659DC747643476620E72AD23A757364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1A0F3798108574118ED32AD23A75423D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_A72392C0A5FEB9B18D1F2AD23A71A2D1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1A0F3798108574118ED32AD23A75423D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingStatementOfComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedStatementOfIncomeCaptionsLineItems" xlink:label="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedStatementOfComprehensiveIncomeTable" xlink:label="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_BDBF34CAC024F9C4F5B729B13E581FE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_BDBF34CAC024F9C4F5B729B13E581FE4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_D76C40011CB671E066D229B13E588B5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_BDBF34CAC024F9C4F5B729B13E581FE4" xlink:to="loc_us-gaap_ConsolidationItemsAxis_D76C40011CB671E066D229B13E588B5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_D9E87FB5271078304EA629B13E583312_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_D76C40011CB671E066D229B13E588B5F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_D9E87FB5271078304EA629B13E583312_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_D9E87FB5271078304EA629B13E583312" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_D76C40011CB671E066D229B13E588B5F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_D9E87FB5271078304EA629B13E583312" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_A10C6612D52F79EBCC6329B13E589AF9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_D9E87FB5271078304EA629B13E583312" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_A10C6612D52F79EBCC6329B13E589AF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_5DF0B781D49809F3409129B13E58E63F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedStatementOfComprehensiveIncomeTable_BDBF34CAC024F9C4F5B729B13E581FE4" xlink:to="loc_dei_LegalEntityAxis_5DF0B781D49809F3409129B13E58E63F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_7B647543B01C8E1B421229B13E588C8D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_5DF0B781D49809F3409129B13E58E63F" xlink:to="loc_dei_EntityDomain_7B647543B01C8E1B421229B13E588C8D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_7B647543B01C8E1B421229B13E588C8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_5DF0B781D49809F3409129B13E58E63F" xlink:to="loc_dei_EntityDomain_7B647543B01C8E1B421229B13E588C8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_C6C32AE8F5609304A4C429B13E58E947" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_7B647543B01C8E1B421229B13E588C8D" xlink:to="loc_us-gaap_ParentCompanyMember_C6C32AE8F5609304A4C429B13E58E947" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_E9628C8A6F63664D567B29B13E58CDFE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_7B647543B01C8E1B421229B13E588C8D" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_E9628C8A6F63664D567B29B13E58CDFE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_444CB357BE0AC442B1C529B13E58CF67" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_7B647543B01C8E1B421229B13E588C8D" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_444CB357BE0AC442B1C529B13E58CF67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_9B989F6A41B8D80C75AA29B13E58A4DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_NetIncomeLoss_9B989F6A41B8D80C75AA29B13E58A4DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_4B5A44F3FF2FE2A71E6D29B13E58C5C4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_4B5A44F3FF2FE2A71E6D29B13E58C5C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_E9FD502A204C74F282EA29B13E583D67" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_E9FD502A204C74F282EA29B13E583D67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_88E8220B4F4EE81B244029B13E58621B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodBeforeTax_88E8220B4F4EE81B244029B13E58621B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_3A7CE7517FF33C026F2629B13E5891CB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_3A7CE7517FF33C026F2629B13E5891CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_9F464FE584DB91E72FE029B13E58498A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_9F464FE584DB91E72FE029B13E58498A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_BA6B07C6BB0BF662090E29B13E58D56B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_BA6B07C6BB0BF662090E29B13E58D56B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7526A524084BC0EA108C29B13E58ED70" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7526A524084BC0EA108C29B13E58ED70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_20CDC0F63B0D6E31C5FE29B13E5834C4" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedStatementOfIncomeCaptionsLineItems_B01E4979401AFC86F9C829B13E58BC62" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_20CDC0F63B0D6E31C5FE29B13E5834C4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/CondensedConsolidatingStatementOfIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedIncomeStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedIncomeStatementTable" xlink:label="loc_us-gaap_CondensedIncomeStatementTable_7F590E07EA24949C535A0C43373402C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_CondensedIncomeStatementTable_7F590E07EA24949C535A0C43373402C1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_DB424EA2D6F4F9DEDC670C433734A032" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_7F590E07EA24949C535A0C43373402C1" xlink:to="loc_us-gaap_ConsolidationItemsAxis_DB424EA2D6F4F9DEDC670C433734A032" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_EF48C480F3D1F3928E320C433734F856_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_DB424EA2D6F4F9DEDC670C433734A032" xlink:to="loc_us-gaap_ConsolidationItemsDomain_EF48C480F3D1F3928E320C433734F856_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_EF48C480F3D1F3928E320C433734F856" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_DB424EA2D6F4F9DEDC670C433734A032" xlink:to="loc_us-gaap_ConsolidationItemsDomain_EF48C480F3D1F3928E320C433734F856" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationEliminationsMember" xlink:label="loc_us-gaap_ConsolidationEliminationsMember_8C838BA5DEFCF67F59C00C433734E842" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_EF48C480F3D1F3928E320C433734F856" xlink:to="loc_us-gaap_ConsolidationEliminationsMember_8C838BA5DEFCF67F59C00C433734E842" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_9E38A2172F72CD10FAA60C433735A33A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_7F590E07EA24949C535A0C43373402C1" xlink:to="loc_dei_LegalEntityAxis_9E38A2172F72CD10FAA60C433735A33A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_6AE53433F29E180119770C4337358F76_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_9E38A2172F72CD10FAA60C433735A33A" xlink:to="loc_dei_EntityDomain_6AE53433F29E180119770C4337358F76_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_6AE53433F29E180119770C4337358F76" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_9E38A2172F72CD10FAA60C433735A33A" xlink:to="loc_dei_EntityDomain_6AE53433F29E180119770C4337358F76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ParentCompanyMember" xlink:label="loc_us-gaap_ParentCompanyMember_2AB4CB1A7BF2DB1B17740C4337359C88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_6AE53433F29E180119770C4337358F76" xlink:to="loc_us-gaap_ParentCompanyMember_2AB4CB1A7BF2DB1B17740C4337359C88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuarantorSubsidiariesMember" xlink:label="loc_us-gaap_GuarantorSubsidiariesMember_451426B1A40B3F81A2E80C4337351E27" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_6AE53433F29E180119770C4337358F76" xlink:to="loc_us-gaap_GuarantorSubsidiariesMember_451426B1A40B3F81A2E80C4337351E27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonGuarantorSubsidiariesMember" xlink:label="loc_us-gaap_NonGuarantorSubsidiariesMember_9BE435A45D83796FDE0A0C4337351B54" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_6AE53433F29E180119770C4337358F76" xlink:to="loc_us-gaap_NonGuarantorSubsidiariesMember_9BE435A45D83796FDE0A0C4337351B54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_20DDCF7C39FF3E050ABD0C433735E820" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_20DDCF7C39FF3E050ABD0C433735E820" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaap_CostOfGoodsSold_679ACF899E1A08BD66B40C433735857D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_CostOfGoodsSold_679ACF899E1A08BD66B40C433735857D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_5FC2FA6E5741A38AD8040C4337351ECD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_GrossProfit_5FC2FA6E5741A38AD8040C4337351ECD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_08B21C27258F423B0F9F0C433735E30E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_OperatingExpensesAbstract_08B21C27258F423B0F9F0C433735E30E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_B760EDC1F3CF25376FB70C433735C239" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_08B21C27258F423B0F9F0C433735E30E" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_B760EDC1F3CF25376FB70C433735C239" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_F2488AF0A316F7884BD30C433735A106" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_08B21C27258F423B0F9F0C433735E30E" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_F2488AF0A316F7884BD30C433735A106" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_C12F498AC8FB0BA1D00D0C433735EB92" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_08B21C27258F423B0F9F0C433735E30E" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_C12F498AC8FB0BA1D00D0C433735EB92" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_F16EEC4B542103EE84CB0C433735A52E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_08B21C27258F423B0F9F0C433735E30E" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_F16EEC4B542103EE84CB0C433735A52E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_3D78832E22255C4C0B720C433736776A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_08B21C27258F423B0F9F0C433735E30E" xlink:to="loc_us-gaap_OperatingExpenses_3D78832E22255C4C0B720C433736776A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_129AE43146CAE8DE8F2E0C433736647D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_OperatingIncomeLoss_129AE43146CAE8DE8F2E0C433736647D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_08300592BB10693D41910C43373656F1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_InvestmentIncomeInterest_08300592BB10693D41910C43373656F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_7D2421F9CBFB8BE2220B0C4337368968" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_InterestExpense_7D2421F9CBFB8BE2220B0C4337368968" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_9114788990776DF9F7C60C433736083E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_9114788990776DF9F7C60C433736083E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_7DBB0E3A84E0AF2DB2960C433736985C" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_7DBB0E3A84E0AF2DB2960C433736985C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5C7929714B6D8A491A030C4337360E31" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_5C7929714B6D8A491A030C4337360E31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_878237AC781276E6F06D0C433736EA0E" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_878237AC781276E6F06D0C433736EA0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_B82BAF21BD50693F7BB00C4337363A39" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_B82BAF21BD50693F7BB00C4337363A39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_674648FACE332988F97E0C4337365F96" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_E7F6C89C7CF2DADFDD2F0C433735F7F1" xlink:to="loc_us-gaap_NetIncomeLoss_674648FACE332988F97E0C4337365F96" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_35E702B8945E297DBB572AD23ECB11A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_StatementTable_35E702B8945E297DBB572AD23ECB11A7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_DAA4111DD58052EA3BE32AD23ECBEAD7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_35E702B8945E297DBB572AD23ECB11A7" xlink:to="loc_us-gaap_DebtInstrumentAxis_DAA4111DD58052EA3BE32AD23ECBEAD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1DE09C1DB047212CE2C92AD23ED03F13_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_DAA4111DD58052EA3BE32AD23ECBEAD7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1DE09C1DB047212CE2C92AD23ED03F13_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1DE09C1DB047212CE2C92AD23ED03F13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_DAA4111DD58052EA3BE32AD23ECBEAD7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1DE09C1DB047212CE2C92AD23ED03F13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_5E215067FA41853717632AD23ED06A51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1DE09C1DB047212CE2C92AD23ED03F13" xlink:to="loc_us-gaap_ConvertibleDebtMember_5E215067FA41853717632AD23ED06A51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_F281F24A26A4C3B07F572AD23ED010B8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1DE09C1DB047212CE2C92AD23ED03F13" xlink:to="loc_us-gaap_CallOptionMember_F281F24A26A4C3B07F572AD23ED010B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_B978DFA6B98460350CED2AD23ED11DA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_B978DFA6B98460350CED2AD23ED11DA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_1FF1F16888E081164FE92AD23ED1CD11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_B978DFA6B98460350CED2AD23ED11DA3" xlink:to="loc_us-gaap_NetIncomeLoss_1FF1F16888E081164FE92AD23ED1CD11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_B978DFA6B98460350CED2AD23ED11DA3" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_51C1E54F8B27E20A69D22AD23ED14B3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_us-gaap_DepreciationAndAmortization_51C1E54F8B27E20A69D22AD23ED14B3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_A922FA687E606C3045BB2AD23ED1E37E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_us-gaap_ShareBasedCompensation_A922FA687E606C3045BB2AD23ED1E37E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0CF2A43ABAB650D3E5BF2AD23ED13B26" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0CF2A43ABAB650D3E5BF2AD23ED13B26" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_GainOnInsuranceRecovery" xlink:label="loc_wdc_GainOnInsuranceRecovery_DA37632AA75F960983B12AD23ED13162" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_wdc_GainOnInsuranceRecovery_DA37632AA75F960983B12AD23ED13162" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_5FBA7F4F1ABC3DD6C29C2AD23ED11AE9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_5FBA7F4F1ABC3DD6C29C2AD23ED11AE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_142ED67FCCC746DD04872AD23ED191F6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_142ED67FCCC746DD04872AD23ED191F6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_Convertibledebtactivitynet" xlink:label="loc_wdc_Convertibledebtactivitynet_A0AA0D247B9F5F49AC202AD23ED19269" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_wdc_Convertibledebtactivitynet_A0AA0D247B9F5F49AC202AD23ED19269" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_1BB1C95603BFB04963752AD23ED20F5D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_1BB1C95603BFB04963752AD23ED20F5D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges" xlink:label="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_0A5BC792F95D352C84FB2AD23ED2E5B1" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_wdc_NonCashPortionOfEmployeeTerminationBenefitsAndOtherCharges_0A5BC792F95D352C84FB2AD23ED2E5B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_C52608CC89FE54C34F7F2AD23ED21F33" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_088D9CF2ABA555EC98D22AD23ED13105" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_C52608CC89FE54C34F7F2AD23ED21F33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_B978DFA6B98460350CED2AD23ED11DA3" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_35F386CE26E763FD1B612AD23ED2C1ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_35F386CE26E763FD1B612AD23ED2C1ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_40CACE45F94AC33E5BDE2AD23ED29D91" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_40CACE45F94AC33E5BDE2AD23ED29D91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_5D4EB768C5614ED8771A2AD23ED2CA0B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_5D4EB768C5614ED8771A2AD23ED2CA0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties_CEAA8B2B18AF999C107A2AD23ED2DDF8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties_CEAA8B2B18AF999C107A2AD23ED2DDF8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_IncreaseDecreaseInArbitrationAwardReserve" xlink:label="loc_wdc_IncreaseDecreaseInArbitrationAwardReserve_25FC2B713972D7391ED02AD23ED273F8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_wdc_IncreaseDecreaseInArbitrationAwardReserve_25FC2B713972D7391ED02AD23ED273F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_022351B61CC1267E9DF32AD23ED20E58" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_022351B61CC1267E9DF32AD23ED20E58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_284DFE60F8BB34C637E32AD23ED271EB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_284DFE60F8BB34C637E32AD23ED271EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_262C5F50A8685C75D4CF2AD23ED2DBEE" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_262C5F50A8685C75D4CF2AD23ED2DBEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5A0346F74B5CF4BFCAD32AD23ED2CD7B" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_9CE4199945937936B3EC2AD23ED203AD" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5A0346F74B5CF4BFCAD32AD23ED2CD7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_050C0D273262269C930D2AD23ED271F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_050C0D273262269C930D2AD23ED271F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_4375771631180D03D1B92AD23ED2EA63" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_4375771631180D03D1B92AD23ED2EA63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_D9F0C53D6622071A40342AD23ED2153D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_D9F0C53D6622071A40342AD23ED2153D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_BA2B7C74CFA7A27A18F92AD23ED30A3D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_BA2B7C74CFA7A27A18F92AD23ED30A3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_4829FA8A0746B0CF76B42AD23ED37B06" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_4829FA8A0746B0CF76B42AD23ED37B06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_543D1AEDBE247C0B4B172AD23ED34D1C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_543D1AEDBE247C0B4B172AD23ED34D1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_63E3FC06B3FB9A6BB25B2AD23ED36397" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_63E3FC06B3FB9A6BB25B2AD23ED36397" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_6004A43ED4F515F3FEF72AD23ED35166" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_6004A43ED4F515F3FEF72AD23ED35166" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_4F7BABDDCC0B814DB7FC2AD23ED386B1" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_4F7BABDDCC0B814DB7FC2AD23ED386B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_0EE831255F02612C65492AD23ED353E6" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_0EE831255F02612C65492AD23ED353E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8E2CC93671E21F5C56BA2AD23ED3D3F5" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_CA88D5C1B281F404DFB82AD23ED2CC0D" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8E2CC93671E21F5C56BA2AD23ED3D3F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_F3C46531B0A37745361F2AD23ED34278" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_F3C46531B0A37745361F2AD23ED34278" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_D15B944DACAF3FC941592AD23ED31A26" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_D15B944DACAF3FC941592AD23ED31A26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_C48C3667C757578AF7762AD23ED3BDDF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_C48C3667C757578AF7762AD23ED3BDDF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts" xlink:label="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_33223912BBD5A51B32082AD23ED3349D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_wdc_NetCashReceivedInSettlementOfPaidInAdvanceForStockRepurchaseContracts_33223912BBD5A51B32082AD23ED3349D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfConvertibleDebt" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_A0B41679A005FFF9BC9E2AD23ED35FCE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_A0B41679A005FFF9BC9E2AD23ED35FCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_69D64A758C9AFF12635D2AD23ED3EBC0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_69D64A758C9AFF12635D2AD23ED3EBC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_7B11D5BC8430EAB9B6842AD23ED3145B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_7B11D5BC8430EAB9B6842AD23ED3145B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_2DE940220D9A95058BAF2AD23ED9B8A3" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_2DE940220D9A95058BAF2AD23ED9B8A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_6101ECDDC3C524FD14AA2AD23ED9DC7D" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_PaymentsOfDividends_6101ECDDC3C524FD14AA2AD23ED9DC7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForHedgeFinancingActivities" xlink:label="loc_us-gaap_PaymentsForHedgeFinancingActivities_5C4C0D69508326A140DF2AD23ED931FC" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_PaymentsForHedgeFinancingActivities_5C4C0D69508326A140DF2AD23ED931FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_02AD4C824AF9DD7923CC2AD23ED99887" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_02AD4C824AF9DD7923CC2AD23ED99887" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_1B4F9952FCE7EE1DB2112AD23ED92264" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet_1B4F9952FCE7EE1DB2112AD23ED92264" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_157349A971C9028FFE652AD23ED9927B" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_157349A971C9028FFE652AD23ED9927B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRepurchaseOfWarrants" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfWarrants_0696289F588F89B850742AD23ED982A6" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfWarrants_0696289F588F89B850742AD23ED982A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_F5B1DC1DD25DEA62B1922AD23ED9B04B" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_187B33E999830029C9342AD23ED3CD3F" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_F5B1DC1DD25DEA62B1922AD23ED9B04B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_BB9117942CA1833829922AD23ED980A7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_BB9117942CA1833829922AD23ED980A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_43F0038302B0202F109F2AD23ED98CC6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_43F0038302B0202F109F2AD23ED98CC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_63FE54864050AED1ED1B2AD23ED99611" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_63FE54864050AED1ED1B2AD23ED99611" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_E78EB8990F6A35C9875D2AD23EDAA797" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_E78EB8990F6A35C9875D2AD23EDAA797" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxesPaid" xlink:label="loc_us-gaap_IncomeTaxesPaid_0758D213A0445BCA4A802AD23EDA46B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_E78EB8990F6A35C9875D2AD23EDAA797" xlink:to="loc_us-gaap_IncomeTaxesPaid_0758D213A0445BCA4A802AD23EDA46B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestPaid" xlink:label="loc_us-gaap_InterestPaid_AC3FA97FDDB8D9ADD0A32AD23EDA8AB2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_E78EB8990F6A35C9875D2AD23EDAA797" xlink:to="loc_us-gaap_InterestPaid_AC3FA97FDDB8D9ADD0A32AD23EDA8AB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_21C88F5AEE59C2AE24772AD23EDA093F" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedCashFlowStatementsCaptionsLineItems_FB647727AFE781EDB7862AD23ED138ED" xlink:to="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_21C88F5AEE59C2AE24772AD23EDA093F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NoncashorPartNoncashAcquisitionNoncashFinancialorEquityInstrumentConsiderationValue" xlink:label="loc_wdc_NoncashorPartNoncashAcquisitionNoncashFinancialorEquityInstrumentConsiderationValue_469B528BAED68F0EEA592AD23EDA4069" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_21C88F5AEE59C2AE24772AD23EDA093F" xlink:to="loc_wdc_NoncashorPartNoncashAcquisitionNoncashFinancialorEquityInstrumentConsiderationValue_469B528BAED68F0EEA592AD23EDA4069" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_900FF2B1A358BB598F122AD23EDAF05E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_21C88F5AEE59C2AE24772AD23EDA093F" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_900FF2B1A358BB598F122AD23EDAF05E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleNoteHedgeAmount" xlink:label="loc_wdc_ConvertibleNoteHedgeAmount_7B7FC06186454ECD92022AD23EDA4E7B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_21C88F5AEE59C2AE24772AD23EDA093F" xlink:to="loc_wdc_ConvertibleNoteHedgeAmount_7B7FC06186454ECD92022AD23EDA4E7B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CashDividendDeclared" xlink:label="loc_wdc_CashDividendDeclared_BC29AA36B209699B61D52AD23EDA0B8B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_21C88F5AEE59C2AE24772AD23EDA093F" xlink:to="loc_wdc_CashDividendDeclared_BC29AA36B209699B61D52AD23EDA0B8B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_A81FF64EBC49256DDC450C433A7FDBDD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_57A8A519D9123AA7EC4C0C433A7FA46C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_A81FF64EBC49256DDC450C433A7FDBDD" xlink:to="loc_us-gaap_StatementTable_57A8A519D9123AA7EC4C0C433A7FA46C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_A5077764DD12A733F9920C433A7F85B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_57A8A519D9123AA7EC4C0C433A7FA46C" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_A5077764DD12A733F9920C433A7F85B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CD269063CE203356BD950C433A7F1D00_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A5077764DD12A733F9920C433A7F85B6" xlink:to="loc_us-gaap_EquityComponentDomain_CD269063CE203356BD950C433A7F1D00_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CD269063CE203356BD950C433A7F1D00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A5077764DD12A733F9920C433A7F85B6" xlink:to="loc_us-gaap_EquityComponentDomain_CD269063CE203356BD950C433A7F1D00" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_1628021A50A714A0B1180C433A694945" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StatementTable_1628021A50A714A0B1180C433A694945" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_E7C1C69227AF703C6A700C433A691DE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_1628021A50A714A0B1180C433A694945" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_E7C1C69227AF703C6A700C433A691DE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E7C1C69227AF703C6A700C433A691DE9" xlink:to="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E7C1C69227AF703C6A700C433A691DE9" xlink:to="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_AE766C264220F03E44E00C433A6949E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033" xlink:to="loc_us-gaap_CommonStockMember_AE766C264220F03E44E00C433A6949E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_4A37F6BDC072BC39DEEF0C433A69826F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033" xlink:to="loc_us-gaap_TreasuryStockMember_4A37F6BDC072BC39DEEF0C433A69826F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_25ABF2ABF9AE718759350C433A6990DB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_25ABF2ABF9AE718759350C433A6990DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_C9EEEE9BD5D589EC3A3D0C433A692818" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_C9EEEE9BD5D589EC3A3D0C433A692818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_B1E74364003B4D691D460C433A6AF96F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4100058A79FF32C67CA90C433A697033" xlink:to="loc_us-gaap_RetainedEarningsMember_B1E74364003B4D691D460C433A6AF96F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_070A25B48FA5845BC8DF0C433A6A5E63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StockholdersEquity_070A25B48FA5845BC8DF0C433A6A5E63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_FC987D6CE1446D93DC3E0C433A6A0819" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_SharesIssued_FC987D6CE1446D93DC3E0C433A6A0819" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockCommonValue" xlink:label="loc_us-gaap_TreasuryStockCommonValue_13F40EB08290227B8C390C433A6A2845" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_TreasuryStockCommonValue_13F40EB08290227B8C390C433A6A2845" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_8D6E1B3FCD480B9426870C433A6A44A5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_TreasuryStockShares_8D6E1B3FCD480B9426870C433A6A44A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_C1335A935BF880C114A60C433A6A1032" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_NetIncomeLoss_C1335A935BF880C114A60C433A6A1032" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_AD7ED4DB238D953FD2A30C433A6A1E2F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_AD7ED4DB238D953FD2A30C433A6A1E2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_573066249D16422D21E20C433A6ABBB2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_573066249D16422D21E20C433A6ABBB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_71811E4A675564EE96C20C433A6A1CE9" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_71811E4A675564EE96C20C433A6A1CE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_5B24189A9D794B6C0B380C433A6A3861" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_5B24189A9D794B6C0B380C433A6A3861" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_91C024D2CC1D888DB7470C433A6A2F19" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_91C024D2CC1D888DB7470C433A6A2F19" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockAwardsAssumedInAcquisition" xlink:label="loc_wdc_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockAwardsAssumedInAcquisition_FC76EA4AA986B1F71B080C433A6A6A45" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_wdc_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockAwardsAssumedInAcquisition_FC76EA4AA986B1F71B080C433A6A6A45" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AdjustmentsToAdditionalPaidInCapitalTaxEffectOfEmployeeStockPlans" xlink:label="loc_wdc_AdjustmentsToAdditionalPaidInCapitalTaxEffectOfEmployeeStockPlans_D6E5AD734314EA0664610C433A6A1D0D" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_wdc_AdjustmentsToAdditionalPaidInCapitalTaxEffectOfEmployeeStockPlans_D6E5AD734314EA0664610C433A6A1D0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_CCEF076097A3E4C054EB0C433A6ACFFA" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_CCEF076097A3E4C054EB0C433A6ACFFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_C56422CD557F59DF7E020C433A6A2547" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_C56422CD557F59DF7E020C433A6A2547" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleNoteHedgeAmount" xlink:label="loc_wdc_ConvertibleNoteHedgeAmount_7A15DFB2B53843CCB6120C433A6AEEA2" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_wdc_ConvertibleNoteHedgeAmount_7A15DFB2B53843CCB6120C433A6AEEA2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_StockAcquiredDuringPeriodSharesConvertibleSecuritiesHedge" xlink:label="loc_wdc_StockAcquiredDuringPeriodSharesConvertibleSecuritiesHedge_71ED3B709044ED7FA41E0C433A6A09DD" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_wdc_StockAcquiredDuringPeriodSharesConvertibleSecuritiesHedge_71ED3B709044ED7FA41E0C433A6A09DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_629ADB71A8E890F493DB0C433A6A5AB2" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_629ADB71A8E890F493DB0C433A6A5AB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_687C64E63FDAE99538630C433A6AB042" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_687C64E63FDAE99538630C433A6AB042" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DividendsDeclared" xlink:label="loc_wdc_DividendsDeclared_B7929FCA09F81498D55D0C433A6BF0B1" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_wdc_DividendsDeclared_B7929FCA09F81498D55D0C433A6BF0B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_62C3A33A92F822FF32390C433A6B1A65" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_62C3A33A92F822FF32390C433A6B1A65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_9F2D8A1EF04543272B850C433A6BC795" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_9F2D8A1EF04543272B850C433A6BC795" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_C79AE8A3621F022111B00C433A6B68FC" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_C79AE8A3621F022111B00C433A6B68FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_8AB19AB6D329712378630C433A6B82A3" xlink:type="locator" />
    <link:definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_01A72E0A3589E4DD953A0C433A6A32C8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_8AB19AB6D329712378630C433A6B82A3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedValuationAndQualifyingAccounts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedValuationAndQualifyingAccountsConsolidatedValuationAndQualifyingAccountsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_F23AB5C037BB328AB3A8E6F245030367" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_F3838C779285C855A095E6F24502D652" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_F23AB5C037BB328AB3A8E6F245030367" xlink:to="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_F3838C779285C855A095E6F24502D652" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_815EE8C04C7CCFE7B724E6F245029A36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_F3838C779285C855A095E6F24502D652" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_815EE8C04C7CCFE7B724E6F245029A36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_C52BD817B0B6C49D4A32E6F245024CD1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_815EE8C04C7CCFE7B724E6F245029A36" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_C52BD817B0B6C49D4A32E6F245024CD1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_C52BD817B0B6C49D4A32E6F245024CD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_815EE8C04C7CCFE7B724E6F245029A36" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_C52BD817B0B6C49D4A32E6F245024CD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsMember" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsMember_2C248FDC8E11346CD7E4E6F2450214BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_C52BD817B0B6C49D4A32E6F245024CD1" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsMember_2C248FDC8E11346CD7E4E6F2450214BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:label="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A98E422DF673B3959295E6F2450374C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_F23AB5C037BB328AB3A8E6F245030367" xlink:to="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A98E422DF673B3959295E6F2450374C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_061C935DF44D436CFB7EE6F24503994E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A98E422DF673B3959295E6F2450374C6" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_061C935DF44D436CFB7EE6F24503994E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesReservesOfBusinessesAcquired" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesReservesOfBusinessesAcquired_A497373894929336C500E6F24503BEF3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A98E422DF673B3959295E6F2450374C6" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesReservesOfBusinessesAcquired_A497373894929336C500E6F24503BEF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_6BA07682EDB37FEE3A14E6F245033D27" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A98E422DF673B3959295E6F2450374C6" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_6BA07682EDB37FEE3A14E6F245033D27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDeductions" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDeductions_0435D58829B48153F76BE6F245035E0A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_A98E422DF673B3959295E6F2450374C6" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDeductions_0435D58829B48153F76BE6F245035E0A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ConsolidatedValuationAndQualifyingAccountsConsolidatedValuationAndQualifyingAccountsTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_91B8F274C83557CF841AE7C2F71406B2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_DC855312CEAD0CEDE031E7C2F713466C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_91B8F274C83557CF841AE7C2F71406B2" xlink:to="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_DC855312CEAD0CEDE031E7C2F713466C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_83418B6948D951E25D6BE7C2F7139D92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_DC855312CEAD0CEDE031E7C2F713466C" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_83418B6948D951E25D6BE7C2F7139D92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_3C662BBC12F33716F378E7C2F7142A4B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_83418B6948D951E25D6BE7C2F7139D92" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_3C662BBC12F33716F378E7C2F7142A4B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_3C662BBC12F33716F378E7C2F7142A4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_83418B6948D951E25D6BE7C2F7139D92" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_3C662BBC12F33716F378E7C2F7142A4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SummaryOfValuationAllowanceTextBlock" xlink:label="loc_us-gaap_SummaryOfValuationAllowanceTextBlock_B7F522AA31496F610A49E7C4CFF81962" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_91B8F274C83557CF841AE7C2F71406B2" xlink:to="loc_us-gaap_SummaryOfValuationAllowanceTextBlock_B7F522AA31496F610A49E7C4CFF81962" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtConvertibleNotesDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_4E705A33129B25C788AAC8E2BBD079D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentTable_4E705A33129B25C788AAC8E2BBD079D7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_C3FB2E10C58D5FDA9568C8E2BBD11EF0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4E705A33129B25C788AAC8E2BBD079D7" xlink:to="loc_us-gaap_AwardDateAxis_C3FB2E10C58D5FDA9568C8E2BBD11EF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_CDFE6EF6985BFDE9F1CBC8E2BBD1C731_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_C3FB2E10C58D5FDA9568C8E2BBD11EF0" xlink:to="loc_us-gaap_AwardDateDomain_CDFE6EF6985BFDE9F1CBC8E2BBD1C731_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_CDFE6EF6985BFDE9F1CBC8E2BBD1C731" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_C3FB2E10C58D5FDA9568C8E2BBD11EF0" xlink:to="loc_us-gaap_AwardDateDomain_CDFE6EF6985BFDE9F1CBC8E2BBD1C731" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_7C933F215A5E3BA7B965C8E2BBD15C19" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4E705A33129B25C788AAC8E2BBD079D7" xlink:to="loc_us-gaap_DebtInstrumentAxis_7C933F215A5E3BA7B965C8E2BBD15C19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_7C933F215A5E3BA7B965C8E2BBD15C19" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_7C933F215A5E3BA7B965C8E2BBD15C19" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_AE3036318A4E2295415BC8E2BBD1CF6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:to="loc_us-gaap_ConvertibleDebtMember_AE3036318A4E2295415BC8E2BBD1CF6E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_F2B16E866BF93719B7FDC8E2BBD11A47" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_F2B16E866BF93719B7FDC8E2BBD11A47" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_E41CFA2A4CED408A8573C8E2BBD11478" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_E41CFA2A4CED408A8573C8E2BBD11478" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ExerciseOptionMember" xlink:label="loc_wdc_ExerciseOptionMember_79F7971154682074715AC8E2BBD16B8D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:to="loc_wdc_ExerciseOptionMember_79F7971154682074715AC8E2BBD16B8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_449DD5CF95A02CB40017C8E2BBD13E7D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:to="loc_us-gaap_CallOptionMember_449DD5CF95A02CB40017C8E2BBD13E7D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A2017CallOptionsMember" xlink:label="loc_wdc_A2017CallOptionsMember_D53AE5D3B301FE038E9AC8E2BBD11296" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:to="loc_wdc_A2017CallOptionsMember_D53AE5D3B301FE038E9AC8E2BBD11296" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A2020CallOptionsMember" xlink:label="loc_wdc_A2020CallOptionsMember_6B12AEB3D15A39034024C8E2BBD142E2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_C07BCAC12D2D2AD09315C8E2BBD1B7BF" xlink:to="loc_wdc_A2020CallOptionsMember_6B12AEB3D15A39034024C8E2BBD142E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1C68FEF216C8D3D77B17C8E2BBD1C459" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1C68FEF216C8D3D77B17C8E2BBD1C459" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_BFC4471DC8032D933C94C8E2BBD1BC22" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_BFC4471DC8032D933C94C8E2BBD1BC22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_616E0E591FC5B9AD13DAC8E2BBD17115" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_616E0E591FC5B9AD13DAC8E2BBD17115" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentRepurchaseAmount" xlink:label="loc_us-gaap_DebtInstrumentRepurchaseAmount_FB7EC8656EF1EBF76BE2C8E2BBD1371C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentRepurchaseAmount_FB7EC8656EF1EBF76BE2C8E2BBD1371C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtConversionConvertedInstrumentSharesIssued1" xlink:label="loc_us-gaap_DebtConversionConvertedInstrumentSharesIssued1_FF0DD9E7EC6FE1AADBD7C8E2BBD22E08" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtConversionConvertedInstrumentSharesIssued1_FF0DD9E7EC6FE1AADBD7C8E2BBD22E08" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentConvertedInstrumentAggregateValueofSharesIssued" xlink:label="loc_wdc_DebtInstrumentConvertedInstrumentAggregateValueofSharesIssued_B78EA728D5512462D73BC8E2BBD23CAE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_wdc_DebtInstrumentConvertedInstrumentAggregateValueofSharesIssued_B78EA728D5512462D73BC8E2BBD23CAE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentConvertibleConversionRatioShares" xlink:label="loc_wdc_DebtInstrumentConvertibleConversionRatioShares_22A77970E2B3EB3341C1C8E2BBD2DE34" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_wdc_DebtInstrumentConvertibleConversionRatioShares_22A77970E2B3EB3341C1C8E2BBD2DE34" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentConvertibleConversionRatioCash" xlink:label="loc_wdc_DebtInstrumentConvertibleConversionRatioCash_A1CA51C3AE3C43249B31C8E2BBD2A26D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_wdc_DebtInstrumentConvertibleConversionRatioCash_A1CA51C3AE3C43249B31C8E2BBD2A26D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_044A4EE99915D61470BBC8E2BBD25F36" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_044A4EE99915D61470BBC8E2BBD25F36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_51D2C3F0C42B0675AB05C8E2BBD24894" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_51D2C3F0C42B0675AB05C8E2BBD24894" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1" xlink:label="loc_us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1_C656FF4B5FFF5D268D53C8E2BBD2F42B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1_C656FF4B5FFF5D268D53C8E2BBD2F42B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ExtinguishmentofDebtandRelatedCallOptionsNetGainLoss" xlink:label="loc_wdc_ExtinguishmentofDebtandRelatedCallOptionsNetGainLoss_694A66E1D08820CF46A6C8E2BBD2958C" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_wdc_ExtinguishmentofDebtandRelatedCallOptionsNetGainLoss_694A66E1D08820CF46A6C8E2BBD2958C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromWarrantExercises" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_ED3240821982FCCD0FECC8E2BBD2FC73" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_ED3240821982FCCD0FECC8E2BBD2FC73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_99B113B4BAD1A44308D8C8E2BBD25F2F" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_99B113B4BAD1A44308D8C8E2BBD25F2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_C066D3033C40C2260CB3C8E2BBD26E18" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9C8EBF3FF01E7B7AE25BC8E2BBD10E20" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_C066D3033C40C2260CB3C8E2BBD26E18" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_804A84907317686AF387E26CD5ED7B8D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_0A3800D8C76542A38688E26CD5EDA085" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_804A84907317686AF387E26CD5ED7B8D" xlink:to="loc_us-gaap_DebtInstrumentTable_0A3800D8C76542A38688E26CD5EDA085" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_DE8FC291261FE7BDAE03E26CD5ED51B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0A3800D8C76542A38688E26CD5EDA085" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_DE8FC291261FE7BDAE03E26CD5ED51B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_29CC20AD594D170A916BE26CD5ED687F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_DE8FC291261FE7BDAE03E26CD5ED51B6" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_29CC20AD594D170A916BE26CD5ED687F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_29CC20AD594D170A916BE26CD5ED687F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_DE8FC291261FE7BDAE03E26CD5ED51B6" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_29CC20AD594D170A916BE26CD5ED687F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtByMaturityAbstract" xlink:label="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_804A84907317686AF387E26CD5ED7B8D" xlink:to="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_70A93F3E3263BCC3C916E281FC49076C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_70A93F3E3263BCC3C916E281FC49076C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_D063323D915EB4B552F4E281FCA9E2A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_D063323D915EB4B552F4E281FCA9E2A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_F87D060DF20E3CED7EBCE281FCFD49B9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_F87D060DF20E3CED7EBCE281FCFD49B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_D6FDF6EB5CA9497C299EE281FD443B78" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_D6FDF6EB5CA9497C299EE281FD443B78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_DF836D958EAD0AD3D7B4E281FD8623C1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_DF836D958EAD0AD3D7B4E281FD8623C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_9780BEA62CB69B9DC6E9E26CD5ED7D4B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_9780BEA62CB69B9DC6E9E26CD5ED7D4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_EB58AFB7EE5E9EBE2E1DE26CD5ED9746" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_EB58AFB7EE5E9EBE2E1DE26CD5ED9746" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_1F16D4CBBB1F8570AFFFE26CD5EEA777" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_1F16D4CBBB1F8570AFFFE26CD5EEA777" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_7E80CED89C37E429C662E26CD5EE3500" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_D34D1A4FBBB6A8BD9034E26CD5EDDAA7" xlink:to="loc_us-gaap_LongTermDebt_7E80CED89C37E429C662E26CD5EE3500" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtSeniorNotesDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_027C2341518871684E7406739A27B960" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_DebtInstrumentTable_027C2341518871684E7406739A27B960" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_D2AB37F4D3AF206801CB06739A28E322" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_027C2341518871684E7406739A27B960" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_D2AB37F4D3AF206801CB06739A28E322" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_2D724112632D6E1A1AB806739A28FD08_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_D2AB37F4D3AF206801CB06739A28E322" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_2D724112632D6E1A1AB806739A28FD08_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_2D724112632D6E1A1AB806739A28FD08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_D2AB37F4D3AF206801CB06739A28E322" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_2D724112632D6E1A1AB806739A28FD08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_D7E34DCFFE4CDAF3D77B06739A29AAAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_2D724112632D6E1A1AB806739A28FD08" xlink:to="loc_us-gaap_SeniorNotesMember_D7E34DCFFE4CDAF3D77B06739A29AAAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_6B143A032C8C70000C6C06739A2AFEF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_027C2341518871684E7406739A27B960" xlink:to="loc_us-gaap_DebtInstrumentAxis_6B143A032C8C70000C6C06739A2AFEF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_583D86FC43B08C92F47306739A2AD4BC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_6B143A032C8C70000C6C06739A2AFEF0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_583D86FC43B08C92F47306739A2AD4BC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_583D86FC43B08C92F47306739A2AD4BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_6B143A032C8C70000C6C06739A2AFEF0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_583D86FC43B08C92F47306739A2AD4BC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_B67CC241B37906644E5506739A2A3253" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_583D86FC43B08C92F47306739A2AD4BC" xlink:to="loc_wdc_SecuredNotesMember_B67CC241B37906644E5506739A2A3253" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_5CAF7705F0D7394158A706739A2B3779" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_583D86FC43B08C92F47306739A2AD4BC" xlink:to="loc_wdc_UnsecuredNotesMember_5CAF7705F0D7394158A706739A2B3779" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_F02A0B38E25D0134D33C06739A2B946E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_DebtInstrumentTerm_F02A0B38E25D0134D33C06739A2B946E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_6EB1BDC1514DC4B73C4406739A2C40C1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_6EB1BDC1514DC4B73C4406739A2C40C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_711897728A09637CCBC906739A2C1F7F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_711897728A09637CCBC906739A2C1F7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_7AB334989DE976C1B33D06739A2CF730" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_7AB334989DE976C1B33D06739A2CF730" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_8985A4AE2B6ECF74B80506739A2C2F42" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_8985A4AE2B6ECF74B80506739A2C2F42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_44E6E033FB01029A02EF06739A2CA0DE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_44E6E033FB01029A02EF06739A2CA0DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_E8A5D143B14F90B1067806739A2C9EA7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_665671DD0090CF4AF53F06739A2B94BF" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_E8A5D143B14F90B1067806739A2C9EA7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTermLoansDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_DA4EA810249205F1510FF2EB4DF08A3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_DebtInstrumentTable_DA4EA810249205F1510FF2EB4DF08A3B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_D0A66E2C30B1C05F1C49F2EB4DF04F6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_DA4EA810249205F1510FF2EB4DF08A3B" xlink:to="loc_us-gaap_VariableRateAxis_D0A66E2C30B1C05F1C49F2EB4DF04F6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_DAD62498628FE74CBF22F2EB4DF03191_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_D0A66E2C30B1C05F1C49F2EB4DF04F6B" xlink:to="loc_us-gaap_VariableRateDomain_DAD62498628FE74CBF22F2EB4DF03191_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_DAD62498628FE74CBF22F2EB4DF03191" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_D0A66E2C30B1C05F1C49F2EB4DF04F6B" xlink:to="loc_us-gaap_VariableRateDomain_DAD62498628FE74CBF22F2EB4DF03191" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_5AE8FB4C508DB07BAF9CF2EB4DF0544B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_DAD62498628FE74CBF22F2EB4DF03191" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_5AE8FB4C508DB07BAF9CF2EB4DF0544B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_D5492FD0540E0943F8F0F2EB4DF03B32" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_DA4EA810249205F1510FF2EB4DF08A3B" xlink:to="loc_us-gaap_DebtInstrumentAxis_D5492FD0540E0943F8F0F2EB4DF03B32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_D5492FD0540E0943F8F0F2EB4DF03B32" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_D5492FD0540E0943F8F0F2EB4DF03B32" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_197BDD19315684B5FD4EF2EB4DF0EE04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_TermLoanAMember_197BDD19315684B5FD4EF2EB4DF0EE04" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanBMember" xlink:label="loc_wdc_TermLoanBMember_64D8A05865BC785452FDF2EB4DF144F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_TermLoanBMember_64D8A05865BC785452FDF2EB4DF144F2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanB1Member" xlink:label="loc_wdc_TermLoanB1Member_4653CF7BB1CB8720DED1F2EB4DF18948" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_TermLoanB1Member_4653CF7BB1CB8720DED1F2EB4DF18948" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_8E48B813B67B48F010A0F2EB4DF1466F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_U.S.TermLoanBMember_8E48B813B67B48F010A0F2EB4DF1466F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanB1Member" xlink:label="loc_wdc_U.S.TermLoanB1Member_506292528798141B18D4F2EB4DF13221" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_U.S.TermLoanB1Member_506292528798141B18D4F2EB4DF13221" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_19A07DEC6F1AA6F16E75F2EB4DF156CC" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_U.S.TermLoanB2Member_19A07DEC6F1AA6F16E75F2EB4DF156CC" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_DC699882A1197E13CC20F2EB4DF14CE7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_EuroTermLoanBMember_DC699882A1197E13CC20F2EB4DF14CE7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanB1Member" xlink:label="loc_wdc_EuroTermLoanB1Member_F844D35896EA3B7A9B8DF2EB4DF166C0" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_EuroTermLoanB1Member_F844D35896EA3B7A9B8DF2EB4DF166C0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_B836B3D375B254E1C2D4F2EB4DF19070" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_wdc_EuroTermLoanB2Member_B836B3D375B254E1C2D4F2EB4DF19070" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_C9489E9162BAB93DFB3CF2EB4DF19163" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_A6D0F67E90A7B7DDB6CCF2EB4DF094DC" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_C9489E9162BAB93DFB3CF2EB4DF19163" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_B3F6140FAC5608F399B2F2EB4DF1A257" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_DA4EA810249205F1510FF2EB4DF08A3B" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_B3F6140FAC5608F399B2F2EB4DF1A257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_C2F40A44D37165E4FDA6F2EB4DF12140_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_B3F6140FAC5608F399B2F2EB4DF1A257" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C2F40A44D37165E4FDA6F2EB4DF12140_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_C2F40A44D37165E4FDA6F2EB4DF12140" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_B3F6140FAC5608F399B2F2EB4DF1A257" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C2F40A44D37165E4FDA6F2EB4DF12140" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_4029FE59F58F6BB9AA31F2EB4DF1CEF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_C2F40A44D37165E4FDA6F2EB4DF12140" xlink:to="loc_us-gaap_SubsequentEventMember_4029FE59F58F6BB9AA31F2EB4DF1CEF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_22B2A3AC2ABAA412DE01F2EB4DF17066" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_DA4EA810249205F1510FF2EB4DF08A3B" xlink:to="loc_us-gaap_CreditFacilityAxis_22B2A3AC2ABAA412DE01F2EB4DF17066" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_1932EE63AEA9598CF831F2EB4DF1E980_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_22B2A3AC2ABAA412DE01F2EB4DF17066" xlink:to="loc_us-gaap_CreditFacilityDomain_1932EE63AEA9598CF831F2EB4DF1E980_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_1932EE63AEA9598CF831F2EB4DF1E980" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_22B2A3AC2ABAA412DE01F2EB4DF17066" xlink:to="loc_us-gaap_CreditFacilityDomain_1932EE63AEA9598CF831F2EB4DF1E980" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LetterOfCreditMember" xlink:label="loc_us-gaap_LetterOfCreditMember_66D2CF663E4D769609CEF2EB4DF19ABF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_1932EE63AEA9598CF831F2EB4DF1E980" xlink:to="loc_us-gaap_LetterOfCreditMember_66D2CF663E4D769609CEF2EB4DF19ABF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1ACF39F4D04629CE9D20F2EB4DF2753C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1ACF39F4D04629CE9D20F2EB4DF2753C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_7DF3FEA26E3CA8031EE4F2EB4DF276B9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_7DF3FEA26E3CA8031EE4F2EB4DF276B9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentLIBORFloor" xlink:label="loc_wdc_DebtInstrumentLIBORFloor_E4FE7D28881C588765A0F2EB4DF2380A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_wdc_DebtInstrumentLIBORFloor_E4FE7D28881C588765A0F2EB4DF2380A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentEURIBORFloor" xlink:label="loc_wdc_DebtInstrumentEURIBORFloor_869A77A40F18FF9BD868F2EB4DF2B678" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_wdc_DebtInstrumentEURIBORFloor_869A77A40F18FF9BD868F2EB4DF2B678" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_673E666A5CB91A9015C2F2EB4DF29030" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_673E666A5CB91A9015C2F2EB4DF29030" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtPercentageBearingFixedInterestRate" xlink:label="loc_us-gaap_LongTermDebtPercentageBearingFixedInterestRate_FA1CDFD4FA193E362D32F2EB4DF2F457" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_LongTermDebtPercentageBearingFixedInterestRate_FA1CDFD4FA193E362D32F2EB4DF2F457" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtPercentageBearingVariableInterestRate" xlink:label="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_A9E80FA5B4EE5A0750E0F2EB4DF2FC4B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_A9E80FA5B4EE5A0750E0F2EB4DF2FC4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_54ED1C5391DE3FFBEDFEF2EB4DF2DBF1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_54ED1C5391DE3FFBEDFEF2EB4DF2DBF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4405D8821048246CE81EF2EB4DF2DA48" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4405D8821048246CE81EF2EB4DF2DA48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_065F0569084E84D917CEF2EB4DF2C04F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_DebtInstrumentTerm_065F0569084E84D917CEF2EB4DF2C04F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries" xlink:label="loc_wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries_452EFD1985A237A6BCCCF2EB4DF292C7" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_wdc_PercentLimitationonPledgesofCapitalofForeignSubsidiaries_452EFD1985A237A6BCCCF2EB4DF292C7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentPrepaymentFeePercentage" xlink:label="loc_wdc_DebtInstrumentPrepaymentFeePercentage_F41F1F8DBFC0A970BA2FF2EB4DF21E96" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_wdc_DebtInstrumentPrepaymentFeePercentage_F41F1F8DBFC0A970BA2FF2EB4DF21E96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentPeriodicPaymentAbstract" xlink:label="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentPercent" xlink:label="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentPercent_50217EDCE5716E75B8F3F2EB4DF2B9D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentPercent_50217EDCE5716E75B8F3F2EB4DF2B9D4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentAmount" xlink:label="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentAmount_B15E99A3BE9546A50243F2EB4DF29839" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentAmount_B15E99A3BE9546A50243F2EB4DF29839" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtInstrumentPrepaymentFeePenaltyEffectivePeriod" xlink:label="loc_wdc_DebtInstrumentPrepaymentFeePenaltyEffectivePeriod_283A8D26E7B22B1A68C2F2EB4DF2F37C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_wdc_DebtInstrumentPrepaymentFeePenaltyEffectivePeriod_283A8D26E7B22B1A68C2F2EB4DF2F37C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExtinguishmentOfDebtAmount" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_8E51B489F5C442C323AAF2EB4DF2174F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_8E51B489F5C442C323AAF2EB4DF2174F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_341931E7828681AF1E2AF2EB4DF2397B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_us-gaap_RepaymentsOfDebt_341931E7828681AF1E2AF2EB4DF2397B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts" xlink:label="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_D368188D379EEECF1DA8F2EB4DF36E27" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_D368188D379EEECF1DA8F2EB4DF36E27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_2FCBDCFCE986945944C3F2EB4DF385A4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_2FCBDCFCE986945944C3F2EB4DF385A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_2F055B9E5352DCE833D0F2EB4DF3F57F" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_2F055B9E5352DCE833D0F2EB4DF3F57F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_1422F3EBC734260A25BAF2EB4DF370B1" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_1422F3EBC734260A25BAF2EB4DF370B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_D62E2962F4A0A5AAC8FFF2EB4DF3CF06" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentPeriodicPaymentAbstract_457771CDD045E09ABB0EF2EB4DF2D629" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_D62E2962F4A0A5AAC8FFF2EB4DF3CF06" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_InterestRateSwapAbstract" xlink:label="loc_wdc_InterestRateSwapAbstract_5FCF2B039037BD714F9EF2EB4DF3FC16" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_761F078F1536FD8AA367F2EB4DF15D6E" xlink:to="loc_wdc_InterestRateSwapAbstract_5FCF2B039037BD714F9EF2EB4DF3FC16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_AC97C1E94F767F885C57F2EB4DF34568" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_InterestRateSwapAbstract_5FCF2B039037BD714F9EF2EB4DF3FC16" xlink:to="loc_invest_DerivativeNotionalAmount_AC97C1E94F767F885C57F2EB4DF34568" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeFixedInterestRate" xlink:label="loc_us-gaap_DerivativeFixedInterestRate_D45D38E2FD39EF5408D4F2EB4DF3458C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_InterestRateSwapAbstract_5FCF2B039037BD714F9EF2EB4DF3FC16" xlink:to="loc_us-gaap_DerivativeFixedInterestRate_D45D38E2FD39EF5408D4F2EB4DF3458C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DebtTerminationOfExistingCreditAgreementAndBridgeLoansDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_B8137D43DA49C7E1E141E759374459C8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_4D070BFDD4A884BAD4A5E7593743D451" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_B8137D43DA49C7E1E141E759374459C8" xlink:to="loc_us-gaap_DebtInstrumentTable_4D070BFDD4A884BAD4A5E7593743D451" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_CE6FA4244C797EB91CF4E7593743DC80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4D070BFDD4A884BAD4A5E7593743D451" xlink:to="loc_us-gaap_DebtInstrumentAxis_CE6FA4244C797EB91CF4E7593743DC80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_CE6FA4244C797EB91CF4E7593743DC80" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_CE6FA4244C797EB91CF4E7593743DC80" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_19AA2C8CCDACEB8E83F9E75937448773" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3" xlink:to="loc_wdc_U.S.TermLoanBMember_19AA2C8CCDACEB8E83F9E75937448773" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_B956AEDE17016718A81DE759374471D1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3" xlink:to="loc_wdc_EuroTermLoanBMember_B956AEDE17016718A81DE759374471D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_D16DF240F1C4367A1760E759374440A3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3" xlink:to="loc_us-gaap_BridgeLoanMember_D16DF240F1C4367A1760E759374440A3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanBMember" xlink:label="loc_wdc_TermLoanBMember_EB38C6C33BDD17897242E7593744CD01" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3" xlink:to="loc_wdc_TermLoanBMember_EB38C6C33BDD17897242E7593744CD01" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherTermLoansMember" xlink:label="loc_wdc_OtherTermLoansMember_612BBED99D769B8B6997E7593744D0CF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B7B0B28FA76560E0D520E759374325C3" xlink:to="loc_wdc_OtherTermLoansMember_612BBED99D769B8B6997E7593744D0CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_83596BC08EA60537FA7CE75937446E0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_B8137D43DA49C7E1E141E759374459C8" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_83596BC08EA60537FA7CE75937446E0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ExtinguishmentOfDebtAmount" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_25621D923E96FF71B381E7593744F407" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_B8137D43DA49C7E1E141E759374459C8" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_25621D923E96FF71B381E7593744F407" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_E8FC837C2015FC1B6562E7593744483F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_B8137D43DA49C7E1E141E759374459C8" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_E8FC837C2015FC1B6562E7593744483F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/Derivatives" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesAdditionalInformationDetailTextual" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesDerivativeContractsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_EE0831B5CBB41FAB750EC4659CF0ABE5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_9E9F1C95813D42C56395C4659CEAB05F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_EE0831B5CBB41FAB750EC4659CF0ABE5" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_9E9F1C95813D42C56395C4659CEAB05F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_E93D1B4643D9F8C3CBB6C4659CEF2FF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_9E9F1C95813D42C56395C4659CEAB05F" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_E93D1B4643D9F8C3CBB6C4659CEF2FF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B54499F704D7A048AC33C4659CEFEDC3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_E93D1B4643D9F8C3CBB6C4659CEF2FF8" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B54499F704D7A048AC33C4659CEFEDC3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B54499F704D7A048AC33C4659CEFEDC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_E93D1B4643D9F8C3CBB6C4659CEF2FF8" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B54499F704D7A048AC33C4659CEFEDC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_539AF6E89CC70AF01901C4659CEF4E20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_B54499F704D7A048AC33C4659CEFEDC3" xlink:to="loc_us-gaap_ForeignExchangeContractMember_539AF6E89CC70AF01901C4659CEF4E20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_405F292192A7B779D9B5C4659CEF139A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_9E9F1C95813D42C56395C4659CEAB05F" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_405F292192A7B779D9B5C4659CEF139A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_405F292192A7B779D9B5C4659CEF139A" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_405F292192A7B779D9B5C4659CEF139A" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherCurrentAssetsMember" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_D2D0026E68816478B66DC4659CF055D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_D2D0026E68816478B66DC4659CF055D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_C64450830F1DC0C36E82C4659CF02B3A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_C64450830F1DC0C36E82C4659CF02B3A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherCurrentAccruedLiabilitiesMember" xlink:label="loc_wdc_OtherCurrentAccruedLiabilitiesMember_B0CE628BBCB13C99DED1C4659CF0B46F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7" xlink:to="loc_wdc_OtherCurrentAccruedLiabilitiesMember_B0CE628BBCB13C99DED1C4659CF0B46F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesMember" xlink:label="loc_us-gaap_OtherLiabilitiesMember_66F8A0DBA0311870D1DAC4659CF01F16" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_34A9D7ABD065BE17DEADC4659CEF51B7" xlink:to="loc_us-gaap_OtherLiabilitiesMember_66F8A0DBA0311870D1DAC4659CF01F16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeAssetsAbstract" xlink:label="loc_us-gaap_DerivativeAssetsAbstract_FC5B7768605A4C9B0675C4659CF0149F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_EE0831B5CBB41FAB750EC4659CF0ABE5" xlink:to="loc_us-gaap_DerivativeAssetsAbstract_FC5B7768605A4C9B0675C4659CF0149F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_1B00E2E6B5F38904CA79C4659CF0B780" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_FC5B7768605A4C9B0675C4659CF0149F" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_1B00E2E6B5F38904CA79C4659CF0B780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_C13734B0D5B7CE321A5AC4659CF0B625" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_FC5B7768605A4C9B0675C4659CF0149F" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_C13734B0D5B7CE321A5AC4659CF0B625" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CallOptionDerivativeInstrumentAssetsatFairValue" xlink:label="loc_wdc_CallOptionDerivativeInstrumentAssetsatFairValue_8E2B42C9BB50F5F8100DC4659CF0445C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_FC5B7768605A4C9B0675C4659CF0149F" xlink:to="loc_wdc_CallOptionDerivativeInstrumentAssetsatFairValue_8E2B42C9BB50F5F8100DC4659CF0445C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_414C0EB9575F2ED297F2C4659CF0081A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_FC5B7768605A4C9B0675C4659CF0149F" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_414C0EB9575F2ED297F2C4659CF0081A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeLiabilitiesAbstract" xlink:label="loc_us-gaap_DerivativeLiabilitiesAbstract_134F5546DECE0BB928F5C4659CF0A2A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_EE0831B5CBB41FAB750EC4659CF0ABE5" xlink:to="loc_us-gaap_DerivativeLiabilitiesAbstract_134F5546DECE0BB928F5C4659CF0A2A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_D76B8791835A87BEE131C4659CF047E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_134F5546DECE0BB928F5C4659CF0A2A8" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_D76B8791835A87BEE131C4659CF047E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:label="loc_us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_7E75F1A28794225962F4C4659CF14BB6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_134F5546DECE0BB928F5C4659CF0A2A8" xlink:to="loc_us-gaap_ForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_7E75F1A28794225962F4C4659CF14BB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestRateDerivativeLiabilitiesAtFairValue" xlink:label="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_F12F2BA730A14B8580E3C488D98A1751" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_134F5546DECE0BB928F5C4659CF0A2A8" xlink:to="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_F12F2BA730A14B8580E3C488D98A1751" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ExerciseOptionDerivativeInstrumentLiabilitiesatFairValue" xlink:label="loc_wdc_ExerciseOptionDerivativeInstrumentLiabilitiesatFairValue_FE393791446AA50A8A61C4659CF6B9AE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_134F5546DECE0BB928F5C4659CF0A2A8" xlink:to="loc_wdc_ExerciseOptionDerivativeInstrumentLiabilitiesatFairValue_FE393791446AA50A8A61C4659CF6B9AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_F16D438CC76988537E88C4659CF7C427" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_134F5546DECE0BB928F5C4659CF0A2A8" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_F16D438CC76988537E88C4659CF7C427" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesDerivativesInCashFlowHedgingRelationshipsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_68E6701C1B4E16AE8504DE0807DCDF75" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5E324D28368E517FBF1FDE0807DC8C01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_68E6701C1B4E16AE8504DE0807DCDF75" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5E324D28368E517FBF1FDE0807DC8C01" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_DFDEDE6754A788A88048DE0807DC1082" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5E324D28368E517FBF1FDE0807DC8C01" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_DFDEDE6754A788A88048DE0807DC1082" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1FCC7BCBBDC642EF4D47DE0807DC5472_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_DFDEDE6754A788A88048DE0807DC1082" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1FCC7BCBBDC642EF4D47DE0807DC5472_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1FCC7BCBBDC642EF4D47DE0807DC5472" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_DFDEDE6754A788A88048DE0807DC1082" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1FCC7BCBBDC642EF4D47DE0807DC5472" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_E45769D0D16286286FAEDE0807DC8787" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_1FCC7BCBBDC642EF4D47DE0807DC5472" xlink:to="loc_us-gaap_ForeignExchangeContractMember_E45769D0D16286286FAEDE0807DC8787" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_38684857FA624B74AA76DE0807DCFEE9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_1FCC7BCBBDC642EF4D47DE0807DC5472" xlink:to="loc_us-gaap_InterestRateSwapMember_38684857FA624B74AA76DE0807DCFEE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_0C7DB7A4487220D1F384DE0807DCEAEA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5E324D28368E517FBF1FDE0807DC8C01" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_0C7DB7A4487220D1F384DE0807DCEAEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_DAF393324CE9B93ECD90DE0807DC115B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0C7DB7A4487220D1F384DE0807DCEAEA" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_DAF393324CE9B93ECD90DE0807DC115B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_DAF393324CE9B93ECD90DE0807DC115B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0C7DB7A4487220D1F384DE0807DCEAEA" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_DAF393324CE9B93ECD90DE0807DC115B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_409A4EA8E1A30E61C97EDE0807DC26E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_DAF393324CE9B93ECD90DE0807DC115B" xlink:to="loc_us-gaap_CostOfSalesMember_409A4EA8E1A30E61C97EDE0807DC26E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseMember" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_0C3AE6E0FAC83CDB52D5DE0807DCC936" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_DAF393324CE9B93ECD90DE0807DC115B" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_0C3AE6E0FAC83CDB52D5DE0807DCC936" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_DF150B2D821E5650704FDE0807DC154B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5E324D28368E517FBF1FDE0807DC8C01" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_DF150B2D821E5650704FDE0807DC154B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_443C5C6E8C2A7E069550DE0807DC852A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_DF150B2D821E5650704FDE0807DC154B" xlink:to="loc_us-gaap_HedgingRelationshipDomain_443C5C6E8C2A7E069550DE0807DC852A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_443C5C6E8C2A7E069550DE0807DC852A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_DF150B2D821E5650704FDE0807DC154B" xlink:to="loc_us-gaap_HedgingRelationshipDomain_443C5C6E8C2A7E069550DE0807DC852A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_D989095C077CECA3B365DE0807DC2C71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_443C5C6E8C2A7E069550DE0807DC852A" xlink:to="loc_us-gaap_CashFlowHedgingMember_D989095C077CECA3B365DE0807DC2C71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_0F5BA68C5C16E7A24CBEDE0807DC28E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_68E6701C1B4E16AE8504DE0807DCDF75" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_0F5BA68C5C16E7A24CBEDE0807DC28E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_797A1CF0418F8013D07ADE0807DC9B8B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_68E6701C1B4E16AE8504DE0807DCDF75" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_797A1CF0418F8013D07ADE0807DC9B8B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesOffsettingAssetsAndLiabilitiesDetailTextual" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DerivativesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationLineItems" xlink:label="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationTable" xlink:label="loc_dei_DocumentInformationTable_8BA1B48C06B8E02F17F7E26CD70888F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_DocumentInformationTable_8BA1B48C06B8E02F17F7E26CD70888F6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="loc_dei_DocumentInformationDocumentAxis_1A8F632385D4E24F08D4E26CD708F607" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_8BA1B48C06B8E02F17F7E26CD70888F6" xlink:to="loc_dei_DocumentInformationDocumentAxis_1A8F632385D4E24F08D4E26CD708F607" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentDomain" xlink:label="loc_dei_DocumentDomain_07BD194BF44DB0E3827AE26CD70846A5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_DocumentInformationDocumentAxis_1A8F632385D4E24F08D4E26CD708F607" xlink:to="loc_dei_DocumentDomain_07BD194BF44DB0E3827AE26CD70846A5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentDomain" xlink:label="loc_dei_DocumentDomain_07BD194BF44DB0E3827AE26CD70846A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_DocumentInformationDocumentAxis_1A8F632385D4E24F08D4E26CD708F607" xlink:to="loc_dei_DocumentDomain_07BD194BF44DB0E3827AE26CD70846A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_F7A7B1B0381B2862CC38E26CD708F738" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityRegistrantName_F7A7B1B0381B2862CC38E26CD708F738" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_3B05868FCA486F3AFD69E26CD7082366" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityCentralIndexKey_3B05868FCA486F3AFD69E26CD7082366" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_83F42AF9C2D43E87345BE26CD70975B5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_CurrentFiscalYearEndDate_83F42AF9C2D43E87345BE26CD70975B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_05C14C503B6DF203637BE26CD709DD0C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityFilerCategory_05C14C503B6DF203637BE26CD709DD0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_4B64E9FC19C441C994AFE26CD709AB7F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_DocumentType_4B64E9FC19C441C994AFE26CD709AB7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_7C530F2029142F438946E26CD70932D6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_DocumentPeriodEndDate_7C530F2029142F438946E26CD70932D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_7AF04B10792A78571F35E26CD709E511" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_DocumentFiscalYearFocus_7AF04B10792A78571F35E26CD709E511" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_2D51BE5EA3DA2F792F73E26CD70A8937" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_DocumentFiscalPeriodFocus_2D51BE5EA3DA2F792F73E26CD70A8937" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_4C56B132B1F62E32CE27E26CD70A4797" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_AmendmentFlag_4C56B132B1F62E32CE27E26CD70A4797" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_78B0627E100F0577C5AAE26CD70A7775" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_78B0627E100F0577C5AAE26CD70A7775" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_84D4847F3C3FEC77E7F3E26CD70A00CB" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_84D4847F3C3FEC77E7F3E26CD70A00CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_67D3E71B93F312A6ACD7E26CD70A903C" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityVoluntaryFilers_67D3E71B93F312A6ACD7E26CD70A903C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_57BD606F7142CBD2793DE26CD70A2139" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityCurrentReportingStatus_57BD606F7142CBD2793DE26CD70A2139" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat" xlink:label="loc_dei_EntityPublicFloat_37D08F8A3B790FA3E165E26CD70A6198" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_C69151DF0FB10CA2E76BE26CD70877F6" xlink:to="loc_dei_EntityPublicFloat_37D08F8A3B790FA3E165E26CD70A6198" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EarningsPerShare" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_AFA0DE4E21B26D73C164EAB64239253B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_80548680E4B7227BF342EAB64239589C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_AFA0DE4E21B26D73C164EAB64239253B" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_80548680E4B7227BF342EAB64239589C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_C27FB916242868BE8CFCEAB642393F4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_80548680E4B7227BF342EAB64239589C" xlink:to="loc_us-gaap_StatementClassOfStockAxis_C27FB916242868BE8CFCEAB642393F4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_CE6210E5A7A0D2CD5949EAB64239BBDA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_C27FB916242868BE8CFCEAB642393F4C" xlink:to="loc_us-gaap_ClassOfStockDomain_CE6210E5A7A0D2CD5949EAB64239BBDA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_CE6210E5A7A0D2CD5949EAB64239BBDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_C27FB916242868BE8CFCEAB642393F4C" xlink:to="loc_us-gaap_ClassOfStockDomain_CE6210E5A7A0D2CD5949EAB64239BBDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="loc_us-gaap_EarningsPerShareTextBlock_58773C0A8AFC51A27B71EAB64239257E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_AFA0DE4E21B26D73C164EAB64239253B" xlink:to="loc_us-gaap_EarningsPerShareTextBlock_58773C0A8AFC51A27B71EAB64239257E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_583F317F8D69D16F41170C43379268C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_583F317F8D69D16F41170C43379268C7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_70CFF122AF693FA5AE3A0C433792808F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_583F317F8D69D16F41170C43379268C7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_70CFF122AF693FA5AE3A0C433792808F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_ACEA6BD1861DF77C88080C4337928A2F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_70CFF122AF693FA5AE3A0C433792808F" xlink:to="loc_us-gaap_ClassOfStockDomain_ACEA6BD1861DF77C88080C4337928A2F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_ACEA6BD1861DF77C88080C4337928A2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_70CFF122AF693FA5AE3A0C433792808F" xlink:to="loc_us-gaap_ClassOfStockDomain_ACEA6BD1861DF77C88080C4337928A2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_FBA59C7A5929EEC401670C4337929A3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_NetIncomeLoss_FBA59C7A5929EEC401670C4337929A3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5A5C7B6119DD45F89F750C433792CF8F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5A5C7B6119DD45F89F750C433792CF8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_3FCED8E9E4FAA683C1C80C4337925130" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_3FCED8E9E4FAA683C1C80C4337925130" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7E371794A4A842D3C5CD0C4337929731" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7E371794A4A842D3C5CD0C4337929731" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BasicEarningsPerShareProForma" xlink:label="loc_us-gaap_BasicEarningsPerShareProForma_E8ACE96656B81C70AFE50C4337923835" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_BasicEarningsPerShareProForma_E8ACE96656B81C70AFE50C4337923835" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_AAC6B1A9CC1CE41F8BFA0C43379200E5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_EarningsPerShareDiluted_AAC6B1A9CC1CE41F8BFA0C43379200E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_5C57BD33AD361CCED8880C43379253A5" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_D720B8F5B747E0E1E0E60C4337920990" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_5C57BD33AD361CCED8880C43379253A5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EarningsPerShareTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_8D69D11C367027D79F4FEAB644D34F0D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_C06A9F4957A4D5D527A0EAB644D39BDC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_8D69D11C367027D79F4FEAB644D34F0D" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_C06A9F4957A4D5D527A0EAB644D39BDC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_3EE746C88749C5024860EAB644D370CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_C06A9F4957A4D5D527A0EAB644D39BDC" xlink:to="loc_us-gaap_StatementClassOfStockAxis_3EE746C88749C5024860EAB644D370CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_0F36CEE46816FE66AAF5EAB644D3EB19_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3EE746C88749C5024860EAB644D370CA" xlink:to="loc_us-gaap_ClassOfStockDomain_0F36CEE46816FE66AAF5EAB644D3EB19_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_0F36CEE46816FE66AAF5EAB644D3EB19" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3EE746C88749C5024860EAB644D370CA" xlink:to="loc_us-gaap_ClassOfStockDomain_0F36CEE46816FE66AAF5EAB644D3EB19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_C45DB270AA5A3B6F7584EAB644D331D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_8D69D11C367027D79F4FEAB644D34F0D" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_C45DB270AA5A3B6F7584EAB644D331D6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_7CEFC4FC16126472B9A3E8A157CB8E80" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D3FB1E6EE25EED5AE6A9E8A157CB8E27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_7CEFC4FC16126472B9A3E8A157CB8E80" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D3FB1E6EE25EED5AE6A9E8A157CB8E27" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_2CDA92E4DF2E9FB40BB8E8A157CBC476" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D3FB1E6EE25EED5AE6A9E8A157CB8E27" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_2CDA92E4DF2E9FB40BB8E8A157CBC476" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_42284A4BAACC1A2B631DE8A157CB5FBF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_2CDA92E4DF2E9FB40BB8E8A157CBC476" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_42284A4BAACC1A2B631DE8A157CB5FBF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_42284A4BAACC1A2B631DE8A157CB5FBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_2CDA92E4DF2E9FB40BB8E8A157CBC476" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_42284A4BAACC1A2B631DE8A157CB5FBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_B872EF092636BEF06D99E8A157CB58A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_42284A4BAACC1A2B631DE8A157CB5FBF" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_B872EF092636BEF06D99E8A157CB58A3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_5B919EF196A491B89207E8A157CB8AF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_42284A4BAACC1A2B631DE8A157CB5FBF" xlink:to="loc_wdc_ImpairmentOfAssetsMember_5B919EF196A491B89207E8A157CB8AF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_C9050A95D32E7BF3D12FE8A157CB9EC4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_42284A4BAACC1A2B631DE8A157CB5FBF" xlink:to="loc_us-gaap_ContractTerminationMember_C9050A95D32E7BF3D12FE8A157CB9EC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_950FADA6BEF9EBEC4603E8A157CBCB47" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_D3FB1E6EE25EED5AE6A9E8A157CB8E27" xlink:to="loc_us-gaap_RestructuringPlanAxis_950FADA6BEF9EBEC4603E8A157CBCB47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_52EE4FD81425E0C0D369E8A157CB611D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_950FADA6BEF9EBEC4603E8A157CBCB47" xlink:to="loc_us-gaap_RestructuringPlanDomain_52EE4FD81425E0C0D369E8A157CB611D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_52EE4FD81425E0C0D369E8A157CB611D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_950FADA6BEF9EBEC4603E8A157CBCB47" xlink:to="loc_us-gaap_RestructuringPlanDomain_52EE4FD81425E0C0D369E8A157CB611D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_08F04D3EA25FABB47EB6E8A157CB45F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_52EE4FD81425E0C0D369E8A157CB611D" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_08F04D3EA25FABB47EB6E8A157CB45F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_77782E4EF922B88297B3E8A157CBAEBB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_7CEFC4FC16126472B9A3E8A157CB8E80" xlink:to="loc_us-gaap_RestructuringReserveRollForward_77782E4EF922B88297B3E8A157CBAEBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_7A7A31C3FA80E8582F20E8A157CB522C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_77782E4EF922B88297B3E8A157CBAEBB" xlink:to="loc_us-gaap_RestructuringReserve_7A7A31C3FA80E8582F20E8A157CB522C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_6333BC544F4FFA73DC70E8A157CCCB62" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_77782E4EF922B88297B3E8A157CBAEBB" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_6333BC544F4FFA73DC70E8A157CCCB62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_48C59947484E7DF9CB22E8A157CCADA6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_77782E4EF922B88297B3E8A157CBAEBB" xlink:to="loc_us-gaap_PaymentsForRestructuring_48C59947484E7DF9CB22E8A157CCADA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_503E120012A5B5194156E8A157CCBF4F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_77782E4EF922B88297B3E8A157CBAEBB" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_503E120012A5B5194156E8A157CCBF4F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_30C919F958CDC67CDF06D2541A99316B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_18D53FF414FDD5437822D2541A993D7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_30C919F958CDC67CDF06D2541A99316B" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_18D53FF414FDD5437822D2541A993D7C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_E8E64C02DC2B56D46AF8D2541A99297E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_18D53FF414FDD5437822D2541A993D7C" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_E8E64C02DC2B56D46AF8D2541A99297E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B15BAE75D1A4E918C798D2541A99A320_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E8E64C02DC2B56D46AF8D2541A99297E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B15BAE75D1A4E918C798D2541A99A320_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_B15BAE75D1A4E918C798D2541A99A320" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_E8E64C02DC2B56D46AF8D2541A99297E" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_B15BAE75D1A4E918C798D2541A99A320" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_EAA2FFE9629E9CE8BBC3D2541A9941D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_B15BAE75D1A4E918C798D2541A99A320" xlink:to="loc_wdc_ImpairmentOfAssetsMember_EAA2FFE9629E9CE8BBC3D2541A9941D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_137F36B48DCFB8AB218ED2541A996B9C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_18D53FF414FDD5437822D2541A993D7C" xlink:to="loc_us-gaap_RestructuringPlanAxis_137F36B48DCFB8AB218ED2541A996B9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_52E92C6B33218925C6D6D2541A996F45_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_137F36B48DCFB8AB218ED2541A996B9C" xlink:to="loc_us-gaap_RestructuringPlanDomain_52E92C6B33218925C6D6D2541A996F45_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_52E92C6B33218925C6D6D2541A996F45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_137F36B48DCFB8AB218ED2541A996B9C" xlink:to="loc_us-gaap_RestructuringPlanDomain_52E92C6B33218925C6D6D2541A996F45" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_DE5701FFF3F7F04138A5D2541A997176" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_52E92C6B33218925C6D6D2541A996F45" xlink:to="loc_wdc_RestructuringPlanMember_DE5701FFF3F7F04138A5D2541A997176" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_FDF8FA7F7D00C00375EAD2541A99A4E8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_52E92C6B33218925C6D6D2541A996F45" xlink:to="loc_wdc_OdawaraMember_FDF8FA7F7D00C00375EAD2541A99A4E8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_4ED93CD77B9A4FE58FFCD2541A99CA3C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_52E92C6B33218925C6D6D2541A996F45" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_4ED93CD77B9A4FE58FFCD2541A99CA3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_DC502F109B334E6C4746D2541A99E542" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_30C919F958CDC67CDF06D2541A99316B" xlink:to="loc_us-gaap_RestructuringCharges_DC502F109B334E6C4746D2541A99E542" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost_487FACE490EC7C1F1FB3D2541A991B01" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_30C919F958CDC67CDF06D2541A99316B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAcceleratedCompensationCost_487FACE490EC7C1F1FB3D2541A991B01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetImpairmentCharges" xlink:label="loc_us-gaap_AssetImpairmentCharges_BD39F0144527904911DCD2541A99FFA2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_30C919F958CDC67CDF06D2541A99316B" xlink:to="loc_us-gaap_AssetImpairmentCharges_BD39F0144527904911DCD2541A99FFA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostsAndAssetImpairmentCharges" xlink:label="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_60B249B399E868F09823D2541A996429" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_30C919F958CDC67CDF06D2541A99316B" xlink:to="loc_us-gaap_RestructuringCostsAndAssetImpairmentCharges_60B249B399E868F09823D2541A996429" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesOdawaraPlantClosureDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_8B73D06BA83AF4AB8118E8A157DBF31A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_13397D7FBC27243592D0E8A157D5ED8A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_8B73D06BA83AF4AB8118E8A157DBF31A" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_13397D7FBC27243592D0E8A157D5ED8A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_F3F420D310E9EE417B60E8A157D67236" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_13397D7FBC27243592D0E8A157D5ED8A" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_F3F420D310E9EE417B60E8A157D67236" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_7A2E943DC2BB0699CAECE8A157D634D8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_F3F420D310E9EE417B60E8A157D67236" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_7A2E943DC2BB0699CAECE8A157D634D8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_7A2E943DC2BB0699CAECE8A157D634D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_F3F420D310E9EE417B60E8A157D67236" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_7A2E943DC2BB0699CAECE8A157D634D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_5E32DFEA0C2FCAEE42B0E8A157D666E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_7A2E943DC2BB0699CAECE8A157D634D8" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_5E32DFEA0C2FCAEE42B0E8A157D666E1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_61996614C75BD93AD2DBE8A157DBE109" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_7A2E943DC2BB0699CAECE8A157D634D8" xlink:to="loc_wdc_ImpairmentOfAssetsMember_61996614C75BD93AD2DBE8A157DBE109" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_168F74F8B4F8DFAF9F60E8A157DB3B36" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_7A2E943DC2BB0699CAECE8A157D634D8" xlink:to="loc_us-gaap_ContractTerminationMember_168F74F8B4F8DFAF9F60E8A157DB3B36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_B3EAD324E88FBAA1C557E8A157DBF7E1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_13397D7FBC27243592D0E8A157D5ED8A" xlink:to="loc_us-gaap_RestructuringPlanAxis_B3EAD324E88FBAA1C557E8A157DBF7E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_25D44B8B642B23C40471E8A157DBC328_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_B3EAD324E88FBAA1C557E8A157DBF7E1" xlink:to="loc_us-gaap_RestructuringPlanDomain_25D44B8B642B23C40471E8A157DBC328_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_25D44B8B642B23C40471E8A157DBC328" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_B3EAD324E88FBAA1C557E8A157DBF7E1" xlink:to="loc_us-gaap_RestructuringPlanDomain_25D44B8B642B23C40471E8A157DBC328" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_2798D1D462B040E2A68BE8A157DB65EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_25D44B8B642B23C40471E8A157DBC328" xlink:to="loc_wdc_OdawaraMember_2798D1D462B040E2A68BE8A157DB65EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_D9C9BC23D2DAB2559813E8A157DB7804" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_8B73D06BA83AF4AB8118E8A157DBF31A" xlink:to="loc_us-gaap_RestructuringReserveRollForward_D9C9BC23D2DAB2559813E8A157DB7804" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_D21590B761B25549289DE8A157DB8345" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_D9C9BC23D2DAB2559813E8A157DB7804" xlink:to="loc_us-gaap_RestructuringReserve_D21590B761B25549289DE8A157DB8345" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_733072E290C397319081E8A157DBF81C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_D9C9BC23D2DAB2559813E8A157DB7804" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_733072E290C397319081E8A157DBF81C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_CE7402EA63338CE44AF6E8A157DCDD7B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_D9C9BC23D2DAB2559813E8A157DB7804" xlink:to="loc_us-gaap_PaymentsForRestructuring_CE7402EA63338CE44AF6E8A157DCDD7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_BD8423D99514127E6358E8A157DC0D37" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_D9C9BC23D2DAB2559813E8A157DB7804" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_BD8423D99514127E6358E8A157DC0D37" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SeveranceAndOtherChargesLineItems" xlink:label="loc_wdc_SeveranceAndOtherChargesLineItems_0B8110CA6A16B2DFE7DAE8A157E7B529" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_DA40A0A324259161D552E8A157E6B2E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SeveranceAndOtherChargesLineItems_0B8110CA6A16B2DFE7DAE8A157E7B529" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_DA40A0A324259161D552E8A157E6B2E2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_77F6EFB86262ECDF663BE8A157E6167E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_DA40A0A324259161D552E8A157E6B2E2" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_77F6EFB86262ECDF663BE8A157E6167E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_61D155BFBD7C83C711D0E8A157E69F1E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_77F6EFB86262ECDF663BE8A157E6167E" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_61D155BFBD7C83C711D0E8A157E69F1E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_61D155BFBD7C83C711D0E8A157E69F1E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_77F6EFB86262ECDF663BE8A157E6167E" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_61D155BFBD7C83C711D0E8A157E69F1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_FB1CE17D114809DFC6D6E8A157E65A9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_61D155BFBD7C83C711D0E8A157E69F1E" xlink:to="loc_us-gaap_CostOfSalesMember_FB1CE17D114809DFC6D6E8A157E65A9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_00DF2B9A85B71B288C5DE8A157E733BF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_DA40A0A324259161D552E8A157E6B2E2" xlink:to="loc_us-gaap_RestructuringPlanAxis_00DF2B9A85B71B288C5DE8A157E733BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C6608DE35AE181FD41D2E8A157E7BF98_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_00DF2B9A85B71B288C5DE8A157E733BF" xlink:to="loc_us-gaap_RestructuringPlanDomain_C6608DE35AE181FD41D2E8A157E7BF98_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_C6608DE35AE181FD41D2E8A157E7BF98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_00DF2B9A85B71B288C5DE8A157E733BF" xlink:to="loc_us-gaap_RestructuringPlanDomain_C6608DE35AE181FD41D2E8A157E7BF98" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_DFC9FAF49545CD6F2D4DE8A157E7D03F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_C6608DE35AE181FD41D2E8A157E7BF98" xlink:to="loc_wdc_RestructuringPlanMember_DFC9FAF49545CD6F2D4DE8A157E7D03F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_1C40D1F413A42A536B25E8A157E7F262" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_DA40A0A324259161D552E8A157E6B2E2" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_1C40D1F413A42A536B25E8A157E7F262" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_5F3CF032AF49E0EDC773E8A157E745EF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_1C40D1F413A42A536B25E8A157E7F262" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_5F3CF032AF49E0EDC773E8A157E745EF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_5F3CF032AF49E0EDC773E8A157E745EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_1C40D1F413A42A536B25E8A157E7F262" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_5F3CF032AF49E0EDC773E8A157E745EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_306007B41D8BB77430EBE8A157E70A72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_5F3CF032AF49E0EDC773E8A157E745EF" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_306007B41D8BB77430EBE8A157E70A72" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ImpairmentOfAssetsMember" xlink:label="loc_wdc_ImpairmentOfAssetsMember_03A62FE196E15B84B00BE8A157E7E5BA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_5F3CF032AF49E0EDC773E8A157E745EF" xlink:to="loc_wdc_ImpairmentOfAssetsMember_03A62FE196E15B84B00BE8A157E7E5BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="loc_us-gaap_ContractTerminationMember_3EF770A92A03924195A9E8A157E789B4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_5F3CF032AF49E0EDC773E8A157E745EF" xlink:to="loc_us-gaap_ContractTerminationMember_3EF770A92A03924195A9E8A157E789B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_02CA42CCA8BA37AF6E4BE8A157E85CB4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SeveranceAndOtherChargesLineItems_0B8110CA6A16B2DFE7DAE8A157E7B529" xlink:to="loc_us-gaap_RestructuringReserveRollForward_02CA42CCA8BA37AF6E4BE8A157E85CB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_520D8EF1EF15009E8FE3E8A157E8497C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_02CA42CCA8BA37AF6E4BE8A157E85CB4" xlink:to="loc_us-gaap_RestructuringReserve_520D8EF1EF15009E8FE3E8A157E8497C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_D47F1417D5E33AEE20B9E8A157EDDE8F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_02CA42CCA8BA37AF6E4BE8A157E85CB4" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_D47F1417D5E33AEE20B9E8A157EDDE8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_880BA2CBCDB39A2823C4E8A157ED9966" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_02CA42CCA8BA37AF6E4BE8A157E85CB4" xlink:to="loc_us-gaap_PaymentsForRestructuring_880BA2CBCDB39A2823C4E8A157ED9966" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash2" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash2_C59040CDE2141D8D9ECAE8A157ED1C30" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_02CA42CCA8BA37AF6E4BE8A157E85CB4" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash2_C59040CDE2141D8D9ECAE8A157ED1C30" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlanTextualsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_52371F8C56B50C0FFDB2EAB643B1CF79" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_F730FFBA77A03ED1BF8AEAB643AB5680" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_52371F8C56B50C0FFDB2EAB643B1CF79" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_F730FFBA77A03ED1BF8AEAB643AB5680" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_5AC3868FFA15D971C591EAB643ACAE01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_F730FFBA77A03ED1BF8AEAB643AB5680" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_5AC3868FFA15D971C591EAB643ACAE01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_58CE09C0AF039D684169EAB643B1D2C5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_5AC3868FFA15D971C591EAB643ACAE01" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_58CE09C0AF039D684169EAB643B1D2C5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_58CE09C0AF039D684169EAB643B1D2C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_5AC3868FFA15D971C591EAB643ACAE01" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_58CE09C0AF039D684169EAB643B1D2C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_EF8600AF3984C17948BAEAB643B16793" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_F730FFBA77A03ED1BF8AEAB643AB5680" xlink:to="loc_us-gaap_RestructuringPlanAxis_EF8600AF3984C17948BAEAB643B16793" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_04E08C625063CB37BB04EAB643B16A94_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_EF8600AF3984C17948BAEAB643B16793" xlink:to="loc_us-gaap_RestructuringPlanDomain_04E08C625063CB37BB04EAB643B16A94_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_04E08C625063CB37BB04EAB643B16A94" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_EF8600AF3984C17948BAEAB643B16793" xlink:to="loc_us-gaap_RestructuringPlanDomain_04E08C625063CB37BB04EAB643B16A94" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_F1B9868B17C95321BAB4EAB643B1AF40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_04E08C625063CB37BB04EAB643B16A94" xlink:to="loc_wdc_RestructuringPlanMember_F1B9868B17C95321BAB4EAB643B1AF40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_D7DE5064D8B6B428DCFBEAB643B1E501" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_F730FFBA77A03ED1BF8AEAB643AB5680" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_D7DE5064D8B6B428DCFBEAB643B1E501" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B4E920C00BA5EF062DB0EAB643B179A3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_D7DE5064D8B6B428DCFBEAB643B1E501" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B4E920C00BA5EF062DB0EAB643B179A3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B4E920C00BA5EF062DB0EAB643B179A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_D7DE5064D8B6B428DCFBEAB643B1E501" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B4E920C00BA5EF062DB0EAB643B179A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_06203B61D7762024A7C0EAB643B1D221" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_B4E920C00BA5EF062DB0EAB643B179A3" xlink:to="loc_us-gaap_CostOfSalesMember_06203B61D7762024A7C0EAB643B1D221" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringReserveAcceleratedDepreciation" xlink:label="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_AB5987E846AF9B55AFE5EAB643B16BA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_52371F8C56B50C0FFDB2EAB643B1CF79" xlink:to="loc_us-gaap_RestructuringReserveAcceleratedDepreciation_AB5987E846AF9B55AFE5EAB643B16BA2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_58D798671E56B922316DEAB6451B5A21" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_199261581A90CEA3A60EEAB6451BF5A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_58D798671E56B922316DEAB6451B5A21" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_199261581A90CEA3A60EEAB6451BF5A9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_D3570390EE101B53CF6EEAB6451B1BDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_199261581A90CEA3A60EEAB6451BF5A9" xlink:to="loc_us-gaap_RestructuringPlanAxis_D3570390EE101B53CF6EEAB6451B1BDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_CC88065EEF5B8329601BEAB6451BD3EA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_D3570390EE101B53CF6EEAB6451B1BDA" xlink:to="loc_us-gaap_RestructuringPlanDomain_CC88065EEF5B8329601BEAB6451BD3EA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_CC88065EEF5B8329601BEAB6451BD3EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_D3570390EE101B53CF6EEAB6451B1BDA" xlink:to="loc_us-gaap_RestructuringPlanDomain_CC88065EEF5B8329601BEAB6451BD3EA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_RestructuringPlanMember" xlink:label="loc_wdc_RestructuringPlanMember_37DA97AD68AEEAEBDF8AEAB6451BF28C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_CC88065EEF5B8329601BEAB6451BD3EA" xlink:to="loc_wdc_RestructuringPlanMember_37DA97AD68AEEAEBDF8AEAB6451BF28C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OdawaraMember" xlink:label="loc_wdc_OdawaraMember_928BDAE08499420C820FEAB6451BE825" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_CC88065EEF5B8329601BEAB6451BD3EA" xlink:to="loc_wdc_OdawaraMember_928BDAE08499420C820FEAB6451BE825" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BusinessRealignmentActivitiesMember" xlink:label="loc_wdc_BusinessRealignmentActivitiesMember_E5E81E77352DDCA18803EAB6451B6CE4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_CC88065EEF5B8329601BEAB6451BD3EA" xlink:to="loc_wdc_BusinessRealignmentActivitiesMember_E5E81E77352DDCA18803EAB6451B6CE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:label="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_CA0652B2B60F1F0A42B4EAB6451B5F6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_58D798671E56B922316DEAB6451B5A21" xlink:to="loc_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_CA0652B2B60F1F0A42B4EAB6451B5F6B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementPolicies" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_DB92AB59B49889A73ADDC4533CCE59DE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_2FE2E33DDCD19E4E0348C4533CCD3ACA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_DB92AB59B49889A73ADDC4533CCE59DE" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_2FE2E33DDCD19E4E0348C4533CCD3ACA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_49C587E25EA0392CF158C4533CCDE86C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_2FE2E33DDCD19E4E0348C4533CCD3ACA" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_49C587E25EA0392CF158C4533CCDE86C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7692FA9A83ACB92E9960C4533CCDE1CE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_49C587E25EA0392CF158C4533CCDE86C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7692FA9A83ACB92E9960C4533CCDE1CE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7692FA9A83ACB92E9960C4533CCDE1CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_49C587E25EA0392CF158C4533CCDE86C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7692FA9A83ACB92E9960C4533CCDE1CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_19EBF68A0C5B4BDD8C20C4533CCD3A61" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_2FE2E33DDCD19E4E0348C4533CCD3ACA" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_19EBF68A0C5B4BDD8C20C4533CCD3A61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4B3883E750A436D4A27DC4533CCDAB1A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_19EBF68A0C5B4BDD8C20C4533CCD3A61" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4B3883E750A436D4A27DC4533CCDAB1A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4B3883E750A436D4A27DC4533CCDAB1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_19EBF68A0C5B4BDD8C20C4533CCD3A61" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4B3883E750A436D4A27DC4533CCDAB1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_A36A51A64213DDE07BB3C4533CCD0321" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_2FE2E33DDCD19E4E0348C4533CCD3ACA" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_A36A51A64213DDE07BB3C4533CCD0321" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_FA9B40E3C91B8671AC65C4533CCEF746_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_A36A51A64213DDE07BB3C4533CCD0321" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_FA9B40E3C91B8671AC65C4533CCEF746_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_FA9B40E3C91B8671AC65C4533CCEF746" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_A36A51A64213DDE07BB3C4533CCD0321" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_FA9B40E3C91B8671AC65C4533CCEF746" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareholdersEquityClassAxis" xlink:label="loc_us-gaap_ShareholdersEquityClassAxis_0726C61D14BB66979616C4533CCE5951" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_2FE2E33DDCD19E4E0348C4533CCD3ACA" xlink:to="loc_us-gaap_ShareholdersEquityClassAxis_0726C61D14BB66979616C4533CCE5951" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain" xlink:label="loc_us-gaap_FairValueByShareholdersEquityClassDomain_017FAA223155B89DB981C4533CCE410B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareholdersEquityClassAxis_0726C61D14BB66979616C4533CCE5951" xlink:to="loc_us-gaap_FairValueByShareholdersEquityClassDomain_017FAA223155B89DB981C4533CCE410B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByShareholdersEquityClassDomain" xlink:label="loc_us-gaap_FairValueByShareholdersEquityClassDomain_017FAA223155B89DB981C4533CCE410B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareholdersEquityClassAxis_0726C61D14BB66979616C4533CCE5951" xlink:to="loc_us-gaap_FairValueByShareholdersEquityClassDomain_017FAA223155B89DB981C4533CCE410B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E4574D304931EAABC6FC4533CCE576E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_2FE2E33DDCD19E4E0348C4533CCD3ACA" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E4574D304931EAABC6FC4533CCE576E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1EE05B55FB272918D726C4533CCE6DF7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E4574D304931EAABC6FC4533CCE576E" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1EE05B55FB272918D726C4533CCE6DF7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1EE05B55FB272918D726C4533CCE6DF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7E4574D304931EAABC6FC4533CCE576E" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1EE05B55FB272918D726C4533CCE6DF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:label="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_CA96CE01ABF4A306F7BAC4533CCE5296" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_DB92AB59B49889A73ADDC4533CCE59DE" xlink:to="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_CA96CE01ABF4A306F7BAC4533CCE5296" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_CE4DB865040F72101A35C4761B2108A9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1EDC051C881663682372C4761B1FDF4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_CE4DB865040F72101A35C4761B2108A9" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1EDC051C881663682372C4761B1FDF4E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_BD990F3AC305774717AEC4761B36881A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1EDC051C881663682372C4761B1FDF4E" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_BD990F3AC305774717AEC4761B36881A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B12AFB0E396FFE8181CAC4761B384BE3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_BD990F3AC305774717AEC4761B36881A" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B12AFB0E396FFE8181CAC4761B384BE3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B12AFB0E396FFE8181CAC4761B384BE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_BD990F3AC305774717AEC4761B36881A" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B12AFB0E396FFE8181CAC4761B384BE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_7907A2F1C58ABB534459C4761B516AD7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_B12AFB0E396FFE8181CAC4761B384BE3" xlink:to="loc_us-gaap_CallOptionMember_7907A2F1C58ABB534459C4761B516AD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeOptionMember" xlink:label="loc_us-gaap_ForeignExchangeOptionMember_FD676CC6DA0B70996775C4761B5FFA01" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_B12AFB0E396FFE8181CAC4761B384BE3" xlink:to="loc_us-gaap_ForeignExchangeOptionMember_FD676CC6DA0B70996775C4761B5FFA01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract" xlink:label="loc_us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract_C1438F9F9E357B14CCADC4712469C0E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_CE4DB865040F72101A35C4761B2108A9" xlink:to="loc_us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract_C1438F9F9E357B14CCADC4712469C0E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsLevel1ToLevel2TransfersDescription" xlink:label="loc_us-gaap_FairValueAssetsLevel1ToLevel2TransfersDescription_C2C3CB6149300B0F2B79C47047DD92A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract_C1438F9F9E357B14CCADC4712469C0E7" xlink:to="loc_us-gaap_FairValueAssetsLevel1ToLevel2TransfersDescription_C2C3CB6149300B0F2B79C47047DD92A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsLevel2ToLevel1TransfersDescription" xlink:label="loc_us-gaap_FairValueAssetsLevel2ToLevel1TransfersDescription_5507398EF10B57B20FC9C47047E727C0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract_C1438F9F9E357B14CCADC4712469C0E7" xlink:to="loc_us-gaap_FairValueAssetsLevel2ToLevel1TransfersDescription_5507398EF10B57B20FC9C47047E727C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersDescription" xlink:label="loc_us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersDescription_BFF71FC65826ED4438B9C47047EFB1DE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract_C1438F9F9E357B14CCADC4712469C0E7" xlink:to="loc_us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersDescription_BFF71FC65826ED4438B9C47047EFB1DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersDescription" xlink:label="loc_us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersDescription_C98729E26271043D7946C47047F62F01" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueTransfersBetweenLevel1AndLevel2DescriptionAndPolicyAbstract_C1438F9F9E357B14CCADC4712469C0E7" xlink:to="loc_us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersDescription_C98729E26271043D7946C47047F62F01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersNetAbstract" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersNetAbstract_7E1883014751596D7624C472D8796E12" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_CE4DB865040F72101A35C4761B2108A9" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersNetAbstract_7E1883014751596D7624C472D8796E12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_72FD5884C466E82664B8C4704801D66A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersNetAbstract_7E1883014751596D7624C472D8796E12" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_72FD5884C466E82664B8C4704801D66A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CostMethodInvestmentsAbstract" xlink:label="loc_wdc_CostMethodInvestmentsAbstract_361049C734F812757DC7C474ED884A57" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_CE4DB865040F72101A35C4761B2108A9" xlink:to="loc_wdc_CostMethodInvestmentsAbstract_361049C734F812757DC7C474ED884A57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostMethodInvestments" xlink:label="loc_us-gaap_CostMethodInvestments_70A3E3A189C87079FF1AC45322428B9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CostMethodInvestmentsAbstract_361049C734F812757DC7C474ED884A57" xlink:to="loc_us-gaap_CostMethodInvestments_70A3E3A189C87079FF1AC45322428B9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostmethodInvestmentsOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_CostmethodInvestmentsOtherThanTemporaryImpairment_DAEA2A7DA2152CD29ED0C45322423504" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_CostMethodInvestmentsAbstract_361049C734F812757DC7C474ED884A57" xlink:to="loc_us-gaap_CostmethodInvestmentsOtherThanTemporaryImpairment_DAEA2A7DA2152CD29ED0C45322423504" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAvailableForSaleSecuritiesMaturitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsCashAndMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsLineItems" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems_47ADC3A6DD29CDF40D61C453356C347D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_FC54D8F5C781B5EC0102C453356BBC38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_47ADC3A6DD29CDF40D61C453356C347D" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_FC54D8F5C781B5EC0102C453356BBC38" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_AB914F213A67F91D3A55C453356BD864" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_FC54D8F5C781B5EC0102C453356BBC38" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_AB914F213A67F91D3A55C453356BD864" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_75B205375B905C1886E8C453356B222D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_AB914F213A67F91D3A55C453356BD864" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_75B205375B905C1886E8C453356B222D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_75B205375B905C1886E8C453356B222D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_AB914F213A67F91D3A55C453356BD864" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_75B205375B905C1886E8C453356B222D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_FFA5E2BCA5A3D7CE6495C453356CEFCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_47ADC3A6DD29CDF40D61C453356C347D" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_FFA5E2BCA5A3D7CE6495C453356CEFCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketableSecuritiesCurrent" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_32CC2813D06A21F1331AC453356C8C86" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_47ADC3A6DD29CDF40D61C453356C347D" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_32CC2813D06A21F1331AC453356C8C86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketableSecuritiesNoncurrent" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_C97488B5AAF13A8299BAC453356CB359" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_47ADC3A6DD29CDF40D61C453356C347D" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_C97488B5AAF13A8299BAC453356CB359" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TotalCashAndCashEquivalentsAndMarketableSecurities" xlink:label="loc_wdc_TotalCashAndCashEquivalentsAndMarketableSecurities_4124FC6622E1BE0AF367C453356C3647" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_47ADC3A6DD29CDF40D61C453356C347D" xlink:to="loc_wdc_TotalCashAndCashEquivalentsAndMarketableSecurities_4124FC6622E1BE0AF367C453356C3647" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsDebtInstrumentFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_7C7E27FB1A580F8E0CDFF2EB4E59318E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_55942E6F842DABD4012CF2EB4E570362" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7C7E27FB1A580F8E0CDFF2EB4E59318E" xlink:to="loc_us-gaap_DebtInstrumentTable_55942E6F842DABD4012CF2EB4E570362" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_CB14440D695C650C3BA2F2EB4E583640" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_55942E6F842DABD4012CF2EB4E570362" xlink:to="loc_us-gaap_DebtInstrumentAxis_CB14440D695C650C3BA2F2EB4E583640" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_CB14440D695C650C3BA2F2EB4E583640" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_CB14440D695C650C3BA2F2EB4E583640" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_5EDF4D2B41359D6A2939F2EB4E58FECB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_SecuredNotesMember_5EDF4D2B41359D6A2939F2EB4E58FECB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_54BE9D5251FBF28FB159F2EB4E58D149" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_UnsecuredNotesMember_54BE9D5251FBF28FB159F2EB4E58D149" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_06F9775622CCF47B19B8F2EB4E582387" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_TermLoanAMember_06F9775622CCF47B19B8F2EB4E582387" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_C20B90BE575426561C44F2EB4E58FE63" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_U.S.TermLoanBMember_C20B90BE575426561C44F2EB4E58FE63" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanB1Member" xlink:label="loc_wdc_U.S.TermLoanB1Member_D3B308A16513041C6E42F2EB4E583EC3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_U.S.TermLoanB1Member_D3B308A16513041C6E42F2EB4E583EC3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_BF2712BC9532A30C43AEF2EB4E58FDC0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_U.S.TermLoanB2Member_BF2712BC9532A30C43AEF2EB4E58FDC0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_DC913D0EAE42008FEDA2F2EB4E58912C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_EuroTermLoanBMember_DC913D0EAE42008FEDA2F2EB4E58912C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanB1Member" xlink:label="loc_wdc_EuroTermLoanB1Member_BE16D2262DF207C0B6CDF2EB4E583855" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_EuroTermLoanB1Member_BE16D2262DF207C0B6CDF2EB4E583855" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_7838149ABDA510B38047F2EB4E58538E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_EuroTermLoanB2Member_7838149ABDA510B38047F2EB4E58538E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_531F0F3577CF479CB879F2EB4E598138" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_us-gaap_BridgeLoanMember_531F0F3577CF479CB879F2EB4E598138" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_B08FF9BA50959BE7A229F2EB4E592A96" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandSeventeenMember_B08FF9BA50959BE7A229F2EB4E592A96" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember" xlink:label="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_EA16FDD5B76450DA6362F2EB4E59412C" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember_EA16FDD5B76450DA6362F2EB4E59412C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DebtCostMember" xlink:label="loc_wdc_DebtCostMember_D029A8BDF9F8658CA7E0F2EB4E59A67A" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_33F12BDA703D11CAAE24F2EB4E5801A2" xlink:to="loc_wdc_DebtCostMember_D029A8BDF9F8658CA7E0F2EB4E59A67A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_913E2BB0077247A7C1D8F2EB4E596713" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7C7E27FB1A580F8E0CDFF2EB4E59318E" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_913E2BB0077247A7C1D8F2EB4E596713" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_91AC8729B21FEBFD874AF2EB4E5964AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7C7E27FB1A580F8E0CDFF2EB4E59318E" xlink:to="loc_us-gaap_LongTermDebt_91AC8729B21FEBFD874AF2EB4E5964AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_302CCF5977ABBB05EEDBF2EB4E59B7A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7C7E27FB1A580F8E0CDFF2EB4E59318E" xlink:to="loc_us-gaap_LongTermDebtFairValue_302CCF5977ABBB05EEDBF2EB4E59B7A5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_732AE5F3EF516053AC19F2EB4E6E2C6A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_732A2F40909A5F71E605F2EB4E6C20E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_732AE5F3EF516053AC19F2EB4E6E2C6A" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_732A2F40909A5F71E605F2EB4E6C20E8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_6557142FD66C711E1E99F2EB4E6CC808" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_732A2F40909A5F71E605F2EB4E6C20E8" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_6557142FD66C711E1E99F2EB4E6CC808" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_955A2FE5906ED977370AF2EB4E6C2CBB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6557142FD66C711E1E99F2EB4E6CC808" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_955A2FE5906ED977370AF2EB4E6C2CBB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_955A2FE5906ED977370AF2EB4E6C2CBB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6557142FD66C711E1E99F2EB4E6CC808" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_955A2FE5906ED977370AF2EB4E6C2CBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_A3E06FB6D648EA242D57F2EB4E6CA3A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_955A2FE5906ED977370AF2EB4E6C2CBB" xlink:to="loc_us-gaap_CallOptionMember_A3E06FB6D648EA242D57F2EB4E6CA3A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeOptionMember" xlink:label="loc_us-gaap_ForeignExchangeOptionMember_1286ADD95F28B602FD63F2EB4E6CE499" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_955A2FE5906ED977370AF2EB4E6C2CBB" xlink:to="loc_us-gaap_ForeignExchangeOptionMember_1286ADD95F28B602FD63F2EB4E6CE499" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_ABEC80C8F06FAB29C419F2EB4E6CFE54" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_732A2F40909A5F71E605F2EB4E6C20E8" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_ABEC80C8F06FAB29C419F2EB4E6CFE54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A9A304C5D0D0D811C9CF2EB4E6C90A5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_ABEC80C8F06FAB29C419F2EB4E6CFE54" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A9A304C5D0D0D811C9CF2EB4E6C90A5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A9A304C5D0D0D811C9CF2EB4E6C90A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_ABEC80C8F06FAB29C419F2EB4E6CFE54" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A9A304C5D0D0D811C9CF2EB4E6C90A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_1BDFF8B317B6AAF7C92AF2EB4E6C1196" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A9A304C5D0D0D811C9CF2EB4E6C90A5" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_1BDFF8B317B6AAF7C92AF2EB4E6C1196" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_F544834D8ECF83883379F2EB4E6C6BE4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_732A2F40909A5F71E605F2EB4E6C20E8" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_F544834D8ECF83883379F2EB4E6C6BE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_F544834D8ECF83883379F2EB4E6C6BE4" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_F544834D8ECF83883379F2EB4E6C6BE4" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_C85FC826D47B0114D59DF2EB4E6D0176" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_MoneyMarketFundsMember_C85FC826D47B0114D59DF2EB4E6D0176" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_3C165465FC705BEE6CB5F2EB4E6D136A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_CertificatesOfDepositMember_3C165465FC705BEE6CB5F2EB4E6D136A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_4ADAB8DB217639CC2032F2EB4E6D5913" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_4ADAB8DB217639CC2032F2EB4E6D5913" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_A0565E915B9EF9294AFFF2EB4E6D7307" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_A0565E915B9EF9294AFFF2EB4E6D7307" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_BEA958857E53E23082A6F2EB4E6D8652" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_BEA958857E53E23082A6F2EB4E6D8652" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CorporatenoteandbondsecuritiesMember" xlink:label="loc_wdc_CorporatenoteandbondsecuritiesMember_97FB924E925FABEF98F0F2EB4E6DF5FD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_wdc_CorporatenoteandbondsecuritiesMember_97FB924E925FABEF98F0F2EB4E6DF5FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_96F245F680EC734BDEA4F2EB4E6D2E8B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_96F245F680EC734BDEA4F2EB4E6D2E8B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_MunicipalNotesAndBondsMember" xlink:label="loc_wdc_MunicipalNotesAndBondsMember_E74BE76C6D44DC92FB5DF2EB4E6DD2BD" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_wdc_MunicipalNotesAndBondsMember_E74BE76C6D44DC92FB5DF2EB4E6DD2BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_8ED66BC5B32D46DED691F2EB4E6DC217" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_EquitySecuritiesMember_8ED66BC5B32D46DED691F2EB4E6DC217" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_D1F123647821CA7D048CF2EB4E6D867F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_CommercialPaperMember_D1F123647821CA7D048CF2EB4E6D867F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_F30A8CF2ED4993AC1671F2EB4E6DFF62" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_ForeignExchangeContractMember_F30A8CF2ED4993AC1671F2EB4E6DFF62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_3E83BAB6F98C9723EBF1F2EB4E6DC71B" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_us-gaap_InterestRateSwapMember_3E83BAB6F98C9723EBF1F2EB4E6DC71B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_HedgingActivitiesMember" xlink:label="loc_wdc_HedgingActivitiesMember_99EED6C6DD84DC7CAF3CF2EB4E6DD17F" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_wdc_HedgingActivitiesMember_99EED6C6DD84DC7CAF3CF2EB4E6DD17F" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NoteConversionOptionsMember" xlink:label="loc_wdc_NoteConversionOptionsMember_4457B4C4C5DD7334484CF2EB4E6EAAAD" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4C2E64C8E614C9C2AC45F2EB4E6C6481" xlink:to="loc_wdc_NoteConversionOptionsMember_4457B4C4C5DD7334484CF2EB4E6EAAAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_90EEF7CE2FCE90AA7590F2EB4E6E67D0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_732A2F40909A5F71E605F2EB4E6C20E8" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_90EEF7CE2FCE90AA7590F2EB4E6E67D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_96A019A2778450DB4D72F2EB4E6E1030_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_90EEF7CE2FCE90AA7590F2EB4E6E67D0" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_96A019A2778450DB4D72F2EB4E6E1030_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_96A019A2778450DB4D72F2EB4E6E1030" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_90EEF7CE2FCE90AA7590F2EB4E6E67D0" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_96A019A2778450DB4D72F2EB4E6E1030" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_5B4DF4885AA82552C2E3F2EB4E6E038B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_96A019A2778450DB4D72F2EB4E6E1030" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_5B4DF4885AA82552C2E3F2EB4E6E038B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_FB74376A2AB3CA833C82F2EB4E6E1DC3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_96A019A2778450DB4D72F2EB4E6E1030" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_FB74376A2AB3CA833C82F2EB4E6E1DC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7DC333DF31E570BDD2AEF2EB4E6E8A7A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_96A019A2778450DB4D72F2EB4E6E1030" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7DC333DF31E570BDD2AEF2EB4E6E8A7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_7CDC716031849174A086F2EB4E6E1CE1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_732AE5F3EF516053AC19F2EB4E6E2C6A" xlink:to="loc_us-gaap_AssetsAbstract_7CDC716031849174A086F2EB4E6E1CE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_CDEBCDA3734E55B0CAA9F2EB4E6E08DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_7CDC716031849174A086F2EB4E6E1CE1" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_CDEBCDA3734E55B0CAA9F2EB4E6E08DB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShorttermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_ShorttermInvestmentsFairValueDisclosure_B11992A12B17B9888289F2EB4E6EBD47" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_7CDC716031849174A086F2EB4E6E1CE1" xlink:to="loc_wdc_ShorttermInvestmentsFairValueDisclosure_B11992A12B17B9888289F2EB4E6EBD47" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_LongtermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_LongtermInvestmentsFairValueDisclosure_90843F768DEE067797F0F2EB4E6EDFC2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_7CDC716031849174A086F2EB4E6E1CE1" xlink:to="loc_wdc_LongtermInvestmentsFairValueDisclosure_90843F768DEE067797F0F2EB4E6EDFC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_04B217C661F46372E665F2EB4E6E15F1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_7CDC716031849174A086F2EB4E6E1CE1" xlink:to="loc_us-gaap_DerivativeAssets_04B217C661F46372E665F2EB4E6E15F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_DB0D98027AF5D0D3C0D3F2EB4E6E5293" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_7CDC716031849174A086F2EB4E6E1CE1" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_DB0D98027AF5D0D3C0D3F2EB4E6E5293" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_A52A5B769395333AD1D7F2EB4E6E97D4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_732AE5F3EF516053AC19F2EB4E6E2C6A" xlink:to="loc_us-gaap_LiabilitiesAbstract_A52A5B769395333AD1D7F2EB4E6E97D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_32BD7140F0E8785164BBF2EB4E6FC76D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A52A5B769395333AD1D7F2EB4E6E97D4" xlink:to="loc_us-gaap_DerivativeLiabilities_32BD7140F0E8785164BBF2EB4E6FC76D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_CFEB5FBC514F3772FF53F2EB4E6F987C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A52A5B769395333AD1D7F2EB4E6E97D4" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_CFEB5FBC514F3772FF53F2EB4E6F987C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsLevelThreeAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_16361B743613137A3F2CF6879DF74F45" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_7153CCC5D1E6FE16C4DAF6879DF66D0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_16361B743613137A3F2CF6879DF74F45" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_7153CCC5D1E6FE16C4DAF6879DF66D0F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_97C84510E68FE7ED914CF6879DF70E0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_7153CCC5D1E6FE16C4DAF6879DF66D0F" xlink:to="loc_us-gaap_AwardDateAxis_97C84510E68FE7ED914CF6879DF70E0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_491708DD05FAFB883EABF6879DF7B063_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_97C84510E68FE7ED914CF6879DF70E0F" xlink:to="loc_us-gaap_AwardDateDomain_491708DD05FAFB883EABF6879DF7B063_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_491708DD05FAFB883EABF6879DF7B063" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_97C84510E68FE7ED914CF6879DF70E0F" xlink:to="loc_us-gaap_AwardDateDomain_491708DD05FAFB883EABF6879DF7B063" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A2017CallOptionsMember" xlink:label="loc_wdc_A2017CallOptionsMember_763A8A04FF6F05963B0AF6879DF753CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_491708DD05FAFB883EABF6879DF7B063" xlink:to="loc_wdc_A2017CallOptionsMember_763A8A04FF6F05963B0AF6879DF753CB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A2020CallOptionsMember" xlink:label="loc_wdc_A2020CallOptionsMember_70131B3D7C0A6CB829C9F6879DF7E7B8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_491708DD05FAFB883EABF6879DF7B063" xlink:to="loc_wdc_A2020CallOptionsMember_70131B3D7C0A6CB829C9F6879DF7E7B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_06F163682CA6FB45A23BF6879DF76438" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_7153CCC5D1E6FE16C4DAF6879DF66D0F" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_06F163682CA6FB45A23BF6879DF76438" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EABE8D64CC47BCC509CCF6879DF78651_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_06F163682CA6FB45A23BF6879DF76438" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EABE8D64CC47BCC509CCF6879DF78651_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EABE8D64CC47BCC509CCF6879DF78651" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_06F163682CA6FB45A23BF6879DF76438" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_EABE8D64CC47BCC509CCF6879DF78651" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_EFD1C771DAE5DBF5DBE8F6879DF7D182" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_7153CCC5D1E6FE16C4DAF6879DF66D0F" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_EFD1C771DAE5DBF5DBE8F6879DF7D182" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_C64B2D5BF09D90B9B1B8F6879DF71937_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_EFD1C771DAE5DBF5DBE8F6879DF7D182" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_C64B2D5BF09D90B9B1B8F6879DF71937_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_C64B2D5BF09D90B9B1B8F6879DF71937" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_EFD1C771DAE5DBF5DBE8F6879DF7D182" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_C64B2D5BF09D90B9B1B8F6879DF71937" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLocationAxis" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_8B812E3329A070BCF889F6879DF70995" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_7153CCC5D1E6FE16C4DAF6879DF66D0F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_8B812E3329A070BCF889F6879DF70995" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLocationDomain" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_A56AD2AF08F96F841A98F6879DF77CAF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_8B812E3329A070BCF889F6879DF70995" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_A56AD2AF08F96F841A98F6879DF77CAF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLocationDomain" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_A56AD2AF08F96F841A98F6879DF77CAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_8B812E3329A070BCF889F6879DF70995" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_A56AD2AF08F96F841A98F6879DF77CAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_84AA096D7B772D77FC6DF6879DF77C71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_16361B743613137A3F2CF6879DF74F45" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_84AA096D7B772D77FC6DF6879DF77C71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3_37901DAF9033DCF654B2F6879DF76BF9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_16361B743613137A3F2CF6879DF74F45" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3_37901DAF9033DCF654B2F6879DF76BF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_A52E75F43231E3B6201EF6879DF71A6A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_16361B743613137A3F2CF6879DF74F45" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_A52E75F43231E3B6201EF6879DF71A6A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_9C7954C1101FDC9067B0F6879DF7E20F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_16361B743613137A3F2CF6879DF74F45" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_9C7954C1101FDC9067B0F6879DF7E20F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_DFE79C9FE06034D5852CF6879DF7CDC1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_16361B743613137A3F2CF6879DF74F45" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_DFE79C9FE06034D5852CF6879DF7CDC1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsLevelThreeLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D4C535B579005F97398CF6842719C669" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_9BDA0638EEF478797091F68427170FC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D4C535B579005F97398CF6842719C669" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_9BDA0638EEF478797091F68427170FC3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_B8E504763382140AB03DF6842718CDD9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable_9BDA0638EEF478797091F68427170FC3" xlink:to="loc_us-gaap_AwardDateAxis_B8E504763382140AB03DF6842718CDD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_9A587BFD53BC0136C78CF68427184590_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_B8E504763382140AB03DF6842718CDD9" xlink:to="loc_us-gaap_AwardDateDomain_9A587BFD53BC0136C78CF68427184590_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_9A587BFD53BC0136C78CF68427184590" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_B8E504763382140AB03DF6842718CDD9" xlink:to="loc_us-gaap_AwardDateDomain_9A587BFD53BC0136C78CF68427184590" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A2017ExchangeOptionMember" xlink:label="loc_wdc_A2017ExchangeOptionMember_2547A7938E19C89CE845F684271860D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_9A587BFD53BC0136C78CF68427184590" xlink:to="loc_wdc_A2017ExchangeOptionMember_2547A7938E19C89CE845F684271860D7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A2017CallOptionsMember" xlink:label="loc_wdc_A2017CallOptionsMember_094D09F6F11642D51EEBF6842719424D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_9A587BFD53BC0136C78CF68427184590" xlink:to="loc_wdc_A2017CallOptionsMember_094D09F6F11642D51EEBF6842719424D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A2020ExchangeOptionMember" xlink:label="loc_wdc_A2020ExchangeOptionMember_5132A60770C36CC9AD7AF6842719ACE9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_9A587BFD53BC0136C78CF68427184590" xlink:to="loc_wdc_A2020ExchangeOptionMember_5132A60770C36CC9AD7AF6842719ACE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_81827C5F8A0B08A8BFFAF68427196B3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D4C535B579005F97398CF6842719C669" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_81827C5F8A0B08A8BFFAF68427196B3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3_F98BF5381E6FA27AD6C9F68427197FC1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D4C535B579005F97398CF6842719C669" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersIntoLevel3_F98BF5381E6FA27AD6C9F68427197FC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_B055B5C9AA2B7B783029F684271B6C7B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D4C535B579005F97398CF6842719C669" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_B055B5C9AA2B7B783029F684271B6C7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_2A3BA1654D623B34A80DF684271B4484" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D4C535B579005F97398CF6842719C669" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_2A3BA1654D623B34A80DF684271B4484" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_47CDEC2E9A112C31778FF684271B5EF8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_D4C535B579005F97398CF6842719C669" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_47CDEC2E9A112C31778FF684271B5EF8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2A2EE12F594B6AF93C932AF3ADA6A9D8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_DF3A3BB0CE7E110F22CE2AF3ADA613E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2A2EE12F594B6AF93C932AF3ADA6A9D8" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_DF3A3BB0CE7E110F22CE2AF3ADA613E4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_A3C9A088924940694D302AF3ADA61C65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_DF3A3BB0CE7E110F22CE2AF3ADA613E4" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_A3C9A088924940694D302AF3ADA61C65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1FE38E47A84DADBC09792AF3ADA68C4E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_A3C9A088924940694D302AF3ADA61C65" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1FE38E47A84DADBC09792AF3ADA68C4E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1FE38E47A84DADBC09792AF3ADA68C4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_A3C9A088924940694D302AF3ADA61C65" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1FE38E47A84DADBC09792AF3ADA68C4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_A5116F46F013AA7279262AF3ADA658B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1FE38E47A84DADBC09792AF3ADA68C4E" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_A5116F46F013AA7279262AF3ADA658B3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology" xlink:label="loc_wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology_53AA0009805A669DB1702AF3ADA7B381" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2A2EE12F594B6AF93C932AF3ADA6A9D8" xlink:to="loc_wdc_InprocessResearchandDevelopmentReclassifiedtoDevelopedProductTechnology_53AA0009805A669DB1702AF3ADA7B381" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_13BAA32124C66F6779652AF3ADA7D684" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2A2EE12F594B6AF93C932AF3ADA6A9D8" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_13BAA32124C66F6779652AF3ADA7D684" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_D99C2B7C8281FD8EF6322AF3ADA7C1A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2A2EE12F594B6AF93C932AF3ADA6A9D8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_D99C2B7C8281FD8EF6322AF3ADA7C1A5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsGoodwillDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetAmortizationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_76C8B7BFD8D6CF7C27B8C4EE0244E7C1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_2884D3CFFE2F4DF5CA09C4EE024315EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_76C8B7BFD8D6CF7C27B8C4EE0244E7C1" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_2884D3CFFE2F4DF5CA09C4EE024315EF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_896DE8FC8357AAD5ABE7C4EE0244606F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_2884D3CFFE2F4DF5CA09C4EE024315EF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_896DE8FC8357AAD5ABE7C4EE0244606F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4D2729523FFE9C7ACB1BC4EE0244C4FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_896DE8FC8357AAD5ABE7C4EE0244606F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4D2729523FFE9C7ACB1BC4EE0244C4FF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4D2729523FFE9C7ACB1BC4EE0244C4FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_896DE8FC8357AAD5ABE7C4EE0244606F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4D2729523FFE9C7ACB1BC4EE0244C4FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_5CE4294F8B212D57CF89C4EE0244358B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_76C8B7BFD8D6CF7C27B8C4EE0244E7C1" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_5CE4294F8B212D57CF89C4EE0244358B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetFutureAmortizationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_75D47C3D166EB04B72EBF2EB4E0B79C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_75D47C3D166EB04B72EBF2EB4E0B79C2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_40B4F55BFA853F357EA7F2EB4E0B3EBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_75D47C3D166EB04B72EBF2EB4E0B79C2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_40B4F55BFA853F357EA7F2EB4E0B3EBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CDB920C637F542801ED6F2EB4E0B0541_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_40B4F55BFA853F357EA7F2EB4E0B3EBE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CDB920C637F542801ED6F2EB4E0B0541_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CDB920C637F542801ED6F2EB4E0B0541" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_40B4F55BFA853F357EA7F2EB4E0B3EBE" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_CDB920C637F542801ED6F2EB4E0B0541" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_5C0E7028081A1F1C29E9F2EB4E0B2DAF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_75D47C3D166EB04B72EBF2EB4E0B79C2" xlink:to="loc_us-gaap_ConsolidationItemsAxis_5C0E7028081A1F1C29E9F2EB4E0B2DAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_340B94ED9F0131C198B9F2EB4E0BF521_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_5C0E7028081A1F1C29E9F2EB4E0B2DAF" xlink:to="loc_us-gaap_ConsolidationItemsDomain_340B94ED9F0131C198B9F2EB4E0BF521_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_340B94ED9F0131C198B9F2EB4E0BF521" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_5C0E7028081A1F1C29E9F2EB4E0B2DAF" xlink:to="loc_us-gaap_ConsolidationItemsDomain_340B94ED9F0131C198B9F2EB4E0BF521" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_BC2ADF7D733B49F38CC8F2EB4E0B0882" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_75D47C3D166EB04B72EBF2EB4E0B79C2" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_BC2ADF7D733B49F38CC8F2EB4E0B0882" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_83B54CD0219D12464EFBF2EB4E0B8BD6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_BC2ADF7D733B49F38CC8F2EB4E0B0882" xlink:to="loc_us-gaap_SegmentDomain_83B54CD0219D12464EFBF2EB4E0B8BD6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_83B54CD0219D12464EFBF2EB4E0B8BD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_BC2ADF7D733B49F38CC8F2EB4E0B0882" xlink:to="loc_us-gaap_SegmentDomain_83B54CD0219D12464EFBF2EB4E0B8BD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_356647E0FD7625B51A3FF2EB4E0B6B9E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_75D47C3D166EB04B72EBF2EB4E0B79C2" xlink:to="loc_us-gaap_RangeAxis_356647E0FD7625B51A3FF2EB4E0B6B9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_A2B798350D71D11DE2DEF2EB4E0B1677_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_356647E0FD7625B51A3FF2EB4E0B6B9E" xlink:to="loc_us-gaap_RangeMember_A2B798350D71D11DE2DEF2EB4E0B1677_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_A2B798350D71D11DE2DEF2EB4E0B1677" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_356647E0FD7625B51A3FF2EB4E0B6B9E" xlink:to="loc_us-gaap_RangeMember_A2B798350D71D11DE2DEF2EB4E0B1677" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_B0CFC65352C5BFD5E5ECF2EB4E0CB121" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_B0CFC65352C5BFD5E5ECF2EB4E0CB121" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_B38A9C90F7533030B6CEF2EB4E0CEB21" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_B38A9C90F7533030B6CEF2EB4E0CEB21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_9A3C25F66A4A826387F3F2EB4E0CB0A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_9A3C25F66A4A826387F3F2EB4E0CB0A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_57D8BD5210350AFC13C5F2EB4E0C8743" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_57D8BD5210350AFC13C5F2EB4E0C8743" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_B7D937136A48DE67691AF2EB4E0C8268" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_B7D937136A48DE67691AF2EB4E0C8268" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_D0AC3E0F50531E806FF6F2EB4E0CC4C5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_D0AC3E0F50531E806FF6F2EB4E0CC4C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_FCB75797BFBE68426ED2F2EB4E0C8D84" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_47B822B10E2106B50120F2EB4E0C8D95" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_FCB75797BFBE68426ED2F2EB4E0C8D84" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsIntangibleAssetsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_90953B99C45956195C07F2EB4E1A85F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_90953B99C45956195C07F2EB4E1A85F1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_E57912BC82F4824C6CCBF2EB4E1A51CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_90953B99C45956195C07F2EB4E1A85F1" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_E57912BC82F4824C6CCBF2EB4E1A51CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_D8A9C0E03A77001AC868F2EB4E1AFBAE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_E57912BC82F4824C6CCBF2EB4E1A51CD" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_D8A9C0E03A77001AC868F2EB4E1AFBAE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_D8A9C0E03A77001AC868F2EB4E1AFBAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_E57912BC82F4824C6CCBF2EB4E1A51CD" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_D8A9C0E03A77001AC868F2EB4E1AFBAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_67C45AAE7E7DA9AB463AF2EB4E1A829E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_D8A9C0E03A77001AC868F2EB4E1AFBAE" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_67C45AAE7E7DA9AB463AF2EB4E1A829E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C0C04E0DF19291E7257AF2EB4E1A4E90" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_90953B99C45956195C07F2EB4E1A85F1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C0C04E0DF19291E7257AF2EB4E1A4E90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C0C04E0DF19291E7257AF2EB4E1A4E90" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C0C04E0DF19291E7257AF2EB4E1A4E90" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ExistingTechnologyMember" xlink:label="loc_wdc_ExistingTechnologyMember_44F870984D981077CD14F2EB4E1AD7E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:to="loc_wdc_ExistingTechnologyMember_44F870984D981077CD14F2EB4E1AD7E1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TradenamesandtrademarksMember" xlink:label="loc_wdc_TradenamesandtrademarksMember_BD80E98C338259C0E1D2F2EB4E1A47E2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:to="loc_wdc_TradenamesandtrademarksMember_BD80E98C338259C0E1D2F2EB4E1A47E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_0321EB9BF511027A757EF2EB4E1A6921" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:to="loc_us-gaap_CustomerRelationshipsMember_0321EB9BF511027A757EF2EB4E1A6921" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherIntangibleMember" xlink:label="loc_wdc_OtherIntangibleMember_C1461269065CCEF3C5C9F2EB4E1B4C80" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:to="loc_wdc_OtherIntangibleMember_C1461269065CCEF3C5C9F2EB4E1B4C80" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_LeaseholdInterestsMember" xlink:label="loc_wdc_LeaseholdInterestsMember_0FAC154DE0AB4BDF5FB7F2EB4E1BD3D1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:to="loc_wdc_LeaseholdInterestsMember_0FAC154DE0AB4BDF5FB7F2EB4E1BD3D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InProcessResearchAndDevelopmentMember" xlink:label="loc_us-gaap_InProcessResearchAndDevelopmentMember_274837C1D56920A4BB05F2EB4E1BD6E5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_60A29E7E05FAEE7641E1F2EB4E1AC385" xlink:to="loc_us-gaap_InProcessResearchAndDevelopmentMember_274837C1D56920A4BB05F2EB4E1BD6E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetWeightedAveragePeriodBeforeRenewalOrExtension" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetWeightedAveragePeriodBeforeRenewalOrExtension_1537B07CE40B880880F1F32BE27BB0D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetWeightedAveragePeriodBeforeRenewalOrExtension_1537B07CE40B880880F1F32BE27BB0D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherFiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_OtherFiniteLivedIntangibleAssetsGross_4D87A61BCA009A79E6F4F2EB4E1BDC16" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_us-gaap_OtherFiniteLivedIntangibleAssetsGross_4D87A61BCA009A79E6F4F2EB4E1BDC16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_AFEB3072FD6A98C3D9D2F2EB4E1B8084" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_AFEB3072FD6A98C3D9D2F2EB4E1B8084" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_279FF5249B923FD6BFACF2EB4E1B8E8A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_279FF5249B923FD6BFACF2EB4E1B8E8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_09CADA127333B82C081DF2EB4E1BDE84" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_09CADA127333B82C081DF2EB4E1BDE84" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TotalIntangibleAssetsGross" xlink:label="loc_wdc_TotalIntangibleAssetsGross_387A6FCA2E640571537FF2EB4E1B92C1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_wdc_TotalIntangibleAssetsGross_387A6FCA2E640571537FF2EB4E1B92C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_E72AF4687E234AEC2335F2EB4E1B2A99" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E1A1E3061A911CB60E81F2EB4E1BA3F1" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_E72AF4687E234AEC2335F2EB4E1B2A99" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/GoodwillAndOtherIntangibleAssetsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_IncomeTaxDisclosureLineItems" xlink:label="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_IncomeTaxDisclosureTable" xlink:label="loc_wdc_IncomeTaxDisclosureTable_9C3EA48BC6F792EF7B44ED2D62FCA122" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_wdc_IncomeTaxDisclosureTable_9C3EA48BC6F792EF7B44ED2D62FCA122" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_C6E329D102AB73F4337BED2D62FC568D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_9C3EA48BC6F792EF7B44ED2D62FCA122" xlink:to="loc_us-gaap_StatementScenarioAxis_C6E329D102AB73F4337BED2D62FC568D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_6178281B9754C6188CEDED2D62FC008E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_C6E329D102AB73F4337BED2D62FC568D" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_6178281B9754C6188CEDED2D62FC008E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_6178281B9754C6188CEDED2D62FC008E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_C6E329D102AB73F4337BED2D62FC568D" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_6178281B9754C6188CEDED2D62FC008E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AcquiredTaxAttributesMember" xlink:label="loc_wdc_AcquiredTaxAttributesMember_A26BCA667249657628B3ED2D62FCECBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_6178281B9754C6188CEDED2D62FC008E" xlink:to="loc_wdc_AcquiredTaxAttributesMember_A26BCA667249657628B3ED2D62FCECBA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NOLBenefitsSharebasedCompensationMember" xlink:label="loc_wdc_NOLBenefitsSharebasedCompensationMember_9257D05AB83C0E354359ED2D62FCEC24" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_6178281B9754C6188CEDED2D62FC008E" xlink:to="loc_wdc_NOLBenefitsSharebasedCompensationMember_9257D05AB83C0E354359ED2D62FCEC24" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_StockbasedCompensationCurrentYearMember" xlink:label="loc_wdc_StockbasedCompensationCurrentYearMember_70F6CC56E3E2C6A69856ED2D62FCA662" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_6178281B9754C6188CEDED2D62FC008E" xlink:to="loc_wdc_StockbasedCompensationCurrentYearMember_70F6CC56E3E2C6A69856ED2D62FCA662" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_5E1BDA14063F91D33743ED2D62FDD033" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_9C3EA48BC6F792EF7B44ED2D62FCA122" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_5E1BDA14063F91D33743ED2D62FDD033" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_2C195BF6793A5B858FE9ED2D62FD3C9F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_5E1BDA14063F91D33743ED2D62FDD033" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_2C195BF6793A5B858FE9ED2D62FD3C9F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_2C195BF6793A5B858FE9ED2D62FD3C9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_5E1BDA14063F91D33743ED2D62FDD033" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_2C195BF6793A5B858FE9ED2D62FD3C9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_DF8BF1A0C2C7A455F2E1ED2D62FD5391" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_2C195BF6793A5B858FE9ED2D62FD3C9F" xlink:to="loc_us-gaap_DomesticCountryMember_DF8BF1A0C2C7A455F2E1ED2D62FD5391" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_25370BFB66BBBCB4CF51ED2D62FD5171" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_2C195BF6793A5B858FE9ED2D62FD3C9F" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_25370BFB66BBBCB4CF51ED2D62FD5171" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NationalTaxAgencyJapanMember" xlink:label="loc_us-gaap_NationalTaxAgencyJapanMember_BC88B034828EEF0A0BDCED2D62FD0C10" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_2C195BF6793A5B858FE9ED2D62FD3C9F" xlink:to="loc_us-gaap_NationalTaxAgencyJapanMember_BC88B034828EEF0A0BDCED2D62FD0C10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_8E4DAA2291B98B46C080ED2D62FD7956" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_IncomeTaxDisclosureTable_9C3EA48BC6F792EF7B44ED2D62FCA122" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_8E4DAA2291B98B46C080ED2D62FD7956" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_EF00684F52DAD67C17F9ED2D62FD6F6E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_8E4DAA2291B98B46C080ED2D62FD7956" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_EF00684F52DAD67C17F9ED2D62FD6F6E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_EF00684F52DAD67C17F9ED2D62FD6F6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_8E4DAA2291B98B46C080ED2D62FD7956" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_EF00684F52DAD67C17F9ED2D62FD6F6E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NOLCarryforwardRestructuringMember" xlink:label="loc_wdc_NOLCarryforwardRestructuringMember_F803BDABF569B4402738ED2D62FD73C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_EF00684F52DAD67C17F9ED2D62FD6F6E" xlink:to="loc_wdc_NOLCarryforwardRestructuringMember_F803BDABF569B4402738ED2D62FD73C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalLossCarryforwardMember" xlink:label="loc_us-gaap_CapitalLossCarryforwardMember_FEF56E39EDA6DE7D7796ED2D62FDA1C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_EF00684F52DAD67C17F9ED2D62FD6F6E" xlink:to="loc_us-gaap_CapitalLossCarryforwardMember_FEF56E39EDA6DE7D7796ED2D62FDA1C2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TaxCreditCarryforwardStateMember" xlink:label="loc_wdc_TaxCreditCarryforwardStateMember_DFA16762FBFDB8FE728FED2D62FD49D8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_EF00684F52DAD67C17F9ED2D62FD6F6E" xlink:to="loc_wdc_TaxCreditCarryforwardStateMember_DFA16762FBFDB8FE728FED2D62FD49D8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_IncomeTaxProvisionAbstract" xlink:label="loc_wdc_IncomeTaxProvisionAbstract_8FBBACC59B17F2403A81ED2D62FD7100" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_wdc_IncomeTaxProvisionAbstract_8FBBACC59B17F2403A81ED2D62FD7100" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UndistributedEarningsOfForeignSubsidiaries" xlink:label="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_E88C844D3DCEA9887E1AED2D62FDFB46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxProvisionAbstract_8FBBACC59B17F2403A81ED2D62FD7100" xlink:to="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_E88C844D3DCEA9887E1AED2D62FDFB46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries" xlink:label="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_94D95792B82ADDF8C369ED2D62FDEC3C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxProvisionAbstract_8FBBACC59B17F2403A81ED2D62FD7100" xlink:to="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_94D95792B82ADDF8C369ED2D62FDEC3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNetAbstract" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNetAbstract_32ACD7BD37E4C2E0D299ED2D62FD3271" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNetAbstract_32ACD7BD37E4C2E0D299ED2D62FD3271" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_EC69E954D327E95A6B77ED7D1EB50F82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesNetAbstract_32ACD7BD37E4C2E0D299ED2D62FD3271" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_EC69E954D327E95A6B77ED7D1EB50F82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_739FA086CFDC89F98823ED2D62FE9558" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesNetAbstract_32ACD7BD37E4C2E0D299ED2D62FD3271" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_739FA086CFDC89F98823ED2D62FE9558" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_0925AED33625C5C94F96ED2D62FEDB66" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesNetAbstract_32ACD7BD37E4C2E0D299ED2D62FD3271" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_0925AED33625C5C94F96ED2D62FEDB66" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DeferredTaxLiabilitiesStockbasedCompensation" xlink:label="loc_wdc_DeferredTaxLiabilitiesStockbasedCompensation_397CFFD7B4EC17622795ED2D62FE9C03" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesNetAbstract_32ACD7BD37E4C2E0D299ED2D62FD3271" xlink:to="loc_wdc_DeferredTaxLiabilitiesStockbasedCompensation_397CFFD7B4EC17622795ED2D62FE9C03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xlink:label="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_A1C8F006057AF9FCB5ADED2D62FE8CBA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_A1C8F006057AF9FCB5ADED2D62FE8CBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_2EB8E736846AEDCAC11EED2D62FEE219" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_A1C8F006057AF9FCB5ADED2D62FE8CBA" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_2EB8E736846AEDCAC11EED2D62FEE219" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NetOperatingLossBenefitsAbstractAbstract" xlink:label="loc_wdc_NetOperatingLossBenefitsAbstractAbstract_9EF4BB709EF25CE89AE2ED2D62FEA80A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_wdc_NetOperatingLossBenefitsAbstractAbstract_9EF4BB709EF25CE89AE2ED2D62FEA80A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NetOperatingLossBenefitsStockbasedCompensationDeductions" xlink:label="loc_wdc_NetOperatingLossBenefitsStockbasedCompensationDeductions_BD2FA553E6D2290E89DFED2D62FE5BEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_NetOperatingLossBenefitsAbstractAbstract_9EF4BB709EF25CE89AE2ED2D62FEA80A" xlink:to="loc_wdc_NetOperatingLossBenefitsStockbasedCompensationDeductions_BD2FA553E6D2290E89DFED2D62FE5BEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxEffectsAllocatedDirectlyToEquityEmployeeStockOptions" xlink:label="loc_us-gaap_IncomeTaxEffectsAllocatedDirectlyToEquityEmployeeStockOptions_917AB991FEA08F96DA30ED2D62FEF602" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_NetOperatingLossBenefitsAbstractAbstract_9EF4BB709EF25CE89AE2ED2D62FEA80A" xlink:to="loc_us-gaap_IncomeTaxEffectsAllocatedDirectlyToEquityEmployeeStockOptions_917AB991FEA08F96DA30ED2D62FEF602" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TaxHolidaysandCarryforwardsAbstract" xlink:label="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxHolidayAggregateDollarAmount" xlink:label="loc_us-gaap_IncomeTaxHolidayAggregateDollarAmount_D4A96ACD76CB29568BE7ED2D62FEBB44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:to="loc_us-gaap_IncomeTaxHolidayAggregateDollarAmount_D4A96ACD76CB29568BE7ED2D62FEBB44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare" xlink:label="loc_us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare_E35CA53D2CEECADD3F88ED2D62FE391C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:to="loc_us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare_E35CA53D2CEECADD3F88ED2D62FE391C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_6113A90644D91090C872ED2D62FE41B0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:to="loc_us-gaap_OperatingLossCarryforwards_6113A90644D91090C872ED2D62FE41B0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FederalAndStateTaxCreditCarryforward" xlink:label="loc_wdc_FederalAndStateTaxCreditCarryforward_D4713CA1EA632BDF5EFDED2D62FE2527" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:to="loc_wdc_FederalAndStateTaxCreditCarryforward_D4713CA1EA632BDF5EFDED2D62FE2527" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NetOperatingLossCarryforwardReduction" xlink:label="loc_wdc_NetOperatingLossCarryforwardReduction_020A116AEF9BBDAA521AED2D62FEF2F0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:to="loc_wdc_NetOperatingLossCarryforwardReduction_020A116AEF9BBDAA521AED2D62FEF2F0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TaxCreditCarryforwardReduction" xlink:label="loc_wdc_TaxCreditCarryforwardReduction_2A7CEE0CB146E99BC5A7ED2D62FE5ADA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_TaxHolidaysandCarryforwardsAbstract_D5E86DD64F65D90F46BCED2D62FE9D5B" xlink:to="loc_wdc_TaxCreditCarryforwardReduction_2A7CEE0CB146E99BC5A7ED2D62FE5ADA" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_UncertainTaxPositionsAbstract" xlink:label="loc_wdc_UncertainTaxPositionsAbstract_340033B26E5E5C8C3EACED2D62FE7C9D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_wdc_UncertainTaxPositionsAbstract_340033B26E5E5C8C3EACED2D62FE7C9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_388C05092D6A743A8F65ED2D62FFE8EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_UncertainTaxPositionsAbstract_340033B26E5E5C8C3EACED2D62FE7C9D" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_388C05092D6A743A8F65ED2D62FFE8EB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_IRSExaminationAbstract" xlink:label="loc_wdc_IRSExaminationAbstract_D4D3631D3032D0EAAF98ED2D62FF59F4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IncomeTaxDisclosureLineItems_0C92F97D2C6732D22206ED2D62FDE0C5" xlink:to="loc_wdc_IRSExaminationAbstract_D4D3631D3032D0EAAF98ED2D62FF59F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExaminationLiabilityRefundAdjustmentFromSettlementWithTaxingAuthority" xlink:label="loc_us-gaap_IncomeTaxExaminationLiabilityRefundAdjustmentFromSettlementWithTaxingAuthority_D0C5BF9A6F4C03A2D13EED2D62FF8475" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_IRSExaminationAbstract_D4D3631D3032D0EAAF98ED2D62FF59F4" xlink:to="loc_us-gaap_IncomeTaxExaminationLiabilityRefundAdjustmentFromSettlementWithTaxingAuthority_D0C5BF9A6F4C03A2D13EED2D62FF8475" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesComponentsOfProvisionForIncomeTaxesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesDomesticAndForeignComponentsOfIncomeBeforeIncomeTaxesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesNolCarryforwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_D3F0A39ABB01CAE6C9A2ED2D63036736" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_E8A4F5B8E021ECFA06A7ED2D6303E7B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_D3F0A39ABB01CAE6C9A2ED2D63036736" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_E8A4F5B8E021ECFA06A7ED2D6303E7B3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_C8439833C9286422E03CED2D630332A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_E8A4F5B8E021ECFA06A7ED2D6303E7B3" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_C8439833C9286422E03CED2D630332A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_5D543FB1405651A8B492ED2D6303D3C1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_C8439833C9286422E03CED2D630332A6" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_5D543FB1405651A8B492ED2D6303D3C1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_5D543FB1405651A8B492ED2D6303D3C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_C8439833C9286422E03CED2D630332A6" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_5D543FB1405651A8B492ED2D6303D3C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_97775A9226FC2A81B4EDED2D63034E40" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_E8A4F5B8E021ECFA06A7ED2D6303E7B3" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_97775A9226FC2A81B4EDED2D63034E40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_97775A9226FC2A81B4EDED2D63034E40" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_97775A9226FC2A81B4EDED2D63034E40" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NationalTaxAgencyJapanMember" xlink:label="loc_us-gaap_NationalTaxAgencyJapanMember_32C1C64D8DB5CBABCF3DED2D6303F33D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9" xlink:to="loc_us-gaap_NationalTaxAgencyJapanMember_32C1C64D8DB5CBABCF3DED2D6303F33D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdministrationOfTheTreasuryBelgiumMember" xlink:label="loc_us-gaap_AdministrationOfTheTreasuryBelgiumMember_D1C4ABFA776D18F91BBCED2D6303D4E6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9" xlink:to="loc_us-gaap_AdministrationOfTheTreasuryBelgiumMember_D1C4ABFA776D18F91BBCED2D6303D4E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StateAdministrationOfTaxationChinaMember" xlink:label="loc_us-gaap_StateAdministrationOfTaxationChinaMember_77D0D7AA15B7FB85F927ED2D6303A80D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9" xlink:to="loc_us-gaap_StateAdministrationOfTaxationChinaMember_77D0D7AA15B7FB85F927ED2D6303A80D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InlandRevenueSingaporeIRASMember" xlink:label="loc_us-gaap_InlandRevenueSingaporeIRASMember_EFFA7F6AE905B18A0063ED2D63037972" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_E1A713663F6001BBF2CCED2D630378A9" xlink:to="loc_us-gaap_InlandRevenueSingaporeIRASMember_EFFA7F6AE905B18A0063ED2D63037972" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_9F1DDB0ECB4A6E28C88CED2D6303BEBE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_E8A4F5B8E021ECFA06A7ED2D6303E7B3" xlink:to="loc_us-gaap_TaxPeriodAxis_9F1DDB0ECB4A6E28C88CED2D6303BEBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_06E93FD04EE2239A71B2ED2D6303993B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxPeriodAxis_9F1DDB0ECB4A6E28C88CED2D6303BEBE" xlink:to="loc_us-gaap_TaxPeriodDomain_06E93FD04EE2239A71B2ED2D6303993B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_06E93FD04EE2239A71B2ED2D6303993B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxPeriodAxis_9F1DDB0ECB4A6E28C88CED2D6303BEBE" xlink:to="loc_us-gaap_TaxPeriodDomain_06E93FD04EE2239A71B2ED2D6303993B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_729D105B7DA1E1AF823CED2D63036010" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_D3F0A39ABB01CAE6C9A2ED2D63036736" xlink:to="loc_us-gaap_OperatingLossCarryforwards_729D105B7DA1E1AF823CED2D63036010" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TaxCreditCarryforwardDescription" xlink:label="loc_us-gaap_TaxCreditCarryforwardDescription_A528884F51E9ECB363B2ED2D63035C76" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_D3F0A39ABB01CAE6C9A2ED2D63036736" xlink:to="loc_us-gaap_TaxCreditCarryforwardDescription_A528884F51E9ECB363B2ED2D63035C76" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesUSFederalStatutoryRateToCompanysEffectiveTaxRateDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/IncomeTaxesUnrecognizedTaxPositionsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxContingencyLineItems" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_A922CF73C35622862BAFED2D630809B6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxContingencyTable" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_701F21A1752F966B3502ED2D63088E88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_A922CF73C35622862BAFED2D630809B6" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_701F21A1752F966B3502ED2D63088E88" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_AD17997B974403BC6294ED2D63088BC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_701F21A1752F966B3502ED2D63088E88" xlink:to="loc_us-gaap_RangeAxis_AD17997B974403BC6294ED2D63088BC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_E2B0B49FD2D195ACDBABED2D63083628_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_AD17997B974403BC6294ED2D63088BC6" xlink:to="loc_us-gaap_RangeMember_E2B0B49FD2D195ACDBABED2D63083628_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_E2B0B49FD2D195ACDBABED2D63083628" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_AD17997B974403BC6294ED2D63088BC6" xlink:to="loc_us-gaap_RangeMember_E2B0B49FD2D195ACDBABED2D63083628" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_CE3BB3F9B46AD6255206ED2D6308AC90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_E2B0B49FD2D195ACDBABED2D63083628" xlink:to="loc_us-gaap_MinimumMember_CE3BB3F9B46AD6255206ED2D6308AC90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_68DE89FBBCC299047AD3ED2D63081571" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_E2B0B49FD2D195ACDBABED2D63083628" xlink:to="loc_us-gaap_MaximumMember_68DE89FBBCC299047AD3ED2D63081571" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_628D0B296F49A5299EEEED2D6308EB9C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_701F21A1752F966B3502ED2D63088E88" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_628D0B296F49A5299EEEED2D6308EB9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_428B2D8C904D33A0C704ED2D6308652F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_628D0B296F49A5299EEEED2D6308EB9C" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_428B2D8C904D33A0C704ED2D6308652F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_428B2D8C904D33A0C704ED2D6308652F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_628D0B296F49A5299EEEED2D6308EB9C" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_428B2D8C904D33A0C704ED2D6308652F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward" xlink:label="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_A922CF73C35622862BAFED2D630809B6" xlink:to="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_AA1CDF912D6FABBF7723ED2D63087195" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_AA1CDF912D6FABBF7723ED2D63087195" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions_996FB3A324D4BB1A4273ED2D63080A34" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions_996FB3A324D4BB1A4273ED2D63080A34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_3D4BE8B1EADFB93567A1ED2D6308E75D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_3D4BE8B1EADFB93567A1ED2D6308E75D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions_3FFD47744D47A3FA4994ED2D63097681" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions_3FFD47744D47A3FA4994ED2D63097681" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities_8936E0C930B2F35F9698ED2D63092D4C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities_8936E0C930B2F35F9698ED2D63092D4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations_CC594CC9E065A3E5D6C3ED2D6309A1BF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations_CC594CC9E065A3E5D6C3ED2D6309A1BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromAcquisition" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromAcquisition_A6551BAB2C549A42CA4AED2D6309AB8A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForward_423F95D8F07B2113CEFCED2D63084521" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromAcquisition_A6551BAB2C549A42CA4AED2D6309AB8A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedings" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_57CDE3A1CA7651D9198C0CDDB63485CC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_F30A5717696C263CD8B90CDDB62E0DE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_57CDE3A1CA7651D9198C0CDDB63485CC" xlink:to="loc_us-gaap_LossContingenciesTable_F30A5717696C263CD8B90CDDB62E0DE9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_654283FC8E1CEA7D00090CDDB62F3BED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_F30A5717696C263CD8B90CDDB62E0DE9" xlink:to="loc_us-gaap_RangeAxis_654283FC8E1CEA7D00090CDDB62F3BED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_A22B84287219441B62590CDDB62F9C14_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_654283FC8E1CEA7D00090CDDB62F3BED" xlink:to="loc_us-gaap_RangeMember_A22B84287219441B62590CDDB62F9C14_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_A22B84287219441B62590CDDB62F9C14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_654283FC8E1CEA7D00090CDDB62F3BED" xlink:to="loc_us-gaap_RangeMember_A22B84287219441B62590CDDB62F9C14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_788D7AC725780297A1420CDDB63498A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_A22B84287219441B62590CDDB62F9C14" xlink:to="loc_us-gaap_MaximumMember_788D7AC725780297A1420CDDB63498A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyDamagesSoughtValue" xlink:label="loc_us-gaap_LossContingencyDamagesSoughtValue_727ED6E1F10C856C539A0CDE48E9151D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_57CDE3A1CA7651D9198C0CDDB63485CC" xlink:to="loc_us-gaap_LossContingencyDamagesSoughtValue_727ED6E1F10C856C539A0CDE48E9151D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_EC1C10395863E8D811C20CDDB6343504" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_57CDE3A1CA7651D9198C0CDDB63485CC" xlink:to="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_EC1C10395863E8D811C20CDDB6343504" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D354F6A48363F769E31AF6ED3823EDF3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D354F6A48363F769E31AF6ED3823EDF3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_4C2CACA98CA0D263DAF1F6ED3823CA72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D354F6A48363F769E31AF6ED3823EDF3" xlink:to="loc_us-gaap_RangeAxis_4C2CACA98CA0D263DAF1F6ED3823CA72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_187C8B38BDFB4BF90266F6ED38237D0A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_4C2CACA98CA0D263DAF1F6ED3823CA72" xlink:to="loc_us-gaap_RangeMember_187C8B38BDFB4BF90266F6ED38237D0A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_187C8B38BDFB4BF90266F6ED38237D0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_4C2CACA98CA0D263DAF1F6ED3823CA72" xlink:to="loc_us-gaap_RangeMember_187C8B38BDFB4BF90266F6ED38237D0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_C61CCC2C1879955C44E1F6ED38234358" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_187C8B38BDFB4BF90266F6ED38237D0A" xlink:to="loc_us-gaap_MinimumMember_C61CCC2C1879955C44E1F6ED38234358" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_50C7589B1BF3BCDBBE8EF6ED38238C15" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_187C8B38BDFB4BF90266F6ED38237D0A" xlink:to="loc_us-gaap_MaximumMember_50C7589B1BF3BCDBBE8EF6ED38238C15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_D55CB05AFC2ECB863922F6ED3823DED7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D354F6A48363F769E31AF6ED3823EDF3" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_D55CB05AFC2ECB863922F6ED3823DED7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_DDC8919AC9A4833A6CF0F6ED38231C01_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_D55CB05AFC2ECB863922F6ED3823DED7" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_DDC8919AC9A4833A6CF0F6ED38231C01_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_DDC8919AC9A4833A6CF0F6ED38231C01" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_D55CB05AFC2ECB863922F6ED3823DED7" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_DDC8919AC9A4833A6CF0F6ED38231C01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_1ABDA07135998798C8B9F6ED3824270B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_DDC8919AC9A4833A6CF0F6ED38231C01" xlink:to="loc_us-gaap_DebtSecuritiesMember_1ABDA07135998798C8B9F6ED3824270B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_D762267B522A44C9C416F6ED3824E65A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_DDC8919AC9A4833A6CF0F6ED38231C01" xlink:to="loc_us-gaap_EquitySecuritiesMember_D762267B522A44C9C416F6ED3824E65A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsMember" xlink:label="loc_us-gaap_OtherAssetsMember_B5B83DCFE514C28A6321F6ED38241822" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_DDC8919AC9A4833A6CF0F6ED38231C01" xlink:to="loc_us-gaap_OtherAssetsMember_B5B83DCFE514C28A6321F6ED38241822" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AD0665C33D5A2DDDCB5AF6ED3824E5BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D354F6A48363F769E31AF6ED3823EDF3" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AD0665C33D5A2DDDCB5AF6ED3824E5BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_33386AE8BBEA217747B1F6ED38245103_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AD0665C33D5A2DDDCB5AF6ED3824E5BB" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_33386AE8BBEA217747B1F6ED38245103_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_33386AE8BBEA217747B1F6ED38245103" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_AD0665C33D5A2DDDCB5AF6ED3824E5BB" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_33386AE8BBEA217747B1F6ED38245103" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_F9B4B000C399C5EA117FF6ED3824FA3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_33386AE8BBEA217747B1F6ED38245103" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_F9B4B000C399C5EA117FF6ED3824FA3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_79A350F73BABD61D5157F6ED3824862C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_79A350F73BABD61D5157F6ED3824862C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_1A266FA0A77EA284DAC6F6ED38245307" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_1A266FA0A77EA284DAC6F6ED38245307" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PriorServiceCreditsForDefinedBenefitPensionPlansIncludedInAccumulatedOtherComprehensiveIncomeAtBalanceSheetDate" xlink:label="loc_wdc_PriorServiceCreditsForDefinedBenefitPensionPlansIncludedInAccumulatedOtherComprehensiveIncomeAtBalanceSheetDate_E93C200C37F3F458E109F6ED3824F0C2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_wdc_PriorServiceCreditsForDefinedBenefitPensionPlansIncludedInAccumulatedOtherComprehensiveIncomeAtBalanceSheetDate_E93C200C37F3F458E109F6ED3824F0C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" xlink:label="loc_us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations_F12D518D89CF4C48DBF8F6ED3824B11A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations_F12D518D89CF4C48DBF8F6ED3824B11A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AssetsHeldInNonSignificantDefinedBenefitPlan" xlink:label="loc_wdc_AssetsHeldInNonSignificantDefinedBenefitPlan_F9FA7846054712EDEEC4F6ED38248B1B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_wdc_AssetsHeldInNonSignificantDefinedBenefitPlan_F9FA7846054712EDEEC4F6ED38248B1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear" xlink:label="loc_us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear_36C90D8F46A67C5CCE40F6ED3824EF26" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear_36C90D8F46A67C5CCE40F6ED3824EF26" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DefinedBenefitPlanExpectedFutureBenefitPaymentsAnnualRange" xlink:label="loc_wdc_DefinedBenefitPlanExpectedFutureBenefitPaymentsAnnualRange_8007E19226F6D0786318F6ED38240B0B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_wdc_DefinedBenefitPlanExpectedFutureBenefitPaymentsAnnualRange_8007E19226F6D0786318F6ED38240B0B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DefinedBenefitPlanEstimatedAnnualBenefitsPaymentPeriod" xlink:label="loc_wdc_DefinedBenefitPlanEstimatedAnnualBenefitsPaymentPeriod_7CCA576F7E6A9D3A65BAF6ED3824D2DD" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_D3840E69FDDC5CC65640F6ED3824C3EC" xlink:to="loc_wdc_DefinedBenefitPlanEstimatedAnnualBenefitsPaymentPeriod_7CCA576F7E6A9D3A65BAF6ED3824D2DD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansJapaneseDefinedBenefitPensionPlansMajorAssetCategoriesAndTheirAssociatedFairValuesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DF69E8BAB1486AF05AA7F2EB4DC638BA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1A5148C6DAA3298E9BB1F2EB4DC4B9BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DF69E8BAB1486AF05AA7F2EB4DC638BA" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1A5148C6DAA3298E9BB1F2EB4DC4B9BE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_39A1C5B78625B19EF91DF2EB4DC5200B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1A5148C6DAA3298E9BB1F2EB4DC4B9BE" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_39A1C5B78625B19EF91DF2EB4DC5200B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_167F6BFEB49507FADA4AF2EB4DC5FA5A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_39A1C5B78625B19EF91DF2EB4DC5200B" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_167F6BFEB49507FADA4AF2EB4DC5FA5A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_167F6BFEB49507FADA4AF2EB4DC5FA5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_39A1C5B78625B19EF91DF2EB4DC5200B" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_167F6BFEB49507FADA4AF2EB4DC5FA5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_176864F08BA8A76779E5F2EB4DC5DD9D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_167F6BFEB49507FADA4AF2EB4DC5FA5A" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_176864F08BA8A76779E5F2EB4DC5DD9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4A83E83E3A17D4189D79F2EB4DC5D05A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1A5148C6DAA3298E9BB1F2EB4DC4B9BE" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4A83E83E3A17D4189D79F2EB4DC5D05A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4A83E83E3A17D4189D79F2EB4DC5D05A" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_4A83E83E3A17D4189D79F2EB4DC5D05A" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_3CE025D270755991D501F2EB4DC573BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC" xlink:to="loc_us-gaap_EquitySecuritiesMember_3CE025D270755991D501F2EB4DC573BE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EquityCommingledMutualFundsMember" xlink:label="loc_wdc_EquityCommingledMutualFundsMember_F812B4E9ED6CF7E1993CF2EB4DC57283" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC" xlink:to="loc_wdc_EquityCommingledMutualFundsMember_F812B4E9ED6CF7E1993CF2EB4DC57283" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_FF0F76EA8F592C56C181F2EB4DC5E33D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_FF0F76EA8F592C56C181F2EB4DC5E33D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_2648EDFF31CB314BBE14F2EB4DC5B03B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_1CAC7C03B83EF15A608BF2EB4DC58ABC" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_2648EDFF31CB314BBE14F2EB4DC5B03B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C6D8079634D982975F56F2EB4DC51D17" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1A5148C6DAA3298E9BB1F2EB4DC4B9BE" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C6D8079634D982975F56F2EB4DC51D17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6100FAA68A7D9A66386AF2EB4DC5D127_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C6D8079634D982975F56F2EB4DC51D17" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6100FAA68A7D9A66386AF2EB4DC5D127_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6100FAA68A7D9A66386AF2EB4DC5D127" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C6D8079634D982975F56F2EB4DC51D17" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6100FAA68A7D9A66386AF2EB4DC5D127" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_214CFE2A0BC949905904F2EB4DC51B4A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6100FAA68A7D9A66386AF2EB4DC5D127" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_214CFE2A0BC949905904F2EB4DC51B4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_A1817F1CD508EF008FAFF2EB4DC63097" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6100FAA68A7D9A66386AF2EB4DC5D127" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_A1817F1CD508EF008FAFF2EB4DC63097" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_627290C50D179F847CF5F2EB4DC68A81" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6100FAA68A7D9A66386AF2EB4DC5D127" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_627290C50D179F847CF5F2EB4DC68A81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_1BC5FBC4741A31527C98F2EB4DC64742" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DF69E8BAB1486AF05AA7F2EB4DC638BA" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_1BC5FBC4741A31527C98F2EB4DC64742" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems" xlink:label="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_4B9021399BC4CA4956CCF2EAEBB413A4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_70EF0713D4CD39BC3304F2EAEBB4B668" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_4B9021399BC4CA4956CCF2EAEBB413A4" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_70EF0713D4CD39BC3304F2EAEBB4B668" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_94647373960B1C6B16A8F2EAEBB4ED7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_70EF0713D4CD39BC3304F2EAEBB4B668" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_94647373960B1C6B16A8F2EAEBB4ED7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_CBB9B13BDB6D3877FDDFF2EAEBB4FA7C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_94647373960B1C6B16A8F2EAEBB4ED7B" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_CBB9B13BDB6D3877FDDFF2EAEBB4FA7C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_CBB9B13BDB6D3877FDDFF2EAEBB4FA7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_94647373960B1C6B16A8F2EAEBB4ED7B" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_CBB9B13BDB6D3877FDDFF2EAEBB4FA7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_F10ADF6C407F57804E3AF2EAEBB4DAAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_CBB9B13BDB6D3877FDDFF2EAEBB4FA7C" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_F10ADF6C407F57804E3AF2EAEBB4DAAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_4B9021399BC4CA4956CCF2EAEBB413A4" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_6206C32B3CECBA7BF957F2F02450D77F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_6206C32B3CECBA7BF957F2F02450D77F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_8B0C2C92D26E3CB160F7F2EAEBB48571" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_8B0C2C92D26E3CB160F7F2EAEBB48571" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_18FB7EAEF0DBF1C61BE9F2EAEBB42C61" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_18FB7EAEF0DBF1C61BE9F2EAEBB42C61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_E5DBDDE981F4BC3199D2F2EAEBB44811" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_E5DBDDE981F4BC3199D2F2EAEBB44811" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DefinedBenefitPlanBenefitsPaidBenefitObligation" xlink:label="loc_wdc_DefinedBenefitPlanBenefitsPaidBenefitObligation_51605ABCB8CF781893C1F2EAEBB4FEF6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_wdc_DefinedBenefitPlanBenefitsPaidBenefitObligation_51605ABCB8CF781893C1F2EAEBB4FEF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanEffectOfSettlementsAndCurtailmentsOnAccumulatedBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanEffectOfSettlementsAndCurtailmentsOnAccumulatedBenefitObligation_1F60DE909C079713DCABF2EAEBB4D801" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_us-gaap_DefinedBenefitPlanEffectOfSettlementsAndCurtailmentsOnAccumulatedBenefitObligation_1F60DE909C079713DCABF2EAEBB4D801" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanOtherChanges" xlink:label="loc_us-gaap_DefinedBenefitPlanOtherChanges_B6B5A2F3A61CAE1B06ADF2EAEBB57683" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_us-gaap_DefinedBenefitPlanOtherChanges_B6B5A2F3A61CAE1B06ADF2EAEBB57683" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_0EEB545A29AE5EAE8174F2EAEBB5D221" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_DEE14F49400C763A194AF2EAEBB58B8F" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_0EEB545A29AE5EAE8174F2EAEBB5D221" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_4B9021399BC4CA4956CCF2EAEBB413A4" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_A48782A7D7EE0DBA2C73F2EAEBB5416C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_A48782A7D7EE0DBA2C73F2EAEBB5416C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_4E27B13FA669770583A2F2EAEBB52FD8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_4E27B13FA669770583A2F2EAEBB52FD8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_C6C3D3D2EF08EC64DA91F2EAEBB549C0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_C6C3D3D2EF08EC64DA91F2EAEBB549C0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DefinedBenefitPlanBenefitsPaidPlanAssets" xlink:label="loc_wdc_DefinedBenefitPlanBenefitsPaidPlanAssets_775AD17C8AED040DFEE0F2EAEBB562AB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:to="loc_wdc_DefinedBenefitPlanBenefitsPaidPlanAssets_775AD17C8AED040DFEE0F2EAEBB562AB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherChangesInPlanAssets" xlink:label="loc_wdc_OtherChangesInPlanAssets_CAD60757FD226C0B5038F2EAEBB5C918" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:to="loc_wdc_OtherChangesInPlanAssets_CAD60757FD226C0B5038F2EAEBB5C918" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets_077DB943534E939DB5A8F2EAEBB64D88" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_A77FEF41454014D6850EF2F9B24AA4C8" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets_077DB943534E939DB5A8F2EAEBB64D88" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_DefinedBenefitPlanUnfundedStatus" xlink:label="loc_wdc_DefinedBenefitPlanUnfundedStatus_EE907D5A9930B7073389F2EAEBB50C8C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_PensionPlansPostretirementAndOtherEmployeeBenefitsLineItems_4B9021399BC4CA4956CCF2EAEBB413A4" xlink:to="loc_wdc_DefinedBenefitPlanUnfundedStatus_EE907D5A9930B7073389F2EAEBB50C8C" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_E23BE4ABE9C181EC780DCCF1BDD78CCC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8D020BED1EF736AE98E4CCF1BDD70151" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_E23BE4ABE9C181EC780DCCF1BDD78CCC" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8D020BED1EF736AE98E4CCF1BDD70151" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C22444F7FE4E4B5D463BCCF1BDD74292" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8D020BED1EF736AE98E4CCF1BDD70151" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C22444F7FE4E4B5D463BCCF1BDD74292" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_E3DC1744625231A199A3CCF1BDD7BF9F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C22444F7FE4E4B5D463BCCF1BDD74292" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_E3DC1744625231A199A3CCF1BDD7BF9F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_E3DC1744625231A199A3CCF1BDD7BF9F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C22444F7FE4E4B5D463BCCF1BDD74292" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_E3DC1744625231A199A3CCF1BDD7BF9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_15268C561CBA0F9E57DACCF1BDD70ABB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_E3DC1744625231A199A3CCF1BDD7BF9F" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_15268C561CBA0F9E57DACCF1BDD70ABB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_6698E1DF7BE32386507ACCF1BDD77F6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_E23BE4ABE9C181EC780DCCF1BDD78CCC" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_6698E1DF7BE32386507ACCF1BDD77F6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_B0EFC91378B95C1C7622CCF1BDD7664E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_E23BE4ABE9C181EC780DCCF1BDD78CCC" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_B0EFC91378B95C1C7622CCF1BDD7664E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_41A47E66199D2FF9D6E6CCF1BDD74FA6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_E23BE4ABE9C181EC780DCCF1BDD78CCC" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_41A47E66199D2FF9D6E6CCF1BDD74FA6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineBenefitCostsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_791BC77D3BB8E20B64E4CCF1BDD1FF6C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6335356CFCEC289BDED1CCF1BDD018D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_791BC77D3BB8E20B64E4CCF1BDD1FF6C" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6335356CFCEC289BDED1CCF1BDD018D0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C2975AF2C5FACDE2AAA8CCF1BDD191D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_6335356CFCEC289BDED1CCF1BDD018D0" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C2975AF2C5FACDE2AAA8CCF1BDD191D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_8FB0F3DF5AE6F6619A2DCCF1BDD1E696_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C2975AF2C5FACDE2AAA8CCF1BDD191D3" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_8FB0F3DF5AE6F6619A2DCCF1BDD1E696_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_8FB0F3DF5AE6F6619A2DCCF1BDD1E696" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_C2975AF2C5FACDE2AAA8CCF1BDD191D3" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_8FB0F3DF5AE6F6619A2DCCF1BDD1E696" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ForeignPensionPlansDefinedCostMember" xlink:label="loc_wdc_ForeignPensionPlansDefinedCostMember_4359BCEB7A98970009F2CCF1BDD10D90" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_8FB0F3DF5AE6F6619A2DCCF1BDD1E696" xlink:to="loc_wdc_ForeignPensionPlansDefinedCostMember_4359BCEB7A98970009F2CCF1BDD10D90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_9F1FB6B7F51AB3F105E8CCF1BDD1BEEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_791BC77D3BB8E20B64E4CCF1BDD1FF6C" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_9F1FB6B7F51AB3F105E8CCF1BDD1BEEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_A0CCA27DA8AC2BCBFF03CCF1BDD1BBF1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_791BC77D3BB8E20B64E4CCF1BDD1FF6C" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_A0CCA27DA8AC2BCBFF03CCF1BDD1BBF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_D6465CE84DB0505707DECCF1BDD138DE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_791BC77D3BB8E20B64E4CCF1BDD1FF6C" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_D6465CE84DB0505707DECCF1BDD138DE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansWeightedAverageActuarialAssumptionsUsedToDetermineBenefitObligationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_403DA8246F6B6715CE45CCF1BDD49A0A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D71C3A47DA8BB5DC8B20CCF1BDD45C16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_403DA8246F6B6715CE45CCF1BDD49A0A" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D71C3A47DA8BB5DC8B20CCF1BDD45C16" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_F8B6C1328B685BB78EAFCCF1BDD40E57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_D71C3A47DA8BB5DC8B20CCF1BDD45C16" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_F8B6C1328B685BB78EAFCCF1BDD40E57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_07CD439B8C6699590657CCF1BDD4CB32_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_F8B6C1328B685BB78EAFCCF1BDD40E57" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_07CD439B8C6699590657CCF1BDD4CB32_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_07CD439B8C6699590657CCF1BDD4CB32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_F8B6C1328B685BB78EAFCCF1BDD40E57" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_07CD439B8C6699590657CCF1BDD4CB32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_A8A7F61B6B06AC7FE84CCCF1BDD416FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_07CD439B8C6699590657CCF1BDD4CB32" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_A8A7F61B6B06AC7FE84CCCF1BDD416FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_1F52C48D34D3450CEDEBCCF1BDD405AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_403DA8246F6B6715CE45CCF1BDD49A0A" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_1F52C48D34D3450CEDEBCCF1BDD405AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_BF54D39CAAC339C58345CCF1BDD4B5A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_403DA8246F6B6715CE45CCF1BDD49A0A" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_BF54D39CAAC339C58345CCF1BDD4B5A8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/PropertyPlantAndEquipmentDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F4EAA43AB974AE21F346C7B69673C212" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_F355A626108F89F3929FC7B69672A8B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F4EAA43AB974AE21F346C7B69673C212" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_F355A626108F89F3929FC7B69672A8B3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_F71A1A70AA61FE8C6279C7B696721B85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_F355A626108F89F3929FC7B69672A8B3" xlink:to="loc_us-gaap_RangeAxis_F71A1A70AA61FE8C6279C7B696721B85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F3F89A4A23298E340C07C7B69672078C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_F71A1A70AA61FE8C6279C7B696721B85" xlink:to="loc_us-gaap_RangeMember_F3F89A4A23298E340C07C7B69672078C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_F3F89A4A23298E340C07C7B69672078C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_F71A1A70AA61FE8C6279C7B696721B85" xlink:to="loc_us-gaap_RangeMember_F3F89A4A23298E340C07C7B69672078C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_8AF57E57977BDD47D47AC7B69672C239" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F3F89A4A23298E340C07C7B69672078C" xlink:to="loc_us-gaap_MinimumMember_8AF57E57977BDD47D47AC7B69672C239" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_5152E91456D82664BFEEC7B6967296C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_F3F89A4A23298E340C07C7B69672078C" xlink:to="loc_us-gaap_MaximumMember_5152E91456D82664BFEEC7B6967296C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A415A66BF3A790C7B3ECC7B69672782F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_F355A626108F89F3929FC7B69672A8B3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A415A66BF3A790C7B3ECC7B69672782F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_39E591FA7F344B609E2FC7B69672AAF5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A415A66BF3A790C7B3ECC7B69672782F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_39E591FA7F344B609E2FC7B69672AAF5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_39E591FA7F344B609E2FC7B69672AAF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_A415A66BF3A790C7B3ECC7B69672782F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_39E591FA7F344B609E2FC7B69672AAF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_7903C2DE986FB61E015CC7B696725579" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_39E591FA7F344B609E2FC7B69672AAF5" xlink:to="loc_us-gaap_BuildingMember_7903C2DE986FB61E015CC7B696725579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_A0C5766E0D16A4CBBF36C7B696724B39" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_39E591FA7F344B609E2FC7B69672AAF5" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_A0C5766E0D16A4CBBF36C7B696724B39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_ADA86478E080C3DA0847C7B69673DB1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F4EAA43AB974AE21F346C7B69673C212" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_ADA86478E080C3DA0847C7B69673DB1F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/QuarterlyResultsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/QuarterlyResultsOfOperationsSupplementalQuarterlyResultsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedIncomeStatementsCaptionsLineItems" xlink:label="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CondensedIncomeStatementTable" xlink:label="loc_us-gaap_CondensedIncomeStatementTable_D2D0EA54C3A224B75936F1DCCC4B58A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:to="loc_us-gaap_CondensedIncomeStatementTable_D2D0EA54C3A224B75936F1DCCC4B58A6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_2C2BF21176F38B22B6E1F1DCCC4BC77B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CondensedIncomeStatementTable_D2D0EA54C3A224B75936F1DCCC4B58A6" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_2C2BF21176F38B22B6E1F1DCCC4BC77B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D8B8C42709C3A3E07A34F1DCCC4BC0E6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2C2BF21176F38B22B6E1F1DCCC4BC77B" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D8B8C42709C3A3E07A34F1DCCC4BC0E6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D8B8C42709C3A3E07A34F1DCCC4BC0E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2C2BF21176F38B22B6E1F1DCCC4BC77B" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D8B8C42709C3A3E07A34F1DCCC4BC0E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_us-gaap_SalesRevenueGoodsNet_C323AEF47AC82E1A5AA8F1DCCC4B6335" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:to="loc_us-gaap_SalesRevenueGoodsNet_C323AEF47AC82E1A5AA8F1DCCC4B6335" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_C4639415B2C51397B865F1DCCC4BE703" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:to="loc_us-gaap_GrossProfit_C4639415B2C51397B865F1DCCC4BE703" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_453DB7C6802C352B76D7F1DCCC4CE51B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:to="loc_us-gaap_OperatingIncomeLoss_453DB7C6802C352B76D7F1DCCC4CE51B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_F09C0830C062B969466FF1DCCC4C8179" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:to="loc_us-gaap_NetIncomeLoss_F09C0830C062B969466FF1DCCC4C8179" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_4A7899DCC634D2E356EEF1DCCC4CF140" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:to="loc_us-gaap_EarningsPerShareBasic_4A7899DCC634D2E356EEF1DCCC4CF140" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_FCD956ABB722D5B657AAF1DCCC4C45FA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CondensedIncomeStatementsCaptionsLineItems_FA84F133B2ED0DE008E9F1DCCC4B372A" xlink:to="loc_us-gaap_EarningsPerShareDiluted_FCD956ABB722D5B657AAF1DCCC4C45FA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/QuarterlyResultsOfOperationsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentAccountingPronouncementAndAccountingChanges" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_3DE86BEB617FA2A3D3A6EAB6420C54EF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_DBF0F720381007D80CB0EAB6420B9A0C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_3DE86BEB617FA2A3D3A6EAB6420C54EF" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_DBF0F720381007D80CB0EAB6420B9A0C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8F9751C4B76C2BD5E771EAB6420B719C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_DBF0F720381007D80CB0EAB6420B9A0C" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8F9751C4B76C2BD5E771EAB6420B719C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_BA66D4F349757CB8BF05EAB6420C5405_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8F9751C4B76C2BD5E771EAB6420B719C" xlink:to="loc_us-gaap_TypeOfAdoptionMember_BA66D4F349757CB8BF05EAB6420C5405_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_BA66D4F349757CB8BF05EAB6420C5405" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_8F9751C4B76C2BD5E771EAB6420B719C" xlink:to="loc_us-gaap_TypeOfAdoptionMember_BA66D4F349757CB8BF05EAB6420C5405" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:label="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_8C46B11989434809510DEAB6420C0E6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_3DE86BEB617FA2A3D3A6EAB6420C54EF" xlink:to="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_8C46B11989434809510DEAB6420C0E6E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/RecentAccountingPronouncementsAndAccountingChangesRecentAccountingPronouncementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ScheduleOfDebtDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_1BAE83A778282A3D33E8F2EB4E00B316" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_7D457384C1AAE27C2696F2EB4DFF8994" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1BAE83A778282A3D33E8F2EB4E00B316" xlink:to="loc_us-gaap_DebtInstrumentTable_7D457384C1AAE27C2696F2EB4DFF8994" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C960BCE234444A21C643F2EB4DFFD9A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7D457384C1AAE27C2696F2EB4DFF8994" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C960BCE234444A21C643F2EB4DFFD9A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5D94740DA1B2AA622B67F2EB4DFF47F0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C960BCE234444A21C643F2EB4DFFD9A3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5D94740DA1B2AA622B67F2EB4DFF47F0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5D94740DA1B2AA622B67F2EB4DFF47F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C960BCE234444A21C643F2EB4DFFD9A3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5D94740DA1B2AA622B67F2EB4DFF47F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_11794B824A04A11C38CEF2EB4DFFC0F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5D94740DA1B2AA622B67F2EB4DFF47F0" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_11794B824A04A11C38CEF2EB4DFFC0F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_70C33E2FE92FDC231B3AF2EB4DFF3D2A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7D457384C1AAE27C2696F2EB4DFF8994" xlink:to="loc_us-gaap_DebtInstrumentAxis_70C33E2FE92FDC231B3AF2EB4DFF3D2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_70C33E2FE92FDC231B3AF2EB4DFF3D2A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_70C33E2FE92FDC231B3AF2EB4DFF3D2A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherTermLoansMember" xlink:label="loc_wdc_OtherTermLoansMember_675DD6AAAB6636C2E498F2EB4E006F63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_OtherTermLoansMember_675DD6AAAB6636C2E498F2EB4E006F63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_CA38295063DFC1E7E447F2EB4E004AC0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_us-gaap_LineOfCreditMember_CA38295063DFC1E7E447F2EB4E004AC0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanAMember" xlink:label="loc_wdc_TermLoanAMember_BE1071B531F3B1C3C8DDF2EB4E008694" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_TermLoanAMember_BE1071B531F3B1C3C8DDF2EB4E008694" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanB2Member" xlink:label="loc_wdc_TermLoanB2Member_6F51297A37BE7C410FE2F2EB4E00E320" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_TermLoanB2Member_6F51297A37BE7C410FE2F2EB4E00E320" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanBMember" xlink:label="loc_wdc_U.S.TermLoanBMember_859DDFD345B2E23C6250F2EB4E00183E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_U.S.TermLoanBMember_859DDFD345B2E23C6250F2EB4E00183E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanB1Member" xlink:label="loc_wdc_U.S.TermLoanB1Member_0053F4AEA68609713C6AF2EB4E00882A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_U.S.TermLoanB1Member_0053F4AEA68609713C6AF2EB4E00882A" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_U.S.TermLoanB2Member" xlink:label="loc_wdc_U.S.TermLoanB2Member_87C232F41370237F9489F2EB4E00B173" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_U.S.TermLoanB2Member_87C232F41370237F9489F2EB4E00B173" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanBMember" xlink:label="loc_wdc_EuroTermLoanBMember_818D072F98C6453B8497F2EB4E009E2C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_EuroTermLoanBMember_818D072F98C6453B8497F2EB4E009E2C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanB1Member" xlink:label="loc_wdc_EuroTermLoanB1Member_7B28AB413DB60C059F35F2EB4E000F2C" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_EuroTermLoanB1Member_7B28AB413DB60C059F35F2EB4E000F2C" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EuroTermLoanB2Member" xlink:label="loc_wdc_EuroTermLoanB2Member_28E4A8EC518DD8C82E8DF2EB4E005B1D" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_EuroTermLoanB2Member_28E4A8EC518DD8C82E8DF2EB4E005B1D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TermLoanBMember" xlink:label="loc_wdc_TermLoanBMember_84DBA7A5907604D843C9F2EB4E00EC68" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_TermLoanBMember_84DBA7A5907604D843C9F2EB4E00EC68" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SecuredNotesMember" xlink:label="loc_wdc_SecuredNotesMember_30C306CEAD5448DB608AF2EB4E00B6D0" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_SecuredNotesMember_30C306CEAD5448DB608AF2EB4E00B6D0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_UnsecuredNotesMember" xlink:label="loc_wdc_UnsecuredNotesMember_C1833703F42814006D2DF2EB4E003105" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_wdc_UnsecuredNotesMember_C1833703F42814006D2DF2EB4E003105" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_83B9C481E77E46F0F799F2EB4E00EA39" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_us-gaap_SeniorNotesMember_83B9C481E77E46F0F799F2EB4E00EA39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_48F31EE0BE38ACC3812AF2EB4E00F96E" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_us-gaap_ConvertibleDebtMember_48F31EE0BE38ACC3812AF2EB4E00F96E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BridgeLoanMember" xlink:label="loc_us-gaap_BridgeLoanMember_E92F4A14C74FAA56B054F2EB4E007DE3" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_19674919FD62CC4E1BE6F2EB4DFF5C33" xlink:to="loc_us-gaap_BridgeLoanMember_E92F4A14C74FAA56B054F2EB4E007DE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_421D4B6BBC861277DDF7F2EB4E013284" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1BAE83A778282A3D33E8F2EB4E00B316" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_421D4B6BBC861277DDF7F2EB4E013284" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_ADE8346F78F9082C1699F2EB4E012324" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1BAE83A778282A3D33E8F2EB4E00B316" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_ADE8346F78F9082C1699F2EB4E012324" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_342BD4AC63C8D6BC265EF2EB4E01B4BF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1BAE83A778282A3D33E8F2EB4E00B316" xlink:to="loc_us-gaap_LongTermDebt_342BD4AC63C8D6BC265EF2EB4E01B4BF" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_LongTermDebtCurrentandBridgeLoans" xlink:label="loc_wdc_LongTermDebtCurrentandBridgeLoans_E85896935268E117054FF2EB4E01F31F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1BAE83A778282A3D33E8F2EB4E00B316" xlink:to="loc_wdc_LongTermDebtCurrentandBridgeLoans_E85896935268E117054FF2EB4E01F31F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_88EC8969531306026667F2EB4E01B343" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1BAE83A778282A3D33E8F2EB4E00B316" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_88EC8969531306026667F2EB4E01B343" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1C537F2AF03F1EA6A094F1DCCE1729AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1C537F2AF03F1EA6A094F1DCCE1729AA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1A1A7A4FC20DFB11905CF1DCCE1700C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1C537F2AF03F1EA6A094F1DCCE1729AA" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1A1A7A4FC20DFB11905CF1DCCE1700C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_11C4D2A356E8F6DD378AF1DCCE1831FD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1A1A7A4FC20DFB11905CF1DCCE1700C8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_11C4D2A356E8F6DD378AF1DCCE1831FD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_11C4D2A356E8F6DD378AF1DCCE1831FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1A1A7A4FC20DFB11905CF1DCCE1700C8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_11C4D2A356E8F6DD378AF1DCCE1831FD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_6E22E8D26EA4275A499BF1DCCE18C44B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_11C4D2A356E8F6DD378AF1DCCE1831FD" xlink:to="loc_wdc_SanDiskMember_6E22E8D26EA4275A499BF1DCCE18C44B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_D6EAAE757666FE7934E9F1DCCE18F7F1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1C537F2AF03F1EA6A094F1DCCE1729AA" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_D6EAAE757666FE7934E9F1DCCE18F7F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_11F0C7F73B491C9CFF5BF1DCCE18E809_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_D6EAAE757666FE7934E9F1DCCE18F7F1" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_11F0C7F73B491C9CFF5BF1DCCE18E809_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_11F0C7F73B491C9CFF5BF1DCCE18E809" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_D6EAAE757666FE7934E9F1DCCE18F7F1" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_11F0C7F73B491C9CFF5BF1DCCE18E809" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_29B85B3F0BCD41DE3377F1DCCE1DB2FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_11F0C7F73B491C9CFF5BF1DCCE18E809" xlink:to="loc_us-gaap_SubsequentEventMember_29B85B3F0BCD41DE3377F1DCCE1DB2FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_C0DDA4B5E2FC1717C28FF1DCCE1D1608" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1C537F2AF03F1EA6A094F1DCCE1729AA" xlink:to="loc_us-gaap_RangeAxis_C0DDA4B5E2FC1717C28FF1DCCE1D1608" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_137E62EF2CB44955BE97F1DCCE1DA01F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_C0DDA4B5E2FC1717C28FF1DCCE1D1608" xlink:to="loc_us-gaap_RangeMember_137E62EF2CB44955BE97F1DCCE1DA01F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_137E62EF2CB44955BE97F1DCCE1DA01F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_C0DDA4B5E2FC1717C28FF1DCCE1D1608" xlink:to="loc_us-gaap_RangeMember_137E62EF2CB44955BE97F1DCCE1DA01F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_0238592A43475B61F93AF1DCCE1DB9A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_137E62EF2CB44955BE97F1DCCE1DA01F" xlink:to="loc_us-gaap_MinimumMember_0238592A43475B61F93AF1DCCE1DB9A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_B245EBB1E95FA6A3755FF1DCCE1DF3AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_137E62EF2CB44955BE97F1DCCE1DA01F" xlink:to="loc_us-gaap_MaximumMember_B245EBB1E95FA6A3755FF1DCCE1DF3AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_12E0258E49DAF73AA242F1DCCE1D3816" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1C537F2AF03F1EA6A094F1DCCE1729AA" xlink:to="loc_us-gaap_AwardTypeAxis_12E0258E49DAF73AA242F1DCCE1D3816" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_12E0258E49DAF73AA242F1DCCE1D3816" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_12E0258E49DAF73AA242F1DCCE1D3816" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_4AD37AB7576F070FE3A2F1DCCE1DC7BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:to="loc_us-gaap_EmployeeStockOptionMember_4AD37AB7576F070FE3A2F1DCCE1DC7BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_9A2EC625F911F0C334A9F1DCCE1D1756" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_9A2EC625F911F0C334A9F1DCCE1D1756" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_73E5141B56F703FF9E8EF1DCCE1E3FE8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:to="loc_us-gaap_PerformanceSharesMember_73E5141B56F703FF9E8EF1DCCE1E3FE8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_6773E06EDC03321E1238F1DCCE1E4ECF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_6773E06EDC03321E1238F1DCCE1E4ECF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_7039EC0CACEE43B6773FF1DCCE1E920F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_7039EC0CACEE43B6773FF1DCCE1E920F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_4069FC85033DD12966E3F1DCCE1E4BF4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A8FCEF9EBE7BEE43BA1BF1DCCE1DE6C0" xlink:to="loc_us-gaap_TreasuryStockMember_4069FC85033DD12966E3F1DCCE1E4BF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_B8F220A156C2CDBC3F53F1DCCE1EF48D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_B8F220A156C2CDBC3F53F1DCCE1EF48D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_B4ECDBF29B28F4EFB146F1DCCE1E90A9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_B4ECDBF29B28F4EFB146F1DCCE1E90A9" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedInPeriod" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedInPeriod_D7A9DDD11DF878CBA269F1DCCE1E7C3D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedInPeriod_D7A9DDD11DF878CBA269F1DCCE1E7C3D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AssumedStockAppreciationRightsOutstandingAtBalanceSheetDate" xlink:label="loc_wdc_AssumedStockAppreciationRightsOutstandingAtBalanceSheetDate_646808020AABB4873DE0F1DCCE1EFB44" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_wdc_AssumedStockAppreciationRightsOutstandingAtBalanceSheetDate_646808020AABB4873DE0F1DCCE1EFB44" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_NumberOfSharesToBeIssuedForEveryOneShareActuallyIssuedInConnectionWithAward" xlink:label="loc_wdc_NumberOfSharesToBeIssuedForEveryOneShareActuallyIssuedInConnectionWithAward_9D6F67D8F9932D5BF462F1DCCE1EA245" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_wdc_NumberOfSharesToBeIssuedForEveryOneShareActuallyIssuedInConnectionWithAward_9D6F67D8F9932D5BF462F1DCCE1EA245" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CashSettledStockAppreciationRightsLiability" xlink:label="loc_wdc_CashSettledStockAppreciationRightsLiability_73602B4DB78094ECE6EEF1DCCE1EDC20" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_wdc_CashSettledStockAppreciationRightsLiability_73602B4DB78094ECE6EEF1DCCE1EDC20" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_StockAppreciationRightOutstandingWeightedAverageExercisePrice" xlink:label="loc_wdc_StockAppreciationRightOutstandingWeightedAverageExercisePrice_D70C4C0C5762241B9A54F1DCCE1E9EDA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A0A18FCA183D8E07837CF1DCCE1E7D7E" xlink:to="loc_wdc_StockAppreciationRightOutstandingWeightedAverageExercisePrice_D70C4C0C5762241B9A54F1DCCE1E9EDA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_694318C8182551C60862F14AA5DB84D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_DividendsPayableTable_694318C8182551C60862F14AA5DB84D0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_818A3B332AC90D7269FDF14AA5DB2896" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_694318C8182551C60862F14AA5DB84D0" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_818A3B332AC90D7269FDF14AA5DB2896" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_E3091FA93898A2C6E84AF14AA5DB8375_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_818A3B332AC90D7269FDF14AA5DB2896" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_E3091FA93898A2C6E84AF14AA5DB8375_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_E3091FA93898A2C6E84AF14AA5DB8375" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_818A3B332AC90D7269FDF14AA5DB2896" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_E3091FA93898A2C6E84AF14AA5DB8375" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_62AEA1F0736BB424F91AF14AA5DBAE1D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_E3091FA93898A2C6E84AF14AA5DB8375" xlink:to="loc_us-gaap_SubsequentEventMember_62AEA1F0736BB424F91AF14AA5DBAE1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableDateDeclaredDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_7EA2103C0C3866DA56BDF14AA5DB0206" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_7EA2103C0C3866DA56BDF14AA5DB0206" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_75A8987F3E9ACB059736F14AA5DB8217" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_75A8987F3E9ACB059736F14AA5DB8217" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsPayableDateOfRecordDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_21C9646240542A2EF9A3F14AA5DB649A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_21C9646240542A2EF9A3F14AA5DB649A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_1A3A272ACFDCEF5BD47BF14AA5DB184B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_1A3A272ACFDCEF5BD47BF14AA5DB184B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_B175D578447A14D633D7F14AA5DBD151" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_DividendsCommonStockCash_B175D578447A14D633D7F14AA5DBD151" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsSharebasedCompensationPaidInKind" xlink:label="loc_us-gaap_DividendsSharebasedCompensationPaidInKind_EA7BB985F6F679222430F14AA5DBC071" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_DividendsSharebasedCompensationPaidInKind_EA7BB985F6F679222430F14AA5DBC071" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Dividends" xlink:label="loc_us-gaap_Dividends_4943F02B3657579C220CF14AA5DCB3E3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_Dividends_4943F02B3657579C220CF14AA5DCB3E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsOfOrdinaryDividends" xlink:label="loc_us-gaap_PaymentsOfOrdinaryDividends_2D456E4E5D10755DFBC6F14AA5DC8079" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8F9BA92C84B5BE511FC4F14AA5DB7C2F" xlink:to="loc_us-gaap_PaymentsOfOrdinaryDividends_2D456E4E5D10755DFBC6F14AA5DC8079" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityFairValueOfStockOptionsGrantedDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DC4FAAE68AEBE5307FBFF1DCCE63CCA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DC4FAAE68AEBE5307FBFF1DCCE63CCA8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_2AC48C72B28B55D4CC0DF1DCCE637044" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DC4FAAE68AEBE5307FBFF1DCCE63CCA8" xlink:to="loc_us-gaap_AwardTypeAxis_2AC48C72B28B55D4CC0DF1DCCE637044" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6559B1A195257883854CF1DCCE634B36_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2AC48C72B28B55D4CC0DF1DCCE637044" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6559B1A195257883854CF1DCCE634B36_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6559B1A195257883854CF1DCCE634B36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2AC48C72B28B55D4CC0DF1DCCE637044" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6559B1A195257883854CF1DCCE634B36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_D79C85B11EEB67552263F214429F01E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6559B1A195257883854CF1DCCE634B36" xlink:to="loc_us-gaap_EmployeeStockOptionMember_D79C85B11EEB67552263F214429F01E5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SharebasedCompensationFairValueAssumptionsSuboptimalExerciseFactor" xlink:label="loc_wdc_SharebasedCompensationFairValueAssumptionsSuboptimalExerciseFactor_22E42D10E702FDA52B27F1DCCE6369C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_wdc_SharebasedCompensationFairValueAssumptionsSuboptimalExerciseFactor_22E42D10E702FDA52B27F1DCCE6369C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_C6092BBF44462C6108D2F1DCCE632EFA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_C6092BBF44462C6108D2F1DCCE632EFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_846E496C6B293A0628A8F1DCCE63F9FC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_846E496C6B293A0628A8F1DCCE63F9FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_B798F8632D2530D82462F1DCCE638A70" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_B798F8632D2530D82462F1DCCE638A70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_DFE87B12C46E3DBF8E7CF1DCCE63D7DE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_DFE87B12C46E3DBF8E7CF1DCCE63D7DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate_D1B8C8327094648B0237F1DCCE63DEAD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate_D1B8C8327094648B0237F1DCCE63DEAD" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationFairValueAssumptionsPostVestingTerminationRate" xlink:label="loc_wdc_ShareBasedCompensationFairValueAssumptionsPostVestingTerminationRate_E56F384BB15F92A29F60F1DCCE6473C9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_wdc_ShareBasedCompensationFairValueAssumptionsPostVestingTerminationRate_E56F384BB15F92A29F60F1DCCE6473C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_521D3384156EF8F58558F1DCCE648609" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_521D3384156EF8F58558F1DCCE648609" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_29CDCB1CB92C6200E45CF1DCCE6411B0" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_29CDCB1CB92C6200E45CF1DCCE6411B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssumptionsExpectedTerm" xlink:label="loc_us-gaap_FairValueAssumptionsExpectedTerm_91BE49BE63DCC5FD22B6F1DCCE6950F7" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_13109CCC2C0F990ADEEDF1DCCE6328E0" xlink:to="loc_us-gaap_FairValueAssumptionsExpectedTerm_91BE49BE63DCC5FD22B6F1DCCE6950F7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityFairValueOfVestedAwardsDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FairValueOfOptionsAndAwardsVestedLineItems" xlink:label="loc_wdc_FairValueOfOptionsAndAwardsVestedLineItems_21EADF4FF14768D3FFD6ED2D6346A7E3" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_FairValueOfOptionsAndAwardsVestedTable" xlink:label="loc_wdc_FairValueOfOptionsAndAwardsVestedTable_8A455D43DAD5725191CDED2D6345DB73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_FairValueOfOptionsAndAwardsVestedLineItems_21EADF4FF14768D3FFD6ED2D6346A7E3" xlink:to="loc_wdc_FairValueOfOptionsAndAwardsVestedTable_8A455D43DAD5725191CDED2D6345DB73" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_EE1805EBC5F2DD281C2BED2D63455E30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_FairValueOfOptionsAndAwardsVestedTable_8A455D43DAD5725191CDED2D6345DB73" xlink:to="loc_us-gaap_AwardTypeAxis_EE1805EBC5F2DD281C2BED2D63455E30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CEA438A5D4740BAD548DED2D63450BBD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_EE1805EBC5F2DD281C2BED2D63455E30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CEA438A5D4740BAD548DED2D63450BBD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CEA438A5D4740BAD548DED2D63450BBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_EE1805EBC5F2DD281C2BED2D63455E30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CEA438A5D4740BAD548DED2D63450BBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_97EE71F0BFB6B38167B8ED2D6346C08D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CEA438A5D4740BAD548DED2D63450BBD" xlink:to="loc_us-gaap_EmployeeStockOptionMember_97EE71F0BFB6B38167B8ED2D6346C08D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_3243273270D913E1C489ED2D63463028" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CEA438A5D4740BAD548DED2D63450BBD" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_3243273270D913E1C489ED2D63463028" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_4F43FC8366B733B6C488ED2D6346EF7F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FairValueOfOptionsAndAwardsVestedLineItems_21EADF4FF14768D3FFD6ED2D6346A7E3" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1_4F43FC8366B733B6C488ED2D6346EF7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_EABF032E9913B0C4D7FFED2D6346FD71" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_FairValueOfOptionsAndAwardsVestedLineItems_21EADF4FF14768D3FFD6ED2D6346A7E3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_EABF032E9913B0C4D7FFED2D6346FD71" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityFairValuesOfAllEmployeeStockPurchasePlanGrantedDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DB2BBE84FDED86A809812AD23BAA841C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DB2BBE84FDED86A809812AD23BAA841C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C77E2DFCE311FC4FE59F2AD23BAAE0A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_DB2BBE84FDED86A809812AD23BAA841C" xlink:to="loc_us-gaap_AwardTypeAxis_C77E2DFCE311FC4FE59F2AD23BAAE0A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A57C89F2DB5D255721D32AD23BAADE4D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C77E2DFCE311FC4FE59F2AD23BAAE0A8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A57C89F2DB5D255721D32AD23BAADE4D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A57C89F2DB5D255721D32AD23BAADE4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C77E2DFCE311FC4FE59F2AD23BAAE0A8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A57C89F2DB5D255721D32AD23BAADE4D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_AA3DF514D4429618F9782AD23BAA85EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A57C89F2DB5D255721D32AD23BAADE4D" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_AA3DF514D4429618F9782AD23BAA85EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssumptionsExpectedTerm" xlink:label="loc_us-gaap_FairValueAssumptionsExpectedTerm_D4ACEF3192158152F68D2AD23BAB2666" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:to="loc_us-gaap_FairValueAssumptionsExpectedTerm_D4ACEF3192158152F68D2AD23BAB2666" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_7C71C253FABA0185AF972AD23BAB38AB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_7C71C253FABA0185AF972AD23BAB38AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_6946E08FD8ADCE2F526F2AD23BABBC77" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_6946E08FD8ADCE2F526F2AD23BABBC77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_2903CCEC34B90FB8EFB02AD23BABB8C0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_2903CCEC34B90FB8EFB02AD23BABB8C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_DF2275BC31F28626CBB42AD23BAB23AA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_DF2275BC31F28626CBB42AD23BAB23AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_EEA9B68C7B169E2D6B732AD23BAB6455" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_21BF4D83FAB85CDC56602AD23BAA0116" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_EEA9B68C7B169E2D6B732AD23BAB6455" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BE0A726EA17315732687ED2D634A3B79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BE0A726EA17315732687ED2D634A3B79" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_45408BEB100D86DA5C90ED2D634AD084" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BE0A726EA17315732687ED2D634A3B79" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_45408BEB100D86DA5C90ED2D634AD084" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C9F18F948F8BB1641FBED2D634A5C56_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_45408BEB100D86DA5C90ED2D634AD084" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C9F18F948F8BB1641FBED2D634A5C56_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C9F18F948F8BB1641FBED2D634A5C56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_45408BEB100D86DA5C90ED2D634AD084" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C9F18F948F8BB1641FBED2D634A5C56" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_142B7382955BCC59DA78ED2D634A69C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8C9F18F948F8BB1641FBED2D634A5C56" xlink:to="loc_wdc_SanDiskMember_142B7382955BCC59DA78ED2D634A69C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_0DD9C6129600330EC9B2ED2D634A9CEC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_BE0A726EA17315732687ED2D634A3B79" xlink:to="loc_us-gaap_AwardTypeAxis_0DD9C6129600330EC9B2ED2D634A9CEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B2B69751F1C6309CFFC5ED2D634A7A2A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0DD9C6129600330EC9B2ED2D634A9CEC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B2B69751F1C6309CFFC5ED2D634A7A2A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B2B69751F1C6309CFFC5ED2D634A7A2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0DD9C6129600330EC9B2ED2D634A9CEC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B2B69751F1C6309CFFC5ED2D634A7A2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_D4C8E4D1DC6A8AF1DD98ED2D634A9634" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_B2B69751F1C6309CFFC5ED2D634A7A2A" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_D4C8E4D1DC6A8AF1DD98ED2D634A9634" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_2AA96A3CA8C3FF854FADED2D634BA756" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_2AA96A3CA8C3FF854FADED2D634BA756" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_69CBC760D0D7DC2EC558ED2D634BF4C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_69CBC760D0D7DC2EC558ED2D634BF4C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_A8A4B620553431A46D17ED2D634B19A1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_A8A4B620553431A46D17ED2D634B19A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_66D596B8D46AFB59E01CED2D634B201D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_66D596B8D46AFB59E01CED2D634B201D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriod" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriod_18551E285D529FCA73B0ED2D634B089E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriod_18551E285D529FCA73B0ED2D634B089E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriodWeightedAverageGrantDateFairValue_E661D4F264132F9B323BED2D634B8BD4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInPeriodWeightedAverageGrantDateFairValue_E661D4F264132F9B323BED2D634B8BD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_4AF32BCB1C403F8AB65AED2D634BD453" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_4AF32BCB1C403F8AB65AED2D634BD453" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_F12A8B66D900AB96ACBBED2D634BC752" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_F12A8B66D900AB96ACBBED2D634BC752" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AggregateValueOfRestrictedStockAwardsVested" xlink:label="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_8D0500016139F374E14AED2D634CD6FA" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_wdc_AggregateValueOfRestrictedStockAwardsVested_8D0500016139F374E14AED2D634CD6FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E50CD9E24D8B8B5D3560ED2D634B0EB1" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_E50CD9E24D8B8B5D3560ED2D634B0EB1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_2EEB189994483E262AA8ED2D634BE574" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardsEquityInstrumentsOtherThanOptionsForfeitedInPeriodWeightedAverageGrantDateFairValue_2EEB189994483E262AA8ED2D634BE574" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingNumber" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingNumber_7E877ABBE333B3077C65ED2D634BBB22" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingNumber_7E877ABBE333B3077C65ED2D634BBB22" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingWeightedAverageGrantDateFairValue" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingWeightedAverageGrantDateFairValue_FD28CA9820FAC02E3A3AED2D634B1080" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4702ADB293192C9ABD10ED2D634BD2CE" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestOutstandingWeightedAverageGrantDateFairValue_FD28CA9820FAC02E3A3AED2D634B1080" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_325B8306B7B766B7309BF14AAD246B45" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_87D113D681D6690D0F05F14AAD24412F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_325B8306B7B766B7309BF14AAD246B45" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_87D113D681D6690D0F05F14AAD24412F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7D7CDE0873302AD2B39EF14AAD2415C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_87D113D681D6690D0F05F14AAD24412F" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7D7CDE0873302AD2B39EF14AAD2415C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_7CA227B78E37748833B1F14AAD24B2EE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7D7CDE0873302AD2B39EF14AAD2415C9" xlink:to="loc_us-gaap_ClassOfStockDomain_7CA227B78E37748833B1F14AAD24B2EE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_7CA227B78E37748833B1F14AAD24B2EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7D7CDE0873302AD2B39EF14AAD2415C9" xlink:to="loc_us-gaap_ClassOfStockDomain_7CA227B78E37748833B1F14AAD24B2EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="loc_us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_2FE8F3600D7FBC446B18F14AAD247FF6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_325B8306B7B766B7309BF14AAD246B45" xlink:to="loc_us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_2FE8F3600D7FBC446B18F14AAD247FF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramExpirationDate" xlink:label="loc_us-gaap_StockRepurchaseProgramExpirationDate_672AC8252248B85FF811F14AAD244568" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_325B8306B7B766B7309BF14AAD246B45" xlink:to="loc_us-gaap_StockRepurchaseProgramExpirationDate_672AC8252248B85FF811F14AAD244568" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_2F2C34B8BF596FF9144BF14AAD24505C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_325B8306B7B766B7309BF14AAD246B45" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_2F2C34B8BF596FF9144BF14AAD24505C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockAppreciationRightsSarsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E782DC43FDDE3D5AD633F14AB2FB28D5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_7B424568FE5614187EC5F14AB2FB92AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E782DC43FDDE3D5AD633F14AB2FB28D5" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_7B424568FE5614187EC5F14AB2FB92AD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_411238AF6A6706D847D3F14AB2FB1DC5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_7B424568FE5614187EC5F14AB2FB92AD" xlink:to="loc_us-gaap_AwardTypeAxis_411238AF6A6706D847D3F14AB2FB1DC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_323E4FAC1C78DD23D491F14AB2FBAD89_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_411238AF6A6706D847D3F14AB2FB1DC5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_323E4FAC1C78DD23D491F14AB2FBAD89_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_323E4FAC1C78DD23D491F14AB2FBAD89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_411238AF6A6706D847D3F14AB2FB1DC5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_323E4FAC1C78DD23D491F14AB2FBAD89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_D4A47297B8FCF2D595A1F14AB2FBE7A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_323E4FAC1C78DD23D491F14AB2FBAD89" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_D4A47297B8FCF2D595A1F14AB2FBE7A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_52263BD370C5A0C69DECF14AB2FB8886" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_7B424568FE5614187EC5F14AB2FB92AD" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_52263BD370C5A0C69DECF14AB2FB8886" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D53A7F6428351F1EC18BF14AB2FBB141_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_52263BD370C5A0C69DECF14AB2FB8886" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D53A7F6428351F1EC18BF14AB2FBB141_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D53A7F6428351F1EC18BF14AB2FBB141" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_52263BD370C5A0C69DECF14AB2FB8886" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D53A7F6428351F1EC18BF14AB2FBB141" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1B7704C8A4BBCB1C01F9F14AB2FBC61E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_7B424568FE5614187EC5F14AB2FB92AD" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1B7704C8A4BBCB1C01F9F14AB2FBC61E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_CC8C43D81BDE5369EAD4F14AB2FBA2E7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1B7704C8A4BBCB1C01F9F14AB2FBC61E" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_CC8C43D81BDE5369EAD4F14AB2FBA2E7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_CC8C43D81BDE5369EAD4F14AB2FBA2E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1B7704C8A4BBCB1C01F9F14AB2FBC61E" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_CC8C43D81BDE5369EAD4F14AB2FBA2E7" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CompensationCostForCashSettledStockAppreciationRights" xlink:label="loc_wdc_CompensationCostForCashSettledStockAppreciationRights_4867D52558F9BBF0A178F14AB2FB5938" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E782DC43FDDE3D5AD633F14AB2FB28D5" xlink:to="loc_wdc_CompensationCostForCashSettledStockAppreciationRights_4867D52558F9BBF0A178F14AB2FB5938" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EmployeeServiceShareBasedCompensationTaxBenefitFromStockAppreciationRightsCompensationExpense" xlink:label="loc_wdc_EmployeeServiceShareBasedCompensationTaxBenefitFromStockAppreciationRightsCompensationExpense_64BF03E0A957394B3948F14AB2FC53CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E782DC43FDDE3D5AD633F14AB2FB28D5" xlink:to="loc_wdc_EmployeeServiceShareBasedCompensationTaxBenefitFromStockAppreciationRightsCompensationExpense_64BF03E0A957394B3948F14AB2FC53CB" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CompensationCostBenefitforCashSettledStockAppreciationRightsNetofTax" xlink:label="loc_wdc_CompensationCostBenefitforCashSettledStockAppreciationRightsNetofTax_AF30FB211FE1D152D267F14AB2FC9510" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E782DC43FDDE3D5AD633F14AB2FB28D5" xlink:to="loc_wdc_CompensationCostBenefitforCashSettledStockAppreciationRightsNetofTax_AF30FB211FE1D152D267F14AB2FC9510" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_46783C1A703CBC46E906ED2D6362F178" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6EF596ABAE8A4D5969D1ED2D6361D143" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_46783C1A703CBC46E906ED2D6362F178" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6EF596ABAE8A4D5969D1ED2D6361D143" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_99CCBB2D34F97850CBB5ED2D63614FB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6EF596ABAE8A4D5969D1ED2D6361D143" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_99CCBB2D34F97850CBB5ED2D63614FB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_99CCBB2D34F97850CBB5ED2D63614FB8" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_99CCBB2D34F97850CBB5ED2D63614FB8" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_E4BEC707ACFA03A8560DED2D6362AC4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6" xlink:to="loc_us-gaap_CostOfSalesMember_E4BEC707ACFA03A8560DED2D6362AC4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_71FDFB84B81965DB35BDED2D63628215" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_71FDFB84B81965DB35BDED2D63628215" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_B7C83BA52087113A204DED2D63621D7E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_B7C83BA52087113A204DED2D63621D7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestructuringChargesMember" xlink:label="loc_us-gaap_RestructuringChargesMember_67EA5CD0F5EBA692382EED2D6362D2A8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6A32C2658D2EDAAEC54EED2D63624FC6" xlink:to="loc_us-gaap_RestructuringChargesMember_67EA5CD0F5EBA692382EED2D6362D2A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_0CA4766D28E1AC0F693BED2D6361C62B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6EF596ABAE8A4D5969D1ED2D6361D143" xlink:to="loc_us-gaap_AwardTypeAxis_0CA4766D28E1AC0F693BED2D6361C62B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0CA4766D28E1AC0F693BED2D6361C62B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0CA4766D28E1AC0F693BED2D6361C62B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_601959DE868CFE7091CDED2D63618B9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD" xlink:to="loc_us-gaap_EmployeeStockOptionMember_601959DE868CFE7091CDED2D63618B9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_2C6ABA692D1D2E660B57ED2D6361565D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2C6ABA692D1D2E660B57ED2D6361565D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_ED1644CB3CAE7047246CED2D6361326E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_ED1644CB3CAE7047246CED2D6361326E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember_5ADA2CBCD5CF470B66ADED2D63615DD3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_BB6618BD3E0E18512924ED2D6361F7CD" xlink:to="loc_us-gaap_StockAppreciationRightsSARSMember_5ADA2CBCD5CF470B66ADED2D63615DD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_E65A5327F2175B445751ED2D63627B60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_46783C1A703CBC46E906ED2D6362F178" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_E65A5327F2175B445751ED2D63627B60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_E234BEA1CB5925CB8944ED2D6362C415" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_46783C1A703CBC46E906ED2D6362F178" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_E234BEA1CB5925CB8944ED2D6362C415" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_7D1EFE99E70D4962B674ED2D6362A645" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_46783C1A703CBC46E906ED2D6362F178" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_7D1EFE99E70D4962B674ED2D6362A645" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_64BA05ABDB9F8854DCBB0C4222C368D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_64BA05ABDB9F8854DCBB0C4222C368D7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_5FB24E8322D91D895E740C4222C518CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_64BA05ABDB9F8854DCBB0C4222C368D7" xlink:to="loc_us-gaap_AwardTypeAxis_5FB24E8322D91D895E740C4222C518CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_98E6B15AE95377C7EC660C4222C5A18D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_5FB24E8322D91D895E740C4222C518CF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_98E6B15AE95377C7EC660C4222C5A18D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_98E6B15AE95377C7EC660C4222C5A18D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_5FB24E8322D91D895E740C4222C518CF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_98E6B15AE95377C7EC660C4222C5A18D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_6B09CFD69816822F75B70C4222C5ADB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_98E6B15AE95377C7EC660C4222C5A18D" xlink:to="loc_us-gaap_EmployeeStockOptionMember_6B09CFD69816822F75B70C4222C5ADB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_22A99915AD70F317AEE90C4222C66914" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_64BA05ABDB9F8854DCBB0C4222C368D7" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_22A99915AD70F317AEE90C4222C66914" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_20EB7FB374BB3F04892F0C4222C6BB43_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_22A99915AD70F317AEE90C4222C66914" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_20EB7FB374BB3F04892F0C4222C6BB43_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_20EB7FB374BB3F04892F0C4222C6BB43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_22A99915AD70F317AEE90C4222C66914" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_20EB7FB374BB3F04892F0C4222C6BB43" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AmplidataMember" xlink:label="loc_wdc_AmplidataMember_022B8DFC5D1207241D460C4222C6BBBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_20EB7FB374BB3F04892F0C4222C6BB43" xlink:to="loc_wdc_AmplidataMember_022B8DFC5D1207241D460C4222C6BBBE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SanDiskMember" xlink:label="loc_wdc_SanDiskMember_92838473A5AF26C027650C4222C79663" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_20EB7FB374BB3F04892F0C4222C6BB43" xlink:to="loc_wdc_SanDiskMember_92838473A5AF26C027650C4222C79663" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_C8C3BF57DAA068201EBB0C4222C781B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_C8C3BF57DAA068201EBB0C4222C781B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_2A758D7D9E7D73CDC6540C4222C7893A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_2A758D7D9E7D73CDC6540C4222C7893A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_8AC7BA8EBF8210F720E30C4222C77EC8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_8AC7BA8EBF8210F720E30C4222C77EC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_69062D4B04E8E5B5BE7C0C4222C7C69E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_69062D4B04E8E5B5BE7C0C4222C7C69E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedInPeriod" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedInPeriod_71EF3FCC60D47FAB2AFF0C4222C76BC1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAssumedInPeriod_71EF3FCC60D47FAB2AFF0C4222C76BC1" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationOptionsAssumedWeightedAverageExercisePrice" xlink:label="loc_wdc_ShareBasedCompensationOptionsAssumedWeightedAverageExercisePrice_627CE51A5D9B61C050780C4222C78123" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_wdc_ShareBasedCompensationOptionsAssumedWeightedAverageExercisePrice_627CE51A5D9B61C050780C4222C78123" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7194F1B82CAD071EE6420C4222C769B7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7194F1B82CAD071EE6420C4222C769B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_60DBFD8184F69D63666F0C4222C7A057" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_60DBFD8184F69D63666F0C4222C7A057" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_C96BA2902553BF180D3E0C4222C72F79" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_C96BA2902553BF180D3E0C4222C72F79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_D6F891C398AF636B63A90C4222C88B61" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_D6F891C398AF636B63A90C4222C88B61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_BA0EA535C2C9CCEE87770C4222C87F83" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_BA0EA535C2C9CCEE87770C4222C87F83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_2115DF187017A21CBF210C4222C8200C" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_2115DF187017A21CBF210C4222C8200C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_7F21B957A3C152AAA4150C4222C81805" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_7F21B957A3C152AAA4150C4222C81805" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_2B699F452E4C3E7C76030C4222C85AA3" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_2B699F452E4C3E7C76030C4222C85AA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_09280D450565926C0CC30C4222C8ACF2" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_09280D450565926C0CC30C4222C8ACF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_DF41587EACBAE773E86D0C4222C80FD4" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_DF41587EACBAE773E86D0C4222C80FD4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationOptionsExercisableIntrinsicValue" xlink:label="loc_wdc_ShareBasedCompensationOptionsExercisableIntrinsicValue_2258DDBA0C23736729060C4222C9C13F" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_wdc_ShareBasedCompensationOptionsExercisableIntrinsicValue_2258DDBA0C23736729060C4222C9C13F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_C88818A810B1CC3C2B0A0C4222C9B188" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_C88818A810B1CC3C2B0A0C4222C9B188" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_8EF62E0A31E8A542E14E0C4222C90A4D" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_8EF62E0A31E8A542E14E0C4222C90A4D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_ShareBasedCompensationArrangementByShareBasedPaymentsAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm" xlink:label="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentsAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm_95FF2B80E006F685F7110C4222C9B5E8" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_wdc_ShareBasedCompensationArrangementByShareBasedPaymentsAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm_95FF2B80E006F685F7110C4222C9B5E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_6436F414F444688BDFBB0C4222C9C85D" xlink:type="locator" />
    <link:definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_763DD4D7D69BDC71BD120C4222C77EBF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_6436F414F444688BDFBB0C4222C9C85D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockReservedForIssuanceDetail" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_StockholdersEquityNoteLineItems" xlink:label="loc_wdc_StockholdersEquityNoteLineItems_19E4E9E1A9A2E58B0914F14AA9B5F849" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_StockholdersEquityNoteTable" xlink:label="loc_wdc_StockholdersEquityNoteTable_F02AB434831ECAD24C99F14AA9B4BAC2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_StockholdersEquityNoteLineItems_19E4E9E1A9A2E58B0914F14AA9B5F849" xlink:to="loc_wdc_StockholdersEquityNoteTable_F02AB434831ECAD24C99F14AA9B4BAC2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_98A500452D12C3819EEFF14AA9B5CE5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_StockholdersEquityNoteTable_F02AB434831ECAD24C99F14AA9B4BAC2" xlink:to="loc_us-gaap_AwardTypeAxis_98A500452D12C3819EEFF14AA9B5CE5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F46C0AE27071F112897AF14AA9B53DB5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_98A500452D12C3819EEFF14AA9B5CE5B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F46C0AE27071F112897AF14AA9B53DB5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F46C0AE27071F112897AF14AA9B53DB5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_98A500452D12C3819EEFF14AA9B5CE5B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F46C0AE27071F112897AF14AA9B53DB5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OutstandingAwardsAndSharesAvailableForAwardMember" xlink:label="loc_wdc_OutstandingAwardsAndSharesAvailableForAwardMember_CFB9CE67461E523F874BF14AA9B543D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F46C0AE27071F112897AF14AA9B53DB5" xlink:to="loc_wdc_OutstandingAwardsAndSharesAvailableForAwardMember_CFB9CE67461E523F874BF14AA9B543D3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EsppMember" xlink:label="loc_wdc_EsppMember_76CEA36CBE9C19CD9071F14AA9B57103" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F46C0AE27071F112897AF14AA9B53DB5" xlink:to="loc_wdc_EsppMember_76CEA36CBE9C19CD9071F14AA9B57103" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_0083A40DB9EB1DA9DF01F14AA9B5238D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_StockholdersEquityNoteTable_F02AB434831ECAD24C99F14AA9B4BAC2" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_0083A40DB9EB1DA9DF01F14AA9B5238D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_82420895766F9CA248E5F14AA9B59487_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_0083A40DB9EB1DA9DF01F14AA9B5238D" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_82420895766F9CA248E5F14AA9B59487_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_82420895766F9CA248E5F14AA9B59487" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_0083A40DB9EB1DA9DF01F14AA9B5238D" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_82420895766F9CA248E5F14AA9B59487" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConvertibleDebtMember" xlink:label="loc_us-gaap_ConvertibleDebtMember_332C942DB500075764AAF14AA9B5709C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_82420895766F9CA248E5F14AA9B59487" xlink:to="loc_us-gaap_ConvertibleDebtMember_332C942DB500075764AAF14AA9B5709C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_5E5A2A5D3A3B1CEEF95FF14AA9B638A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_StockholdersEquityNoteLineItems_19E4E9E1A9A2E58B0914F14AA9B5F849" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_5E5A2A5D3A3B1CEEF95FF14AA9B638A5" xlink:type="arc" />
  </link:definitionLink>
  <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-20170630.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_878F81B73C40F18ACD5DCDAA91BDC6FE" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable" xlink:label="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_096046198C984C1211BCCDAA91BC2B49" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_878F81B73C40F18ACD5DCDAA91BDC6FE" xlink:to="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_096046198C984C1211BCCDAA91BC2B49" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_F599B71469E9BAB819D7CDAA9211CB96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsTable_096046198C984C1211BCCDAA91BC2B49" xlink:to="loc_us-gaap_AwardTypeAxis_F599B71469E9BAB819D7CDAA9211CB96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C751905AB06FB0C4EFCFCDAA92136E77_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_F599B71469E9BAB819D7CDAA9211CB96" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C751905AB06FB0C4EFCFCDAA92136E77_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C751905AB06FB0C4EFCFCDAA92136E77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_F599B71469E9BAB819D7CDAA9211CB96" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C751905AB06FB0C4EFCFCDAA92136E77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_ED12FC6A00C16470AEBFCDAA92516E4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C751905AB06FB0C4EFCFCDAA92136E77" xlink:to="loc_us-gaap_EmployeeStockOptionMember_ED12FC6A00C16470AEBFCDAA92516E4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_FAC646DA761AF3B76AA5CDAA927AF85B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C751905AB06FB0C4EFCFCDAA92136E77" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_FAC646DA761AF3B76AA5CDAA927AF85B" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_EmployeeStockPurchasePlanMember" xlink:label="loc_wdc_EmployeeStockPurchasePlanMember_852EEF77F45FD5EF43CBCDAA929B3F93" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_C751905AB06FB0C4EFCFCDAA92136E77" xlink:to="loc_wdc_EmployeeStockPurchasePlanMember_852EEF77F45FD5EF43CBCDAA929B3F93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4C060FE5EC4159B7EBE8CDAA91EEC676" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_878F81B73C40F18ACD5DCDAA91BDC6FE" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4C060FE5EC4159B7EBE8CDAA91EEC676" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_9AA4255658C396E8410DCDAC50845006" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems_878F81B73C40F18ACD5DCDAA91BDC6FE" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_9AA4255658C396E8410DCDAC50845006" 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/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_5FACE025FB3848BD7BD92AD23DE4342B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_5FACE025FB3848BD7BD92AD23DE4342B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_7856637962F67D12726B2AD23DE527F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_5FACE025FB3848BD7BD92AD23DE4342B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_7856637962F67D12726B2AD23DE527F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D19DF7726E5A07E9FFB92AD23DE54A85_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7856637962F67D12726B2AD23DE527F0" xlink:to="loc_us-gaap_EquityComponentDomain_D19DF7726E5A07E9FFB92AD23DE54A85_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D19DF7726E5A07E9FFB92AD23DE54A85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7856637962F67D12726B2AD23DE527F0" xlink:to="loc_us-gaap_EquityComponentDomain_D19DF7726E5A07E9FFB92AD23DE54A85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_D34BEDBB36E4866131EC2AD23DE58BCE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D19DF7726E5A07E9FFB92AD23DE54A85" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_D34BEDBB36E4866131EC2AD23DE58BCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_6CE231E00152EF18629C2AD23DE5FB41" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D19DF7726E5A07E9FFB92AD23DE54A85" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_6CE231E00152EF18629C2AD23DE5FB41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_B6B215B19704D05F14D22AD23DE5DB08" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_5FACE025FB3848BD7BD92AD23DE4342B" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_B6B215B19704D05F14D22AD23DE5DB08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B6B215B19704D05F14D22AD23DE5DB08" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B6B215B19704D05F14D22AD23DE5DB08" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_5CFAAB65F5DF660DC1AB2AD23DE55818" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F" xlink:to="loc_us-gaap_CostOfSalesMember_5CFAAB65F5DF660DC1AB2AD23DE55818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_D6B65B36C1D81301C5E62AD23DE5D049" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_D6B65B36C1D81301C5E62AD23DE5D049" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseMember" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_D561B6C1459563E28D252AD23DE58B5D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_D561B6C1459563E28D252AD23DE58B5D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TaxExpenseMember" xlink:label="loc_wdc_TaxExpenseMember_5110FFC26ACFA57D25752AD23DE52FDE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_825530718683C87649D82AD23DE5C16F" xlink:to="loc_wdc_TaxExpenseMember_5110FFC26ACFA57D25752AD23DE52FDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTax_A1F6CD39E80B3203BF652AD23DE5BD06" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesBeforeReclassificationAdjustmentsTax_A1F6CD39E80B3203BF652AD23DE5BD06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_AF2A972473FC7A6FAB922AD23DE597A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_AF2A972473FC7A6FAB922AD23DE597A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_A5F027B1093E1BBE36C62AD23DE5809D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_A5F027B1093E1BBE36C62AD23DE5809D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax_373A05466A4FC54F07482AD23DEB8039" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesBeforeTax_373A05466A4FC54F07482AD23DEB8039" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_243D2AEFEE0A12F3FC7F2AD23DEB13B5" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_243D2AEFEE0A12F3FC7F2AD23DEB13B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_2088918E3B9B7579E3242AD23DEB3F2F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_8129A132DF95FBA6751F2AD23DE5AAC6" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_2088918E3B9B7579E3242AD23DEB3F2F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9C16757240CF4DEA6BA1F7AE0BE78C77" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_A58B164E15F39838F287F7AE0BE5D039" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9C16757240CF4DEA6BA1F7AE0BE78C77" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_A58B164E15F39838F287F7AE0BE5D039" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanTypeAxis" xlink:label="loc_us-gaap_DefinedContributionPlanTypeAxis_86116EA8E25D74E0E906F7AE0BE68263" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_A58B164E15F39838F287F7AE0BE5D039" xlink:to="loc_us-gaap_DefinedContributionPlanTypeAxis_86116EA8E25D74E0E906F7AE0BE68263" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanTypeDomain" xlink:label="loc_us-gaap_DefinedContributionPlanTypeDomain_058086390CBE8FFA3B8CF7AE0BE6C61D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedContributionPlanTypeAxis_86116EA8E25D74E0E906F7AE0BE68263" xlink:to="loc_us-gaap_DefinedContributionPlanTypeDomain_058086390CBE8FFA3B8CF7AE0BE6C61D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanTypeDomain" xlink:label="loc_us-gaap_DefinedContributionPlanTypeDomain_058086390CBE8FFA3B8CF7AE0BE6C61D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedContributionPlanTypeAxis_86116EA8E25D74E0E906F7AE0BE68263" xlink:to="loc_us-gaap_DefinedContributionPlanTypeDomain_058086390CBE8FFA3B8CF7AE0BE6C61D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_500336745E982E6436CCF7AE0BE64001" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPlanTypeDomain_058086390CBE8FFA3B8CF7AE0BE6C61D" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_500336745E982E6436CCF7AE0BE64001" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_BB9180CAD099D0F18D4DF7AE0BE68F61" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_A58B164E15F39838F287F7AE0BE5D039" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_BB9180CAD099D0F18D4DF7AE0BE68F61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_64D9490AFF295E9482F5F7AE0BE6824B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_BB9180CAD099D0F18D4DF7AE0BE68F61" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_64D9490AFF295E9482F5F7AE0BE6824B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_64D9490AFF295E9482F5F7AE0BE6824B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_BB9180CAD099D0F18D4DF7AE0BE68F61" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_64D9490AFF295E9482F5F7AE0BE6824B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyGainLossMember" xlink:label="loc_us-gaap_ForeignCurrencyGainLossMember_6DB8EE98C6E952BB27BCF7AE0BE62E7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_64D9490AFF295E9482F5F7AE0BE6824B" xlink:to="loc_us-gaap_ForeignCurrencyGainLossMember_6DB8EE98C6E952BB27BCF7AE0BE62E7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnInvestmentsByCategoryAxis" xlink:label="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A3E46B6B3375CFF6521EF7AE0BE63778" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_A58B164E15F39838F287F7AE0BE5D039" xlink:to="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A3E46B6B3375CFF6521EF7AE0BE63778" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_9868E42A706757BBB43BF7AE0BE7BC7E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A3E46B6B3375CFF6521EF7AE0BE63778" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_9868E42A706757BBB43BF7AE0BE7BC7E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_9868E42A706757BBB43BF7AE0BE7BC7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A3E46B6B3375CFF6521EF7AE0BE63778" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_9868E42A706757BBB43BF7AE0BE7BC7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_5A47F89B20068C2858E2F7AE0BE70FA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_9868E42A706757BBB43BF7AE0BE7BC7E" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_5A47F89B20068C2858E2F7AE0BE70FA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_6336935545E6EC8CDA04F7AE0BE725FB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_A58B164E15F39838F287F7AE0BE5D039" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_6336935545E6EC8CDA04F7AE0BE725FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2F84D861FF2E3DDC4412F7AE0BE79219_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6336935545E6EC8CDA04F7AE0BE725FB" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2F84D861FF2E3DDC4412F7AE0BE79219_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2F84D861FF2E3DDC4412F7AE0BE79219" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6336935545E6EC8CDA04F7AE0BE725FB" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2F84D861FF2E3DDC4412F7AE0BE79219" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DerivativeMember" xlink:label="loc_us-gaap_DerivativeMember_628335F7074129568E6BF7AE0BE79F83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_2F84D861FF2E3DDC4412F7AE0BE79219" xlink:to="loc_us-gaap_DerivativeMember_628335F7074129568E6BF7AE0BE79F83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_0545C192A2C579DD4FB3F7AE0BE7DE92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeMember_628335F7074129568E6BF7AE0BE79F83" xlink:to="loc_us-gaap_ForeignExchangeContractMember_0545C192A2C579DD4FB3F7AE0BE7DE92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_DDB761DF312B10D512BCF7AE0BE7D841" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeMember_628335F7074129568E6BF7AE0BE79F83" xlink:to="loc_us-gaap_InterestRateSwapMember_DDB761DF312B10D512BCF7AE0BE7D841" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_F4F62BCF546379CEC951F7AE0BE7F447" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9C16757240CF4DEA6BA1F7AE0BE78C77" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_F4F62BCF546379CEC951F7AE0BE7F447" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_D92C2A2BEED78A8BB093F7AE0BE7D4AE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9C16757240CF4DEA6BA1F7AE0BE78C77" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_D92C2A2BEED78A8BB093F7AE0BE7D4AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_B9DE5DB34013A8DD6DF5F7AE0BE7EA85" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9C16757240CF4DEA6BA1F7AE0BE78C77" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_B9DE5DB34013A8DD6DF5F7AE0BE7EA85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_148E674953032BCC5D67F7AE0BE7E9CC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9C16757240CF4DEA6BA1F7AE0BE78C77" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_148E674953032BCC5D67F7AE0BE7E9CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_E75BF04CBC7F6E8AECEAF7AE0BE7FB9F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9C16757240CF4DEA6BA1F7AE0BE78C77" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_E75BF04CBC7F6E8AECEAF7AE0BE7FB9F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_45CB6FD85CFE88A0A654C4B1F5090AA9" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_39D55420DC453743654DC4B1F5095AA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_45CB6FD85CFE88A0A654C4B1F5090AA9" xlink:to="loc_wdc_SupplementalFinancialInformationTable_39D55420DC453743654DC4B1F5095AA1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_9F2D24D40C7A038081C6C4B1F50991AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_39D55420DC453743654DC4B1F5095AA1" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_9F2D24D40C7A038081C6C4B1F50991AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_B80628C2709D75CD03E9C4B1F5090F93_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_9F2D24D40C7A038081C6C4B1F50991AA" xlink:to="loc_us-gaap_ReceivableTypeDomain_B80628C2709D75CD03E9C4B1F5090F93_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_B80628C2709D75CD03E9C4B1F5090F93" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_9F2D24D40C7A038081C6C4B1F50991AA" xlink:to="loc_us-gaap_ReceivableTypeDomain_B80628C2709D75CD03E9C4B1F5090F93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_A5A80D0FBCD9A725E10BC4B1F509F153" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_39D55420DC453743654DC4B1F5095AA1" xlink:to="loc_us-gaap_DebtInstrumentAxis_A5A80D0FBCD9A725E10BC4B1F509F153" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_FF61E33FD93CA3614D47C4B1F509BD22_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_A5A80D0FBCD9A725E10BC4B1F509F153" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_FF61E33FD93CA3614D47C4B1F509BD22_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_FF61E33FD93CA3614D47C4B1F509BD22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_A5A80D0FBCD9A725E10BC4B1F509F153" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_FF61E33FD93CA3614D47C4B1F509BD22" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_TradeReceivablesFactoredCashReceived" xlink:label="loc_wdc_TradeReceivablesFactoredCashReceived_78F73499FC0DB0DF054FC4B1F509880E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_45CB6FD85CFE88A0A654C4B1F5090AA9" xlink:to="loc_wdc_TradeReceivablesFactoredCashReceived_78F73499FC0DB0DF054FC4B1F509880E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_D77D4ADA63F3D5EF514DC4B1F50987B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_45CB6FD85CFE88A0A654C4B1F5090AA9" xlink:to="loc_us-gaap_Depreciation_D77D4ADA63F3D5EF514DC4B1F50987B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_1BB4AF86CD77DCE82C35C4C9370FA94B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_45CB6FD85CFE88A0A654C4B1F5090AA9" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_1BB4AF86CD77DCE82C35C4C9370FA94B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryLineItems" xlink:label="loc_us-gaap_InventoryLineItems_DBE0FD69A0FFBD604914C7B696211437" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryCurrentTable" xlink:label="loc_us-gaap_InventoryCurrentTable_F76C5F6ED3A277DC0CB4C7B6962091C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InventoryLineItems_DBE0FD69A0FFBD604914C7B696211437" xlink:to="loc_us-gaap_InventoryCurrentTable_F76C5F6ED3A277DC0CB4C7B6962091C1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PublicUtilitiesInventoryAxis" xlink:label="loc_us-gaap_PublicUtilitiesInventoryAxis_13A33EEF9C04245D9A50C7B69620E8D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InventoryCurrentTable_F76C5F6ED3A277DC0CB4C7B6962091C1" xlink:to="loc_us-gaap_PublicUtilitiesInventoryAxis_13A33EEF9C04245D9A50C7B69620E8D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_C498374DAD8938EBE316C7B69620808B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_13A33EEF9C04245D9A50C7B69620E8D1" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_C498374DAD8938EBE316C7B69620808B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_C498374DAD8938EBE316C7B69620808B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_13A33EEF9C04245D9A50C7B69620E8D1" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_C498374DAD8938EBE316C7B69620808B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_F3A2694B1522BFC39689C7B6962119E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_DBE0FD69A0FFBD604914C7B696211437" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_F3A2694B1522BFC39689C7B6962119E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_E44072B026947B015E38C7B6962161DE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_DBE0FD69A0FFBD604914C7B696211437" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_E44072B026947B015E38C7B6962161DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_124A00EA4684086945A2C7B69621A0CE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_DBE0FD69A0FFBD604914C7B696211437" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_124A00EA4684086945A2C7B69621A0CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_B25BF56474F1916DE455C7B69621DD14" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_DBE0FD69A0FFBD604914C7B696211437" xlink:to="loc_us-gaap_InventoryNet_B25BF56474F1916DE455C7B69621DD14" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SupplementalFinancialInformationLineItems" xlink:label="loc_wdc_SupplementalFinancialInformationLineItems_78706D00B801C5DD41C8EAB641E85FB8" xlink:type="locator" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_SupplementalFinancialInformationTable" xlink:label="loc_wdc_SupplementalFinancialInformationTable_B7A110AEB8194A21C2B5EAB641E53816" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_78706D00B801C5DD41C8EAB641E85FB8" xlink:to="loc_wdc_SupplementalFinancialInformationTable_B7A110AEB8194A21C2B5EAB641E53816" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AF91EB35AFDEB59B9F12EAB641E7B21F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_wdc_SupplementalFinancialInformationTable_B7A110AEB8194A21C2B5EAB641E53816" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AF91EB35AFDEB59B9F12EAB641E7B21F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AF91EB35AFDEB59B9F12EAB641E7B21F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_AF91EB35AFDEB59B9F12EAB641E7B21F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LandAndBuildingMember" xlink:label="loc_us-gaap_LandAndBuildingMember_71089B53ABB18D276516EAB641E847CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:to="loc_us-gaap_LandAndBuildingMember_71089B53ABB18D276516EAB641E847CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_E1D41AA87C20F607BB56EAB641E8CEE9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_E1D41AA87C20F607BB56EAB641E8CEE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0BE6C57876452DEEBE88EAB641E8593C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_0BE6C57876452DEEBE88EAB641E8593C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_2ADA0B64DAE74E865E52EAB641E8A110" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_2ADA0B64DAE74E865E52EAB641E8A110" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_B9303FA5A33BCB4F10C8EAB641E86C11" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_B9303FA5A33BCB4F10C8EAB641E86C11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_BD05FCB36785CB92D5EBEAB641E817E8" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D97005DD2CAF036EF4EEEAB641E74E86" xlink:to="loc_us-gaap_ConstructionInProgressMember_BD05FCB36785CB92D5EBEAB641E817E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_EB1578DBEC1C3E7FFCCDEAB641E8FAEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_wdc_SupplementalFinancialInformationLineItems_78706D00B801C5DD41C8EAB641E85FB8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_EB1578DBEC1C3E7FFCCDEAB641E8FAEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_017726F82E4E216A94BBEAB641E8EEFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_EB1578DBEC1C3E7FFCCDEAB641E8FAEB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_017726F82E4E216A94BBEAB641E8EEFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_04AF85455D445573238AEAB641E86FC2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_EB1578DBEC1C3E7FFCCDEAB641E8FAEB" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_04AF85455D445573238AEAB641E86FC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_E643713D9AD13B2200B1EAB641E84E10" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetAbstract_EB1578DBEC1C3E7FFCCDEAB641E8FAEB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_E643713D9AD13B2200B1EAB641E84E10" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProductWarrantyLiabilityLineItems" xlink:label="loc_us-gaap_ProductWarrantyLiabilityLineItems_621C7511805B894403D0C4B1F519D4AE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProductWarrantyLiabilityTable" xlink:label="loc_us-gaap_ProductWarrantyLiabilityTable_FF039B2748F9572A580AC4B1F5198761" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_621C7511805B894403D0C4B1F519D4AE" xlink:to="loc_us-gaap_ProductWarrantyLiabilityTable_FF039B2748F9572A580AC4B1F5198761" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherComprehensiveIncomeAxis" xlink:label="loc_wdc_OtherComprehensiveIncomeAxis_38A809967A8A58CE4ED7C4B1F519C332" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ProductWarrantyLiabilityTable_FF039B2748F9572A580AC4B1F5198761" xlink:to="loc_wdc_OtherComprehensiveIncomeAxis_38A809967A8A58CE4ED7C4B1F519C332" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherComprehensiveIncomeDomain" xlink:label="loc_wdc_OtherComprehensiveIncomeDomain_699614AF6CAC35914A76C4B1F519D258_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_wdc_OtherComprehensiveIncomeAxis_38A809967A8A58CE4ED7C4B1F519C332" xlink:to="loc_wdc_OtherComprehensiveIncomeDomain_699614AF6CAC35914A76C4B1F519D258_default" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_OtherComprehensiveIncomeDomain" xlink:label="loc_wdc_OtherComprehensiveIncomeDomain_699614AF6CAC35914A76C4B1F519D258" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_wdc_OtherComprehensiveIncomeAxis_38A809967A8A58CE4ED7C4B1F519C332" xlink:to="loc_wdc_OtherComprehensiveIncomeDomain_699614AF6CAC35914A76C4B1F519D258" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_B56F69B54BA5B869BF73C4B1F519E0B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_621C7511805B894403D0C4B1F519D4AE" xlink:to="loc_us-gaap_StandardProductWarrantyAccrual_B56F69B54BA5B869BF73C4B1F519E0B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualAdditionsFromBusinessAcquisition" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualAdditionsFromBusinessAcquisition_022571BDE91185B77B81C4B1F519C65D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_621C7511805B894403D0C4B1F519D4AE" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualAdditionsFromBusinessAcquisition_022571BDE91185B77B81C4B1F519C65D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_510AE1B7F572E34B9306C4B1F519FBEE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_621C7511805B894403D0C4B1F519D4AE" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_510AE1B7F572E34B9306C4B1F519FBEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPayments_44A2A5169AFE902A1C35C4B1F5197CB7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_621C7511805B894403D0C4B1F519D4AE" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualPayments_44A2A5169AFE902A1C35C4B1F5197CB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_D9F7867C82D209306253C4B1F5192B0C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductWarrantyLiabilityLineItems_621C7511805B894403D0C4B1F519D4AE" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_D9F7867C82D209306253C4B1F5192B0C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.wdc.com/role/WesternDigitalCorporation401KPlan" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.wdc.com/role/WesternDigitalCorporation401PlanAdditionalInformationDetailsTextualsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B28C4704BEB2189DBB94F25306B245F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B28C4704BEB2189DBB94F25306B245F6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_E5BB3AA350E85DFB59E5F255737C8FE8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B28C4704BEB2189DBB94F25306B245F6" xlink:to="loc_us-gaap_StatementScenarioAxis_E5BB3AA350E85DFB59E5F255737C8FE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_E5BB3AA350E85DFB59E5F255737C8FE8" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_E5BB3AA350E85DFB59E5F255737C8FE8" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PreTaxMember" xlink:label="loc_wdc_PreTaxMember_6D3D50D34E82E03D863EF25672332302" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E" xlink:to="loc_wdc_PreTaxMember_6D3D50D34E82E03D863EF25672332302" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_PostTaxMember" xlink:label="loc_wdc_PostTaxMember_ADD9DEF4C5B9BA7209C9F256DE7EB1FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E" xlink:to="loc_wdc_PostTaxMember_ADD9DEF4C5B9BA7209C9F256DE7EB1FE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_AfterAmendmentMember" xlink:label="loc_wdc_AfterAmendmentMember_A70B26C3444E3556EFB7F25D8C640AFE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E" xlink:to="loc_wdc_AfterAmendmentMember_A70B26C3444E3556EFB7F25D8C640AFE" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_BeforeAmendmentMember" xlink:label="loc_wdc_BeforeAmendmentMember_AE7F22D4F878CA9820FBF25E14E7D49F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_B17132A71C97E0B0DC28F25573949A4E" xlink:to="loc_wdc_BeforeAmendmentMember_AE7F22D4F878CA9820FBF25E14E7D49F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent" xlink:label="loc_us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent_6C391B7ED1553541D369F25306CABE05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:to="loc_us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent_6C391B7ED1553541D369F25306CABE05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_E1EDC434459443BF38BFF26744655415" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_E1EDC434459443BF38BFF26744655415" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_C844E966156DB4E7395CF2577A569336" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_C844E966156DB4E7395CF2577A569336" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_A401KPlanAmendment" xlink:label="loc_wdc_A401KPlanAmendment_AA8098327419BBAD2B9CF26C49611A36" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:to="loc_wdc_A401KPlanAmendment_AA8098327419BBAD2B9CF26C49611A36" xlink:type="arc" />
    <link:loc xlink:href="wdc-20170630.xsd#wdc_CompanyContributionsVestPeriod" xlink:label="loc_wdc_CompanyContributionsVestPeriod_1C96D1005684A444523DF25BDA0C6F9F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:to="loc_wdc_CompanyContributionsVestPeriod_1C96D1005684A444523DF25BDA0C6F9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_9EAED5D987FBB2673BEFF262D1159243" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8C93EA2227FCF93A22B6F25306B738C2" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_9EAED5D987FBB2673BEFF262D1159243" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
