Where is Spain?
Spain is a country in Southern Europe, part of Europe. It shares land borders with 4 countries: Andorra, France, Portugal and Morocco. Its geographic centre lies at about 40° north and 4° west, in the Northern and Western Hemispheres. The CIA World Factbook describes its location as: “Southwestern Europe, bordering the Mediterranean Sea, North Atlantic Ocean, Bay of Biscay, and Pyrenees Mountains; southwest of France.”
Other countries close by include Algeria and Mauritania.
Geography and climate
Terrain. Large, flat to dissected plateau surrounded by rugged hills; Pyrenees Mountains in north.
Climate. Temperate; clear, hot summers in interior, more moderate and cloudy along coast; cloudy, cold winters in interior, partly cloudy and cool along coast.
Natural hazards. Periodic droughts, occasional flooding volcanism: volcanic activity in the Canary Islands, located off Africa's northwest coast; Teide (3,715 m) has been deemed a Decade Volcano by the International Association of Volcanology and Chemistry of the Earth's Interior, worthy of study due to its explosive history and close proximity to human populations; La Palma (2,426 m) is the most active of the Canary Islands volcanoes; Lanzarote is the only other historically active volcano.
Major rivers. Tagus river source (shared with Portugal [m]) - 1,006 km note: [s] after country name indicates river source; [m] after country name indicates river mouth.
Geography note. Strategic location along approaches to Strait of Gibraltar; Spain controls a number of territories in northern Morocco, including the enclaves of Ceuta and Melilla and the islands of Penon de Velez de la Gomera, Penon de Alhucemas, and Islas Chafarinas; Spain's Canary Islands are one of four North Atlantic archipelagos that make up Macaronesia; the others are the Azores (Portugal), Madeira (Portugal), and Cabo Verde.
Geography text quoted from the CIA World Factbook (final 2026 edition, public domain).
Capital city: Madrid
The capital of Spain is Madrid, at 40.42° N, 3.70° W.
Name origin. The meaning and origin of the name is unclear; the city grew from a small Moorish fort that was called Majerit in the first recorded mention in A.D. 932; some trace the modern-day name back to the Roman era, with the Latin word materia (materials) as a possible source. (CIA World Factbook)
Flag of Spain
Three horizontal bands of red (top), yellow (double-width), and red, with the national coat of arms on the left side of the yellow band; the coat of arms shows the emblems of the area's former kingdoms (clockwise from upper left: Castile, Leon, Navarre, and Aragon), which also used red and yellow as their colors; the stylized pomegranate at the bottom of the shield represents Granada; the two columns represent the Pillars of Hercules, which are promontories (Gibraltar and Ceuta) on the Strait of Gibraltar; a red scroll bears the imperial motto of "Plus Ultra" (further beyond), referring to Spanish lands outside Europe. More about the flag of Spain →
National symbols: Pillars of Hercules. National colours: red, yellow.
Independence and history
1492. (CIA World Factbook)