Below is a list of 170 prominent cities in Spain. Each row includes a city's latitude, longitude, autonomous community and other variables of interest. This is a subset of all 27,283 places in Spain (and only some of the fields) that you'll find in our World Cities Database. We're releasing this data subset for free under an MIT license. You're free to use the data below for personal or commercial applications. The data below can be downloaded in
Notable Cities: The capital of Spain is Madrid, which is in the autonomous community of Madrid. The largest city in Spain is Barcelona, with an urban population of 4,588,000.