<?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>456</noOfUnitsSold>
            <aggregateMarketValue>19776.72</aggregateMarketValue>
            <noOfUnitsOutstanding>347823902</noOfUnitsOutstanding>
            <approxSaleDate>03/12/2025</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>02/27/2025</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>456</amountOfSecuritiesAcquired>
            <paymentDate>02/27/2025</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>03/07/2025</saleDate>
            <amountOfSecuritiesSold>606</amountOfSecuritiesSold>
            <grossProceeds>25064.16</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>03/07/2025</saleDate>
            <amountOfSecuritiesSold>1053</amountOfSecuritiesSold>
            <grossProceeds>43552.08</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>03/12/2025</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": 4705}]
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
456
19776.72
347823902
03/12/2025
NASDAQ
Common
02/27/2025
Restricted Stock
ISSUER
N
456
02/27/2025
Not Applicable
N
GENE M ZAMISKA
5601 Great Oaks Parkway
San Jose
CA
95119
Common
03/07/2025
606
25064.16
GENE M ZAMISKA
5601 Great Oaks Parkway
San Jose
CA
95119
Common
03/07/2025
1053
43552.08
03/12/2025
12/01/2023
/s/ Gene M. Zamiska