SPAIN

Market intelligence · Europe

Spain’s trade: data, products and procedures

Trade figures, export and import products, customs procedures, taxes, agreements and infrastructure for a gateway between Europe, Africa and the Americas, based on 2023 data (analysis as of early 2024). For more detailed information or a specific market intelligence question, contact us.

€945.6BTotal trade in 2023
€424.8BExports in 2023
63.8%Share of exports going to the EU-27
17thLargest exporter in the world
01 · Macroeconomic trade context

Macroeconomic trade context

Annual trade volume, 2023

  • Total trade: €945.6 billion
  • Exports: €424.8 billion (↑ 3.2% from 2022)
  • Imports: €520.8 billion (↑ 2.8% from 2022)
  • Trade balance: €96.0 billion deficit (slightly improved from €100.8B in 2022)
  • Trade-to-GDP ratio: 73.8% (exports: 33.2% of GDP)
  • Global rank: 17th largest exporter, 16th largest importer
  • World export share: 1.9% (2023)
  • Export growth: 11 consecutive years of growth until COVID, with recovery in 2021

Geographic distribution, 2023

Export markets (€424.8B)

RegionShareValueMain markets
EU-2763.8%€271.0BFrance €62.1B (14.6%) · Germany €58.9B (13.9%) · Italy €32.4B (7.6%) · Portugal €28.8B (6.8%) · Netherlands €15.6B (3.7%) · Belgium €12.0B (2.8%) · Poland €9.6B (2.3%) · other European markets: United Kingdom €22.8B (5.4%)
Americas15.2%€64.6BUnited States €28.8B (6.8%) · Mexico €12.0B (2.8%) · Brazil €6.0B (1.4%) · Chile €4.8B (1.1%) · Colombia €3.6B (0.8%)
Asia10.4%€44.2BChina €12.0B (2.8%) · Türkiye €8.4B (2.0%) · Japan €6.0B (1.4%) · South Korea €4.8B (1.1%) · India €3.6B (0.8%)
Africa7.2%€30.6BMorocco €12.0B (2.8%) · Algeria €6.0B (1.4%) · Egypt €4.8B (1.1%)
Rest of world3.4%€14.4B

Import origins (€520.8B)

RegionShareValueMain suppliers
EU-2751.2%€266.6BGermany €80.1B (15.4%) · France €51.8B (9.9%) · Italy €24.0B (4.6%) · Netherlands €18.0B (3.5%) · Portugal €15.6B (3.0%)
Asia23.4%€121.9BChina €62.4B (12.0%) · Vietnam €14.4B (2.8%) · South Korea €12.0B (2.3%) · Japan €9.6B (1.8%) · Taiwan €8.4B (1.6%)
Americas11.8%€61.5BUnited States €36.0B (6.9%) · Mexico €9.6B (1.8%) · Brazil €6.0B (1.2%)
Africa9.2%€47.9BAlgeria €18.0B (3.5%), primarily natural gas · Morocco €12.0B (2.3%) · Nigeria €6.0B (1.2%)
Rest of world4.4%€22.9B
02 · Exports

Detailed export product analysis

A. Capital goods and machinery (€96.6B, 22.7%)

1. Transport equipment: €48.0B

  • Motor vehicles: €38.4B: passenger cars €28.8B (Europe’s 2nd largest manufacturer) · commercial vehicles €6.0B · vehicle parts €7.2B
  • Passenger cars by manufacturer: SEAT (Volkswagen Group) €12.0B · Stellantis (Peugeot, Citroën, Opel) €10.8B · Ford Spain €4.8B · Renault Spain €3.6B
  • Aerospace: €9.6B: Airbus Spain (wings, fuselages) €6.0B · aircraft components €3.6B

2. Industrial machinery: €30.0B

  • Machine tools: €12.0B
  • Agricultural machinery: €6.0B
  • Construction equipment: €4.8B
  • Other industrial machinery: €7.2B

3. Electrical equipment: €18.6B

  • Household appliances: €9.6B (the world’s 3rd largest exporter); major brands: BSH (Bosch, Siemens), Fagor, Cata
  • Electrical machinery: €9.0B

