|Currency||Euro (EUR, EUR)|
|EU, WTO and OECD|
|Population||47,329,981 (1 January 2020, provisional)|
GDP per capita
GDP per capita rank
GDP by sector
|33.0 medium (2019, Eurostat)|
Labour force by occupation
Average gross salary
|EUR1,876 / $2,182 monthly (2018)|
|EUR1,357 / $1,578 monthly (2018)|
|Machine tools, pharmaceuticals, metals and metal manufactures, chemicals, shipbuilding, automobiles, medical equipment, textiles and apparel (including footwear), food and beverages, clay and refractory products, footwear, tourism|
|30th (very easy, 2020)|
|Exports||$486 billion (2019 est.)|
|Machinery, motor vehicles; foodstuffs, pharmaceuticals, medicines, other consumer goods|
Main export partners
|Imports||$375.4 billion (2019 est.)|
|Fuels, chemicals, semi-finished goods, foodstuffs, consumer goods, machinery and equipment, measuring and medical control instruments|
Main import partners
|$24.74 billion (2017 est.)|
Gross external debt
|$2.094 trillion (31 December 2017 est.)|
|Revenues||39.1% of GDP (2019)|
|Expenses||41.9% of GDP (2019)|
|$79.36 billion (November 2020 est.)|
All values, unless otherwise stated, are in US dollars.
The economy of Spain is the world's fourteenth-largest by nominal GDP as well as one of the largest in the world by purchasing power parity. The country is a member of the European Union, the Organization for Economic Co-operation and Development and the World Trade Organization. Spain has a capitalist mixed economy. The Spanish economy is the fifth-largest in Europe behind Germany, the United Kingdom, France and Italy as well as the fourth-largest in the eurozone based on nominal GDP statistics. In 2019, Spain was the fifteenth-largest exporter in the world and the fourteenth-largest importer. Spain is listed 25th in the United Nations Human Development Index and 29th in GDP per capita by the World Bank, therefore it is classified as a high income economy and among the countries of very high human development. According to The Economist, Spain has the world's 10th highest quality of life.
Following the financial crisis of 2007-2008, the Spanish economy plunged into recession, entering a cycle of negative macroeconomic performance. Compared to the EU's and US's average, the Spanish economy entered recession later (the economy was still growing by 2008), but it stayed there longer. The economic boom of the 2000s was reversed, leaving over a quarter of Spain's workforce unemployed by 2012. In aggregated terms, the Spanish GDP contracted by almost 9% during the 2009-2013 period. The economic situation started improving by 2013-2014. By then, the country managed to reverse the record trade deficit which had built up during the boom years, attaining a trade surplus in 2013 after three decades of running a trade deficit. The surplus kept strengthening during 2014 and 2015.
In 2015, the Spanish GDP grew by 3.2%, a rate not seen since 2007, the last year before the world financial crisis struck. This growth rate was the highest among larger EU economies that year. In just two years (2014-2015), the Spanish economy recovered 85% of the GDP lost during the 2009-2013 recession which got some international analysts to refer to Spain's current recovery as "the showcase for structural reform efforts". Strong GDP growth was registered also in 2016, with the country growing twice as fast as the eurozone average. In this regard, the Spanish economy is forecast to remain the best-performing major economy in the eurozone also in 2017. Spain's unemployment rate fell substantially from 2013 to 2017, although the real unemployment rate is much lower as there is an estimation of millions of people working in the grey market, people who count as unemployed or inactive yet still perform jobs. Although estimates of the hidden economy vary, the real Spanish GDP may be around 20% bigger as it is estimated that the underground economy of Spain moves annually 190 billion Euros (US$224 billion). Among high income European countries, only Italy and Greece are estimated to have larger underground economies than Spain. Thus Spain may have higher purchasing power as well as a smaller gini coefficient than shown in official numbers. In 2012, the Spanish government officially requested a credit from the European Stability Mechanism to restructure its banking sector in the face of a financial crisis. The ESM approved up to EUR100 billion in assistance, although, in the end, Spain only drew EUR41.3 billion. The ESM programme for Spain ended with the full repayment of the credit drawn eighteen months later.
At the second half of the 1990s, the conservative government of former prime minister Jose María Aznar had worked successfully to gain admission to the group of countries joining the euro in 1999. Due to its own economic development and the EU enlargements to 28 members, by 2007 Spain had achieved a GDP per capita of 105% of European Union's average, which placed it slightly ahead of Italy (103%). Three regions were included in the leading EU group exceeding 125% of the GDP per capita average level: the Basque Country , Madrid, and Navarre. According to calculations by the German newspaper Die Welt, Spain's economy had been on course to overtake countries like Germany in per capita income by 2011. Unemployment stood at 7.6% in October 2006, a rate that compared favorably to many other European countries, and especially with the early 1990s when it stood at over 20%. In the past, weak points of Spain's economy included high inflation and large underground economy.
The turn to growth during the 1997-2007 period produced a real estate bubble fed by historically low interest rates, massive rates of foreign investment (during that period Spain had become a favorite of other European investment banks) and an immense surge in immigration. At its peak in 2007, construction had expanded to 15% of the total gross domestic product (GDP) of the country and 12% of total employment. During that time Spain capital inflows -including short term speculative investment- financed a large trade deficit.
The downside of the real estate boom was a corresponding rise in the levels of private debt, both of households and of businesses; as prospective homeowners had struggled to meet asking prices, the average level of household debt tripled in less than a decade. This placed especially great pressure upon lower to middle income groups; by 2005 the median ratio of indebtedness to income had grown to 125%, due primarily to expensive boom time mortgages that now often exceed the value of the property.
A European Commission forecast had predicted Spain would enter the world's late 2000s recession by the end of 2008. At the time, Spain's Economy Minister was quoted saying, "Spain is facing its deepest recession in half a century". Spain's government forecast the unemployment rate would rise to 16% in 2009. The ESADE business school predicted 20%. By 2017, Spain's GDP per capita had fallen back to 95% of the European Union's average.
This section may be too long to read and navigate comfortably. (November 2019)
Spain had continued on the path of economic growth when the ruling party changed in 2004, maintaining robust GDP growth during the first term of prime minister José Luis Rodríguez Zapatero, even though some problems in the Spanish economy were becoming evident. According to the Financial Times, Spain's rapidly growing trade deficit, had reached 10% of the country's GDP by the summer of 2008, the "loss of competitiveness against its main trading partners" and, also, as a part of the latter, an inflation rate which had been traditionally higher than the one of its European partners, back then especially affected by house price increases of 150% from 1998 and a growing family indebtedness (115%) chiefly related to the Spanish Real Estate boom and rocketing oil prices.
In 2011 the deficit reached a high of 8.5%. For 2016 the deficit objective of the government is around 4%, falling to 2.9% for 2017. The European Commission has demanded 3.9% for 2016 and 2.5% for 2017.
The Spanish government official GDP growth forecast for 2008 in April was 2.3%. This figure was revised down by the Spanish Ministry of Economy to 1.6. Studies by most independent forecasters estimate that the rate had actually dropped to 0.8% instead, below the strong 3% plus GDP annual growth rates during the 1997-2007 decade. During the third quarter of 2008 the national GDP contracted for the first time in 15 years in February 2009, it was confirmed that Spain, along other European economies, had officially entered recession.
In July 2009, the IMF worsened the estimates for Spain's 2009 contraction, to minus 4% of GDP for the year (close to the European average of minus 4.6%.) It estimated a further 0.8% contraction of the Spanish economy for 2010.
The adoption of the Euro in 2002 had driven down long-term interest rates, prompting a surge in mortgage lending that jumped more than fourfold from 2000 to its 2010 apex. The growth in the Spanish property market, which had begun in 1997, accelerated and within a few years had developed into a property bubble, financed largely by regional banks, known as "Cajas", which are regional savings banks under the oversight of regional governments, and fed by the historically low interest rates and a massive growth of immigration. Fueling this trend, the Spanish economy was being credited for having avoided the virtual zero growth rate of some of its largest partners in the EU in the months previous to the global Great Recession.
Spain's economy had created more than half of all the new jobs in the European Union over the five years ending 2005. At the top of its property boom, Spain was building more houses than Germany, France and the U.K. combined. Home prices soared by 71% between 2003 and 2008, in tandem with the credit explosion.
The bubble imploded in 2008, causing the collapse of Spain's large property related and construction sectors, causing mass layoffs, and a collapsing domestic demand for goods and services. Unemployment shot up.
At first, Spain's banks and financial services avoided the early crisis of their international counterparts. However, as the recession deepened and property prices slid, the growing bad debts of the smaller regional savings banks, the "cajas", forced the intervention of Spain's central bank and government through a stabilization and consolidation program, taking over or consolidating regional "cajas" and finally receiving a bank bailout from the European Central Bank in 2012 aimed specifically for the banking business and "cajas" in particular.
Following the 2008 peak, home prices then plunged by 31%, before bottoming out in late 2014.
By 2017, following several months of prices picking up, homeowners who had been renting during the economic slump had started to put their properties back on the sales market. In this regard, home sales are expected to return in 2017 to pre-crisis (2008) level.
In all, the Spanish real estate market is experiencing a new boom, this time in the rental sector. Out of 50 provinces and compared to May 2007, the National Statistics Institute has recorded higher rent levels in 48 provinces, with the 10 most populated accumulating rent inflation between 5% and 15% since 2007. The phenomenon is most visible in big cities such as Barcelona or Madrid, which are seeing new record average prices, partially fueled by short-term rentals to tourists.
In the first weeks of 2010, renewed anxiety about the excessive levels of debt in some EU countries and, more generally, about the health of the euro has spread from Ireland and Greece to Portugal, and to a lesser extent in Spain.
Many economists recommended a battery of policies to control the surging public debt caused by the recessionary collapse of tax revenues, combining drastic austerity measures with higher taxes. Some senior German policy makers went as far as to say that emergency bailouts should include harsh penalties to EU aid recipients such as Greece. It has been noted that the Spanish government budget was in surplus in the years immediately before the global financial crisis and that its debt was not considered excessive.
At the beginning of 2010, Spain's public debt as a percentage of GDP was still less than those of Britain, France or Germany. However, commentators pointed out that Spain's recovery was fragile, that the public debt was growing quickly, that troubled regional banks may need large bailouts, growth prospects were poor and therefore limiting revenue and that the central government has limited control over the spending of the regional governments. Under the structure of shared governmental responsibilities that has evolved since 1975, much responsibility for spending had been given back to the regions. The central government found itself in the difficult position of trying to gain support for unpopular spending cuts from the recalcitrant regional governments.
On 23 May 2010, the government announced further austerity measures, consolidating the ambitious plans announced in January.
Till Q2 2012, Spanish banks were allowed to report real estate related assets in higher non-market price by regulators. Investors who bought into such banks must be aware. Spanish houses cannot be sold at land book value after being vacant over a period of years.
Even though the sheer size of Spain's underground economy masks to some extent the real situation, employment is a long term weakness of the Spanish economy. By 2014 the structural unemployment rate was estimated at 18%.
After having completed large improvements over the second half of the 1990s and during the 2000s, Spain attained in 2007 its record low unemployment rate, at about 8%, with a few regions on the brink of full employment. Then Spain suffered a severe setback from October 2008, when it saw its unemployment rate surge to 1996 levels. During the period October 2007 - October 2008 the unemployment surge exceeded that of past economic crises, including that of 1993. In particular, during the month of October 2008, Spain suffered its worst unemployment rise ever recorded.
By July 2009, it had shed 1.2 million jobs in one year. The oversized building and housing related industries were contributing greatly to the rising unemployment numbers. Since 2009 thousands of established immigrants began to leave, although some did maintain residency in Spain due to poor conditions in their country of origin. In all, by early 2013 Spain reached an unprecedented unemployment record at about 27%.
During the early 1990s, Spain experienced a period of economic crisis as a result of a larger, Europe-wide economic episode that led to a rise in unemployment rates. Many young adults in Spain found themselves trapped in a cycle of temporary jobs, which resulted in the creation of a secondary class of workers through reduced wages, job stability and advancement opportunities. As a result, many Spaniards, predominantly unmarried young adults, emigrated to other countries in order to pursue job opportunities and raise their standard of life, which left only a small amount of young adults living below the poverty line in Spain. Spain experienced another economic crisis during the 2000s, which also prompted a rise in Spanish citizens emigrating to neighboring countries with more job stability and better economic standings. Youth unemployment remains a concern in Spain, prompting researchers such as Anita Wölfl to suggest that Spain could decrease unemployment by making labor market programs and job-search assistance accessible to the most disadvantaged youth. She has also posited that this would improve Spain's weakened youth labor market, as issues with the school to work transition has made it difficult to find long-term employment. As a solution, Wölfl has suggested making improvements by matching their skills with businesses.
In May 2012 a radical labor reform made for a more flexible labor market, facilitating layoffs with a view to enhancing corporate's confidence. By the second quarter of 2014, the Spanish economy had reversed its negative trend and started creating jobs for the first time since 2008.
This started a trend of setting successive positive employment records. The second quarter reversal had been sudden and extraordinary considering that the number of jobs created set an absolute positive record since such quarterly employment statistics are maintained (the series starts in 1964). Labor reform seemed to play an important role; one piece of evidence cited was that Spain had started creating jobs at lower rates of GDP growth than before: in previous cycles, employment rose when growth hit 2%, this time the gain came during a year when GDP had expanded by just 1.2%.
On the other side, trade unions, left, and center-left parties criticize and want the reform to be revoked, on grounds that it tilts the balance of power too far towards employers. Besides, most new contracts are temporary.
Greater than expected GDP growth has paved the way for further declines in the unemployment rate. Since 2014 Spain has been registering steady annual fall in the official jobless figure. During 2016 unemployment in Spain experienced the steepest fall on record to date. By the end of that year, Spain had recovered 1.7m of the more than 3.5m jobs lost over the course of the recession. By Q4 2016 Spanish unemployment had fallen to 18.6%, the lowest rate in seven years. In April 2017 the country recorded its biggest drop in jobless claimants for a single month in the entire historical series to date. Job creation kept speeding up; in this regard, May 2017 was the best May to date in terms of social security affiliations since this record was started in 2001 and during that month jobless claims fell to the lowest figure since June 2009.
At 17.2% in the second quarter 2017, unemployment fell below 4 million for the first time since 2008, with the country experiencing its steepest quarterly decline in unemployment on record to date (series starts in 1964). In 2018, at 14.6% the unemployment rate did not exceed the 15% threshold for the first time since 2008 when the crisis began.
In 2019, Pedro Sánchez's socialist government increased the minimum wage by 22% in an attempt to boost hiring and encourage spending. Members of the opposition argued that this increase from EUR858 to EUR1050 a month would negatively affect 1.2 million workers due to their employers being unable to cover the aforementioned raise.
This section does not cite any sources. (November 2011) (Learn how and when to remove this template message)
Capital contributions from the EU, which had contributed significantly to the economic empowerment of Spain since joining the EEC, have decreased considerably since 1990 due to the economic standardization in relation to other countries and the effects of the EU's enlargement. On the one hand, agricultural funds from the Common Agricultural Policy of the European Union (CAP) are now spread across more countries.
On the other hand, with 2004's and 2007's enlargement of the European Union, less developed countries joined the EU, lowering the average income per capita (or GDP per capita), so that Spanish regions which were considered to be relatively less developed, became in the European average or even above it. Spain has gradually become a net contributor of funds for less developed countries of the Union as opposed to receiving funds.
With a 3.2% increase in 2015, the Spanish GDP growth was the highest among larger EU economies that year. In just two years (2014-2015) the Spanish economy had recovered 85% of the GDP lost during the 2009-2013 recession, which got some international analysts to refer to Spain's current recovery as "the showcase for structural reform efforts".
By Q2 2016 the Spanish economy had been accumulating 12 consecutive quarters of growth, managing to consistently outperform the rest of the Euro area. Such growth had continued, with the Spanish economy outperforming expectations and growing 3.2 per cent in 2016, almost twice as fast as the Euro zone average.
Subsequently, in the second quarter of 2017 Spain recovered all the GDP lost during the economic crisis, exceeding for the first time the output level that had been reached in 2008. The Spanish economy is forecast to remain the best-performing major economy in the Euro zone also in 2017.
One of the main drivers of economic recovery is international trade, in turn sparked by dramatic gains in labor productivity. During the economic downturn, Spain significantly reduced imports, increased exports and kept attracting growing numbers of tourists; as a result, after three decades of running a trade deficit the country attained in 2013 a trade surplus which has strengthened during 2014 and 2015. Exports have shot up, from around 25% (2008) to 33% of GDP (2016) on the back of an internal devaluation (the country's wage bill halved in the 2008-2016 period), a search for new markets and a recent mild recovery of the European economy.
The following table shows the main economic indicators in 1980-2018. Inflation under 2% is in green.
(in bil. euro)
|GDP per capita
(in % of GDP)
Spanish private commercial banks played a central role in Spain's economic development, benefiting from their role as the state's creditor in the 19th century, from their ability to monetize public debt, and from state-sanctioned oligopolistic arrangements that lasted from the beginning of the 20th century until the late 1980s, when European rules forced a liberalization of the sector. It has been argued that the favorable treatment received by the main Spanish commercial banks and their close relationship to the Bank of Spain (Banco de España) following the end of the Franco regime allowed for a public-private partnership to restructure the large commercial banks into two large banks (Santander and BBVA) with the purpose of preparing the private institutions for international competition and external expansion once the European banking market was integrated in 1992 Alongside this financial mercantilism benefiting the commercial banking sector, Spanish regulators also allowed for the vast expansion of not for profit savings banks sponsored by regional governments who became heavily exposed to the housing mortgage and real estate development sectors during the Spanish economic boom of 1999-2007.
Prior to 2010, the Spanish banking system had been credited as one of the most solid of all western banking systems in coping with the ongoing worldwide liquidity crisis, thanks to the country's conservative banking rules and practices. Banks were required to have high capital provisions and to demand various guarantees and securities from intending borrowers. This allowed the banks, particularly the geographically and industrially diversified large banks like BBVA and Santander, to weather the real estate deflation better than expected. Indeed, Spain's large commercial banks have been able to capitalize on their strong position to buy up distressed banking assets elsewhere in Europe and in the United States.
Nevertheless, with the unprecedented crisis of the country's real estate sector, smaller local savings banks ("Cajas"), had been delaying the registering of bad loans, especially those backed by houses and land, to avoid declaring losses. In June 2009 the Spanish government set its banking bailout and reconstruction fund, the Fondo de reestructuración ordenada bancaria (FROB), known in English as Fund for Orderly Bank Restructuring. In the event, State intervention of local savings banks due to default risk was less than feared. On 22 May 2010, the Banco de España took over "CajaSur", as part of a national program to put the country's smaller banks on a firm financial basis. In December 2011, the Spanish central bank, Banco de España (equivalent of the US Federal Reserve), forcibly took over "Caja Mediterraneo", also known as CAM, (a regional savings bank) to prevent its financial collapse.[circular reference] The international accounting firm, PriceWaterhouseCooper, estimated an imbalance between CAM's assets and debts of EUR3,500 million, not counting the industrial corporation. The troubled situation reached its peak with the partial nationalization of Bankia in May 2012. By then it was becoming clear that the mounting real estate losses of the savings banks were undermining confidence in the country's government bonds, thus aggravating a sovereign debt crisis.
In early June 2012, Spain requested European funding of EUR41 billion "to recapitalize Spanish banks that need it". It was not a sovereign bailout in that the funds were used only for the restructuring of the banking sector a full-fledged bailout for an economy the size of the Spanish would have reached ten or twelve times that amount). In return for the credit line etended by the EMS, there were no tax or macroeconomic conditions. .
As of 2017 the cost of restructuring Spain's bankrupt savings banks were estimated to have been EUR60.7 billion, of which nearly EUR41.8 billion was put up by the state through the FROB and the rest by the banking sector. The total cost will not be fully understood until those lenders still controlled by the State (Bankia and BMN) are newly privatized. In this regard, by early 2017 the Spanish government was considering a merger of both banks before privatizing the combined bank to recoup an estimated 400 million euros of their bailout costs.
During the course of this transformation period, most regional savings banks such as the CAM, Catalunya Banc, Banco de Valencia, Novagalicia Banco, Unnim Banc or Cajasur have since been absorbed by the bigger, more international, Spanish banks, which imposed better management practices.
Due to the lack of own resources, Spain has to import all of its fossil fuels. Besides, until the 2008 crisis, Spain's recent performance had shown an inflationary tendency and an inflationary gap compared to other EMU countries, affecting the country's overall productivity. Moreover, when Spain joined the euro zone, it lost the recourse of resorting to competitive devaluations, risking a permanent and cumulative loss of competitive due to inflation. In a scenario of record oil prices by the mid 2000s this meant much added pressure to the inflation rate. In June 2008 the inflation rate reached a 13-year high at 5.00%.
Then, with the dramatic decrease of oil prices that took place in the second half of 2008 plus the manifest bursting of the real estate bubble, concerns quickly shifted over to the risk of deflation, as Spain recorded in January 2009 its lowest inflation rate in 40 years, followed shortly afterwards, in March 2009 by a negative inflation rate for the first time since the gathering of these statistics started. Subsequently, apart from temporary minor oil shocks, the Spanish economy has generally oscillated between slightly negative to near-zero inflation rates during the 2009-early 2016 period. Analysts reckoned that this was not synonymous with deflation, due to the fact that GDP had been growing since 2014, domestic consumption had rebounded as well and, especially, because core inflation remained slightly positive.
Indeed, as the impact of cheaper fuel prices faded and economic recovery took hold, moderate inflation in the 1-2% region (in other words, still below the ECB's target) has made a comeback in 2017.
Since the 1990s some Spanish companies have gained multinational status, often expanding their activities in culturally close Latin America, Eastern Europe and Asia. Spain is the second biggest foreign investor in Latin America, after the United States. Spanish companies have also expanded into Asia, especially China and India. This early global expansion gave Spanish companies a competitive advantage over some of Spain's competitors and European neighbors. Another contribution to the success of Spanish firms may have to do with booming interest toward Spanish language and culture in Asia and Africa, but also a corporate culture that learned to take risks in unstable markets.
Spanish companies invested in fields like biotechnology and pharmaceuticals, or renewable energy (Iberdrola is the world's largest renewable energy operator), technology companies like Telefónica, Abengoa, Mondragon Corporation, Movistar, Gamesa, Hisdesat, Indra, train manufacturers like CAF and Talgo, global corporations such as the textile company Inditex, petroleum companies like Repsol and infrastructure firms. Six of the ten biggest international construction firms specialising in transport are Spanish, lincluding Ferrovial, Acciona, ACS, OHL and FCC.
In the 2012-13 edition of the Global Competitiveness Report Spain was listed 10th in the world in terms of first-class infrastructure. It is the 5th EU country with best infrastructure and ahead of countries like Japan or the United States. In particular, the country is a leader in the field of high-speed rail, having developed the second longest network in the world (only behind China) and leading high-speed projects with Spanish technology around the world.
The Spanish infrastructure concession companies, lead 262 transport infrastructure worldwide, representing 36% of the total, according to the latest rankings compiled by the publication Public Works Financing. The top three global occupy Spanish companies: ACS, Global Vía and Abertis, according to the ranking of companies by number of concessions for roads, railways, airports and ports in construction or operation in October 2012. Considering the investment, the first world infrastructure concessionaire is Ferrovial-Cintra, with 72,000 million euros, followed closely by ACS, with 70,200 million. Among the top ten in the world are also the Spanish Sacyr (21,500 million), FCC and Global Vía (with 19,400 million) and OHL (17,870 million).
During 2013 Spanish civil engineering companies signed contracts around the world for a total of 40 billion euros, setting a new record for the national industry.
The port of Valencia in Spain is the busiest seaport in the Mediterranean basin, 5th busiest in Europe and 30th busiest in the world. There are four other Spanish ports in the ranking of the top 125 busiest world seaports (Algeciras, Barcelona, Las Palmas, and Bilbao); as a result, Spain is tied with Japan in the third position of countries leading this ranking.
During the boom years, Spain had built up a trade deficit eventually amounting a record equivalent to 10% of GDP (2007) and the external debt ballooned to the equivalent of 170% of GDP, one of the highest among Western economies. Then, during the economic downturn, Spain reduced significantly imports due to domestic consumption shrinking while - despite the global slowdown - it has been increasing exports and kept attracting growing numbers of tourists. Spanish exports grew by 4.2% in 2013, the highest rate in the European Union. As a result, after three decades of running a trade deficit Spain attained in 2013 a trade surplus. Export growth was driven by capital goods and the automotive sector and the forecast was to reach a surplus equivalent to 2.5% of GDP in 2014. Exports in 2014 were 34% of GDP, up from 24% in 2009. The trade surplus attained in 2013 has been consolidated in 2014 and 2015.
Despite slightly declining exports from fellow EU countries in the same period, Spanish exports continued to grow and in the first half of 2016 the country beat its own record to date exporting goods for 128,041 million euros; from the total, almost 67% were exported to other EU countries. During this same period, from the 70 members of the World Trade Organization (whose combined economies amount to 90% of global GDP), Spain was the country whose exports had grown the most.
In 2016, exports of goods hit historical highs despite a global slowdown in trade, making up for 33% of the total GDP (by comparison, exports represent 12% of GDP in the United States, 18% in Japan, 22% in China or 45% in Germany).
In all, by 2017 foreign sales have been rising every year since 2010, with a degree of unplanned import substitution -a rather unusual feat for Spain when in an expansive phase- which points to structural competitive gains. According to the most recent 2017 data, about 65% of the country's exports go to other EU members.
The Spanish benchmark stock market index is the IBEX 35, which as of 2016 is led by banking (including Banco Santander and BBVA), clothing (Inditex), telecommunications (Telefónica) and energy (Iberdrola).
Traditionally until 2008, most exports and imports from Spain were held with the countries of the European Union: France, Germany, Italy, UK and Portugal.
In recent years foreign trade has taken refuge outside the European Union. Spain's main customers are Latin America, Asia (Japan, China, India), Africa (Morocco, Algeria, Egypt) and the United States. Principal trading partners in Asia are Japan, China, South Korea, Taiwan. In Africa, countries producing oil (Nigeria, Algeria, Libya) are important partners, as well as Morocco. Latin American countries are very important trading partners, like Argentina, Mexico, Cuba (tourism), Colombia, Brazil, Chile (food products) and Mexico, Venezuela and Argentina (petroleum). 
After the crisis that began in 2008 and the fall of the domestic market, Spain (since 2010) it has turned outwards widely increasing the export supply and export amounts. It has diversified its traditional destinations and has grown significantly in product sales of medium and high technology, including highly competitive markets like the US and Asia. 
|Top trading partners for Spain in 2015|
During the last four decades Spain's foreign tourist industry has grown into the second-biggest in the world. A 2015 survey by the World Economic Forum proclaimed the country's tourism industry as the world's most competitive. The 2017 survey repeated this finding.
By 2018 the country was the second most visited country in the world, overtaking the US and not far behind France. With 83.7 million visitors, the country broke in 2019 its own tourism record for the tenth year in a row.
The size of the business has gone from approximately EUR40 billion in 2006 to about EUR77 billion in 2016. In 2015 the total value of foreign and domestic tourism came to nearly 5% of the country's GDP and provided employment for about 2 million people.
The automotive industry is one of the largest employers in the country. In 2015 Spain was the 8th largest automobile producer country in the world and the 2nd largest car manufacturer in Europe after Germany.
By 2016, the automotive industry was generating 8.7 percent of Spain's gross domestic product, employing about nine percent of the manufacturing industry. By 2008 the automobile industry was the 2nd most exported industry while in 2015 about 80% of the total production was for export.
German companies poured EUR4.8 billion into Spain in 2015, making the country the second-largest destination for German foreign direct investment behind only the U.S. The lion's share of that investment --EUR4 billion-- went to the country's auto industry.
In 2008, Spanish electricity consumption was an average of 6,523 kWh/person. Spanish electricity usage constituted 88% of the EU15 average (EU15: 7,409 kWh/person), and 73% of the OECD average (8,991 kWh/person).
Spain is one of the world leaders in renewable energies, both as a producer of renewable energy itself and as an exporter of such technology. In 2013 it became the first country ever in the world to have wind power as its main source of energy.
Agribusiness has been another segment growing aggressively over the last few years. At slightly over 40 billion euros, in 2015 agribusiness exports accounted for 3% of GDP and over 15% of the total Spanish exports.
The boom was shaped during the 2004-2014 period, when Spain's agribusiness exports grew by 95% led by pork, wine and olive oil. By 2012 Spain was by far the biggest producer of olive oil in the world, accounting for 50% of the total production worldwide. By 2013 the country became the world's leading producer of wine; in 2014 and 2015 Spain was the world's biggest wine exporter. However, poor marketing and low margins remain an issue, as shown by the fact that the main importers of Spanish olive oil and wine (Italy and France, respectively) buy bulk Spanish produce which is then bottled and sold under Italian or French labels, often for a significant markup.
Spain is the largest producer and exporter in the EU of citrus fruit (oranges, lemons and small citrus fruits), peaches and apricots. It is also the largest producer and exporter of strawberries in the EU.
This section needs expansion. You can help by adding to it. (November 2019)
Between 1985 and 2018 around 23,201 deals have been announced where Spanish companies participated either as the acquirer or the target. These deals cumulate to an overall value of 1,935 bil. USD (1,571.8 bil. EUR). Here is a list of the top 10 deals with Spanish participation:
|Date announced||Acquiror name||Acquiror mid-industry||Acquiror nation||Target name||Target mid-industry||Target nation||Value of transaction ($mil)|
|10/31/2005||Telefónica SA||Telecommunications Services||Spain||O2 PLC||Wireless||United Kingdom||31,659.40|
|04/02/2007||Investor Group||Other Financials||Italy||Endesa SA||Power||Spain||26,437.77|
|05/09/2012||FROB||Other Financials||Spain||Banco Financiero y de Ahorros||Banks||Spain||23,785.68|
|11/28/2006||Iberdrola SA||Power||Spain||Scottish Power PLC||Power||United Kingdom||22,210.00|
|02/08/2006||Airport Dvlp & Invest Ltd||Other Financials||Spain||BAA PLC||Transportation & Infrastructure||United Kingdom||21,810.57|
|03/14/2007||Imperial Tobacco Overseas Hldg||Other Financials||United Kingdom||Altadis SA||Tobacco||Spain||17,872.72|
|07/23/2004||Santander Central Hispano SA||Banks||Spain||Abbey National PLC||Banks||United Kingdom||15,787.49|
|07/17/2000||Vodafone AirTouch PLC||Wireless||United Kingdom||Airtel SA||Other Telecom||Spain||14,364.85|
|12/26/2012||Banco Financiero y de Ahorros||Banks||Spain||Bankia SA||Banks||Spain||14,155.31|
|04/02/2007||Enel SpA||Power||Italy||Endesa SA||Power||Spain||13,469.98|
GDP growth in 2008 was 1.3%, well below the 3% or higher growth the country enjoyed from 1997 through 2007.