[1] Primary trade source
OECD Bilateral International Merchandise Trade Statistics, harmonised by Yugalinks at country-year, HS2 and bilateral-corridor levels. Coverage shown here is 1995–2024 where observations are available.
Country intelligence · ESP · 2024
In 2024, Spain recorded $390.0B in merchandise exports and $440.1B in imports, producing a $50.1B trade deficit. Exports changed -3.9% from the previous year, while imports changed -1.8%.[1]
Exports
$390.0B
-3.9%
Imports
$440.1B
-1.8%
Trade balance
-$50.1B
deficit
Active partners
270
108 FTA-linked
Historical evidence
The bars compare exports and imports on the same scale. The accompanying table preserves the exact values so the trend is usable without interpreting a graphic.
Exact annual values
HS2 chapters rank broad product groups by observed export value in 2024.
HS 87 · Vehicles
87 active HS6 lines · 188 export partners
HS 84 · Machinery
515 active HS6 lines · 195 export partners
HS 27 · Mineral fuels and oils
43 active HS6 lines · 167 export partners
HS 85 · Electrical machinery
262 active HS6 lines · 195 export partners
HS 30 · Pharmaceutical products
43 active HS6 lines · 183 export partners
HS 39 · HS chapter
129 active HS6 lines · 189 export partners
HS 08 · HS chapter
68 active HS6 lines · 151 export partners
HS 02 · HS chapter
66 active HS6 lines · 149 export partners
Destinations rank bilateral export flows from Spain; growth describes each corridor rather than the whole economy.
France
Annual change -12.9% · 3-year CAGR -1.4%
Germany
Annual change -3.2% · 3-year CAGR 1.1%
Portugal
Annual change -2.6% · 3-year CAGR 3.9%
Italy
Annual change +1.8% · 3-year CAGR 5.4%
United Kingdom
Annual change -0.9% · 3-year CAGR 5.8%
United States
Annual change -8.7% · 3-year CAGR 3.7%
Morocco
Annual change +5.7% · 3-year CAGR 8.1%
Netherlands
Annual change -4.1% · 3-year CAGR -2.6%
[1] Primary trade source
OECD Bilateral International Merchandise Trade Statistics, harmonised by Yugalinks at country-year, HS2 and bilateral-corridor levels. Coverage shown here is 1995–2024 where observations are available.
Calculation notes
USD values are aggregated from reported merchandise records. YoY compares consecutive annual totals; three-year CAGR is the mart-provided compound annual growth rate. Missing values are not inferred.