Spain occupies 505,983 square kilometres of southwestern Europe, covering most of the Iberian Peninsula and also including the Balearic Islands in the Mediterranean, the Canary Islands in the Atlantic, and the North African cities of Ceuta and Melilla. Portugal borders the mainland to the west, France and Andorra lie beyond the Pyrenees to the northeast, and Gibraltar, a British Overseas Territory, meets Spain at the peninsula’s southern tip; Ceuta and Melilla border Morocco. Madrid, near the peninsula’s geographic centre, is the capital. Much of inland Spain is organized around the elevated Meseta Central, divided by the Sistema Central and flanked by the Cantabrian Mountains, Iberian System and Sierra Morena. The Pyrenees form the main northeastern barrier, while the Baetic ranges rise across the south and southeast. The Ebro and Guadalquivir depressions create major lowland corridors, and Spain’s highest point is Teide, a 3,715-metre volcano on Tenerife.
Spain’s climate varies sharply because latitude, altitude, relief and exposure to the Atlantic or Mediterranean interact over short distances. The northern Atlantic fringe, especially Galicia, Asturias, Cantabria and the Basque coast, is generally mild and humid, with rainfall through much of the year. The central plateau has a more continental pattern: elevation and distance from the sea produce hotter, drier summers, cold winters and larger temperature ranges. Mediterranean coasts and much of southern Spain have hot, dry summers and milder winters, but rainfall is irregular and can arrive in intense episodes; southeastern districts around Almería and Murcia are markedly semi-arid. Mountain areas are cooler and wetter, while the Canary Islands have a subtropical oceanic climate shaped by northeast trade winds and altitude. AEMET reported that 2025 averaged 15.1°C, 1.1°C above the 1991–2020 norm, and that Spain has warmed about 1.75°C since 1961. Drought, heat, wildfire risk and flash flooding therefore interact with persistent regional water scarcity.
These climatic contrasts support ecosystems ranging from Atlantic deciduous woodland and wet mountain pasture to Mediterranean oak forest, pine woodland, scrub, steppe and semi-desert, with alpine habitats in the Pyrenees and Macaronesian vegetation in the Canaries. Wetlands such as Doñana and the Ebro Delta are important for migratory birds, while the Iberian lynx and Spanish imperial eagle illustrate the conservation significance of Mediterranean landscapes. In 2025 Spain’s terrestrial Natura 2000 network covered about 13.87 million hectares, or 27.4% of national land area. Farming remains a major force shaping the countryside: roughly 24 million hectares are used agriculturally, with cereal and livestock systems across much of the interior, vineyards in several plateaus and river basins, olive cultivation concentrated particularly in Andalusia and Castilla-La Mancha, and irrigated fruit and vegetable production along Mediterranean and southern lowlands. Spain led the EU in olive production for oil in 2024. Irrigation sustains high-value agriculture but also intensifies competition for water in already dry basins.
Human occupation of the peninsula reaches deep into prehistory, with Atapuerca documenting some of Europe’s earliest hominin presence, but recognizable political geography emerged much later. Iberian and Celtic-speaking societies occupied different regions before Phoenician, Greek and Carthaginian traders established Mediterranean networks. Rome conquered the peninsula over roughly two centuries beginning in the third century BCE, incorporating Hispania into an imperial system of cities, roads, mining and agriculture; Latin and Christianity became especially durable inheritances. After western Roman authority collapsed, the Visigothic kingdom eventually centred on Toledo. Muslim-led forces crossed the Strait of Gibraltar in 711 and created al-Andalus, whose changing emirates, caliphates and successor states connected much of Iberia to the Maghreb and wider Islamic world. In the north, Christian kingdoms including Asturias-León, Castile, Navarre and Aragon, alongside the Catalan counties, expanded and competed over centuries. The dynastic union of Isabella of Castile and Ferdinand of Aragon in 1469 did not immediately create a unitary state, but the conquest of Granada in 1492, coercive religious homogenization and Atlantic expansion decisively altered the monarchy’s direction.
The Habsburg monarchy became a major European and overseas power in the sixteenth and seventeenth centuries, drawing wealth from American territories while preserving distinct laws and institutions in several Iberian realms. The War of the Spanish Succession ended in the early eighteenth century with a Bourbon dynasty and a more centralized state, particularly after the Nueva Planta decrees curtailed institutions of the former Crown of Aragon. Napoleon’s invasion in 1808 triggered the Peninsular War and the liberal Constitution of Cádiz of 1812, but the nineteenth century remained marked by conflict between liberal and conservative projects, Carlist wars, military intervention in politics and the loss of most mainland American possessions; defeat in 1898 ended Spanish rule in Cuba, Puerto Rico and the Philippines. The Second Republic, proclaimed in 1931, was followed by the Civil War of 1936–1939 and Francisco Franco’s authoritarian dictatorship until 1975. Political liberalization after Franco’s death produced the 1978 Constitution, a parliamentary monarchy and a decentralized system of autonomous communities. Spain joined NATO in 1982 and the European Communities in 1986, embedding its democratic transition in wider European institutions.
Modern Spain is a high-income, service-dominated economy with major manufacturing, agricultural, construction and tourism industries rather than dependence on a single commodity. Real GDP grew by 2.8% in 2025, according to the National Statistics Institute, with domestic demand and investment important contributors; the IMF has also emphasized immigration’s role in expanding the labour force. Tourism generated €200.7 billion in 2024, equivalent to 12.6% of GDP, and supported about 2.78 million jobs, showing both its national weight and the exposure of some coastal and island economies to seasonal demand and housing pressure. Manufacturing includes motor vehicles, machinery, chemicals, pharmaceuticals and food processing, while Spain is a major exporter of olive oil, fruit, vegetables and wine. Goods exports reached €384.5 billion in 2024, with the EU the central market and France, Portugal and Italy among important partners. Strong growth has coexisted with structural weaknesses: unemployment was 10.3% in May 2026, while productivity gaps, ageing, housing affordability, public debt and regional inequality constrain broadly shared gains.
Spain’s population has recently reached record levels largely because net international migration has outweighed natural decrease. The 2021 census counted 47,400,798 residents; the annual census recorded 49,128,297 on 1 January 2025, of whom 19.3% had been born abroad, and provisional statistics estimated 49,687,120 residents on 1 April 2026. That implies an average density of about 98 people per square kilometre, but settlement is highly uneven. Madrid and its metropolitan region dominate the centre, while dense concentrations also follow the Barcelona and Valencian coasts, the Basque urban-industrial belt, the Guadalquivir corridor, parts of the Andalusian coast and the islands. Large areas of Castile, Aragón and Extremadura remain thinly populated outside regional capitals. Madrid is the principal administrative, financial and transport hub; Barcelona is the largest Mediterranean metropolis, with Valencia, Seville, Zaragoza and Málaga among other major cities. The state comprises 17 autonomous communities, 50 provinces and the autonomous cities of Ceuta and Melilla, with substantial powers exercised by regional governments.
Castilian Spanish is the official language of the state, while the Constitution permits other Spanish languages to be co-official in their autonomous communities; Basque, Catalan, Aranese, Galician and Valencian have such status in specified territories under regional statutes. This linguistic geography reflects medieval political development, long-established regional identities and later migration as much as present administrative boundaries. Catholicism profoundly shaped institutions, architecture, education and public ritual for centuries, but the constitutional order guarantees religious freedom and establishes no state religion; secularization and immigration have made religious practice more diverse. Spain’s cultural history is correspondingly regional and interconnected. Castilian literature includes the Golden Age tradition of Cervantes, Catalonia developed influential modernisme architecture, and Basque and Galician movements sustained distinct literary languages. Andalusian flamenco emerged from interactions involving Gitano communities and broader Iberian traditions, while Mudéjar architecture records artistic exchange across Christian, Muslim and Jewish cultural worlds. Regional civil law, music, festivals and foodways continue to reinforce local identities within a shared national framework.
Transport infrastructure integrates the peninsula while reflecting its uneven settlement. At the end of 2025 Spain’s interurban road network extended 165,756 kilometres, including 26,564 kilometres administered by the state. By May 2026 the high-speed rail network managed by Adif had reached about 3,974 kilometres, linking Madrid with most major regional centres, although conventional rail remains important for provincial and freight markets. State-owned ports handled about 556.6 million tonnes of cargo in 2025; Algeciras benefits directly from its position beside the Strait of Gibraltar, while Valencia, Barcelona and Bilbao anchor major Mediterranean and Atlantic trade systems. Aena’s Spanish airports handled 321.6 million passengers in 2025, with Madrid-Barajas and Barcelona-El Prat serving as the principal international hubs and island economies especially dependent on aviation. Renewables supplied 55.5% of national electricity in 2025, increasing the importance of grid reinforcement, storage and cross-border interconnection as wind and solar capacity expands.
Spain’s international position is shaped by the same geography that structures its domestic economy: it is simultaneously an Iberian, Mediterranean, Atlantic and European Union state, with mainland routes into France, ports beside the Gibraltar gateway, territories adjacent to Morocco and Atlantic islands facing northwest Africa. Membership of the EU, euro area, Schengen system and NATO anchors its economic and security relationships, while historical, linguistic and investment ties sustain dense connections with Latin America. North African relations matter directly for trade, migration management, energy links and western Mediterranean security. Renewable electricity, advanced manufacturing, logistics and higher-productivity services offer medium-term opportunities, but they must contend with population ageing, persistent unemployment, housing shortages in high-demand areas, water stress, climate-related heat and flood risk, and territorial disputes over political authority. Spain’s weight will therefore depend less on geographic scale alone than on how effectively its decentralized institutions convert European integration, migration and the energy transition into durable productivity and social cohesion.