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



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0000047111</issuerCik>
      <issuerName>HERSHEY CO</issuerName>
      <secFileNumber>001-00183</secFileNumber>
      <issuerAddress>
        <com:street1>19 EAST CHOCOLATE AVENUE</com:street1>
        <com:street2>EXTERNAL RPTG &amp; COMPLIANCE</com:street2>
        <com:city>HERSHEY</com:city>
        <com:stateOrCountry>PA</com:stateOrCountry>
        <com:zipCode>17033</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>7175344200</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Raup Charles R</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Officer</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Fidelity Brokerage Services LLC</name>
        <address>
          <com:street1>900 Salem Street</com:street1>
          <com:city>Smithfield</com:city>
          <com:stateOrCountry>RI</com:stateOrCountry>
          <com:zipCode>02917</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>1512</noOfUnitsSold>
      <aggregateMarketValue>376230.96</aggregateMarketValue>
      <noOfUnitsOutstanding>146922179</noOfUnitsOutstanding>
      <approxSaleDate>03/27/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>02/26/2019</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>656</amountOfSecuritiesAcquired>
      <paymentDate>02/26/2019</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>02/22/2019</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>102</amountOfSecuritiesAcquired>
      <paymentDate>02/22/2019</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>03/20/2019</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>152</amountOfSecuritiesAcquired>
      <paymentDate>03/20/2019</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>03/26/2020</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>48</amountOfSecuritiesAcquired>
      <paymentDate>03/26/2020</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>07/11/2020</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>554</amountOfSecuritiesAcquired>
      <paymentDate>07/11/2020</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Charles Raup</name>
        <address>
          <com:street1>19 EAST CHOCOLATE AVENUE</com:street1>
          <com:city>HERSHEY</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>12/27/2022</saleDate>
      <amountOfSecuritiesSold>1512</amountOfSecuritiesSold>
      <grossProceeds>357406.56</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>03/27/2023</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>05/26/2022</planAdoptionDate>
      </planAdoptionDates>
      <signature>/s/ Jennifer Ruchti, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Charles R. Raup</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5733}]
144
0001799196
XXXXXXXX
LIVE
0000047111
HERSHEY CO
001-00183
19 EAST CHOCOLATE AVENUE
EXTERNAL RPTG & COMPLIANCE
HERSHEY
PA
17033
7175344200
Raup Charles R
Officer
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
1512
376230.96
146922179
03/27/2023
NYSE
Common
02/26/2019
Restricted Stock Vesting
Issuer
N
656
02/26/2019
Compensation
Common
02/22/2019
Restricted Stock Vesting
Issuer
N
102
02/22/2019
Compensation
Common
03/20/2019
Restricted Stock Vesting
Issuer
N
152
03/20/2019
Compensation
Common
03/26/2020
Restricted Stock Vesting
Issuer
N
48
03/26/2020
Compensation
Common
07/11/2020
Restricted Stock Vesting
Issuer
N
554
07/11/2020
Compensation
N
Charles Raup
19 EAST CHOCOLATE AVENUE
HERSHEY
PA
17033
Common
12/27/2022
1512
357406.56
03/27/2023
05/26/2022
/s/ Jennifer Ruchti, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Charles R. Raup