<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001456385</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0000106040</issuerCik>
            <issuerName>WESTERN DIGITAL CORPORATION</issuerName>
            <secFileNumber>001-08703</secFileNumber>
            <issuerAddress>
                <ns2:street1>5601 Great Oaks Parkway</ns2:street1>
                <ns2:city>San Jose</ns2:city>
                <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                <ns2:zipCode>95119</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>(408) 717-6000</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>GENE M ZAMISKA</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>8th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>219</noOfUnitsSold>
            <aggregateMarketValue>17082.00</aggregateMarketValue>
            <noOfUnitsOutstanding>326524668</noOfUnitsOutstanding>
            <approxSaleDate>06/17/2024</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>06/14/2024</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>219</amountOfSecuritiesAcquired>
            <paymentDate>06/14/2024</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>GENE M ZAMISKA</name>
                <address>
                    <ns2:street1>5601 Great Oaks Parkway</ns2:street1>
                    <ns2:city>San Jose</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>95119</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>05/29/2024</saleDate>
            <amountOfSecuritiesSold>315</amountOfSecuritiesSold>
            <grossProceeds>23747.85</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>GENE M ZAMISKA</name>
                <address>
                    <ns2:street1>5601 Great Oaks Parkway</ns2:street1>
                    <ns2:city>San Jose</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>95119</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>05/21/2024</saleDate>
            <amountOfSecuritiesSold>416</amountOfSecuritiesSold>
            <grossProceeds>29902.08</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>GENE M ZAMISKA</name>
                <address>
                    <ns2:street1>5601 Great Oaks Parkway</ns2:street1>
                    <ns2:city>San Jose</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>95119</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>04/08/2024</saleDate>
            <amountOfSecuritiesSold>443</amountOfSecuritiesSold>
            <grossProceeds>33225.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>06/17/2024</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>12/01/2023</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Gene M. Zamiska</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5398}]
144
0001456385
XXXXXXXX
LIVE
0000106040
WESTERN DIGITAL CORPORATION
001-08703
5601 Great Oaks Parkway
San Jose
CA
95119
(408) 717-6000
GENE M ZAMISKA
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
8th Floor
New York
NY
10004
219
17082.00
326524668
06/17/2024
NASDAQ
COMMON
06/14/2024
Restricted Stock
ISSUER
N
219
06/14/2024
Not Applicable
N
GENE M ZAMISKA
5601 Great Oaks Parkway
San Jose
CA
95119
Common
05/29/2024
315
23747.85
GENE M ZAMISKA
5601 Great Oaks Parkway
San Jose
CA
95119
Common
05/21/2024
416
29902.08
GENE M ZAMISKA
5601 Great Oaks Parkway
San Jose
CA
95119
Common
04/08/2024
443
33225.00
06/17/2024
12/01/2023
/s/ Gene M. Zamiska