content: <?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>0001964803</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>Grover Rohit</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>4200</noOfUnitsSold>
        <aggregateMarketValue>784434.00</aggregateMarketValue>
        <noOfUnitsOutstanding>149336442</noOfUnitsOutstanding>
        <approxSaleDate>03/04/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>06/03/2013</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>653</amountOfSecuritiesAcquired>
        <paymentDate>06/03/2013</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/21/2014</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>76</amountOfSecuritiesAcquired>
        <paymentDate>02/21/2014</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/22/2014</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>72</amountOfSecuritiesAcquired>
        <paymentDate>02/22/2014</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/23/2014</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>159</amountOfSecuritiesAcquired>
        <paymentDate>02/23/2014</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/19/2014</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>64</amountOfSecuritiesAcquired>
        <paymentDate>03/19/2014</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/12/2014</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>28</amountOfSecuritiesAcquired>
        <paymentDate>05/12/2014</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/19/2015</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>61</amountOfSecuritiesAcquired>
        <paymentDate>02/19/2015</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/21/2015</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>72</amountOfSecuritiesAcquired>
        <paymentDate>02/21/2015</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/22/2015</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>69</amountOfSecuritiesAcquired>
        <paymentDate>02/22/2015</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/19/2016</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>86</amountOfSecuritiesAcquired>
        <paymentDate>02/19/2016</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/21/2016</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>102</amountOfSecuritiesAcquired>
        <paymentDate>02/21/2016</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>04/18/2016</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>244</amountOfSecuritiesAcquired>
        <paymentDate>04/18/2016</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/19/2017</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>54</amountOfSecuritiesAcquired>
        <paymentDate>02/19/2017</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/22/2017</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>106</amountOfSecuritiesAcquired>
        <paymentDate>02/22/2017</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/16/2017</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>138</amountOfSecuritiesAcquired>
        <paymentDate>03/16/2017</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/18/2017</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>116</amountOfSecuritiesAcquired>
        <paymentDate>03/18/2017</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/16/2018</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>181</amountOfSecuritiesAcquired>
        <paymentDate>02/16/2018</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/20/2018</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>147</amountOfSecuritiesAcquired>
        <paymentDate>02/20/2018</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/18/2018</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>247</amountOfSecuritiesAcquired>
        <paymentDate>03/18/2018</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/22/2018</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>142</amountOfSecuritiesAcquired>
        <paymentDate>03/22/2018</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/16/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>199</amountOfSecuritiesAcquired>
        <paymentDate>02/16/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>142</amountOfSecuritiesAcquired>
        <paymentDate>02/22/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/26/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1015</amountOfSecuritiesAcquired>
        <paymentDate>02/26/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/18/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>27</amountOfSecuritiesAcquired>
        <paymentDate>03/18/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>03/04/2024</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>08/08/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ Gerardo Ibarra-Munoz, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Rohit Grover</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 15342}]
text: 144
  0001964803
  XXXXXXXX
  LIVE
  0000047111
  HERSHEY CO
  001-00183
  19 EAST CHOCOLATE AVENUE
  EXTERNAL RPTG & COMPLIANCE
  HERSHEY
  PA
  17033
  7175344200
  Grover Rohit
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  4200
  784434.00
  149336442
  03/04/2024
  NYSE
  Common
  06/03/2013
  Restricted Stock Vesting
  Issuer
  N
  653
  06/03/2013
  Compensation
  Common
  02/21/2014
  Restricted Stock Vesting
  Issuer
  N
  76
  02/21/2014
  Compensation
  Common
  02/22/2014
  Restricted Stock Vesting
  Issuer
  N
  72
  02/22/2014
  Compensation
  Common
  02/23/2014
  Restricted Stock Vesting
  Issuer
  N
  159
  02/23/2014
  Compensation
  Common
  03/19/2014
  Restricted Stock Vesting
  Issuer
  N
  64
  03/19/2014
  Compensation
  Common
  05/12/2014
  Restricted Stock Vesting
  Issuer
  N
  28
  05/12/2014
  Compensation
  Common
  02/19/2015
  Restricted Stock Vesting
  Issuer
  N
  61
  02/19/2015
  Compensation
  Common
  02/21/2015
  Restricted Stock Vesting
  Issuer
  N
  72
  02/21/2015
  Compensation
  Common
  02/22/2015
  Restricted Stock Vesting
  Issuer
  N
  69
  02/22/2015
  Compensation
  Common
  02/19/2016
  Restricted Stock Vesting
  Issuer
  N
  86
  02/19/2016
  Compensation
  Common
  02/21/2016
  Restricted Stock Vesting
  Issuer
  N
  102
  02/21/2016
  Compensation
  Common
  04/18/2016
  Restricted Stock Vesting
  Issuer
  N
  244
  04/18/2016
  Compensation
  Common
  02/19/2017
  Restricted Stock Vesting
  Issuer
  N
  54
  02/19/2017
  Compensation
  Common
  02/22/2017
  Restricted Stock Vesting
  Issuer
  N
  106
  02/22/2017
  Compensation
  Common
  03/16/2017
  Restricted Stock Vesting
  Issuer
  N
  138
  03/16/2017
  Compensation
  Common
  03/18/2017
  Restricted Stock Vesting
  Issuer
  N
  116
  03/18/2017
  Compensation
  Common
  02/16/2018
  Restricted Stock Vesting
  Issuer
  N
  181
  02/16/2018
  Compensation
  Common
  02/20/2018
  Restricted Stock Vesting
  Issuer
  N
  147
  02/20/2018
  Compensation
  Common
  03/18/2018
  Restricted Stock Vesting
  Issuer
  N
  247
  03/18/2018
  Compensation
  Common
  03/22/2018
  Restricted Stock Vesting
  Issuer
  N
  142
  03/22/2018
  Compensation
  Common
  02/16/2019
  Restricted Stock Vesting
  Issuer
  N
  199
  02/16/2019
  Compensation
  Common
  02/22/2019
  Restricted Stock Vesting
  Issuer
  N
  142
  02/22/2019
  Compensation
  Common
  02/26/2019
  Restricted Stock Vesting
  Issuer
  N
  1015
  02/26/2019
  Compensation
  Common
  03/18/2019
  Restricted Stock Vesting
  Issuer
  N
  27
  03/18/2019
  Compensation
  Y
  03/04/2024
  08/08/2023
  /s/ Gerardo Ibarra-Munoz, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Rohit Grover