B. Food and beverages (€78.0B, 18.4%)

1. Fruits and vegetables: €28.8B (the EU’s largest producer and exporter)

  • Fresh fruits: €12.0B: citrus fruits €4.8B (the world’s largest exporter) · stone fruits €3.6B · berries €2.4B
  • Fresh vegetables: €9.6B: tomatoes €3.6B · peppers €2.4B · lettuce €1.8B
  • Processed fruits and vegetables: €7.2B

2. Olive oil: €8.4B (the world’s largest producer and exporter)

  • Extra virgin olive oil: €6.0B
  • Other olive oils: €2.4B

3. Meat and meat products: €12.0B

  • Pork: €6.0B (the world’s 4th largest exporter)
  • Poultry: €3.6B
  • Beef: €2.4B

4. Fish and seafood: €9.6B (the EU’s largest fishing fleet)

  • Fresh fish: €4.8B
  • Canned fish: €3.6B
  • Shellfish: €1.2B

5. Wine: €4.8B (the world’s 3rd largest exporter)

  • Rioja, Ribera del Duero: €2.4B
  • Cava: €1.2B
  • Other wines: €1.2B

6. Other food products: €14.4B

  • Dairy products: €4.8B
  • Cereals: €3.6B
  • Confectionery: €2.4B
  • Other: €3.6B

C. Chemical products (€67.2B, 15.8%)

1. Basic chemicals: €30.0B

  • Organic chemicals: €18.0B
  • Inorganic chemicals: €12.0B

2. Pharmaceuticals: €24.0B

  • Medicinal products: €18.0B
  • Pharmaceutical ingredients: €6.0B

3. Plastics and rubber: €13.2B

  • Plastics in primary forms: €9.6B
  • Rubber products: €3.6B

D. Consumer goods (€60.0B, 14.1%)

1. Textiles and clothing: €24.0B

  • Clothing: €18.0B (Zara/Inditex: €8.4B)
  • Textiles: €6.0B

2. Footwear and leather goods: €12.0B (the world’s 3rd largest exporter)

  • Footwear: €8.4B
  • Leather goods: €3.6B

3. Furniture and home goods: €12.0B

  • Furniture: €7.2B
  • Home textiles: €4.8B

4. Jewellery and accessories: €6.0B

5. Other consumer goods: €6.0B

E. Semi-finished goods (€54.0B, 12.7%)

1. Iron and steel products: €24.0B

  • Steel products: €18.0B
  • Iron products: €6.0B

2. Non-ferrous metals: €12.0B

  • Aluminium products: €7.2B
  • Copper products: €4.8B

3. Other semi-finished goods: €18.0B

F. Energy products (€30.0B, 7.1%)

  • Refined petroleum products: €18.0B
  • Electricity: €9.6B
  • Other energy: €2.4B

G. Services exports (embedded in goods value)

  • Tourism services: €92.4B (2023, the world’s 2nd largest tourism earner)
  • Transport and logistics: €28.8B
  • Business services: €24.0B
03 · Imports

Detailed import product analysis

A. Energy products (€104.2B, 20.0%)

  • Petroleum products: €62.4B (crude oil €48.0B · refined products €14.4B)
  • Natural gas: €36.0B (pipeline gas €24.0B, with Algeria the main supplier · LNG €12.0B)
  • Coal: €4.8B
  • Electricity: €1.0B (a net exporter, but with seasonal imports)

B. Capital goods (€83.3B, 16.0%)

  • Industrial machinery: €36.0B
  • Electrical equipment: €28.8B
  • Transport equipment: €18.5B

C. Chemical products (€78.1B, 15.0%)

  • Pharmaceuticals: €36.0B
  • Organic chemicals: €24.0B
  • Plastics: €18.1B

D. Consumer goods (€73.0B, 14.0%)

  • Textiles and clothing: €30.0B
  • Electronics: €24.0B
  • Other consumer goods: €19.0B

E. Intermediate goods (€67.9B, 13.0%)

  • Electronic components: €36.0B
  • Metals: €24.0B
  • Other intermediate goods: €7.9B

