Settled in 1795 and named in honor of John McKee, its founder, McKeesport remained a village until 1830 when coal mining began in the district. Large deposits of bituminous coal existed.
McKeesport was incorporated as a borough in 1842 and as a city in 1891. Population in 1900, 34,227; in 1910, 42,694; in 1914 (US estimate), 45,965; and in 1920, 45,975. 55,355 people lived in McKeesport in 1940. The decrease in the population is attributable to the general economic malaise which descended upon the region when the steelmaking industry moved elsewhere. The major employer was the National Tube Works, a manufacturer of iron pipes, which once employed 10,000 men. McKeesport is the site of the first G. C. Murphy 5 and 10 cents store.
As of the 2000 census, there were 24,040 people, 9,655 households, and 5,976 families residing in the city. The population density was 4,806.9 people per square mile (1,856.4/km²). There were 11,124 housing units at an average density of 2,224.3/sq mi (859.0/km²). The racial makeup of the city was 72.40% White, 24.46% African American, 0.27% Native American, 0.12% Asian, 0.01% Pacific Islander, 0.59% from other races, and 2.14% from two or more races. Hispanic or Latino of any race were 1.50% of the population.
Households: There were 9,655 households out of which 28.6% had children under the age of 18 living with them, 34.7% were married couples living together, 21.9% had a female householder with no husband present, and 38.1% were non-families. 33.9% of all households were made up of individuals and 15.7% had someone living alone who was 65 years of age or older. The average household size was 2.35 and the average family size was 3.01.
Age Distribution: The population was well distributed by age, with 25.4% under 18, 7.5% from 18 to 24, 24.8% from 25 to 44, 21.3% from 45 to 64, and 20.9% who were 65 years of age or older. The median age was 40. For every 100 females, there were 84.8 males; for every 100 females age 18 and over, there were 76.8 males.
Income: The median income for a household in the city was $23,715, and the median income for a family was $31,577. Males had a median income of $27,412 versus $21,977 for females. The per capita income for the city was $13,242. About 18.1% of families and 23.0% of the population were below the poverty line, including 35.9% of those under age 18 and 12.1% of those age 65 or over.