Milesburg is a borough in Centre County, Pennsylvania. It is part of the State College, Pennsylvania metropolitan statistical area. The population was 1,093 at the 2020 census. Milesburg and nearby Miles Township were named after Samuel Miles, who co-owned the Centre Furnace Iron Works, along with Colonel John Patton and John Dunlop.