Sponsored Topics. Hershey is a census-designated place (CDP) in Derry Township, Dauphin County in the Commonwealth of Pennsylvania. The community is located 14 miles east of Harrisburg and is part of the Harrisburg–Carlisle Metropolitan Statistical Area.