๐ช๐ธ Spain: trade in 2023
Europe & Central Asia ยท World rank #18 exporter, #15 importer of 202 economies (2023).
Spain exported $410B of goods and imported $469B in 2023, a trade deficit of $59B. Its largest export market was ๐ซ๐ท France (16.1% of exports) and its largest supplier was ๐ฉ๐ช Germany (12.5% of imports). Against 2022, exports changed by +1.7% and imports by โ4.9%.
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 2022: $404B then, $410B in 2023
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 2023. Ribbon width is in proportion to value within each side.
Where Spain sold its goods in 2023
Spain exported $410B of goods to 205 markets in 2023.
Where Spain bought its goods in 2023
Spain imported $469B of goods from 199 suppliers in 2023.
Where Spain ran a surplus, and where a deficit
Exports to each partner minus imports from it, 2023. The six largest on each side, on one scale.
Spain's partners on the map, 2023
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 2023
What Spain trades: products in 2023
Product figures are BACI's reconciled data, which matches each export to the partner's import record. On that basis Spain exported $413B and imported $469B in 2023, so these totals differ from the customs figures above. Shares below are of the BACI totals.
Exports by product group, 2023
The same figures as a list
- Transport equipment$77B18.7%
- Chemicals & allied$61B14.8%
- Machinery & electronics$52B12.6%
- Base metals$35B8.4%
- Vegetable products$33B8.1%
- Mineral fuels & oils$25B6.1%
- Foodstuffs, beverages & tobacco$25B6.1%
- Plastics & rubber$20B4.9%
- Animal & animal products$19B4.6%
- Textiles & clothing$17B4.1%
- Stone, glass & precious metals$15B3.6%
- Instruments, arms & misc.$13B3.2%
- Wood & paper$9.6B2.3%
- Footwear & headgear$3.6B0.9%
- Minerals$3.4B0.8%
- Hides, skins & leather$3.1B0.7%
Largest export products, 2023
Spain exported 5,545 different products in 2023.
Imports by product group, 2023
The same figures as a list
- Machinery & electronics$89B19.0%
- Mineral fuels & oils$67B14.3%
- Transport equipment$60B12.8%
- Chemicals & allied$55B11.8%
- Base metals$33B7.0%
- Textiles & clothing$28B5.9%
- Vegetable products$25B5.3%
- Instruments, arms & misc.$24B5.2%
- Plastics & rubber$21B4.5%
- Foodstuffs, beverages & tobacco$20B4.2%
- Animal & animal products$15B3.2%
- Stone, glass & precious metals$9.2B2.0%
- Wood & paper$8.9B1.9%
- Footwear & headgear$6.0B1.3%
- Minerals$5.4B1.1%
- Hides, skins & leather$2.9B0.6%
Largest import products, 2023
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 2023: 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 2023: Exports, Imports and Trading Partners.” https://world.customsnepal.com/trade/spain/2023 (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.