v3.10.0.1
DOCUMENT AND ENTITY INFORMATION - USD ($)
12 Months Ended
Dec. 31, 2018
Feb. 15, 2019
Jun. 29, 2018
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-K    
Document period end date Dec. 31, 2018    
Document fiscal year focus 2018    
Document fiscal period focus FY    
Amendment flag false    
Entity well-known seasoned issuer Yes    
Entity voluntary filers No    
Entity current reporting status Yes    
Entity public float     $ 13,038,400,227
Entity Small Business false    
Entity Emerging Growth Company false    
Entity Shell Company false    
Common stock      
Document Information [Line Items]      
Entity common stock, shares outstanding (shares)   147,906,017  
Class B common stock      
Document Information [Line Items]      
Entity common stock, shares outstanding (shares)   60,613,777