Elgin is a borough in Erie County, Pennsylvania, United States.
According to the United States Census Bureau, the borough has a total area of 1.5 square miles (3.8 km2), all land.
Pennsylvania Route 89 leads northwest from US 6 7.5 miles (12.1 km) to Wattsburg.
Beaver Run, a tributary of South Branch French Creek flows through the middle of the borough.
About 9.6% of families and 9.9% of the population were below the poverty line, including 18.0% of those under the age of eighteen and 12.3% of those sixty five or over.