Country profile
Spain
Reconciled figures: exports and imports as agreed between the countries' own reports, valued free on board.
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.
Exports, imports and balance over time
Annual totals in US$.
Where Spain sells
Exports by partner, 2024.
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
| Product | Value | Share |
|---|---|---|
| Vehicles | US$67.1 billion | 17.0% |
| Machinery and mechanical appliances, boilers, nuclear reactors | US$28.6 billion | 7.2% |
| Electrical machinery and equipment and parts thereof | US$22.2 billion | 5.6% |
| Pharmaceutical products | US$21.3 billion | 5.4% |
| Mineral fuels, mineral oils and products of their distillation | US$20.2 billion | 5.1% |
| Plastics and articles thereof | US$15.2 billion | 3.9% |
| Fruit and nuts, edible | US$11.4 billion | 2.9% |
| Meat and edible meat offal | US$10.3 billion | 2.6% |
| Vegetables and certain roots and tubers | US$10.0 billion | 2.5% |
| Animal, vegetable or microbial fats and oils and their cleavage products | US$9.9 billion | 2.5% |
| Product | Value | Share |
|---|---|---|
| Mineral fuels, mineral oils and products of their distillation | US$61.3 billion | 13.9% |
| Vehicles | US$46.6 billion | 10.6% |
| Machinery and mechanical appliances, boilers, nuclear reactors | US$42.0 billion | 9.5% |
| Electrical machinery and equipment and parts thereof | US$40.2 billion | 9.1% |
| Pharmaceutical products | US$22.2 billion | 5.0% |
| Plastics and articles thereof | US$16.7 billion | 3.8% |
| Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus | US$11.4 billion | 2.6% |
| Iron and steel | US$11.0 billion | 2.5% |
| Organic chemicals | US$11.0 billion | 2.5% |
| Apparel and clothing accessories | US$10.5 billion | 2.4% |
| Partner | Value | Share |
|---|---|---|
| US$53.6 billion | 13.6% | |
| US$39.5 billion | 10.0% | |
| US$37.1 billion | 9.4% | |
| US$34.3 billion | 8.7% | |
| US$26.3 billion | 6.7% | |
| US$21.2 billion | 5.4% | |
| US$15.9 billion | 4.0% | |
| US$11.6 billion | 2.9% | |
| US$10.1 billion | 2.6% | |
| US$9.5 billion | 2.4% |
| Partner | Value | Share |
|---|---|---|
| US$50.0 billion | 11.3% | |
| US$46.1 billion | 10.5% | |
| US$40.2 billion | 9.1% | |
| US$30.2 billion | 6.8% | |
| US$28.8 billion | 6.5% | |
| US$20.2 billion | 4.6% | |
| US$17.7 billion | 4.0% | |
| US$11.5 billion | 2.6% | |
| US$10.6 billion | 2.4% | |
| US$10.4 billion | 2.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.
