Brunswick is a city in Frederick County, Maryland, United States. The population was 5,870 at the 2010 census.