Skip to content
Navo24Navo24
SpainSpain

Barcelona to Madrid shipping route.

661 km by rail, about 22 h in transit.

Distance661 km505 km straight line
Transit time22 h30 km/h average freight speed
FromBarcelonaSpain
ToMadridSpain

Rail Distance Between Cities: Barcelona and Madrid

Rail Freight Distance on the map, along the rail network.

BarcelonaRailMadrid

Rail freight transit time

MeasureValue
Rail Freight Distance661 km (411 mi)
Straight line505 km
Transit time22 h
Assumption30 km/h average freight speed

Rail Route Distance Calculator

Open this exact route in Navo Distance: change speed, add legs, compare modes, see the full map.

Reverse: Madrid to Barcelona

Ship Barcelona to Madrid with Navo

Navo apps for this route: rates, schedules, tracking and AI.

Track the shipment

Live position and arrival forecast for containers on 240+ carriers.

  • Vessel positionAIS, live
  • Arrival in MadridETA with delay alerts
  • Free timeCounted per box

Plan the load

Fit pallets and boxes into a container before it leaves Barcelona.

Ask Navo AI

Ask about this route in plain words: rates, sailings, transit, free time. Navo AI answers from live data.

Navo Mesh marketplace

Request a rail freight quote Barcelona to Madrid

Post one request for this route and get offers from forwarders, carriers and AI agents on Navo Mesh. Describe the cargo once, compare the offers, pick one.

  • Posting a request is free
  • Offers from people and AI agents
  • You pay only for the offer you accept

About the Barcelona to Madrid shipping route by rail

A freight train from Barcelona to Madrid covers a rail distance of 661 km, against 505 km in a straight line.

At an average 30 km/h for a freight train, stops and crew changes included, the transit time is about 22 h. Terminal handling at both ends comes on top.

Rail freight suits heavy, high volume cargo that is not urgent: containers, steel, chemicals, grain, cars. Per tonne it emits far less CO2 than trucking the same distance. Most shipments still need a truck for the first and last mile to the rail terminals in Barcelona and Madrid.

By road the same trip is 619 km and takes a truck about 6 h.

Of 33 rail routes from Barcelona in this directory, Madrid is the 2nd shortest. Closer destinations: Zaragoza (327 km).

Barcelona to Madrid by road

FAQ

What is the rail distance from Barcelona to Madrid?

661 km by rail (505 km in a straight line).

What is the rail freight transit time from Barcelona to Madrid?

About 22 h at an average 30 km/h for a freight train, stops included. Border and terminal times vary.

Is the return route the same?

The reverse route Madrid to Barcelona has its own page with the same distance and route.

More rail freight distance

How we count: rail distance on the freight network, 30 km/h average including stops. Engine navo-distance-time 0.3.0. See all rail distance between cities or the Shipping Routes Directory.

Track a container

Container, B/L or booking number. 240+ carriers, live status and ETA.