Millerstown is a borough in northern Perry County, Pennsylvania, United States, located (via road) 29 mi northwest of Harrisburg and 29 mi southwest of Selinsgrove. The population was 688 at the 2020 Census. The borough is part of the Harrisburg–Carlisle Metropolitan Statistical Area.