Mount Airy is a city located in Carroll and Frederick counties in the U.S. state of Maryland. It is part of both the Washington Metropolitan Area and Baltimore Metropolitan Area. As of the 2010 census it had a population of 9,288.