Spain (ESP)
Annual exports and imports in 2024 (USD).
Source: UN Comtrade. Warehouse 1: partner = World totals by HS4 and year.
Spain - trade dependency by partner, 2024 (USD)
| Rank | Partner | Export dependency | Import dependency | Total dependency |
|---|---|---|---|---|
| 1 | France (FRA) | 14.5% $58.67B | 8.2% $36.92B | 11.2% $95.59B |
| 2 | Germany (DEU) | 10.0% $40.50B | 10.8% $48.70B | 10.4% $89.20B |
| 3 | Italy (ITA) | 8.4% $33.74B | 6.6% $29.65B | 7.4% $63.39B |
| 4 | China (CHN) | 1.9% $7.69B | 10.3% $46.60B | 6.3% $54.28B |
| 5 | Portugal (PRT) | 8.2% $33.23B | 3.7% $16.86B | 5.9% $50.09B |
| 6 | USA (USA) | 4.6% $18.44B | 6.5% $29.33B | 5.6% $47.77B |
| 7 | United Kingdom (GBR) | 6.0% $24.40B | 2.4% $10.65B | 4.1% $35.05B |
| 8 | Netherlands (NLD) | 3.1% $12.65B | 4.5% $20.16B | 3.8% $32.81B |
| 9 | Belgium (BEL) | 3.1% $12.58B | 2.3% $10.45B | 2.7% $23.03B |
| 10 | Morocco (MAR) | 3.1% $12.47B | 2.2% $10.15B | 2.6% $22.62B |
- In 2024, Spain's total trade amounted to $855.0B, comprising $403.7B in exports and $451.3B in imports, resulting in a trade balance of -$47.6B.
- Spain ranked 15th in total trade, 16th in exports, and 15th in imports globally in 2024.
- The top export destination for Spain was France, with shipments valued at $58.7B (14.5% of total exports).
- Germany was the leading source of imports, accounting for $48.7B (10.8% of total imports).
- Spain's largest export category was Vehicles (HS2 87), with exports totaling $60.0B.
- The top import category was Mineral fuels (HS2 27), with a total import value of $60.2B.
Spain's Trade Performance in 2024
In 2024, Spain's economy engaged in $855.0B of total trade, ranking 15th globally. The country's exports were valued at $403.7B, while imports stood at $451.3B, leading to a trade deficit of -$47.6B. The primary export partners were European neighbors, with France leading at $58.7B, followed by Germany at $40.5B. On the import side, Germany was the largest partner, providing $48.7B worth of goods, with China following at $46.6B.
Top Traded Products
Spain's export market is led by Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof (HS2 87), which accounted for $60.0B or 14.9% of total exports. This was followed by Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof (HS2 84) at $28.2B. The most significant import category was Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxes (HS2 27), with imports of $60.2B, representing 13.3% of the total. Vehicles were also a major import, valued at $47.5B.
Exports
Spain - exports over time (Exports), 2015-2024 (USD)
Top export categories
Largest HS2 categories by export value in the selected year.
Spain - export composition by product categories (Exports), 2024 (USD)
Spain - export composition by 4-digit product groups (Exports), 2024 (USD)
Imports
Spain - imports over time (Imports), 2015-2024 (USD)
Top import categories
Largest HS2 categories by import value in the selected year.