Madrid is a city in Douglas Township, Boone County, Iowa, United States. The population was 2,802 at the time of the 2020 census. It is part of the Boone, Iowa Micropolitan Statistical Area, which is a part of the larger Ames-Boone, Iowa Combined Statistical Area. Geography Madrid is located at (41.875435, −93.819931). According to the United States Census Bureau, the city has a total area of , all land. History Madrid was a small coal mining community during the winter and a farming community during the summer. Mining became a larger part of its economy as time went on. Initially, coal was used locally for winter heating, hence the reason for it being considered a part-time job by most residents. The Carpenter Coal Company opened a mine between Madrid and Woodward in 1901, and the Reese Brothers Coal Company opened two mine shafts near Madrid. The Carpenter Brothers named their coal camp Scandia, and changed their corporate name to match. By 1914, The Scandia Coal Company of Madrid produced over 100,000 tons of coal per year, ranking among the top 24 coal producers in the state. In 1912, Locals 709 and 2460 of the United Mine Workers union, both based in Madrid, had an aggregate membership of 397, representing about 1/3 of the total population in 1910. Madrid gained a large Italian and Croatian population who worked in its coal mines during the 1920s and 1930s. In 2017 the town was featured in an episode of Madrid de sol a sol, a show from Spanish public channel Telemadrid exploring locations named "Madrid". (Madrid is Spain's capital.) Public safety Madrid is served by a volunteer fire department, as well as a police department. Demographics 2010 census As of the census of 2010, there were 2,543 people, 1,045 households, and 682 families residing in the city. The population density was . There were 1,138 housing units at an average density of . The racial makeup of the city was 98.6% White, 0.2% African American, 0.1% Native American, 0.1% Asian, 0.2% from other races, and 0.8% from two or more races. Hispanic or Latino of any race were 0.8% of the population. There were 1,045 households, of which 32.5% had children under the age of 18 living with them, 51.6% were married couples living together, 10.3% had a female householder with no husband present, 3.3% had a male householder with no wife present,