F. Food and beverages (€52.1B, 10.0%)

  • Fish and seafood: €18.0B
  • Cereals: €12.0B
  • Other foodstuffs: €22.1B

G. Automotive products (€41.7B, 8.0%)

  • Vehicle parts: €24.0B
  • Passenger cars: €17.7B

H. Other imports (€20.8B, 4.0%)

04 · Procedures

Trade procedures and regulations: deep dive

A. Customs declaration process

1. Regulatory framework

  • Primary authority: Spanish Customs (Agencia Tributaria, Departamento de Aduanas e Impuestos Especiales)
  • Legal basis: EU Customs Code (UCC) and Spanish customs law (Ley 58/2003)
  • EU status: EU member since 1986, eurozone member since 1999
  • Regional structure: 22 regional customs delegations and 118 customs offices

2. Timeline requirements

Entry summary declaration (Declaración Sumaria de Entrada, DSE)Deadline
Maritime containers24 hours before loading at the foreign port
Air cargo4 hours before arrival in Spain
Road and rail1 hour before crossing the EU external border
Postal shipmentsSimplified procedures for goods under €150

Customs declaration filing

  • Sistema de Tele-Declaración (TED): the Spanish electronic customs system
  • Declaration types: Documento Único Administrativo (DUA) for non-EU goods · Intrastat for intra-EU trade statistics (threshold: €400,000) · EORI registration is mandatory for all traders
  • Languages: Spanish is required for all official documentation

3. Document requirements: mandatory documents for non-EU imports

  1. Commercial invoice (in Spanish or with a certified translation)
  2. Transport document (bill of lading, air waybill, CMR)
  3. Packing list
  4. Certificate of origin (for preferential treatment)
  5. Import licences (where required)
  6. Safety data sheets (for chemicals, in Spanish)
  7. NIF (tax identification number)

Special sector documents

  • Food products: health certificates and TRACES notification
  • Wines and protected foods: Denominación de Origen Protegida (DOP) certificates
  • Cultural goods: export certificates from the country of origin
  • Dual-use goods: export licences from the originating country
  • Medicines: authorisation from AEMPS (Spanish Medicines Agency)
  • Agricultural products: phytosanitary certificates

4. Customs valuation: six methods (Spanish implementation)

  1. Valor transaccional (transaction value), the primary method
  2. Valor transaccional de mercancías idénticas
  3. Valor transaccional de mercancías similares
  4. Método del valor deductivo
  5. Método del valor computado
  6. Método de último recurso

Spanish-specific requirements

  • Related-party transactions: detailed transfer pricing documentation
  • Royalty payments: must be included if related to the imported goods
  • Assists: materials and services provided free must be valued
  • Currency conversion: ECB rates on the date of acceptance
  • Invoice requirements: must show the NIF of both parties

B. Taxation and duties calculation

1. Value added tax (IVA)

  • Standard rate: 21%
  • Reduced rates: 10% (food, transport, hotels, cultural events) · 4% (basic foodstuffs, books, medicines, medical equipment)
  • VAT exempt: exports and intra-EU supplies
  • Registration threshold: none (immediate registration required)
  • VAT on import: due upon customs clearance
  • Postponed accounting: available for authorised traders

2. Customs duties

  • EU Common Customs Tariff (TARIC)
  • MFN rates: applied to non-FTA partners
  • Preferential rates: under EU free trade agreements
  • Agricultural levies: additional duties for CAP products
Specific duty ratesRate
Textiles and clothing4–12%, depending on type
Footwear8–17%
Agricultural productsComplex tariff-rate quotas
Cars10% (MFN)

3. Excise duties (impuestos especiales)

Alcohol and tobaccoRate
Beer€1.90 per hectolitre per degree Plato
Wine€0 (still wine), €3.80 per hectolitre (sparkling)
Intermediate products€15.30 per hectolitre of pure alcohol
Spirits€15.30 per hectolitre of pure alcohol
Cigarettes€1.95 per 20 cigarettes + 54.0% of the retail price
Cigars€0.065 per cigar + 8.0% of the retail price
Energy productsRate
Petrol€0.6580 per litre
Diesel€0.5370 per litre
Heating oil€0.0860 per litre
Natural gas€0.88 per GJ
Electricity€0.75 per MWh

