Hagerstown () is a city in northwestern Maryland, United States. It is the county seat of Washington County, and one of the largest cities in a region known as Western Maryland. The population of Hagerstown city according to the 2020 United States Census is 43,527, and the total 2020 Urbanized Area population is 197,557.