Hershey is an unincorporated community and census-designated place (CDP) in Derry Township in Dauphin County, Pennsylvania. It is known as the home of The Hershey Company, which was founded by candy magnate Milton S. Hershey. The community is located 14 miles (23 km) east of Harrisburg and is part of the Harrisburg−Carlisle Metropolitan Statistical Area. Hershey has no legal status as an incorporated municipality, and all its municipal services are provided by Derry Township. The population was 13,858 at the 2020 census. Hershey is located 75.2 miles (121.0 km) southwest of Allentown, 14.7 miles (23.7 km) east of Harrisburg, and 94.5 miles (152.1 km) northwest of Philadelphia.