Country profile

Spain

Reconciled figures: exports and imports as agreed between the countries' own reports, valued free on board.

Exports 2024
$394.7B
Imports 2024
$440.4B
Trade balance
-$45.6B
deficit
Top export
Vehicles
17.0% of exports

What Spain exports

Area is share of exports, 2024. Colours and icons are product groups (HS sections). Boxes open to 4-digit headings and 6-digit products.

Click a box to open it (press and hold for details).

Exports, imports and balance over time

Annual totals in US$.

Where Spain sells

Exports by partner, 2024.

Loading map…

Top partners

The 30 partners tracked cover 86% of exports.

About these figures

  • Valuation: FOB.
  • US$ values as reported by the source.
  • Chapters (HS2) for every year; 4-digit headings for no years. Sources and licences.

Key figures, 2024

Largest export partners, 2024
PartnerValueShare
FranceUS$53.6 billion13.6%
GermanyUS$39.5 billion10.0%
PortugalUS$37.1 billion9.4%
ItalyUS$34.3 billion8.7%
United KingdomUS$26.3 billion6.7%
United StatesUS$21.2 billion5.4%
MoroccoUS$15.9 billion4.0%
NetherlandsUS$11.6 billion2.9%
BelgiumUS$10.1 billion2.6%
TürkiyeUS$9.5 billion2.4%
Largest import partners, 2024
PartnerValueShare
GermanyUS$50.0 billion11.3%
ChinaUS$46.1 billion10.5%
FranceUS$40.2 billion9.1%
ItalyUS$30.2 billion6.8%
United StatesUS$28.8 billion6.5%
NetherlandsUS$20.2 billion4.6%
PortugalUS$17.7 billion4.0%
MoroccoUS$11.5 billion2.6%
United KingdomUS$10.6 billion2.4%
BelgiumUS$10.4 billion2.4%

Spain trade: questions and answers

What is Spain's trade balance?

In 2024, Spain exported US$394.7 billion of goods and imported US$440.4 billion, a trade deficit of US$45.6 billion.

What does Spain export?

In 2024, the largest product groups in Spain's exports by HS chapter were Vehicles (17.0%), Machinery and mechanical appliances, boilers, nuclear reactors (7.2%) and Electrical machinery and equipment and parts thereof (5.6%), out of total exports of US$394.7 billion.

What does Spain import?

In 2024, the largest product groups in Spain's imports by HS chapter were Mineral fuels, mineral oils and products of their distillation (13.9%), Vehicles (10.6%) and Machinery and mechanical appliances, boilers, nuclear reactors (9.5%), out of total imports of US$440.4 billion.

Who does Spain trade with most?

Among the economies tracked here, in 2024 Spain's biggest export markets were France (13.6%), Germany (10.0%) and Portugal (9.4%), and its biggest import sources were Germany (11.3%), China (10.5%) and France (9.1%). Shares are of Spain's total trade in that direction.

Where does the Spain trade data come from?

From CEPII (BACI). Values are annual, in US dollars, and products are HS chapters (2 digits) with 4-digit headings for some years. Licence terms and method are on the Sources page.