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>0001622634</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>Voskuil Steven E</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>1500</noOfUnitsSold>
        <aggregateMarketValue>283455.00</aggregateMarketValue>
        <noOfUnitsOutstanding>149884670</noOfUnitsOutstanding>
        <approxSaleDate>01/23/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/21/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1500</amountOfSecuritiesAcquired>
        <paymentDate>02/21/2023</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Steve E. Voskuil</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>10/23/2023</saleDate>
        <amountOfSecuritiesSold>1500</amountOfSecuritiesSold>
        <grossProceeds>285825.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Steve E. Voskuil</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>11/24/2023</saleDate>
        <amountOfSecuritiesSold>1500</amountOfSecuritiesSold>
        <grossProceeds>289065.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Steve E. Voskuil</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/26/2023</saleDate>
        <amountOfSecuritiesSold>1500</amountOfSecuritiesSold>
        <grossProceeds>273105.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>01/23/2024</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>05/23/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ Ryan Riviere, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Steve E. Voskuil</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4771}]
text: 144
  0001622634
  XXXXXXXX
  LIVE
  0000047111
  HERSHEY CO
  001-00183
  19 EAST CHOCOLATE AVENUE
  EXTERNAL RPTG & COMPLIANCE
  HERSHEY
  PA
  17033
  7175344200
  Voskuil Steven E
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  1500
  283455.00
  149884670
  01/23/2024
  NYSE
  Common
  02/21/2023
  Restricted Stock Vesting
  Issuer
  N
  1500
  02/21/2023
  Compensation
  N
  Steve E. Voskuil
  19 East Chocolate Avenue
  Hershey
  PA
  17033
  Common
  10/23/2023
  1500
  285825.00
  Steve E. Voskuil
  19 East Chocolate Avenue
  Hershey
  PA
  17033
  Common
  11/24/2023
  1500
  289065.00
  Steve E. Voskuil
  19 East Chocolate Avenue
  Hershey
  PA
  17033
  Common
  12/26/2023
  1500
  273105.00
  01/23/2024
  05/23/2023
  /s/ Ryan Riviere, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Steve E. Voskuil