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