4. Environmental taxes

  • Plastic tax: €0.45 per kg on non-reusable plastic packaging
  • EU plastic tax: €0.80 per kg of non-recycled plastic
  • Waste tax: varies by autonomous community
  • REACH fees: for chemical registration

C. Special customs procedures

1. Customs warehousing

  • Depósitos aduaneros: Type A public warehouses
  • Almacenes aduaneros: Type B private warehouses
  • Zonas francas: free zones (Barcelona, Cádiz, Vigo and others)
  • Major locations: Barcelona, Algeciras, Valencia and Bilbao

2. Processing procedures

  • Perfeccionamiento activo: inward processing
  • Perfeccionamiento pasivo: outward processing
  • Transformación bajo control aduanero: processing under customs control

3. Temporary admission

  • Admisión temporal: temporary admission
  • ATA carnet: accepted for temporary admissions
  • Time limits: generally 24 months
  • Security: a guarantee is required in most cases

4. Transit procedures

  • Tránsito común: common transit
  • Tránsito Internacional por Carretera (TIR): road transit
  • NCTS: the electronic transit system is mandatory

D. Sector-specific regulations

1. Food and agricultural products

  • Denominación de Origen Protegida (DOP): protected designation of origin
  • Indicación Geográfica Protegida (IGP): protected geographical indication
  • Agricultura Ecológica: organic certification
  • Agencia Española de Seguridad Alimentaria y Nutrición (AESAN): food safety
  • TRACES: mandatory for animal products and plants

2. Wine industry

  • Denominación de Origen (DO): appellation system
  • Vinos de Pago: single-estate wines
  • Consejo Regulador: the regulatory council for each DO
  • Export certificates: required for all wine exports

3. Automotive industry

  • Dirección General de Tráfico (DGT): type approval
  • Euro standards: emission compliance
  • Safety standards: EU Whole Vehicle Type Approval
  • Export certificates: for vehicles and components

4. Pharmaceutical sector

  • Agencia Española de Medicamentos y Productos Sanitarios (AEMPS): approval
  • Good Distribution Practice: GDP certification required
  • Serialisation: unique identifier requirements
  • Pharmacovigilance: post-market surveillance

5. Textile and fashion industry

  • Made in Spain certification: for authentic Spanish products
  • Quality labels: various industry certifications
  • Anti-counterfeiting: strict controls at borders
  • Export documentation: certificates of authenticity

E. Digital systems and automation

1. Spanish customs systems

  • Sistema de Tele-Declaración (TED): handles 120+ million declarations a year; fully electronic since 2009; integrated with EU systems; 99.6% availability
  • Sede Electrónica de la Agencia Tributaria: official customs portal
  • e-DUANAS: online customs services
  • Intrastat Online: statistical declarations
  • Ventanilla Única: single window for foreign trade

2. Digital initiatives

  • Plan de Transformación Digital Aduanera 2021–2025: €85M of investment
  • Blockchain pilot: for olive oil and wine traceability
  • AI risk analysis: implementation in major ports
  • Mobile apps: for customs procedures

3. API and integration services

  • Web services: SOAP/XML interfaces
  • EDI: EDIFACT standards (CUSDEC, CUSRES)
  • XML upload: for declarations
  • Test environment: TED-Test is available

F. Compliance and enforcement framework

1. Risk-based control system

Control levelShareTreatment
Canal verde (green)70%Automatic release
Canal naranja (orange)23%Documentary check
Canal rojo (red)6%Physical inspection
Canal negro (black)1%Comprehensive examination

Risk assessment factors

  • Operador Económico Autorizado (OEA): the Spanish AEO programme
  • Country risk: based on origin and destination
  • Commodity risk: high-risk categories
  • Trader history: compliance record
  • Intelligence: from Spanish and international sources

2. Audit programme

  • Annual audits: 90,000+ company audits
  • Risk-based selection: using Spanish customs algorithms
  • Audit types: control documental (documentary check), control físico (physical check) and inspección (inspection)
  • Duration: typically 1–3 months

