McKeesport is a city in Allegheny County, Pennsylvania, United States. The population was 19,731 at the 2010 census, and is Allegheny County's second-largest city, after Pittsburgh. It is at the confluence of the Monongahela and Youghiogheny rivers and within the Pittsburgh metropolitan area. It was founded in 1795.