21st century
On July 25, 2002, Hershey Trust Company announced that it sought to sell its controlling interest in the Hershey Foods Corporation. The value of Hershey stock rose 25% in a single day, with over 19 million shares traded. Over the following 55 days, criticism of the intended sale from media, the Pennsylvania Attorney General, the Hershey, and Dauphin County Orphans' Court senior judge, led the company to abandon its attempt to sell the company. Seven Hershey trustees who voted to sell Hershey Foods on September 17, 2002, for US$12.5 billion to the Wrigley Company, which is now part of Mars, Incorporated, were removed by Pennsylvania's Attorney and the Dauphin County Orphans' Court judge. Ten of the 17 trustees were forced to resign and four new members who lived locally were appointed. Former Pennsylvania Attorney General LeRoy S. Zimmerman became the new chairman of the reconstituted Milton Hershey School Trustees. Zimmerman publicly committed to having the Milton Hershey School Trust always maintain its ownership of the Hershey Company.
In December 2004, Hershey acquired the Mauna Loa Macadamia Nut Corp. from The Shansby Group.
In 2005, Krave Jerky was founded by Jon Sebastiani after he trained for a marathon and looked for a healthy source of energy. Alliance Consumer Growth, a private equity group, invested in Krave Jerky in 2012. Hershey's purchased the company in 2015 for $240 million. Hershey would later in 2020 sell Krave Jerky to Sonoma Brands, the food industry incubator founded by Sebastiani in 2016.
In July 2005, Hershey acquired the Berkeley, California-based boutique chocolate-maker Scharffen Berger Chocolate Maker. In November 2005, Hershey acquired Joseph Schmidt Confections, the San Francisco-based chocolatier, and in November 2006, Hershey acquired Dagoba Organic Chocolate, a boutique chocolate maker based in Ashland, Oregon.
In June 2006, Philadelphia city councilman Juan Ramos called for Hershey's to stop marketing "Ice Breakers Pacs", a kind of mint, due to the resemblance of its packaging to a kind that was used for illegal street drugs.
In September 2006, ABC News reported that several Hershey chocolate products were reformulated to replace cocoa butter with vegetable oil as an emulsifier. According to the company, this change was made to reduce the costs of producing the products instead of raising their prices or decreasing the sizes. Some consumers complained that the taste was different, but the company stated that in the company-sponsored blind taste tests, about half of consumers preferred the new versions. As the new versions no longer met the Food and Drug Administration's official definition of "milk chocolate", the changed items were relabeled from stating they were "milk chocolate" and "made with chocolate" to "chocolate candy" and "chocolatey."
In November 2006, the Smiths Falls production plant in Ontario temporarily shut down and several products were voluntarily recalled after concerns over Salmonella contamination possibly found in soy lecithin within their production line. It was believed that most of the products involved in the recall never made it to the retail level.
In December 2011, Hershey reached an agreement to acquire Brookside Foods Ltd., a privately held confectionery company based in Abbotsford, British Columbia.
In 2015, Hershey committed to source 100% cage-free eggs in their global supply chain by 2025.
In 2016, Hershey acquired barkTHINS, a New York-based chocolate snack foods company for $290 million.
An August 2016 attempt to sell Hershey to Mondelez International was abandoned following objections by the Hershey Trust.
In 2017, Hershey acquired Amplify Snack Brands, the Austin, Texas-based manufacturer of SkinnyPop in an all-cash transaction valued at approximately $1.6 billion. In September 2018, Hershey announced the purchase of Pirate Brands from B&G Foods for $420 million in an all-cash deal. These acquisitions marked Hershey's expansion into non-confectionery products.
In August 2019, Hershey announced it would purchase protein bar maker One Brands LLC for $397 million. In October 2019, Hershey announced a collaboration with Yuengling to produce a limited release collaboration beer titled Yuengling Hershey's Chocolate Porter, becoming Hershey's first licensed beer partnership. In June 2021, Hershey acquired Lily's for $425 million. In November 2021, Hershey announced plans to acquire Dot’s Homestyle Pretzels, and their co-packer, Pretzel INC for $1.2B.
In 2019, Hershey announced that they could not guarantee that their chocolate products were free from child slave labor, as they could trace only about 50% of their purchasing back to the farm level. According to The Washington Post, the commitment made in 2001 to eradicate such practices within four years had not been kept, neither at the due deadline of 2005, nor within the revised deadlines of 2008 and 2010, and that the result was not likely to be achieved for 2020.
In 2021, Hershey was named in a class action lawsuit filed by eight former child slaves from Mali who alleged that the company aided and abetted their enslavement on cocoa plantations in Ivory Coast. The suit accused Hershey, Nestlé, Cargill, Mars, Incorporated, Olam International, Barry Callebaut, and Mondelez International of knowingly engaging in forced labor, and the plaintiffs sought damages for unjust enrichment, negligent supervision, and intentional infliction of emotional distress. The case was dismissed by U.S. District Judge Dabney Friedrich in 2022.
In December 2022, Hershey was subjected to a lawsuit over the amount of lead and cadmium in the company's products, especially the Special Dark bar, the 70% Lily Bar, and the 85% Lily Bar. The lawsuit alleged that the company failed to warn consumers about the amount of metal in the bars and was based on findings published by the Consumer Reports magazine in the United States.
In 2023, the company entered the field of plant-based chocolate concocted with dairy alternatives. The snacks are marketed as Plant Based Extra Creamy and Plant Based Reese's Peanut Butter Cups.
In July 2025, it was announced that Kirk Tanner of The Wendy's Company would replace Michelle Buck as CEO upon her retirement in August 2025.