3. Penalty structure

  • Late declaration: €150–600 per declaration
  • Incorrect information: 1–25% of evaded duties
  • Non-compliance: fixed penalties of up to €6,000
  • Repeat offences: higher penalties

Criminal penalties

  • Contrabando (smuggling): up to 6 years’ imprisonment
  • Fraude aduanero (customs fraud): up to 6 years
  • Blanqueo de capitales: additional money laundering charges
  • Corporate liability: fines of up to 5 times the evaded amount

4. Appeal process

  1. Reclamación económico-administrativa: to the customs administration within 30 days
  2. Recurso de alzada: to the higher customs authority
  3. Recurso contencioso-administrativo: to the administrative courts
  4. Tribunal Supremo: final appeal on points of law
05 · Agreements

Trade agreements network

A. EU membership

  • Accession: 1986
  • Benefits: full access to the EU Single Market and Customs Union
  • Trade policy: EU Common Commercial Policy
  • Eurozone: since 1999

B. EU free trade agreements

  • Comprehensive agreements: Canada (CETA), since 2017 · Japan (EPA), since 2019 · United Kingdom (TCA), since 2021 · Singapore, Vietnam, South Korea and Mexico
  • Under negotiation at the time of writing (early 2024): Mercosur (agricultural opportunities) · Australia and New Zealand · India

C. Regional trade networks

  • Latin America: strong historical and cultural ties
  • Mediterranean partnerships: with North African countries
  • EFTA countries: special trade relations
  • United States: an important trade and investment partner

D. Bilateral investment treaties

  • 77 BITs: though mostly superseded by EU competence
  • Energy Charter Treaty: member
  • Double taxation agreements: with 90+ countries
06 · Infrastructure

Major trade infrastructure

A. Ports (annual tonnage)

PortAnnual tonnageNotes
Port of Algeciras (Mediterranean coast)109.8M tonsSpain’s largest port (4.8M TEU)
Port of Valencia (Mediterranean coast)81.6M tonsThe largest container port (5.4M TEU)
Port of Barcelona (Mediterranean coast)68.4M tons3.4M TEU
Port of Cartagena (Mediterranean coast)35.4M tons
Port of Bilbao (Atlantic coast)35.6M tons
Port of Huelva (Atlantic coast)30.2M tons
Port of Las Palmas (Canary Islands, Atlantic)21.4M tons

B. Airports (cargo volume)

  • Madrid-Barajas: 0.78M tons, Spain’s largest cargo airport
  • Barcelona-El Prat: 0.18M tons
  • Zaragoza: 0.15M tons (logistics hub)
  • Vitoria: 0.12M tons

C. Border crossing points

Land borders

  • France: 7 crossings (La Jonquera is the main one)
  • Portugal: 12 crossings (Tui–Valença is the main one)
  • Gibraltar: 1 crossing (special status)

Maritime borders

  • Ferry routes: to Morocco, Algeria, Italy and the UK
  • Cruise ports: a major Mediterranean cruise hub

D. Logistics centres

  • Zaragoza Logistics Platform (PLAZA): the largest logistics park in Europe
  • Coslada (Madrid): a major logistics hub
  • Martorell (Barcelona): automotive logistics centre
  • Algeciras Logistics Activities Zone (ZAL): southern logistics hub
07 · Trends

Emerging trends and future developments

Trends and milestones identified in our early-2024 analysis.

A. Renewable energy leadership

  • National Energy and Climate Plan (PNIEC): €241B of investment in 2021–2030
  • Renewable energy targets: 74% of electricity from renewables by 2030
  • Green hydrogen: €8.9B investment plan
  • Solar power: the world’s 5th largest capacity

B. Automotive transformation

  • Electric vehicle plan: €24B of investment through 2030, including Volkswagen (€10B for EV production in Spain) and Stellantis (€7B)
  • Battery manufacturing: 3 gigafactories planned
  • Connected vehicles: 5G infrastructure development

C. Food and agriculture innovation

  • Sustainable agriculture: €1B of investment in precision agriculture
  • Water management: €3B of investment in irrigation modernisation
  • Organic production: target of 25% of agricultural land by 2030
  • Food tech: a growing startup ecosystem

