About

Overview In 2023, Spain was the number 15 economy in the world in terms of GDP (current US$), the number 16 in total exports, the number 14 in total imports, the number 40 economy in terms of GDP per capita (current US$) and the number 31 most complex economy according to the Economic Complexity Index (ECI) .

Exports The top exports of Spain are Cars ($43.2B), Packaged Medicaments ($16.9B), Refined Petroleum ($14.3B), Motor vehicles; parts and accessories (8701 to 8705) ($13.1B), and Delivery Trucks ($7.87B), exporting mostly to France ($61.9B), Germany ($40.2B), Portugal ($38.1B), Italy ($34.7B), and United Kingdom ($25.5B).

In 2023, Spain was the world's biggest exporter of Pig Meat ($6.54B), Pure Olive Oil ($4.69B), Citrus ($3.75B), Cucumbers ($1.06B), and Lettuce ($1.03B)

Imports The top imports of Spain are Crude Petroleum ($35.7B), Cars ($23.5B), Petroleum Gas ($15.8B), Motor vehicles; parts and accessories (8701 to 8705) ($15.5B), and Packaged Medicaments ($14B), importing mostly from Germany ($50.4B), China ($47.2B), France ($43B), Italy ($30.1B), and United States ($29.9B).

In 2023, Spain was the world's biggest importer of Olive Oil ($187M), Tar ($154M), Fat and Oil Residues ($93.9M), and Wine Lees ($4.97M)

Location Spain borders Andorra, France, Morocco, Portugal, and Gibraltar by land and Algeria and Italy by sea.

Latest Trends

November, 2024

Historical Data

Yearly Trade

Flow
Color
Depth
Top Export (2023)Cars$43.2B
Top Destination (2023)France$61.9B

In 2023, Spain exported a total of $402B, making it the number 16 exporter in the world. During the last five reported years the exports of Spain have changed by $73.4B from $329B in 2018 to $402B in 2023.

The most recent exports are led by Cars ($43.2B), Packaged Medicaments ($16.9B), Refined Petroleum ($14.3B), Motor vehicles; parts and accessories (8701 to 8705) ($13.1B), and Delivery Trucks ($7.87B). The most common destination for the exports of Spain are France ($61.9B), Germany ($40.2B), Portugal ($38.1B), Italy ($34.7B), and United Kingdom ($25.5B).

Explore Visualizations

Exports (2023)
[Click to Select a Product]

Destinations (2023)
[Click to Select a Country]

Market Growth

Flow
View
Growth
Fastest Growing Export Markets (2022 - 2023)
Italy$3.27B (+ 10.4%)
Germany$2.33B (+ 6.16%)
Turkey$2.31B (+ 31.5%)
Fastest Growing Import Markets (2022 - 2023)
Germany$3.54B (+ 7.55%)
Morocco$918M (+ 10.3%)
Italy$847M (+ 2.89%)

Total Export Growth by Market (2022 - 2023)

Potential Exports

Potential Exports

Type
Flow
Depth
View
Sort By

Subscribe today to OEC pro and access the latest data

Sign Up

Service Trade

Service Trade

Spain Exports Services (2020)$74.9B
Spain Imports Services (2020)$54.6B

In 2020, Spain exported $74.9B worth of services. The top services exported by Spain in 2020 were Miscellaneous business, professional, and technical services ($25.8B), Personal travel ($17.3B), Transportation ($16.2B), Financial services ($3.9B), and Royalties and license fees ($2.93B).

The top services imported by Spain in 2020 were Miscellaneous business, professional, and technical services ($19.1B), Transportation ($10.4B), Travel ($8.65B), Royalties and license fees ($5.11B), and Financial services ($3.33B).

Service Exports (2020)

Service Imports (2020)

Economic Complexity

Overview

Economic Complexity (Trade)0.86Rank 31 of 132
Economic Complexity (Technology)1.23Rank 9 of 96
Economic Complexity (Research)1.65Rank 19 of 140

Comparison Map

Color

This section shows exports, imports and economic complexity data at the subnational level for Spain. Click any of the Provincie in the geomap to visit the specific subnational profile.

The top territories of Spain according to its Economic Complexity Index are Guipúzcoa (0.37), Álava (0.31), and Vizcaya (0.28).

The principal exporters of Spain were Barcelona (€78.6B), Madrid (€51.6B), and Valencia (€21.9B).

The same year,  the principal importers of Spain were Madrid (€98.5B), Barcelona (€86.2B), and Valencia (€23.5B).

Subscribe today to OEC pro and access the latest data

Sign Up

Most Specialized Products by RCA Index

Spain has a high level of specialization in Worked Slate (33.8), Olive Oil (25.4), Pure Olive Oil (22.2), Lettuce (16.7), and Cucumbers (16). Specialization is measured using RCA, an index that takes the ratio between Spain observed and expected exports in each product.

Most Complex Products by PCI

The highest complexity exports of Spain according to the product complexity index (PCI) are Machines; calendering or other rolling machines, for other than metal or glass... (1.89), Stainless steel bars and rods, hot-rolled, in irregularly wound coils (1.66), Chain and parts thereof, of iron or steel (1.64), Lathes for removing metal (1.58), and Machine-tools; for deburring, sharpening, grinding, honing, lapping, polishing or otherwise finishing metal,... (1.58). PCI measures the knowledge intensity of a product by considering the knowledge intensity of its exporters.

Export Opportunities by Relatedness

The top export opportunities for Spain according to the relatedness index, were Water (0.55), Wheat Flours (0.54), Frozen Fruits and Nuts (0.54), Plastic Building Materials (0.53), and Cereal Flours (0.53). Relatedness measures the distance between a country's current exports and each product. The barchart show only products that Spain is not specialized in.

Product Space

The product space is a network connecting products that are likely to be co-exported. The product space can be used to predict future exports, since countries are more likely to start exporting products that are related to current exports. Relatedness measures the distance between a product, and all of the products a country currently specializes in.

Relatedness Space

This network shows the products most related to the production structure of Spain. These are products that tend to be co-exported with the products that Spain exports. Higher relatedness values ​​indicate greater knowledge, which predicts a greater probability of exporting that product in the future.

Relatedness Space (2023)

Diversification Frontier

Filter
Depth

The Complexity-Relatedness diagram compares the risk vs strategic value of a country's potential export oppotunities. Relatedness is predictive of the probability that a country increases its exports in a product. Complexity, is associated with higher levels of income, economic growth, less income inequality, and lower greenhouse emissions.

Diversification Frontier

Economic Complexity Ranking

Methodology
Scale

During the last 20 years Spain's⁩ ⁨economy has become relatively less complex, moving from the ⁩⁨21st to the 31st⁩ position in the ECI rank.

These economic complexity rankings use 6 digit exports classified according to the HS96 classification. We consider only countries with population of at least 1 million and exports of at least $1 billion, and products with world trade over $500 million. To explore different rankings and vary these parameters visit the custom rankings section.

Explore Rankings

ECI (Trade) Ranking by Country

Have questions, comments, or concerns?
Send us an e-mail: support@oec.world
Follow @OECtoday on
Created, Designed, and Developed by:
In collaboration with