2025 Edition Primary
Edition Builder
Introduction
Background
<p>Spain's powerful world empire of the 16th and 17th centuries ultimately yielded command of the seas to England. Spain remained neutral during both World Wars but suffered through a devastating civil war (1936-39) resulting in a dictatorship. A peaceful transition to democracy after the death of dictator Francisco FRANCO in 1975 and rapid economic modernization after Spain joined the EU in 1986 gave Spain a dynamic and rapidly growing economy. After a severe recession in the wake of the global financial crisis in 2008, Spain has posted solid years of GDP growth above the EU average. Unemployment has fallen but remains high, especially among youth. Spain is the euro-zone's fourth-largest economy. The country has faced increased domestic turmoil in recent years due to the independence movement in its restive Catalonia region.</p>
Geography
Area
- Land
- 498,980 sq km
- Note
- <strong>note:</strong> includes two autonomous cities (Ceuta and Melilla), 17 autonomous communities (including Balearic Islands and Canary Islands), and three small Spanish possessions off the coast of Morocco -- Islas Chafarinas, Penon de Alhucemas, and Penon de Velez de la Gomera
- Total
- 505,370 sq km
- Water
- 6,390 sq km
Area - comparative
almost five times the size of Kentucky; slightly more than twice the size of Oregon
Climate
temperate; clear, hot summers in interior, more moderate and cloudy along coast; cloudy, cold winters in interior, partly cloudy and cool along coast
Coastline
4,964 km
Continent
Europe
Elevation
- Highest point
- Pico de Teide (Tenerife) on Canary Islands 3,718 m
- Lowest point
- Atlantic Ocean 0 m
- Mean elevation
- 660 m
Geographic coordinates
40 00 N, 4 00 W
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
Irrigated land
38,012 sq km (2022)
Land boundaries
- Border countries
- Andorra 63 km; France 646 km; Gibraltar 1.2 km; Portugal 1,224 km; Morocco (Ceuta) 8 km and Morocco (Melilla) 10.5 km
- Note
- <strong>note:</strong> an additional 75-meter border segment exists between Morocco and the Spanish exclave of Penon de Velez de la Gomera
- number of neighbors
- 5
- Total
- 1,952.7 km
Land use
- Agricultural land
- 49.6% (2023 est.)
- Agricultural land: arable land
- arable land: 23% (2023 est.)
- Agricultural land: permanent crops
- permanent crops: 10.2% (2023 est.)
- Agricultural land: permanent pasture
- permanent pasture: 19.8% (2023 est.)
- arable land
- 23.01%
- Forest
- 38.2% (2023 est.)
- Other
- 12.3% (2023 est.)
- permanent crops
- 10.23%
Landlocked
No
Location
Southwestern Europe, bordering the Mediterranean Sea, North Atlantic Ocean, Bay of Biscay, and Pyrenees Mountains; southwest of France
Major rivers (by length in km)
Tagus river source (shared with Portugal [m]) - 1,006 km<br><br><strong>note:</strong> [s] after country name indicates river source; [m] after country name indicates river mouth
Map links
- Google Maps
- https://goo.gl/maps/138JaXW8EZzRVitY9
- OpenStreetMap
- https://www.openstreetmap.org/relation/1311341
Map references
Europe
Maritime claims
- Contiguous zone
- 24 nm
- Exclusive economic zone
- 200 nm (applies only to the Atlantic Ocean)
- Territorial sea
- 12 nm
Natural hazards
periodic droughts, occasional flooding <br><br><strong>volcanism:</strong> 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
Natural resources
coal, lignite, iron ore, copper, lead, zinc, uranium, tungsten, mercury, pyrites, magnesite, fluorspar, gypsum, sepiolite, kaolin, potash, hydropower, arable land
Population distribution
with the notable exception of Madrid, Sevilla, and Zaragoza, the largest urban agglomerations are found along the Mediterranean and Atlantic coasts; numerous smaller cities are spread throughout the interior; very dense settlement around the capital of Madrid, as well as the port city of Barcelona
Subregion
Southern Europe
Terrain
large, flat to dissected plateau surrounded by rugged hills; Pyrenees Mountains in north
Time zone
- UTC, UTC+01:00
- number of time zones
- 2
People and Society
Age structure
- 0-14 years
- 13% (male 3,147,019/female 3,012,821)
- 15-64 years
- 66.1% (male 15,662,492/female 15,585,138)
- 65 years and over
- 20.9% (2024 est.) (male 4,259,816/female 5,613,147)
Alcohol consumption per capita
- Beer
- 4.67 liters of pure alcohol (2019 est.)
- Other alcohols
- 0.19 liters of pure alcohol (2019 est.)
- Spirits
- 2.34 liters of pure alcohol (2019 est.)
- Total
- 10.72 liters of pure alcohol (2019 est.)
- Wine
- 3.52 liters of pure alcohol (2019 est.)
Birth rate
7.16 births/1,000 population (2025 est.)
Currently married women (ages 15-49)
50.2% (2021 est.)
Death rate
- 9.98 deaths/1,000 population (2025 est.)
- adult female
- 34 per 1,000
- adult male
- 66 per 1,000
Dependency ratios
- Elderly dependency ratio
- 31.6 (2024 est.)
- Potential support ratio
- 3.2 (2024 est.)
- Total dependency ratio
- 51.3 (2024 est.)
- Youth dependency ratio
- 19.7 (2024 est.)
Drinking water source
- improved total
- 99.46%
- Improved: rural
- rural: 100% of population (2022 est.)
- Improved: total
- total: 99.9% of population (2022 est.)
- Improved: urban
- urban: 99.9% of population (2022 est.)
- Unimproved: rural
- rural: 0% of population (2022 est.)
- Unimproved: total
- total: 0.1% of population (2022 est.)
- Unimproved: urban
- urban: 0.1% of population (2022 est.)
Education expenditure
- Education expenditure (% GDP)
- 4.6% of GDP (2022 est.)
- Education expenditure (% national budget)
- 9.9% national budget (2022 est.)
Education expenditures
5 % of GDP
Ethnic groups
- Spanish 84.8%, Moroccan 1.7%, Romanian 1.2%, other 12.3% (2021 est.)
- note
- <strong>note:</strong> data represent population by country of birth
Gross reproduction rate
0.65 (2025 est.)
Health expenditure
- 9 % of GDP
- Health expenditure (as % of GDP)
- 10.7% of GDP (2021)
- Health expenditure (as % of national budget)
- 15.2% of national budget (2022 est.)
HIV/AIDS - adult prevalence rate
0.14%
Hospital bed density
2.9 beds/1,000 population (2021 est.)
Infant mortality rate
- Female
- 2.1 deaths/1,000 live births
- Male
- 2.7 deaths/1,000 live births
- neonatal
- 2 deaths/1,000 live births
- Total
- 2.4 deaths/1,000 live births (2025 est.)
Languages
- Languages
- Castilian Spanish (official) 74%, Catalan (official in Catalonia, the Balearic Islands, and the Valencian Community) 17%, Galician (official in Galicia) 7%, Basque (official in the Basque Country and Navarre) 2%, Aranese (official in part of Catalonia) <5,000 speakers
- Major-language sample(s)
- <br>La Libreta Informativa del Mundo, la fuente indispensable de información básica. (Spanish)<br><br>The World Factbook, the indispensable source for basic information.
- Note
- <strong>note:</strong> Aragonese, Aranese Asturian, Calo, and Valencian are also recognized as regional languages
- number of languages
- 4
Life expectancy at birth
- Female
- 85.8 years
- Male
- 80.3 years
- Total population
- 83 years (2024 est.)
Literacy
- Female
- 99.6% (2021 est.)
- Male
- 99.8% (2021 est.)
- Total population
- 99.7% (2021 est.)
Major urban areas - population
6.751 million MADRID (capital), 5.687 million Barcelona, 838,000 Valencia (2023)
Maternal mortality ratio
3 deaths/100,000 live births (2023 est.)
Median age
- Female
- 47.8 years
- Male
- 45.7 years
- Total
- 47.2 years (2025 est.)
Mother's mean age at first birth
31.2 years (2020 est.)
Nationality
- Adjective
- Spanish
- Noun
- Spaniard(s)
Net migration rate
3.98 migrant(s)/1,000 population (2025 est.)
Obesity - adult prevalence rate
23.8% (2016)
Physician density
4.29 physicians/1,000 population (2022)
Population
- Female
- 24,211,106
- Male
- 23,069,327
- Total
- 47,280,433 (2024 est.)
Population growth rate
0.12% (2025 est.)
Religions
Roman Catholic 58.2%, atheist 16.2%, agnostic 10.8%, other 2.7%, non-believer 10.5%, unspecified 1.7% (2021 est.)
Sanitation facility access
- improved total
- 88.28%
- Improved: rural
- rural: 100% of population (2022 est.)
- Improved: total
- total: 100% of population (2022 est.)
- Improved: urban
- urban: 100% of population (2022 est.)
- Unimproved: rural
- rural: 0% of population (2022 est.)
- Unimproved: total
- total: 0% of population (2022 est.)
- Unimproved: urban
- urban: 0% of population (2022 est.)
School life expectancy (primary to tertiary education)
- Female
- 18 years (2023 est.)
- Male
- 17 years (2023 est.)
- Total
- 18 years (2023 est.)
Sex ratio
- 0-14 years
- 1.04 male(s)/female
- 15-64 years
- 1 male(s)/female
- 65 years and over
- 0.76 male(s)/female
- At birth
- 1.05 male(s)/female
- Total population
- 0.95 male(s)/female (2024 est.)
Tobacco use
- Female
- 22% (2025 est.)
- Male
- 25.8% (2025 est.)
- Total
- 23.9% (2025 est.)
Total fertility rate
1.32 children born/woman (2025 est.)
Urbanization
- Note
- <strong>note:</strong> data include Canary Islands, Ceuta, and Melilla
- Rate of urbanization
- 0.24% annual rate of change (2020-25 est.)
- Urban population
- 81.6% of total population (2023)
Vaccination rate
- measles
- 97%
Government
Administrative divisions
- 17 autonomous communities (<em>comunidades autonomas</em>, singular - <em>comunidad autonoma</em>) and 2 autonomous cities* (<em>ciudades autonomas</em>, singular - <em>ciudad autonoma</em>); Andalucia; Aragon; Asturias; Canarias (Canary Islands); Cantabria; Castilla-La Mancha; Castilla-Leon; Cataluña (Castilian), Catalunya (Catalan), Catalonha (Aranese) [Catalonia]; Ceuta*; Comunidad Valenciana (Castilian), Comunitat Valenciana (Valencian) [Valencian Community]; Extremadura; Galicia; Illes Baleares (Balearic Islands); La Rioja; Madrid; Melilla*; Murcia; Navarra (Castilian), Nafarroa (Basque) [Navarre]; Pais Vasco (Castilian), Euskadi (Basque) [Basque Country]
- note
- <strong>note:</strong> Spain administers the autonomous cities of Ceuta and Melilla and the three small islands of Islas Chafarinas, Peñón de Alhucemas, and Peñón de Velez de la Gomera, which are all located along the coast of Morocco; they are collectively referred to as Places of Sovereignty (Plazas de Soberania)
Capital
- Daylight saving time
- +1hr, begins last Sunday in March; ends last Sunday in October
- Etymology
- 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 <em>materia </em>(materials) as a possible source
- Geographic coordinates
- 40 24 N, 3 41 W
- Name
- Madrid
- Time difference
- UTC+1 (6 hours ahead of Washington, DC, during Standard Time)
- Time zone note
- Spain has two time zones, including the Canary Islands (UTC 0)
Citizenship
- Citizenship by birth
- no
- Citizenship by descent only
- at least one parent must be a citizen of Spain
- Dual citizenship recognized
- only with select Latin American countries
- Residency requirement for naturalization
- 10 years for persons with no ties to Spain
Coat of arms
- svg
- https://mainfacts.com/media/images/coats_of_arms/es.svg
Constitution
- Amendment process
- proposed by the government, by the General Courts (the Congress or the Senate), or by the self-governing communities submitted through the government; passage requires three-fifths majority vote by both houses and passage by referendum if requested by one tenth of the members of either house; proposals disapproved by both houses are submitted to a joint committee, which submits an agreed upon text for another vote; passage requires two-thirds majority vote in Congress and simple majority vote in the Senate
- History
- several previous; latest approved by the General Courts 31 October 1978, passed by referendum 6 December 1978, signed by the king 27 December 1978, effective 29 December 1978
Country name
- alternative spellings
- ES, Kingdom of Spain, Reino de España
- Conventional long form
- Kingdom of Spain
- Conventional short form
- Spain
- Etymology
- derivation of the name España is uncertain; the Basque words <em>ezpain </em>or <em>espan </em>("edge," as in a river bank) are possible sources, or the Punic word <em>span</em>, meaning "rabbit;" some academics tie it to the god Hesperus from Greco-Roman mythology
- FIFA code
- ESP
- Local long form
- Reino de España
- local long form (spa)
- Reino de España
- Local short form
- España
Diplomatic representation from the US
- Chief of mission
- Ambassador (vacant); Chargé d’Affaires Rian Harker HARRIS (since 15 July 2024); note - also accredited to Andorra
- Consulate(s) general
- Barcelona
- Email address and website
- <br>askACS@state.gov<br><br>https://es.usembassy.gov/
- Embassy
- Calle de Serrano, 75, 28006 Madrid
- FAX
- [34] (91) 587-2303
- Mailing address
- 8500 Madrid Place, Washington DC 20521-8500
- Telephone
- [34] (91) 587-2200
Diplomatic representation in the US
- Chancery
- 2375 Pennsylvania Avenue NW, Washington, DC 20037
- Chief of mission
- Ambassador Ángeles MORENO Bau (since 27 February 2024)
- Consulate(s) general
- Boston, Chicago, Houston, Los Angeles, Miami, New York, San Francisco, San Juan (Puerto Rico)
- Email address and website
- <br>emb.washington@maec.es<br><br>https://www.exteriores.gob.es/Embajadas/washington/en/Paginas/index.aspx
- FAX
- [1] (202) 833-5670
- Telephone
- [1] (202) 452-0100
Executive branch
- Cabinet
- Council of Ministers designated by the president
- Chief of state
- King FELIPE VI (since 19 June 2014)
- Election results
- Congress of Deputies vote - 179 to 171 (16 November 2023)
- Election/appointment process
- the monarchy is hereditary; following legislative elections, the monarch usually proposes as president the leader of the majority party or coalition, who is then indirectly elected by the Congress of Deputies; vice president and Council of Ministers appointed by the president
- Expected date of next election
- 31 July 2027
- Head of government
- President of the Government of Spain (prime minister-equivalent) Pedro SANCHEZ PEREZ-CASTEJON (since 2 June 2018)
- Most recent election date
- 23 July 2023
- Note
- <strong>note:</strong> there is also a Council of State that is the supreme consultative organ of the government, but its recommendations are non-binding
Flag
<strong>description:</strong> 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
Flag description
The flag of Spain is composed of three horizontal bands of red, yellow and red, with the yellow band twice the height of the red bands. In the yellow band is the national coat of arms offset slightly towards the hoist side of center.
Flag image
- svg
- https://flagcdn.com/es.svg
Government type
parliamentary constitutional monarchy
Independence
- 1492
- note
- <strong>note:</strong> the Iberian peninsula was home to a variety of independent kingdoms prior to the Muslim occupation that began in the early 8th century A.D. and lasted nearly seven centuries; the small Christian redoubts of the north began the reconquest almost immediately, culminating in the seizure of Granada in 1492; this completed the unification of several kingdoms and is traditionally considered the forging of present-day Spain
International law organization participation
accepts compulsory ICJ jurisdiction with reservations; accepts ICCt jurisdiction
International organization participation
ADB (nonregional member), AfDB (nonregional member), Arctic Council (observer), Australia Group, BCIE, BIS, CABEI, CAN (observer), CBSS (observer), CD, CE, CERN, EAPC, EBRD, ECB, EIB, EITI (implementing country), EMU, ESA, EU, FAO, FATF, IADB, IAEA, IBRD, ICAO, ICC (national committees), ICCt, ICRM, IDA, IEA, IFAD, IFC, IFRCS, IHO, ILO, IMF, IMO, IMSO, Interpol, IOC, IOM, IPU, ISO, ITSO, ITU, ITUC (NGOs), LAIA (observer), MIGA, NATO, NEA, NSG, OAS (observer), OECD, OPCW, OSCE, Pacific Alliance (observer), Paris Club, PCA, PIF (partner), Schengen Convention, SELEC (observer), SICA (observer), UN, UNCTAD, UNESCO, UNHCR, UNIDO, UNIFIL, Union Latina, UNOCI, UNOOSA, UNRWA, UNWTO, UPU, Wassenaar Arrangement, WCO, WHO, WIPO, WMO, WTO, ZC
Judicial branch
- Highest court(s)
- Supreme Court or Tribunal Supremo (consists of the court president and organized into the Civil Room, with a president and 9 judges; the Penal Room, with a president and 14 judges; the Administrative Room, with a president and 32 judges; the Social Room, with a president and 12 judges; and the Military Room, with a president and 7 judges); Constitutional Court or Tribunal Constitucional de Espana (consists of 12 judges)
- Judge selection and term of office
- Supreme Court judges appointed by the monarch from candidates proposed by the General Council of the Judiciary Power, a 20-member governing board chaired by the monarch; judges can serve until age 70; Constitutional Court judges nominated by the National Assembly, executive branch, and the General Council of the Judiciary, and appointed by the monarch for 9-year terms
- Subordinate courts
- National High Court; High Courts of Justice (in each of the autonomous communities); provincial courts; courts of first instance
Legal system
civil law system with regional variations
Legislative branch
- Legislative structure
- bicameral
- Legislature name
- The Cortes (Las Cortes Generales)
Legislative branch - lower chamber
- Chamber name
- Congress of Deputies (Congreso de los Diputados)
- Electoral system
- proportional representation
- Expected date of next election
- July 2027
- Most recent election date
- 7/23/2023
- Number of seats
- 350 (all directly elected)
- Parties elected and seats per party
- People's Party (PP) (136); Spanish Socialist Workers' Party (PSOE) (122); Vox (33); SUMAR (31); Other (28)
- Percentage of women in chamber
- 44.3%
- Scope of elections
- full renewal
- Term in office
- 4 years
Legislative branch - upper chamber
- Chamber name
- Senate (Senado)
- Electoral system
- mixed system
- Expected date of next election
- July 2027
- Most recent election date
- 7/23/2023
- Number of seats
- 265 (208 directly elected; 57 indirectly elected)
- Parties elected and seats per party
- People's Party (PP) (120); Spanish Socialist Workers' Party (PSOE) (72); Other (16)
- Percentage of women in chamber
- 42.5%
- Scope of elections
- full renewal
- Term in office
- 4 years
National color(s)
red, yellow
National heritage
- Selected World Heritage Site locales
- Cave of Altamira and Paleolithic Cave Art of Northern Spain (c); Works of Antoni Gaudí (c); Santiago de Compostela (Old Town) (c); Historic City of Toledo (c); Archaeological Ensemble of Mérida (c); Tower of Hercules (c); Doñana National Park (n); Pyrénées - Mont Perdu (m); Alhambra, Generalife, and Albayzín in Granada (c); Old City of Salamanca (c); Teide National Park (n); Historic Walled Town of Cuenca (c); Old Town of Segovia and its Aqueduct (c); Historic Cordoba (c); Royal Site of Saint Lorenzo de El Escorial (c); Cathedral, Alcázar, and Archivo de Indias in Seville
- Total World Heritage Sites
- 50 (44 cultural, 4 natural, 2 mixed)
National holiday
- National Day (Hispanic Day), 12 October (1492)
- note
- <strong>note:</strong> commemorates the arrival of explorer Christopher COLUMBUS in the Americas
National symbol(s)
Pillars of Hercules
Political parties
Asturias Forum or FAC <br>Basque Country Unite (Euskal Herria Bildu) or EH Bildu (coalition of 4 Basque pro-independence parties)<br>Basque Nationalist Party or PNV or EAJ <br>Canarian Coalition or CC (coalition of 5 parties)<br>Ciudadanos Party (Citizens Party) or Cs <br>Compromis - Compromise Coalition <br>Navarrese People's Union or UPN <br>Together for Catalonia or Junts <br>People's Party or PP <br>Republican Left of Catalonia or ERC <br>Spanish Socialist Workers Party or PSOE <br>Teruel Existe or TE <br>Unidas (Unite) or Sumar (electoral coalition formed in March 2022) (formerly Unidas Podemos or UP)<br>Vox or VOX
Start of week
Monday
Suffrage
18 years of age; universal
UN Member
Yes
Economy
Agricultural products
- milk, olives, pork, grapes, wheat, tomatoes, barley, sugar beets, maize, oranges (2023)
- note
- <b>note:</b> top ten agricultural products based on tonnage
Average household expenditures
- On alcohol and tobacco
- 4% of household expenditures (2023 est.)
- On food
- 12.9% of household expenditures (2023 est.)
Budget
- Expenditures
- $549.772 billion (2023 est.)
- Note
- <b>note:</b> central government revenues (excluding grants) and expenditures converted to US dollars at average official exchange rate for year indicated
- Revenues
- $512.57 billion (2023 est.)
Currency
- code
- EUR
- name
- euro (EUR) [€]
Current account balance
- $54.93 billion
- Current account balance 2022
- $4.482 billion (2022 est.)
- Current account balance 2023
- $43.012 billion (2023 est.)
- Current account balance 2024
- $52.182 billion (2024 est.)
- Note
- <b>note:</b> balance of payments - net trade and primary/secondary income in current dollars
Economic overview
<p>high-income, core-EU and eurozone economy; strong growth driven by public consumption, tourism, and other service exports; tight labor market despite high structural unemployment; efforts to narrow persistent fiscal deficits through tax and spending measures; high but declining unemployment supported by job growth and immigration</p>
Exchange rates
- Currency
- euros (EUR) per US dollar -
- Exchange rates 2020
- 0.876 (2020 est.)
- Exchange rates 2021
- 0.845 (2021 est.)
- Exchange rates 2022
- 0.95 (2022 est.)
- Exchange rates 2023
- 0.925 (2023 est.)
- Exchange rates 2024
- 0.924 (2024 est.)
Exports
- $639.46 billion
- Exports 2022
- $573.598 billion (2022 est.)
- Exports 2023
- $616.648 billion (2023 est.)
- Exports 2024
- $642.358 billion (2024 est.)
- Note
- <b>note:</b> balance of payments - exports of goods and services in current dollars
Exports - commodities
- cars, packaged medicine, refined petroleum, vehicle parts/accessories, garments (2023)
- note
- <b>note:</b> top five export commodities based on value in dollars
Exports - partners
- France 15%, Germany 10%, Portugal 9%, Italy 9%, UK 6% (2023)
- note
- <b>note:</b> top five export partners based on percentage share of exports
Foreign direct investment
- net inflows
- $42.78 billion
GDP - composition, by end use
- Exports of goods and services
- 38.1% (2023 est.)
- Government consumption
- 19.5% (2023 est.)
- Household consumption
- 54.3% (2023 est.)
- Imports of goods and services
- -34.1% (2023 est.)
- Investment in fixed capital
- 19.7% (2023 est.)
- Investment in inventories
- 1.3% (2023 est.)
- Note
- <b>note:</b> figures may not total 100% due to rounding or gaps in data collection
GDP - composition, by sector of origin
- Agriculture
- 2.5% (2024 est.)
- Industry
- 19.5% (2024 est.)
- Note
- <b>note:</b> figures may not total 100% due to non-allocated consumption not captured in sector-reported data
- Services
- 69.1% (2024 est.)
GDP (official exchange rate)
- $1.723 trillion (2024 est.)
- note
- <b>note:</b> data in current dollars at official exchange rate
GDP per capita (nominal)
$35,327
Gini Index coefficient - distribution of family income
- 34.7 (2018)
- Gini Index coefficient - distribution of family income 2022
- 33.6 (2022 est.)
- Note
- <b>note:</b> index (0-100) of income distribution; higher values represent greater inequality
GNI (gross national income)
$1.72 trillion
GNI per capita
$33,550
Gross domestic investment
21 % of GDP
Household income or consumption by percentage share
- Highest 10%
- 24.8% (2022 est.)
- Lowest 10%
- 2.3% (2022 est.)
- Note
- <b>note:</b> % share of income accruing to lowest and highest 10% of population
Imports
- $567.65 billion
- Imports 2022
- $561.448 billion (2022 est.)
- Imports 2023
- $552.948 billion (2023 est.)
- Imports 2024
- $568.502 billion (2024 est.)
- Note
- <b>note:</b> balance of payments - imports of goods and services in current dollars
Imports - commodities
- crude petroleum, cars, garments, vehicle parts/accessories, natural gas (2023)
- note
- <b>note:</b> top five import commodities based on value in dollars
Imports - partners
- Germany 11%, China 10%, France 10%, Italy 7%, USA 7% (2023)
- note
- <b>note:</b> top five import partners based on percentage share of imports
Industrial production growth rate
- 2.6% (2024 est.)
- note
- <b>note:</b> annual % change in industrial value added based on constant local currency
Industries
textiles and apparel (including footwear), food and beverages, metals and metal manufactures, chemicals, shipbuilding, automobiles, machine tools, tourism, clay and refractory products, footwear, pharmaceuticals, medical equipment
Inflation rate (consumer prices)
- 2.77%
- Inflation rate (consumer prices) 2022
- 8.4% (2022 est.)
- Inflation rate (consumer prices) 2023
- 3.5% (2023 est.)
- Inflation rate (consumer prices) 2024
- 2.8% (2024 est.)
- Note
- <b>note:</b> annual % change based on consumer prices
Labor force
- 24.386 million (2024 est.)
- note
- <b>note:</b> number of people ages 15 or older who are employed or seeking work
- total
- 24.49 million persons
Labor force - by occupation
- agriculture
- 3.37%
- industry
- 19.85%
- services
- 76.77%
Population below poverty line
- 20.2% (2022 est.)
- note
- <b>note:</b> % of population with income below national poverty line
Public debt
- 107 % of GDP
- Note
- <b>note:</b> central government debt as a % of GDP
- Public debt 2023
- 107.3% of GDP (2023 est.)
Real GDP (purchasing power parity)
- $2.83 trillion
- Note
- <b>note:</b> data in 2021 dollars
- Real GDP (purchasing power parity) 2022
- $2.229 trillion (2022 est.)
- Real GDP (purchasing power parity) 2023
- $2.289 trillion (2023 est.)
- Real GDP (purchasing power parity) 2024
- $2.361 trillion (2024 est.)
Real GDP growth rate
- 3.46%
- Note
- <b>note:</b> annual GDP % growth based on constant local currency
- Real GDP growth rate 2022
- 6.2% (2022 est.)
- Real GDP growth rate 2023
- 2.7% (2023 est.)
- Real GDP growth rate 2024
- 3.2% (2024 est.)
Real GDP per capita
- $57,965
- Note
- <b>note:</b> data in 2021 dollars
- Real GDP per capita 2022
- $46,600 (2022 est.)
- Real GDP per capita 2023
- $47,300 (2023 est.)
- Real GDP per capita 2024
- $48,400 (2024 est.)
Remittances
- $6.33 billion
- Note
- <b>note:</b> personal transfers and compensation between resident and non-resident individuals/households/entities
- Remittances 2022
- 0.3% of GDP (2022 est.)
- Remittances 2023
- 0.3% of GDP (2023 est.)
- Remittances 2024
- 0.4% of GDP (2024 est.)
Reserves of foreign exchange and gold
- $107.77 billion
- Note
- <b>note:</b> holdings of gold (year-end prices)/foreign exchange/special drawing rights in current dollars
- Reserves of foreign exchange and gold 2022
- $92.905 billion (2022 est.)
- Reserves of foreign exchange and gold 2023
- $103.089 billion (2023 est.)
- Reserves of foreign exchange and gold 2024
- $107.774 billion (2024 est.)
Revenue (excl grants)
30 % of GDP
Tax revenue
15 % of GDP
Taxes and other revenues
- 15% (of GDP) (2023 est.)
- note
- <b>note:</b> central government tax revenue as a % of GDP
Unemployment rate
- 10.38%
- Note
- <b>note:</b> % of labor force seeking employment
- Unemployment rate 2022
- 13% (2022 est.)
- Unemployment rate 2023
- 12.2% (2023 est.)
- Unemployment rate 2024
- 11.4% (2024 est.)
Youth unemployment rate (ages 15-24)
- Female
- 27.7% (2024 est.)
- Male
- 26.4% (2024 est.)
- Note
- <b>note:</b> % of labor force ages 15-24 seeking employment
- Total
- 27% (2024 est.)
Energy
Coal
- Consumption
- 7.388 million metric tons (2023 est.)
- Exports
- 1.629 million metric tons (2023 est.)
- Imports
- 9.798 million metric tons (2023 est.)
- Production
- 1.28 million metric tons (2023 est.)
- Proven reserves
- 1.187 billion metric tons (2023 est.)
Electricity
- Consumption
- 227.187 billion kWh (2023 est.)
- consumption per capita
- 5,118 kWh
- Exports
- 25.279 billion kWh (2023 est.)
- Imports
- 11.315 billion kWh (2023 est.)
- Installed generating capacity
- 130.366 million kW (2023 est.)
- Transmission/distribution losses
- 24.532 billion kWh (2023 est.)
Electricity access
- Electrification - total population
- 100% (2022 est.)
Electricity generation sources
- Biomass and waste
- 2.2% of total installed capacity (2023 est.)
- Fossil fuels
- 28% of total installed capacity (2023 est.)
- hydroelectric
- 10.88%
- Hydroelectricity
- 8.5% of total installed capacity (2023 est.)
- Nuclear
- 20.4% of total installed capacity (2023 est.)
- renewable
- 47.01%
- Solar
- 17.3% of total installed capacity (2023 est.)
- Wind
- 23.6% of total installed capacity (2023 est.)
Energy consumption per capita
- 2,294 kg of oil equivalent
- Total energy consumption per capita 2023
- 101.12 million Btu/person (2023 est.)
Natural gas
- Consumption
- 29.041 billion cubic meters (2023 est.)
- Exports
- 6.576 billion cubic meters (2023 est.)
- Imports
- 35.252 billion cubic meters (2023 est.)
- Production
- 34.124 million cubic meters (2023 est.)
- Proven reserves
- 2.549 billion cubic meters (2021 est.)
Nuclear energy
- Net capacity of operational nuclear reactors
- 7.12GW (2025 est.)
- Number of nuclear reactors permanently shut down
- 3 (2025)
- Number of operational nuclear reactors
- 7 (2025)
- Percent of total electricity production
- 20.3% (2023 est.)
Petroleum
- Crude oil estimated reserves
- 150 million barrels (2021 est.)
- Refined petroleum consumption
- 1.325 million bbl/day (2024 est.)
- Total petroleum production
- 47,000 bbl/day (2023 est.)
Renewable energy consumption
19%
Communications
Broadband - fixed subscriptions
- per 100 inhabitants
- 37 per 100
- Subscriptions per 100 inhabitants
- 38 (2023 est.)
- Total
- 18.2 million (2023 est.)
Broadcast media
mix of publicly operated and privately owned TV and radio stations; hundreds of TV channels available, including national, regional, local, public, and international channels; satellite and cable TV available; multiple national radio networks, large number of regional radio networks, and larger number of local radio stations (2019)
Internet country code
.es
Internet users
- Percent of population
- 95% (2023 est.)
Postal code format
#####
Telephone calling code
+34
Telephones - fixed lines
- Subscriptions per 100 inhabitants
- 38 (2023 est.)
- Total subscriptions
- 18.431 million (2023 est.)
Telephones - mobile cellular
- subscriptions per 100
- 128 per 100
- Subscriptions per 100 inhabitants
- 124 (2022 est.)
- Total subscriptions
- 61.2 million (2023 est.)
Transportation
Air transport
- passengers carried
- 94.1 million passengers
- registered carrier departures
- 662,492 departures
Airports
365 (2025)
Civil aircraft registration country code prefix
EC
Driving side
Right
Heliports
162 (2025)
Merchant marine
- By type
- bulk carrier 1, general cargo 33, oil tanker 24, other 445
- Total
- 503 (2023)
Ports
- Key ports
- Alicante, Barcelona, Cadiz, Ceuta, Ferrol, Huelva, Las Palmas, Malaga, Palma de Mallorca, Puerto de Bilbao, Puerto de Pasajes, Santa Cruz de Tenerife, Santander, Sevilla, Tarragona, Valencia, Vigo
- Large
- 3
- Medium
- 14
- Ports with oil terminals
- 13
- Size unknown
- 2
- Small
- 9
- Total ports
- 52 (2024)
- Very small
- 24
Railways
- Total
- 15,489 km (2020) 9,953 km electrified
Vehicle registration code
E
Military and Security
Land forces
- armored vehicles
- tanks
Military - note
the Spanish military has a wide range of responsibilities, including protecting the country’s national interests, sovereignty, and territory, providing support during natural disasters, and fulfilling Spain’s responsibilities to European and international security; it maintains garrisons in the Balearic Islands, the Canary Islands, Ceuta, and Melilla, conducts operations worldwide, and participates in a variety of EU-, NATO-, and UN-led missions; Spain joined NATO in 1982 and is fully integrated into the NATO structure; it routinely conducts exercises with NATO (and EU) partners, and hosts one of NATO’s two combined air operations centers <br><br>the Spanish military's history goes back to the 13th century; the Army has an infantry regiment, formed in the 13th century, that is considered the oldest still active military unit in the Western world; the Marine Corps, which traces its roots back to 1537, is the oldest naval infantry force in the world; Spain created a Spanish Legion for foreigners in 1920, but early on the Legion was primarily filled by native Spaniards due to difficulties in recruiting foreigners, and most of its foreign members were from the Republic of Cuba; it was modeled after the French Foreign Legion and its purpose was to provide a corps of professional troops to fight in Spain's colonial campaigns in North Africa; in more recent years, it has been used in NATO peacekeeping deployments; today’s Legion includes a mix of native Spaniards and foreigners with Spanish residency (2025)
Military and security forces
- Spanish Armed Forces (Fuerzas Armadas de España): Army (Ejército de Tierra), Spanish Navy (Armada Espanola; includes Marine Corps), Air and Space Force (Ejército del Aire y del Espacio), Emergency Response Unit (Unidad Militar de Emergencias); Civil Guard (Guardia Civil)<br><br>Ministry of the Interior: Spanish National Police (Cuerpo Nacional de Policía, CNP) (2025)
- active duty personnel
- 199,000
- note
- <strong>note 1:</strong> the Civil Guard is a military force with police duties (including coast guard) under both the Ministry of Defense and the Ministry of the Interior; it also responds to the needs of the Ministry of Finance; the CNP and the Civil Guard maintain internal security as well as migration and border enforcement under the authority of the Ministry of the Interior; the regional police under the authority of the Catalan and the Basque Country regional governments and municipal police throughout the country also support domestic security <br><br><strong>note 2:</strong> the Emergency Response Unit was established in 2006 as a separate branch of service for responding to natural disasters and providing disaster relief both domestically and abroad; it has personnel from all the other military services<br><br><strong>note 3:</strong> the Royal Guard is an independent joint-service regiment of the military dedicated to the protection of the King and members of the royal family
- percent of total labor force
- 0.87 %
Military and security service personnel strengths
approximately 120,000 active-duty military personnel; approximately 80,000 Guardia Civil (2025)
Military deployments
- Spain has up to 3,000 military personnel deployed on 17 missions supporting the EU, NATO, and the UN on four continents, as well as naval missions in the Mediterranean and the seas off the Horn of Africa; its largest deployments are up to 700 troops in Lebanon (UNIFIL) and about 1,700 personnel in Eastern Europe supporting NATO missions in Latvia, Romania, and Slovakia (2025)
- note
- <strong> </strong>
Military equipment inventories and acquisitions
the military's inventory is comprised of weapons and equipment that were produced domestically, co-produced with or imported from other European countries, or acquired from the US; key suppliers of major armaments include Germany and the US; Spain's defense industry manufactures land, air, and sea weapons systems and is integrated within the European defense-industrial sector (2025)
Military expenditures
- 1 % of GDP
- current USD
- $24,615,397,929
- Military Expenditures 2021
- 1% of GDP (2021 est.)
- Military Expenditures 2022
- 1.1% of GDP (2022 est.)
- Military Expenditures 2023
- 1.2% of GDP (2023 est.)
- Military Expenditures 2024
- 1.4% of GDP (2024 est.)
- Military Expenditures 2025
- 2% of GDP (2025 est.)
- percent of central government expenditure
- 3.20 %
- percent of GDP
- 1.43 % of GDP
Military service age and obligation
- 18 years of age for voluntary military service for men and women (upper age limits depend on branch of service, roles, specialties, etc); 24-36 month initial obligation; no conscription, but the Spanish Government retains the right to mobilize citizens 19-25 years of age in a national emergency; 18-58 for the voluntary reserves (2026)
- note
- <strong>note 1:</strong> as of 2024, women comprised about 13% of the military's full-time personnel; they serve in all branches, including combat arms<br><br><strong>note 2:</strong> the military recruits foreign nationals with residency in Spain from countries of its former empire, including Argentina, Costa Rica, Bolivia, Colombia, Chile, Cuba, Dominican Republic, Ecuador, El Salvador, Equatorial Guinea, Guatemala, Honduras, Mexico, Nicaragua, Panama, Paraguay, Peru, Uruguay, and Venezuela
Military strength ranking
- PowerIndex score
- 0.3247
Transnational Issues
Refugees and internally displaced persons
- IDPs
- 3,960 (2024 est.)
- Refugees
- 693,298 (2024 est.)
- Stateless persons
- 10,164 (2024 est.)
Space
Key space-program milestones
1960s - began working with the US/NASA and the European Space Research Organization (ESRO), the forerunner of the ESA; sounding rocket program (ended in the 1990s)<br><br>1974 - first satellite (IntaSat) launched by US<br><br>1990s - satellite launch vehicle (SLV) development program (canceled in 2000)<br><br>1992 - first communications satellite (Hispasat 1A) launched on European rocket<br><br>1998 - first astronaut in space on US Space Shuttle <br><br>2018 - first synthetic-aperture-radar, remote-sensing/reconnaissance satellite (Paz) launched by US<br><br>2023 - Spanish built Miuri-1 becomes first European private rocket to reach space; joined US-led Artemis Accords for space and lunar exploration<br><br>2025 - communications satellite (SpainSat NG 1) with advanced security technology launched by US
Space agency/agencies
- Spanish Space Agency (AEE; became operational in 2023); Center for the Development of Industrial Technology (CDTI) (2025)
- note
- <strong>note 1: </strong>the CDTI coordinates the activities of the commercial space sector<strong><br><br>note 2: </strong>prior to the establishment of the AEE, the National Institute of Aerospace Technology (Instituto Nacional de Técnica Aeroespacial or INTA, established 1942), a public research organization that depends on the Ministry of Defense, acted as Spain’s space agency
Space launch site(s)
El Arenosillo Test Center/Range (Andalusia) (2025)
Space program overview
space program dates back to the 1940s; manufactures and operates communications, remote sensing (RS), and scientific/technology satellites; has developed sounding rockets; conducts research and development in a broad range of space-related capabilities, including astrobiology, astronomy, imaging/RS, meteorology, optics, propulsion, robotics, satellites (particularly micro- and nano-satellites), and satellite launch vehicles; program is integrated into the ESA; also participates in EU space programs; hosts the European Space Astronomy Center (ESOC) and the ESA’s Space Surveillance and Tracking Data Centre (ESAC); cooperates with foreign space agencies and industries, including the US; has an active commercial space industry (2025)
Terrorism
Terrorist group(s)
- Islamic State of Iraq and ash-Sham (ISIS); al-Qa’ida
- note
- <strong>note:</strong> details about the history, aims, leadership, organization, areas of operation, tactics, targets, weapons, size, and sources of support of the group(s) appear(s) in the Terrorism reference guide
Environment
Carbon dioxide emissions
- From coal and metallurgical coke
- 13.39 million metric tonnes of CO2 (2023 est.)
- From consumed natural gas
- 59.105 million metric tonnes of CO2 (2023 est.)
- From petroleum and other liquids
- 182.327 million metric tonnes of CO2 (2023 est.)
- Total emissions
- 254.823 million metric tonnes of CO2 (2023 est.)
Environmental issues
pollution of the Mediterranean Sea from raw sewage and effluents from oil and gas production; drought; air pollution; deforestation; desertification
Geoparks
- Global geoparks and regional networks
- Basque Coast UNESCO; Cabo de Gata-Níjar; Cabo Ortegal; Calatrava Volcanoes. Ciudad Real; Central Catalonia; Costa Quebrada; Courel Mountains; El Hierro; Granada; Lanzarote and Chinijo Islands; Las Loras; Maestrazgo; Molina-Alto; Origens; Sierra Norte de Sevilla; Sierras Subbéticas; Sobrarbe-Pirineos: Villuercas Ibores Jara (2025)
- Total global geoparks and regional networks
- 18 (2025)
International environmental agreements
- Party to
- Air Pollution, Air Pollution-Heavy Metals, Air Pollution-Multi-effect Protocol, Air Pollution-Nitrogen Oxides, Air Pollution-Persistent Organic Pollutants, Air Pollution-Sulphur 94, Air Pollution-Volatile Organic Compounds, Antarctic-Environmental Protection, Antarctic-Marine Living Resources, Antarctic Treaty, Biodiversity, Climate Change, Climate Change-Kyoto Protocol, Climate Change-Paris Agreement, Comprehensive Nuclear Test Ban, Desertification, Endangered Species, Environmental Modification, Hazardous Wastes, Law of the Sea, Marine Dumping-London Convention, Marine Dumping-London Protocol, Marine Life Conservation, Nuclear Test Ban, Ozone Layer Protection, Ship Pollution, Tropical Timber 2006, Wetlands, Whaling
- Signed, but not ratified
- none of the selected agreements
Particulate matter emissions
8.3 micrograms per cubic meter (2019 est.)
Protected areas
18 % of total land area
Renewable electricity output
35 % of total
Total renewable water resources
111.5 billion cubic meters (2022 est.)
Total water withdrawal
- 26 % of internal resources
- Agricultural
- 18.96 billion cubic meters (2022 est.)
- Industrial
- 5.5 billion cubic meters (2022 est.)
- Municipal
- 4.56 billion cubic meters (2022 est.)
Waste and recycling
- Municipal solid waste generated annually
- 22.409 million tons (2024 est.)
- Percent of municipal solid waste recycled
- 27.7% (2022 est.)