<?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>0001848210</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>McCalman Jennifer</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>96</noOfUnitsSold>
      <aggregateMarketValue>24687.36</aggregateMarketValue>
      <noOfUnitsOutstanding>146922179</noOfUnitsOutstanding>
      <approxSaleDate>04/17/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/10/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>96</amountOfSecuritiesAcquired>
      <paymentDate>04/10/2023</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Jennifer McCalman</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>02/24/2023</saleDate>
      <amountOfSecuritiesSold>173</amountOfSecuritiesSold>
      <grossProceeds>41518.27</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Jennifer McCalman</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>02/28/2023</saleDate>
      <amountOfSecuritiesSold>70</amountOfSecuritiesSold>
      <grossProceeds>16699.20</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Jennifer McCalman</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>03/23/2023</saleDate>
      <amountOfSecuritiesSold>109</amountOfSecuritiesSold>
      <grossProceeds>26512.07</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>04/17/2023</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>11/11/2022</planAdoptionDate>
      </planAdoptionDates>
      <signature>/s/ Lisa Gerard, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Jennifer McCalman</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4763}]
144
0001848210
XXXXXXXX
LIVE
0000047111
HERSHEY CO
001-00183
19 EAST CHOCOLATE AVENUE
EXTERNAL RPTG & COMPLIANCE
HERSHEY
PA
17033
7175344200
McCalman Jennifer
Officer
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
96
24687.36
146922179
04/17/2023
NYSE
Common
04/10/2023
Restricted Stock Vesting
Issuer
N
96
04/10/2023
Compensation
N
Jennifer McCalman
19 East Chocolate Avenue
Hershey
PA
17033
Common
02/24/2023
173
41518.27
Jennifer McCalman
19 East Chocolate Avenue
Hershey
PA
17033
Common
02/28/2023
70
16699.20
Jennifer McCalman
19 East Chocolate Avenue
Hershey
PA
17033
Common
03/23/2023
109
26512.07
04/17/2023
11/11/2022
/s/ Lisa Gerard, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Jennifer McCalman