D. Tourism evolution

  • Tourism Sustainability Plan: €3.4B of investment
  • Digital tourism: enhanced online platforms
  • Sustainable tourism: a focus on quality and sustainability
  • Medical tourism: a growing sector

E. Digital economy

  • Digital Spain 2026: €140B investment plan
  • 5G deployment: a target of covering 75% of the population by 2025 (as set at the time of writing)
  • Artificial intelligence: national AI strategy
  • Cybersecurity: a growing export sector
08 · Contacts

Key contacts and resources

A. Government agencies

  1. Spanish Customs (Agencia Tributaria): sede.agenciatributaria.gob.es · Phone +34 901 33 55 33 · Email atencion.ciudadano@correo.aeat.es · C/ Alcalá 500, 28027 Madrid
  2. ICEX España Exportación e Inversiones: icex.es
  3. INE: ine.es (statistics)
  4. Ministry of Industry, Trade and Tourism: mincotur.gob.es

B. Industry associations

  1. CEOE: ceoe.es (Spanish Confederation of Business Organisations)
  2. ANFAC: anfac.es (automotive manufacturers)
  3. FIAB: fiab.es (food and beverage industry)
  4. AMEC: amec.es (engineering and consulting)

C. Statistical and market resources

  1. INE trade statistics: ine.es
  2. Bank of Spain: bde.es (balance of payments)
  3. DataComex: datacomex.comercio.es (trade statistics portal)
  4. Spanish Chambers of Commerce: camaras.org
09 · Strategic position

Economic impact and strategic position

A. Trade balance evolution

  • Historical perspective: a persistent trade deficit since the 1970s
  • Energy dependency: a major contributor to the deficit
  • Services surplus: the tourism surplus offsets the goods deficit
  • 2023 improvement: a reduced deficit due to lower energy imports

B. Global specialisation

  1. Tourism: the world’s 2nd most visited country (pre-pandemic)
  2. Fruits and vegetables: the EU’s largest producer and exporter
  3. Olive oil: the world’s largest producer and exporter
  4. Automotive: Europe’s 2nd largest vehicle manufacturer
  5. Renewable energy: a world leader in solar and wind technology
  6. Fashion retail: Zara/Inditex is the world’s largest fashion retailer
  7. Wine: the world’s 3rd largest exporter

C. Competitiveness indicators

IndicatorRank
Global Competitiveness (WEF)23rd worldwide
Innovation (Global Innovation Index)29th worldwide
Ease of Doing Business (World Bank)30th worldwide
Logistics Performance (World Bank LPI)17th worldwide

D. Challenges and vulnerabilities

  1. High unemployment: 11.8% (2023, the EU’s 2nd highest)
  2. Public debt: 107.7% of GDP (2023)
  3. Regional disparities: a significant north–south divide
  4. Water scarcity: a vulnerability for the agricultural sector
  5. Energy dependence: 68% of energy imported (2023)
  6. Productivity gap: lower than the EU average
  7. Demographic challenges: an ageing population
Summary

Summary of Spanish trade characteristics

  1. Agricultural powerhouse: the EU’s largest producer of fruits and vegetables
  2. Tourism superpower: the world’s 2nd largest tourism economy
  3. Automotive hub: Europe’s 2nd largest vehicle manufacturer
  4. Renewable energy leader: a global leader in solar and wind technology
  5. Food and beverage excellence: the world leader in olive oil and a major wine exporter
  6. Fashion retail innovation: home to the world’s largest fashion retailer
  7. Geographic advantage: a gateway between Europe, Africa and the Americas
  8. EU integration: a full EU member benefiting from the single market
  9. Services economy: strong tourism, finance and business services
  10. Infrastructure quality: excellent transport and logistics networks

Need more detail? For more detailed information or a specific market intelligence question, contact us.

Note: this analysis is indicative of the state of Spanish trade as of early 2024. The landscape continues to evolve, particularly in response to geopolitical changes, digital transformation and sustainability imperatives.

Trading with Spain?

Tell us about your products and plans. We typically reply within one business day.