Barcelona to Madrid shipping route.
661 km by rail, about 22 h in transit.
Rail Distance Between Cities: Barcelona and Madrid
Rail Freight Distance on the map, along the rail network.
Rail freight transit time
| Measure | Value |
|---|---|
| Rail Freight Distance | 661 km (411 mi) |
| Straight line | 505 km |
| Transit time | 22 h |
| Assumption | 30 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 BarcelonaShip Barcelona to Madrid with Navo
Navo apps for this route: rates, schedules, tracking and AI.
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).
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
Barcelona to
Zaragoza327 km
Barcelona to
Lyon687 km
Barcelona to
Genoa900 km
Barcelona to
Paris991 km
Barcelona to
Milan1,041 km
Barcelona to
Basel1,048 km
Zaragoza to
Madrid334 km
Lisbon to
Madrid668 km
Lyon to
Madrid1,276 km
Paris to
Madrid1,361 km
Genoa to
Madrid1,561 km
Basel to
Madrid1,638 km
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.