Logistics services in Spain.
Europe & Central Asia · High income · capital Madrid
Spain scores 3.9 of 5 on the World Bank Logistics Performance Index 2022, 13th of 169 countries: among the top logistics performers in the world.
The World Port Index lists 49 ports here, 17 of them large or medium; the biggest is Las Palmas (ESLPA).
Its container ports handled 18.1 million TEU in 2024 (10th in the world).
Merchandise trade in 2025: $445.1 billion exports and $513.3 billion imports.
Source: World Bank Open Data, latest year reported per indicator; ranks count only countries with data.
Spain logistics overview: modes, trade and gateways
Logistics services in Spain connect shippers to Europe, Africa, and global markets by sea, air, rail, and road. Container ports handle about 18.1 million TEU, supported by 52 ports overall and a coastline of about 4,964 km. Large seaports such as Las Palmas, Tarragona, Barcelona, and Puerto de Bilbao link with inland areas by rail in most cases. Scheduled air services operate from 42 airports, including Adolfo Suárez Madrid-Barajas Airport (MAD) and Barcelona’s regional gateways.
A rail network of about 15,489 km and multiple road borders with France, Portugal, Andorra, Gibraltar, and Morocco (Ceuta and Melilla) support overland flows. Export goods such as cars, packaged medicine, refined petroleum, vehicle parts, and garments move alongside imports of crude petroleum, cars, garments, vehicle parts, and natural gas. Spain’s logistics performance index score of 3.9 and liner shipping connectivity index of 90.47 indicate dense routing options and relatively efficient international logistics services in Spain.
| Main exports | cars, packaged medicine, refined petroleum, vehicle parts/accessories, garments |
|---|---|
| Export partners | France 15%, Germany 10%, Portugal 9%, Italy 9%, UK 6% |
| Main imports | crude petroleum, cars, garments, vehicle parts/accessories, natural gas |
| Import partners | Germany 11%, China 10%, France 10%, Italy 7%, USA 7% |
Source: CIA World Factbook, top five goods and partners by value.
Freight forwarders in Spain
Freight forwarders in Spain work with a dense seaport network, key hubs like Barcelona, Valencia, Las Palmas, and Puerto de Bilbao, and 42 airports with scheduled flights. When choosing a provider, shippers can look at experience with Spain’s main export goods (cars, packaged medicine, refined petroleum, vehicle parts, garments) and main import goods (crude petroleum, cars, garments, vehicle parts, natural gas), as well as routes to partners such as France, Germany, Portugal, Italy, the UK, China, and the USA.
Spain’s logistics performance index score of 3.9, with customs at 3.6 and infrastructure at 3.8, sits above the world median and can help in planning service expectations. Providers should understand EU and OECD practices and average tariff protection of about 1.33 percent. Many global shipping lines have local offices, including MSC, X-Press Feeders, CMA CGM, Evergreen, Maersk, ZIM, HMM, Hapag-Lloyd, ONE, COSCO, Arkas, and APL, which forwarders in Spain can use to secure capacity and schedules matched to your trade lanes.
FCL and LCL shipping to and from Spain
Spain handled about 18.1 million TEU in 2024, ranking 10 of 168 worldwide and 1 of 36 in its region. Containerized FCL and LCL shipping flows through large ports such as Las Palmas, Tarragona and Barcelona, plus other key ports including Valencia, Alicante, Cadiz and Puerto de Bilbao. Las Palmas offers cargo pier depths of about 21.6 m and Barcelona about 15.5 m, with rail connections at the main larger ports.
Liner connectivity is high, with an LSCI score of 90.47 in 2021, ranking 8 of 169 globally. Major container lines with offices in Spain include MSC, Maersk, CMA CGM, COSCO, Hapag-Lloyd, ONE, Evergreen, ZIM, HMM, X-Press Feeders, Arkas and APL. Recent all-in FCL rates to Barcelona include about 5,300 USD for a 20ST from Karachi on 2026-10-31 and about 5,000 USD for a 20ST from Mundra on the same date. An LCL shipment of 500 kg / 1 m³ from Karachi to Barcelona was around 1,000 USD on 2026-10-31.
Seaports in Spain
49 ports in the World Port Index:3 large, 14 medium, 9 small, 23 very small. The 12 largest are below.
| Port | UN/LOCODE | Size | Harbour type | Cargo pier depth | Rail access |
|---|---|---|---|---|---|
| Las Palmas | ESLPA | LargeL | Coastal (Breakwater) | 21.6 m | Yes |
| Tarragona | ESTAR | LargeL | Coastal (Breakwater) | 20.1 m | Yes |
| Barcelona | ESBCN | LargeL | Coastal (Breakwater) | 15.5 m | Yes |
| Puerto De Bilbao | ESBIO | MediumM | Coastal (Breakwater) | 20.1 m | - |
| Palma de Mallorca | ESPMI | MediumM | Coastal (Breakwater) | 18.6 m | Yes |
| Santa Cruz de Tenerife | ESSCT | MediumM | Coastal (Breakwater) | 18.6 m | Yes |
| Málaga | ESAGP | MediumM | Coastal (Breakwater) | 17.1 m | Yes |
| Valencia | ESVLC | MediumM | Coastal (Breakwater) | 17.1 m | Yes |
| Vigo | ESVGO | MediumM | Coastal (Breakwater) | 17.1 m | Yes |
| Alicante | ESALC | MediumM | Coastal (Breakwater) | 14 m | Yes |
| Cadiz | ESCAD | MediumM | Coastal (Breakwater) | 14 m | Yes |
| Ferrol | ESFRO | MediumM | River (Natural) | 14 m | Yes |
Source: NGA World Port Index, Pub. 150. Depths are charted values, not today's draft limits. Old names are kept in brackets.
Observed shipping rates for Spain
All-in port-to-port prices from our own rate searches, USD: median and lowest to highest quote we saw.
| Lane | Mode | Unit | Median | Range | Date |
|---|---|---|---|---|---|
| Karachi → Barcelona | FCL | 20ST | $5,324 | $4,785 to $5,885 | 31 Oct 2026 |
| Mundra → Barcelona | FCL | 20ST | $5,018 | $4,497 to $6,089 | 31 Oct 2026 |
| Mundra → Barcelona | LCL | 500 kg / 1 m³ | $991 | $275 to $1,039 | 31 Oct 2026 |
| Singapore → Barcelona | FCL | 40ST | $5,260 | $4,747 to $7,473 | 28 Oct 2026 |
| Karachi → Barcelona | LCL | 500 kg / 1 m³ | $1,048 | $632 to $1,081 | 31 Oct 2026 |
| Barcelona → Buenos Aires | FCL | 20ST | $6,255 | $6,255 to $6,255 | 29 Oct 2026 |
| Barcelona → Suape Pt / Ipojuca | FCL | 40ST | $6,480 | $6,480 to $6,480 | 29 Oct 2026 |
| Barcelona → Shanghai | FCL | 20ST | $7,508 | $7,508 to $7,508 | 29 Oct 2026 |
Source: Navo24 rate searches (120 quotes). Rates move weekly; run a live search before booking.
Shipping lines with offices in Spain
X-Press FeedersAlgeciras · Alicante · Almeria · Barcelona
EvergreenAlicante · Barcelona · Bilbao · Gijon
MaerskBarcelona · Bilbao · Las Palmas de Gran Canaria · Madrid
HMMALGECIRAS · BARCELONA · BILBAO · MADRID
COSCOAlgeciras · Barcelona · Madrid · Valencia
ArkasBarcelonaSource: the lines' own office and agent pages, checked 25 Oct 2026.
Sea routes from Spain
- Barcelona → Genoa674 km · 26 h
- Valencia → Genoa966 km · 37 h
- Barcelona → Marsaxlokk1,239 km · 48 h
- Valencia → Marsaxlokk1,377 km · 2.2 days
- Algeciras → Genoa1,623 km · 2.6 days
- Algeciras → Marsaxlokk1,854 km · 3.0 days
Air freight in Spain
Air freight in Spain uses 42 airports with scheduled services, led by Adolfo Suárez Madrid-Barajas Airport (MAD) plus Alicante-Elche Miguel Hernández (ALC), Asturias (OVD), Bilbao (BIO), and César Manrique-Lanzarote (ACE). Total air cargo movements reach about 1.1 billion tonne-km, with Spain ranked 28th of 184 worldwide and 11th of 49 in its region.
Time-sensitive exports such as packaged medicine, high-value vehicle parts, and garments often fit air solutions, as do urgent components feeding car and machinery production imported from partners like Germany, France, China, Italy, and the USA. With international city pairs such as Madrid to Paris, Milan, and London in the 1,100 to 1,300 km range, air freight in Spain can provide short transit times for European and intercontinental connections when speed outweighs cost.
Airports for air cargo
42 airports with scheduled passenger and cargo service; the first 12 are listed.
MADAdolfo Suárez Madrid–Barajas AirportMadrid · LEMDALCAlicante-Elche Miguel Hernández AirportAlicante · LEALOVDAsturias AirportRanón · LEASBIOBilbao AirportBilbao · LEBBACECésar Manrique-Lanzarote AirportSan Bartolomé · GCRRFUEFuerteventura AirportEl Matorral · GCFVGROGirona-Costa Brava AirportGirona · LEGELPAGran Canaria AirportGran Canaria Island · GCLPIBZIbiza AirportIbiza (Eivissa) · LEIBBCNJosep Tarradellas Barcelona-El Prat AirportBarcelona · LEBLMAHMenorca AirportMahón (Maó) · LEMHAGPMálaga-Costa del Sol AirportMálaga · LEMGSource: OurAirports open data.
- Madrid (MAD) → Paris (CDG)1,116 km · 2.1 h
- Madrid (MAD) → Milan (MXP)1,207 km · 2.3 h
- Madrid (MAD) → London (LHR)1,306 km · 2.4 h
- Madrid (MAD) → Luxembourg (LUX)1,335 km · 2.4 h
- Madrid (MAD) → Brussels (BRU)1,380 km · 2.5 h
- Madrid (MAD) → Frankfurt (FRA)1,490 km · 2.6 h
Rail and road freight in Spain
Rail and road freight in Spain use about 15,489 km of railway and multiple land borders. Rail freight movements total about 10.3 billion tonne-km, ranking 32nd of 113 worldwide and 21st of 47 regionally. Major seaports such as Las Palmas, Tarragona, Barcelona, Palma de Mallorca, and some others have rail access where indicated, helping shift containers inland.
On the road side, Spain borders Andorra (about 63 km), France (about 646 km), Gibraltar (about 1 km), Portugal (about 1,224 km), and Morocco through Ceuta (about 8 km) and Melilla (about 10.5 km). Key road distances relevant for cross-border trucking include Barcelona to Marseille at about 504 km, Madrid to Lisbon at about 629 km, and Barcelona to Lyon at about 642 km. Rail corridors like Madrid to Lisbon (about 668 km), Barcelona to Lyon (about 687 km), and Barcelona to Genoa (about 900 km) complement these road routes for Iberian and wider European flows in rail and road freight in Spain.
| Railway network | 15,489 km |
|---|---|
| Land borders | Andorra 63 km; France 646 km; Gibraltar 1.2 km; Portugal 1,224 km; Morocco (Ceuta) 8 km and Morocco (Melilla) 10.5 km |
Source: CIA World Factbook.
Rail routes
- Madrid → Lisbon668 km · 22 h
- Barcelona → Lyon687 km · 23 h
- Barcelona → Genoa900 km · 30 h
- Zaragoza → Lyon941 km · 31 h
- Barcelona → Paris991 km · 33 h
- Zaragoza → Lisbon993 km · 33 h
Road routes
- Barcelona → Marseille504 km · 5.3 h
- Madrid → Lisbon629 km · 5.9 h
- Barcelona → Lyon642 km · 6.5 h
- Valencia → Marseille845 km · 8.8 h
- Valencia → Lyon983 km · 21 h
- Valencia → Lisbon985 km · 9.1 h
Routes open in Navo Distance, where you can change the stops.
Customs clearance in Spain
Customs clearance in Spain is handled by the national authority Aduana Nueva. Spain has been a member of the World Customs Organization since 1952-07-13 and participates in the World Trade Organization, while also belonging to blocs such as the EU and OECD. The average applied tariff is about 1.33 percent, which shapes duties for many inbound shipments alongside bloc arrangements.
Spain’s logistics performance index customs score is 3.6, compared with a world median of 2.6, and overall LPI is 3.9 versus 2.7. Median times to clear exports and imports are about 2 days and 3 days respectively. For smooth customs clearance in Spain, shippers should prepare a clear commercial invoice, a detailed packing list, and the relevant transport document (bill of lading, airway bill, or CMR), aligned with their forwarder’s and consignee’s instructions.
| Customs authority | Aduana Nueva |
|---|---|
| World Customs Organization | Member since 1952 |
| World Trade Organization | Member |
| Trade and economic blocs | EU, OECD |
| Average applied tariff | 1.3% (2022, weighted mean, all products) |
| LPI customs score | 3.60 / 5 (world median 2.6) |
| Export lead time, port or airport | 2.0 days median (2018) |
| Import lead time, port or airport | 3.0 days median (2018) |
Every shipment needs at least a commercial invoice, a packing list and a transport document (bill of lading, air waybill or CMR). See Incoterms for who clears customs at each end.
Sources: Wikidata (customs authority, WCO membership), CIA World Factbook (WTO, blocs), World Bank (tariff, LPI, lead times). Rules change; confirm with a licensed customs broker.
Logistics Performance Index 2022: Spain
Six survey scores from 1 to 5. The grey tick is the world median. Every LPI component is at or above the world median; tracking and tracing leads.
Source: World Bank LPI, survey of logistics professionals.
Logistics in Spain: FAQ
What are the main ports in Spain?
By World Port Index harbour size: Las Palmas (ESLPA), Tarragona (ESTAR), Barcelona (ESBCN), Puerto De Bilbao (ESBIO). 49 ports in total.
How does customs clearance work in Spain?
Customs clearance in Spain is handled by Aduana Nueva. Spain has been a World Customs Organization member since 1952. Average applied tariff: 1.3% (2022). LPI customs score 3.6 against a world median of 2.6.
Which shipping lines have offices in Spain?
MSC, X-Press Feeders, CMA CGM, Evergreen, Maersk, ZIM, HMM, Hapag-Lloyd and 6 more, according to the lines' own office pages.
How much does FCL shipping to or from Spain cost?
On Karachi to Barcelona, our quotes for a 20ST container ran 4,785 to 5,885 USD all-in, median 5,324 USD (31 Oct 2026). Prices change weekly; request a current quote.
How to choose a freight forwarder in Spain?
Freight forwarders in Spain work with a dense seaport network, key hubs like Barcelona, Valencia, Las Palmas, and Puerto de Bilbao, and 42 airports with scheduled flights. When choosing a provider, shippers can look at experience with Spain’s main export goods (cars, packaged medicine, refined petroleum, vehicle parts, garments) and main import goods (crude petroleum, cars, garments, vehicle parts, natural gas), as well as routes to partners such as France, Germany, Portugal, Italy, the UK, China, and the USA.
How good is logistics in Spain?
Spain scores 3.9 of 5 on the World Bank LPI 2022, 13th of 169. Every LPI component is at or above the world median; tracking and tracing leads.
Which airports in Spain handle air freight?
Airports with scheduled service: Adolfo Suárez Madrid–Barajas Airport (MAD), Alicante-Elche Miguel Hernández Airport (ALC), Asturias Airport (OVD), Bilbao Airport (BIO), César Manrique-Lanzarote Airport (ACE) and 37 more.
Neighbours and Europe & Central Asia
Data built 31 Oct 2026. Text written from these figures and checked against them. Flags: flag-icons (MIT). Something out of date? [email protected].