Rabat to Barcelona by train
Travel from Rabat (Morocco) to Barcelona (Spain) by train (1139km): schedule and information to the train connection. Compare fares and buy your ticket.
To travel by train from Rabat in Morocco to Barcelona in Spain, your route includes a ferry from Tanger (Morocco) and Algeciras (Spain).
Your travel route could be like that.
1139 km
How to use the following information: we show you the best routes and where to buy tickets. On longer routes you may need more than one ticket. Book your tickets step by step as explained. If you have questions about the route from Rabat to Barcelona, please ask in our forum. Of course, sometimes there are as well other travel routes possible.
The following links could be interesting for you.
train connections : popular connections travelled by other users
Barcelona - Rabat1 Rabat (Morocco) - Tangier (Morocco) - Algeciras (Spain) - Barcelona (Spain)
The route consist of more than one step. You have to buy several train tickets.
1a Travelling from Rabat (Morocco) to Tangier (Morocco)
To travel by train in Morocco, buy your train tickets online via the given link.
The network of the national railway of Morocco was renovated the past years and several high-speed-connections will follow.
The main routes are from Oujda via Fes, Meknes to Rabat. And from Tangier to Rabat. Then from Rabat to the South in directions of Casablanca, El Jadida, Qued Zem, Marrakesh and Agadir.
The following links could be interesting for you.
train types: Train types you are likely to travel with.
Trains Grandes Lignes (TGL) / Trains Navettes Rapides (TNR)
night train: Night trains that might be suitable for this trip.
ONCF Marrakesh - Tangier / ONCF Tangier - Marrakesh
ferry: Ferry connections that might be helpful.
Algeciras - Tangier / Tangier - Algeciras
train company:
ONCF Office National des Chemins de Fer du Maroc
train connections: popular connections travelled by other users
Tangier - Rabat / Tangier - Casablanca / Tangier - Marrakesh / Tangier - Rabat / Marrakesh - Casablanca / Marrakesh - Rabat / Rabat - Casablanca / Rabat - Fes / Rabat - Agadir / Oujda - Rabat / Agadir - Tangier
1b Travelling from Tangier (Morocco) to Algeciras (Spain)
To travel by train and ferry from Morocco to Spain, first travel by train to Tangier Ville, the main station of Tangier. There you change to the hourly (06:00 to 22:00), free (if you show your ferry ticket) bus to the harbour Tangier Med.
In Tangier Med you change to the ferry in direction of Algeciras (Spain). Several ferry companies are available with frequent connections. The journey time is about 90 minutes. Ferry tickets start from 30 EUR.
In Algeciras (Spain), change back to a train to your destination in Spain.
You have to buy three tickets through the given booking links. There you will also find the exact timetable for the trains and the ferry.
1) Train ticket in Morocco to Tangier Ville.
2) Ferry ticket from Tangier Med to Algeciras.
3) Train ticket from Algeciras to your travel destination.
Where to buy a ticket from Tangier to Algeciras?
The following links could be interesting for you.
night train: Night trains that might be suitable for this trip.
ONCF Marrakesh - Tangier
ferry: Ferry connections that might be helpful.
Algeciras - Tangier / Tangier - Algeciras
train company:
BALE Balearia / ACCT Acciona Trasmediterránea
train connections: popular connections travelled by other users
Algeciras - Tangier / Rabat - Barcelona / Rabat - Madrid / Marrakesh - Barcelona / Marrakesh - Madrid / Marrakesh - Seville / Casablanca - Barcelona / Casablanca - Madrid / El Jadida - Barcelona / Fes - Barcelona
1c Travelling from Algeciras (Spain) to Barcelona (Spain)
Travel from Algeciras to Barcelona with a change of trains in Madrid. The journey time is ten hours.Travel first by Altaria train from Algeciras to Madrid with a journey time of 5:30 hours. At the railway station "Madrid Atocha" you change to an AVE high-speed-train in direction of Barcelona. The journey time from Madrid to Barcelona is 3 hours. The ticket fares start from 50 EUR.
The departure train station is "Algeciras". The arrival train station is "Barcelona Sants".
The ferry from Morocco arrives in Algeciras.
Find the exact train schedules and buy your ticket via the given booking links.
Where to buy a ticket from Algeciras to Barcelona?
The following links could be interesting for you.
train types: Train types you are likely to travel with.
Alta Velocidad Española (AVE) / Altaria (ATR)
train connections: popular connections travelled by other users
Barcelona - Algeciras
Need a cheap place to sleep? We recommend booking.com
Find a cheap flight! Compare prices on Kiwi.com
Do you have questions about the connection between Rabat and Barcelona? Does something not work as it should? Just ask in our forum and get competent answers from our rail travel experts.