v3.10.0.1
DOCUMENT AND ENTITY INFORMATION - USD ($)
9 Months Ended
Sep. 30, 2018
Oct. 19, 2018
Jun. 30, 2017
Document Information [Line Items]      
Entity registrant name HERSHEY CO    
Entity central index key 0000047111    
Current fiscal year end date --12-31    
Entity filer category Large Accelerated Filer    
Document type 10-Q    
Document period end date Sep. 30, 2018    
Document fiscal year focus 2018    
Document fiscal period focus Q3    
Amendment flag false    
Entity current reporting status Yes    
Entity public float     $ 14,885,931,198
Common stock      
Document Information [Line Items]      
Entity common stock, shares outstanding (shares)   149,188,011  
Class B common stock      
Document Information [Line Items]      
Entity common stock, shares outstanding (shares)   60,619,777