<?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>0000938543</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>HERSHEY TRUST CO TRUSTEE IN TRUST FOR MILTON HERSHEY SCHOOL</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>10% Stockholder</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Northern Trust Securities, Inc.</name>
        <address>
          <com:street1>50 S. LaSalle Street</com:street1>
          <com:city>Chicago</com:city>
          <com:stateOrCountry>IL</com:stateOrCountry>
          <com:zipCode>60603</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>650000</noOfUnitsSold>
      <aggregateMarketValue>115204180.00</aggregateMarketValue>
      <noOfUnitsOutstanding>148229858</noOfUnitsOutstanding>
      <approxSaleDate>06/17/2026</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>11/13/1933</acquiredDate>
      <natureOfAcquisitionTransaction>Gift</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Milton S. Hershey</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>650000</amountOfSecuritiesAcquired>
      <paymentDate>11/13/1933</paymentDate>
      <natureOfPayment>Gift</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/16/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2198819.66</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/17/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2172760.77</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/18/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2143445.91</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/19/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2109027.35</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/20/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2105001.25</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/23/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2148882.09</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/24/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2158015.19</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/25/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2162495.49</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/26/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2123023.63</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/27/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2138415.71</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/30/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2136799.08</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Milton Hershey School Trust</name>
        <address>
          <com:street1>19 East Chocolate Ave.</com:street1>
          <com:city>Hershey</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>17033</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>The Hershey Company</securitiesClassTitle>
      <saleDate>03/31/2026</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>2087404.37</grossProceeds>
    </securitiesSoldInPast3Months>
    <remarks>Attached please find Securities Sold During the Past 3 Months.</remarks>
    <noticeSignature>
      <noticeDate>06/17/2026</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>02/06/2026</planAdoptionDate>
      </planAdoptionDates>
      <signature>/s/ Josh Shannon</signature>
    </noticeSignature>
  </formData>

</edgarSubmission>
