v3.25.2
DOCUMENT AND ENTITY INFORMATION - shares
6 Months Ended
Jun. 29, 2025
Jul. 25, 2025
Entity Information [Line Items]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 29, 2025  
Document Transition Report false  
Entity File Number 1-183  
Entity Registrant Name HERSHEY CO  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 23-0691590  
Entity Address, Address Line One 19 East Chocolate Avenue  
Entity Address, City or Town Hershey  
Entity Address, State or Province PA  
Entity Address, Postal Zip Code 17033  
City Area Code 717  
Local Phone Number 534-4200  
Title of 12(b) Security Common Stock, one dollar par value  
Trading Symbol HSY  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Central Index Key 0000047111  
Document Fiscal Year Focus 2025  
Current Fiscal Year End Date --12-31  
Document Fiscal Period Focus Q2  
Amendment Flag false  
Common Stock    
Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   148,110,715
Class B common stock    
Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   54,613,514