<?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>0001593199</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>MICHAEL RAY</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>38th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>37706</noOfUnitsSold>
            <aggregateMarketValue>2121997.00</aggregateMarketValue>
            <noOfUnitsOutstanding>325859745</noOfUnitsOutstanding>
            <approxSaleDate>02/15/2024</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>11/27/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>546</amountOfSecuritiesAcquired>
            <paymentDate>11/27/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>09/04/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>3413</amountOfSecuritiesAcquired>
            <paymentDate>09/04/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>09/03/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>3656</amountOfSecuritiesAcquired>
            <paymentDate>09/03/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>08/30/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2146</amountOfSecuritiesAcquired>
            <paymentDate>08/30/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>08/27/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2181</amountOfSecuritiesAcquired>
            <paymentDate>08/27/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>04/22/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>7407</amountOfSecuritiesAcquired>
            <paymentDate>04/22/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>09/04/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>3413</amountOfSecuritiesAcquired>
            <paymentDate>09/04/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>09/03/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>3656</amountOfSecuritiesAcquired>
            <paymentDate>09/03/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>08/30/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2146</amountOfSecuritiesAcquired>
            <paymentDate>08/30/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>09/04/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Performance Shares</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2013</amountOfSecuritiesAcquired>
            <paymentDate>09/04/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>08/30/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Performance Shares</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>3919</amountOfSecuritiesAcquired>
            <paymentDate>08/30/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>08/02/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2106</amountOfSecuritiesAcquired>
            <paymentDate>08/02/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>05/31/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>671</amountOfSecuritiesAcquired>
            <paymentDate>05/31/2021</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>11/30/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>206</amountOfSecuritiesAcquired>
            <paymentDate>11/30/2022</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>05/31/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>227</amountOfSecuritiesAcquired>
            <paymentDate>05/31/2022</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>02/15/2024</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>11/08/2023</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Michael Charles Ray</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 11561}]
144
0001593199
XXXXXXXX
LIVE
0000106040
WESTERN DIGITAL CORPORATION
001-08703
5601 Great Oaks Parkway
San Jose
CA
95119
(408) 717-6000
MICHAEL RAY
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Floor
New York
NY
10004
37706
2121997.00
325859745
02/15/2024
NASDAQ
COMMON
11/27/2022
Restricted Stock
ISSUER
N
546
11/27/2022
Not Applicable
COMMON
09/04/2022
Restricted Stock
ISSUER
N
3413
09/04/2022
Not Applicable
COMMON
09/03/2022
Restricted Stock
ISSUER
N
3656
09/03/2022
Not Applicable
COMMON
08/30/2022
Restricted Stock
ISSUER
N
2146
08/30/2022
Not Applicable
COMMON
08/27/2022
Restricted Stock
ISSUER
N
2181
08/27/2022
Not Applicable
COMMON
04/22/2022
Restricted Stock
ISSUER
N
7407
04/22/2022
Not Applicable
COMMON
09/04/2021
Restricted Stock
ISSUER
N
3413
09/04/2021
Not Applicable
COMMON
09/03/2021
Restricted Stock
ISSUER
N
3656
09/03/2021
Not Applicable
COMMON
08/30/2021
Restricted Stock
ISSUER
N
2146
08/30/2021
Not Applicable
COMMON
09/04/2022
Performance Shares
ISSUER
N
2013
09/04/2022
Not Applicable
COMMON
08/30/2021
Performance Shares
ISSUER
N
3919
08/30/2021
Not Applicable
COMMON
08/02/2021
Restricted Stock
ISSUER
N
2106
08/02/2021
Not Applicable
COMMON
05/31/2021
Employee Stock Purchase Plan
ISSUER
N
671
05/31/2021
Cash
COMMON
11/30/2022
Employee Stock Purchase Plan
ISSUER
N
206
11/30/2022
Cash
COMMON
05/31/2022
Employee Stock Purchase Plan
ISSUER
N
227
05/31/2022
Cash
Y
02/15/2024
11/08/2023
/s/ Michael Charles Ray