Middletown is a town in Frederick County, Maryland, United States. As of the 2020 census, the town had a population of 4,943.