<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:01a0f8d4-358f-7ca1-b8da-14de3d1fbc33,g:30ae8e0f-4d66-4542-9392-290d00e1cf53-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:wdc="http://westerndigital.com/20261005" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://westerndigital.com/20261005">
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei-sub/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-sub-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd-sub/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-sub-2026.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="wdc-20261005_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="wdc-20261005_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="wdc-20261005_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="wdc_TanMember" abstract="true" name="TanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_GoeckelerMember" abstract="true" name="GoeckelerMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_DeductStockAwardsAndOptionAwardsTotalsAsIncludedInTheSummaryCompensationTableTotalForTheCoveredFiscalYearMember" abstract="true" name="DeductStockAwardsAndOptionAwardsTotalsAsIncludedInTheSummaryCompensationTableTotalForTheCoveredFiscalYearMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_AddFairValueAtYearEndOfAwardsGrantedDuringTheCoveredFiscalYearThatWereOutstandingAndUnvestedAtTheCoveredFiscalYearEndMember" abstract="true" name="AddFairValueAtYearEndOfAwardsGrantedDuringTheCoveredFiscalYearThatWereOutstandingAndUnvestedAtTheCoveredFiscalYearEndMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_AddDeductChangeAsOfTheVestingDateFromTheEndOfThePriorFiscalYearInFairValueOfAwardsGrantedInAnyPriorFiscalYearForWhichVestingConditionsWereSatisfiedMember" abstract="true" name="AddDeductChangeAsOfTheVestingDateFromTheEndOfThePriorFiscalYearInFairValueOfAwardsGrantedInAnyPriorFiscalYearForWhichVestingConditionsWereSatisfiedMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_AddDeductChangeAsOfTheLastDayOfTheCoveredFiscalYearFromTheEndOfThePriorFiscalYearInFairValueOfAwardsGrantedInAnyPriorFiscalYearThatWereOutstandingAndUnvestedMember" abstract="true" name="AddDeductChangeAsOfTheLastDayOfTheCoveredFiscalYearFromTheEndOfThePriorFiscalYearInFairValueOfAwardsGrantedInAnyPriorFiscalYearThatWereOutstandingAndUnvestedMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_DeductForAwardsGrantedInAnyPriorFiscalYearThatFailedToMeetTheApplicableVestingConditionsDuringTheCoveredFiscalYearTheFairValuesAsOfTheLastDayOfThePriorFiscalYearMember" abstract="true" name="DeductForAwardsGrantedInAnyPriorFiscalYearThatFailedToMeetTheApplicableVestingConditionsDuringTheCoveredFiscalYearTheFairValuesAsOfTheLastDayOfThePriorFiscalYearMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_AddFairValueAsOfTheVestingDateForAwardsGrantedAndVestedDuringTheCoveredFiscalYearMember" abstract="true" name="AddFairValueAsOfTheVestingDateForAwardsGrantedAndVestedDuringTheCoveredFiscalYearMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="wdc_AddValueOfDividendsOrOtherEarningsPaidOnEquityAwardsNotOtherwiseReflectedInTotalCompensationMember" abstract="true" name="AddValueOfDividendsOrOtherEarningsPaidOnEquityAwardsNotOtherwiseReflectedInTotalCompensationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
