Attached files

file filename
10-K - THE HERSHEY COMPANY FORM 10-K FOR THE YEAR ENDED DECEMBER 31, 2020 - HERSHEY COhsy-20201231.htm
EX-32.1 - SECTION 906 CEO AND CFO CERTIFICATION - HERSHEY COhsy_20201231exhibit321.htm
EX-31.2 - SECTION 302 CFO CERTIFICATION - HERSHEY COhsy_20201231exhibit312.htm
EX-31.1 - SECTION 302 CEO CERTIFICATION - HERSHEY COhsy_20201231exhibit311.htm
EX-21.1 - SUBSIDIARIES OF THE REGISTRANT - HERSHEY COhsy_20201231exhibit211.htm
EX-4.2 - THE COMPANY'S DESCRIPTION OF COMMON STOCK AND CLASS B COMMON STOCK - HERSHEY COhsy_20201231exhibit42.htm

EXHIBIT 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in the following Registration Statements:

(1) Registration Statement (Form S-3 No. 333-225303) pertaining to the prospectus for the sale of Debt Securities of The Hershey Company,

(2) Registration Statement (Form S-8 No. 333-174123) pertaining to the Equity and Incentive Compensation Plan of The Hershey Company,

(3) Registration Statement (Form S-8 No. 333-143764) pertaining to the Equity and Incentive Compensation Plan of The Hershey Company,

(4) Registration Statement (Form S-8 No. 333-107706) pertaining to the Directors’ Compensation Plan of Hershey Foods Corporation,

(5) Registration Statement (Form S-8 No. 333-72100) pertaining to the 2001 Nonqualified Stock Option Agreement of Hershey Foods Corporation,

(6) Registration Statement (Form S-8 No. 333-72112) pertaining to the Broad-Based Stock Option Plan of Hershey Foods Corporation,

(7) Registration Statement (Form S-8 No. 333-52509) pertaining to the Key Employee Incentive Plan of Hershey Foods Corporation, and

(8) Registration Statement (Form S-8 No. 333-25853) pertaining to the Directors’ Compensation Plan of Hershey Foods Corporation;

of our reports dated February 17, 2021, with respect to the consolidated financial statements and schedule of The Hershey Company and the effectiveness of internal control over financial reporting of The Hershey Company included in this Annual Report on Form 10-K of The Hershey Company for the year ended December 31, 2020.

/s/ ERNST & YOUNG LLP
Philadelphia, Pennsylvania
February 17, 2021