Gaithersburg is a city in Montgomery County, Maryland, United States. At the time of the 2020 census, Gaithersburg had a population of 69,657, making it the ninth-most populous community in the state. Gaithersburg is located to the northwest of Washington, D.C., and is considered a suburb and a primary city within the Washington metropolitan area. Gaithersburg was incorporated as a town in 1878 and as a city in 1968.