Skip to content

Flag of SpainLogistics 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.

Logistics Performance Index3.90 / 513th of 169 · 2022
Container port traffic18.1 million TEU10th in the world · 2024
Air freight1.1 billion t-km2023
Rail freight10.3 billion t-km2021
Merchandise exports$445.1 billion8th in Europe & Central Asia · 2025
Merchandise imports$513.3 billion2025

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 exportscars, packaged medicine, refined petroleum, vehicle parts/accessories, garments
Export partnersFrance 15%, Germany 10%, Portugal 9%, Italy 9%, UK 6%
Main importscrude petroleum, cars, garments, vehicle parts/accessories, natural gas
Import partnersGermany 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.

Need a forwarder for Spain? Get FCL, LCL and air quotes from carriers and forwarders in one search.Compare freight rates

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.

PortUN/LOCODESizeHarbour typeCargo pier depthRail access
Las PalmasESLPALargeLCoastal (Breakwater)21.6 mYes
TarragonaESTARLargeLCoastal (Breakwater)20.1 mYes
BarcelonaESBCNLargeLCoastal (Breakwater)15.5 mYes
Puerto De BilbaoESBIOMediumMCoastal (Breakwater)20.1 m-
Palma de MallorcaESPMIMediumMCoastal (Breakwater)18.6 mYes
Santa Cruz de TenerifeESSCTMediumMCoastal (Breakwater)18.6 mYes
MálagaESAGPMediumMCoastal (Breakwater)17.1 mYes
ValenciaESVLCMediumMCoastal (Breakwater)17.1 mYes
VigoESVGOMediumMCoastal (Breakwater)17.1 mYes
AlicanteESALCMediumMCoastal (Breakwater)14 mYes
CadizESCADMediumMCoastal (Breakwater)14 mYes
FerrolESFROMediumMRiver (Natural)14 mYes

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.

LaneModeUnitMedianRangeDate
Karachi → BarcelonaFCL20ST$5,324$4,785 to $5,88531 Oct 2026
Mundra → BarcelonaFCL20ST$5,018$4,497 to $6,08931 Oct 2026
Mundra → BarcelonaLCL500 kg / 1 m³$991$275 to $1,03931 Oct 2026
Singapore → BarcelonaFCL40ST$5,260$4,747 to $7,47328 Oct 2026
Karachi → BarcelonaLCL500 kg / 1 m³$1,048$632 to $1,08131 Oct 2026
Barcelona → Buenos AiresFCL20ST$6,255$6,255 to $6,25529 Oct 2026
Barcelona → Suape Pt / IpojucaFCL40ST$6,480$6,480 to $6,48029 Oct 2026
Barcelona → ShanghaiFCL20ST$7,508$7,508 to $7,50829 Oct 2026

Source: Navo24 rate searches (120 quotes). Rates move weekly; run a live search before booking.

Shipping lines with offices in Spain

MSCAlgeciras · Barcelona · Bilbao · Cadiz
X-Press FeedersAlgeciras · Alicante · Almeria · Barcelona
CMA CGMBarcelona · Bilbao · Gijon · Las Palmas
EvergreenAlicante · Barcelona · Bilbao · Gijon
MaerskBarcelona · Bilbao · Las Palmas de Gran Canaria · Madrid
ZIMBarcelona · Bilbao · Las Palmas, Canary Islands · Santa Cruz De Tenerife
HMMALGECIRAS · BARCELONA · BILBAO · MADRID
Hapag-LloydBarcelona · Bilbao · Las Palmas · Valencia
ONEAlgeciras · Barcelona · Bilbao · Madrid
COSCOAlgeciras · Barcelona · Madrid · Valencia
APLBarcelona
ArkasBarcelona
CNCSanta Cruz De Tenerife
OOCLBarcelona

Source: the lines' own office and agent pages, checked 25 Oct 2026.

Sea routes from Spain

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 · LEMD
ALCAlicante-Elche Miguel Hernández AirportAlicante · LEAL
OVDAsturias AirportRanón · LEAS
BIOBilbao AirportBilbao · LEBB
ACECésar Manrique-Lanzarote AirportSan Bartolomé · GCRR
FUEFuerteventura AirportEl Matorral · GCFV
GROGirona-Costa Brava AirportGirona · LEGE
LPAGran Canaria AirportGran Canaria Island · GCLP
IBZIbiza AirportIbiza (Eivissa) · LEIB
BCNJosep Tarradellas Barcelona-El Prat AirportBarcelona · LEBL
MAHMenorca AirportMahón (Maó) · LEMH
AGPMálaga-Costa del Sol AirportMálaga · LEMG

Source: OurAirports open data.

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 network15,489 km
Land bordersAndorra 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

Road routes

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 authorityAduana Nueva
World Customs OrganizationMember since 1952
World Trade OrganizationMember
Trade and economic blocsEU, OECD
Average applied tariff1.3% (2022, weighted mean, all products)
LPI customs score3.60 / 5 (world median 2.6)
Export lead time, port or airport2.0 days median (2018)
Import lead time, port or airport3.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.

Customs3.60
Infrastructure3.80
International shipments3.70
Logistics competence3.90
Tracking and tracing4.10
Timeliness4.20

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].