Port Allegany is a borough in McKean County, Pennsylvania, United States. The population was 2,355 at the 2000 census. The town’s tree-lined streets lay in the foothills of the Appalachian Mountains, 30 miles west of the Allegheny River’s headwaters.