๐ช๐ธ Spain: trade in 2024
Europe & Central Asia ยท World rank #18 exporter, #15 importer of 202 economies (2024).
Spain exported $416B of goods and imported $479B in 2024, a trade deficit of $63B. Its largest export market was ๐ซ๐ท France (15.3% of exports) and its largest supplier was ๐ฉ๐ช Germany (12.5% of imports). Against 2023, exports changed by +1.3% and imports by +2.0%.
largest exporter of 202 economies, and #15 importer
of exports go to ๐ซ๐ท France, the largest market
of exports go to just three markets, out of 205
trade deficit: exports pay for 87% of imports
change in exports on 2023: $410B then, $416B in 2024
of imports come from ๐ฉ๐ช Germany, the largest supplier
Where Spain's goods come from, and where they go
The five largest suppliers and the five largest markets in 2024. Ribbon width is in proportion to value within each side.
Where Spain sold its goods in 2024
Spain exported $416B of goods to 205 markets in 2024.
Where Spain bought its goods in 2024
Spain imported $479B of goods from 201 suppliers in 2024.
Where Spain ran a surplus, and where a deficit
Exports to each partner minus imports from it, 2024. The six largest on each side, on one scale.
Spain's partners on the map, 2024
Shade shows each partner's share of Spain's exports or imports. Hover or tap a country for the figure; every partner is in the table further down.
The 80 largest trading partners of Spain in 2024
What Spain trades: products in 2024
Product figures are BACI's reconciled data, which matches each export to the partner's import record. On that basis Spain exported $401B and imported $459B in 2024, so these totals differ from the customs figures above. Shares below are of the BACI totals.
Exports by product group, 2024
The same figures as a list
- Transport equipment$75B18.7%
- Chemicals & allied$57B14.1%
- Machinery & electronics$51B12.8%
- Vegetable products$35B8.8%
- Base metals$33B8.3%
- Foodstuffs, beverages & tobacco$26B6.4%
- Plastics & rubber$20B5.1%
- Mineral fuels & oils$19B4.7%
- Animal & animal products$19B4.7%
- Textiles & clothing$17B4.3%
- Stone, glass & precious metals$15B3.7%
- Instruments, arms & misc.$14B3.4%
- Wood & paper$9.4B2.4%
- Footwear & headgear$3.7B0.9%
- Minerals$3.5B0.9%
- Hides, skins & leather$3.0B0.7%
Largest export products, 2024
Spain exported 5,531 different products in 2024.
Imports by product group, 2024
The same figures as a list
- Machinery & electronics$88B19.1%
- Mineral fuels & oils$61B13.2%
- Transport equipment$56B12.2%
- Chemicals & allied$55B12.0%
- Base metals$33B7.2%
- Textiles & clothing$28B6.1%
- Vegetable products$24B5.3%
- Instruments, arms & misc.$24B5.3%
- Plastics & rubber$21B4.7%
- Foodstuffs, beverages & tobacco$20B4.4%
- Animal & animal products$16B3.4%
- Wood & paper$9.3B2.0%
- Stone, glass & precious metals$9.0B2.0%
- Footwear & headgear$6.1B1.3%
- Minerals$5.7B1.2%
- Hides, skins & leather$3.0B0.7%
Largest import products, 2024
Where Spain is a top-three world exporter
Imports that come mostly from one country
| Product | Imports | Main supplier | Its share |
|---|---|---|---|
| Petroleum gases and other gaseous hydrocarbons; in gaseousโฆ 2711.21 | $3.5B | ๐ฉ๐ฟ Algeria | 75% |
| Insulated electric conductors; ignition wiring sets and otherโฆ 8544.30 | $2.8B | ๐ฒ๐ฆ Morocco | 79% |
| Sulphonamides; n.e.c. in heading no. 2935 2935.90 | $840M | ๐จ๐ญ Switzerland | 84% |
| Petroleum gases and other gaseous hydrocarbons; in gaseousโฆ 2711.29 | $528M | ๐ณ๐ฌ Nigeria | 100% |
Products worth at least 0.1% of imports where a single supplier provides three-quarters or more.
Spain's trade year by year
Customs figures in US dollars. Choose a year for its partners and products.
| Year | Exports | Imports | Balance |
|---|---|---|---|
| 2025 | $432B | $519B | โ87B |
| 2024 | $416B | $479B | โ63B |
| 2023 | $410B | $469B | โ59B |
| 2022 | $404B | $493B | โ90B |
| 2021 | $374B | $419B | โ46B |
| 2020 | $304B | $326B | โ22B |
| 2019 | $326B | $372B | โ46B |
Earlier years, 2000 to 2018
| Year | Exports | Imports | Balance |
|---|---|---|---|
| 2018 | $338B | $390B | โ53B |
| 2017 | $313B | $352B | โ39B |
| 2016 | $284B | $311B | โ26B |
| 2015 | $276B | $312B | โ36B |
| 2014 | $314B | $359B | โ45B |
| 2013 | $306B | $340B | โ35B |
| 2012 | $285B | $337B | โ53B |
| 2011 | $297B | $376B | โ79B |
| 2010 | $247B | $327B | โ80B |
| 2009 | $221B | $294B | โ72B |
| 2008 | $273B | $423B | โ150B |
| 2007 | $246B | $390B | โ143B |
| 2006 | $209B | $329B | โ120B |
| 2005 | $188B | $288B | โ100B |
| 2004 | $179B | $258B | โ79B |
| 2003 | $154B | $209B | โ55B |
| 2002 | $124B | $165B | โ41B |
| 2001 | $115B | $155B | โ40B |
| 2000 | $113B | $156B | โ43B |
Totals and partners for every year on this page: International Monetary Fund, International Trade in Goods by partner country, retrieved 2026-11-15. These are each economy's own customs figures, converted to US dollars at the average exchange rate of each month; imports include freight and insurance, exports do not. Products for 2024: BACI (CEPII), reconciled from UN Comtrade at the 6-digit HS level. The sources use different methods, so compare like with like. About the data
Cite or embed this page
Citation
World Trade Data. “Spain Trade in 2024: Exports, Imports and Trading Partners.” https://world.customsnepal.com/trade/spain/2024 (updated 15 November 2026).
Embed this card on your site
You may quote these figures and use this card with a link to this page. The data comes from the sources named above; please credit them as well.