What does Spain sell and buy?
Spain's largest tracked commodity export in 2024 was olive oil, $7.0 billion, 20% of its exports of the 98 commodities on this site; it ranked 1st among exporters of it. Its largest import was crude oil, $36 billion, 46% of its tracked imports. Together the tracked commodities came to $34 billion of exports and $79 billion of imports, a deficit of $44 billion.
What Spain produces and ranks in · What feeds Spain · All trade profiles · JSON
Exports
| Commodity | Value, 2024 | Share of tracked exports | World rank | Share of world exports | 1995 value | Change |
|---|---|---|---|---|---|---|
| Olive oil | $7.0 billion | 20% | 1 | 43% | $586 million | 12× |
| Pork | $6.1 billion | 18% | 2 | 17% | $241 million | 25× |
| Gold | $4.1 billion | 12% | 29 | 0.8% | $178 million | 23× |
| Zinc | $1.4 billion | 4.2% | 1 | 9.9% | $342 million | 4.2× |
| Natural gas | $1.3 billion | 3.9% | 34 | 0.3% | $58 million | 23× |
| Tomatoes | $1.3 billion | 3.7% | 4 | 11% | $829 million | 1.5× |
| Oranges | $1.2 billion | 3.5% | 1 | 22% | $814 million | 1.5× |
| Copper | $1.2 billion | 3.5% | 15 | 1.1% | $15 million | 78× |
| Cheese | $898 million | 2.6% | 14 | 2.0% | $75 million | 12× |
| Aluminum | $743 million | 2.2% | 24 | 1.0% | $214 million | 3.5× |
| Steel | $612 million | 1.8% | 21 | 0.9% | $211 million | 2.9× |
| Almonds | $594 million | 1.7% | 2 | 12% | $132 million | 4.5× |
Imports
| Commodity | Value, 2024 | Share of tracked imports | World rank | Share of world imports | 1995 value | Change |
|---|---|---|---|---|---|---|
| Crude oil | $36 billion | 46% | 8 | 2.8% | $6.0 billion | 6.0× |
| Natural gas | $11 billion | 14% | 12 | 2.2% | $1.0 billion | 11× |
| Soybeans | $2.5 billion | 3.2% | 3 | 3.1% | $703 million | 3.6× |
| Copper | $2.5 billion | 3.1% | 6 | 2.4% | $348 million | 7.0× |
| Steel | $2.4 billion | 3.0% | 9 | 3.5% | $790 million | 3.0× |
| Cheese | $2.0 billion | 2.5% | 6 | 4.5% | $385 million | 5.2× |
| Corn | $2.0 billion | 2.5% | 5 | 4.4% | $462 million | 4.3× |
| Aluminum | $1.9 billion | 2.4% | 11 | 2.4% | $267 million | 7.0× |
| Wheat | $1.7 billion | 2.2% | 8 | 3.0% | $562 million | 3.1× |
| Olive oil | $1.5 billion | 1.9% | 3 | 9.4% | $332 million | 4.6× |
| Coffee | $1.1 billion | 1.4% | 6 | 3.5% | $559 million | 2.0× |
| Sunflower oil | $898 million | 1.1% | 5 | 4.9% | $45 million | 20× |
The whole of Spain's goods trade
The commodities above are only part of what Spain trades. In 2024 its goods exports were $401 billion and its imports $459 billion in 96 product chapters. The 98 commodities on this site made up 8.5% of the exports and 17% of the imports. The largest export chapter was vehicles (16% of exports, 7th among exporters of that chapter) and the largest import chapter mineral fuels, mineral oils and products of their distillation (13% of imports).
| Export chapter (HS) | Value, 2024 | Share of exports | World rank | Share of world trade in the chapter |
|---|---|---|---|---|
| 87: Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof | $65 billion | 16% | 7 | 3.5% |
| 84: Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof | $29 billion | 7.2% | 22 | 1.1% |
| 85: Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles | $23 billion | 5.7% | 22 | 0.7% |
| 30: Pharmaceutical products | $22 billion | 5.4% | 12 | 2.5% |
| 27: Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxes | $19 billion | 4.7% | 33 | 0.6% |
| 39: Plastics and articles thereof | $15 billion | 3.7% | 14 | 2.0% |
| 08: Fruit and nuts, edible; peel of citrus fruit or melons | $12 billion | 2.9% | 2 | 7.1% |
| 02: Meat and edible meat offal | $11 billion | 2.6% | 5 | 6.3% |
| 07: Vegetables and certain roots and tubers; edible | $10 billion | 2.5% | 3 | 10% |
| 15: Animal, vegetable or microbial fats and oils and their cleavage products; prepared edible fats; animal or vegetable waxes | $9.6 billion | 2.4% | 3 | 6.1% |
| Import chapter (HS) | Value, 2024 | Share of imports | World rank | Share of world trade in the chapter |
|---|---|---|---|---|
| 27: Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxes | $61 billion | 13% | 13 | 2.0% |
| 87: Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof | $49 billion | 11% | 10 | 2.6% |
| 84: Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof | $44 billion | 9.7% | 17 | 1.6% |
| 85: Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles | $43 billion | 9.4% | 22 | 1.3% |
| 30: Pharmaceutical products | $22 billion | 4.8% | 11 | 2.5% |
| 39: Plastics and articles thereof | $16 billion | 3.5% | 15 | 2.2% |
| 29: Organic chemicals | $12 billion | 2.6% | 13 | 2.5% |
| 72: Iron and steel | $12 billion | 2.5% | 14 | 2.5% |
| 90: Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus; parts and accessories | $12 billion | 2.5% | 17 | 1.7% |
| 62: Apparel and clothing accessories; not knitted or crocheted | $11 billion | 2.4% | 4 | 4.7% |
Net position by commodity
Exports minus imports of the same commodity in 2024. Spain is a net seller of pork ($5.8 billion), olive oil ($5.5 billion), gold ($3.5 billion), zinc ($1.3 billion), oranges ($1.1 billion). It is a net buyer of crude oil ($35 billion), natural gas ($9.5 billion), soybeans ($2.5 billion), corn ($1.9 billion), steel ($1.7 billion).
Who Spain trades with
| Flow | Commodity | Largest partners |
|---|---|---|
| Sells to | Olive oil | Italy (26%); United States (17%); France (8.3%) |
| Sells to | Pork | Japan (11%); Italy (11%); France (11%) |
| Sells to | Gold | United Kingdom (36%); Italy (28%); France (21%) |
| Sells to | Zinc | Turkey (Türkiye) (18%); Singapore (17%); Germany (10%) |
| Sells to | Natural gas | Morocco (32%); Portugal (15%); France (13%) |
| Sells to | Tomatoes | Germany (30%); United Kingdom (14%); France (9.0%) |
| Buys from | Crude oil | United States (17%); Brazil (13%); Nigeria (13%) |
| Buys from | Natural gas | Algeria (36%); Russia (19%); United States (18%) |
| Buys from | Soybeans | Brazil (71%); United States (27%); France (0.4%) |
| Buys from | Copper | Peru (26%); Indonesia (21%); Chile (20%) |
| Buys from | Steel | France (14%); Germany (11%); Egypt (11%) |
| Buys from | Cheese | Germany (21%); Netherlands (21%); France (19%) |
Tracked exports and imports since 1995
CEPII BACI, primary customs line of each commodity, current US dollars. Only the 98 commodities on this site whose customs line is comparable across HS revisions are counted, so these are tracked-commodity totals, not Spain's whole trade. Flows are BACI's reconciled records of what one country shipped to another. Values come from the long series on the HS 1992 coding, so a figure can differ by a few percent from the same flow on a commodity page, which uses the current coding; a change since the first year is shown only where the first-year value was at least $5 million. Cite as: Commodity Origins, "Spain: what it sells and buys", https://commodityorigins.com/trade-profiles/ESP/ (CC BY 4.0).