Hershey is an unincorporated community and census-designated place (CDP) in Derry Township, Dauphin County, Pennsylvania, United States. 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 14,257 at the 2010 census.