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