Madrid (/'mædɹɪd/) is a city in Douglas Township, Boone County, Iowa, United States. The population was 2,264 at the 2000 census. It is part of the 'Boone, Iowa Micropolitan Statistical Area', which is a part of the larger 'Ames-Boone, Iowa Combined Statistical Area'.