July and August are typically the warmest months in Hershey, when the average temperature is 23°C. January and February are the coldest months, when the average temperature is 2°C. May and July are the months with the most rain.