Train from Rabat: Casablanca vs Fes — Which Day Trip Wins?
Rabat sits on Morocco's busiest rail corridor, so two of the best onward trips run straight from its stations. Casablanca is a fast 50-minute hop for the Hassan II Mosque; Fes is a 2.5-hour ride into the world's greatest medina. Here is how the two journeys compare.
Entrance building of Rabat-Agdal railway station, with a lattice-patterned facade and palm trees
One of Rabat's quiet advantages is that it sits on Morocco's main north–south railway, the spine of the ONCF network, so its stations — Rabat-Ville and Rabat-Agdal — make superb springboards. The two standout rail trips pull in opposite directions. South-west lies Casablanca, barely 50 minutes away on frequent fast trains, where the unmissable draw is the Hassan II Mosque rising out of the Atlantic, backed by the Art Deco downtown and the Habous quarter. East lies Fes, around 2.5 hours away, where the train deposits you within reach of Fes el-Bali — 9,000 car-free lanes, the Al-Qarawiyyin university and the Chouara tanneries. Casablanca is the effortless half-day; Fes is the immersive full day or, better, an overnight. Both start with a simple walk to a Rabat platform.
Option A
Rabat → Casablanca
A 50-minute sprint to the Hassan II Mosque and Art Deco downtown
Best for
Short on time, mosque-focused visitors, easy half-day or day trips
Rabat → CasablancaHalf a day to a full day; easy return to Rabat by evening
Rabat → FesA long full day at minimum; an overnight is strongly recommended
Stations in Rabat
Rabat → CasablancaRabat-Ville or Rabat-Agdal to Casa-Voyageurs / Casa-Port
Rabat → FesRabat-Ville or Rabat-Agdal direct to Fes station
Effort & navigation
Rabat → CasablancaLow — central sights, metered taxis, easy orientation
Rabat → FesHigher — the medina is a labyrinth; a guide helps on arrival
Crowds & hassle
Rabat → CasablancaBusy commercial city but the mosque visit is well organised
Rabat → FesLively, atmospheric and at times pushy in the souks
Best for
Rabat → CasablancaSqueezing a world-class monument into a tight schedule
Rabat → FesA deep cultural day out from the capital
Return same day?
Rabat → CasablancaEasily — frequent late trains back to Rabat
Rabat → FesPossible but tight; an overnight in Fes is far better
Our verdict
Which should you choose?
If your time in Rabat is short, the Casablanca train is the obvious win: 50 minutes each way buys you the Hassan II Mosque and the Art Deco downtown with a comfortable return by evening. If you have a full day — and ideally a night — the Fes train delivers something Casablanca cannot, dropping you into the most complete medieval medina in the world. Treat Casablanca as the easy half-day and Fes as the cultural set-piece. Both are launched with nothing more than a short walk to a Rabat station and a turn-up-and-go ticket.
About 50 minutes on the fast services, with departures throughout the day from Rabat-Ville and Rabat-Agdal to Casa-Voyageurs and Casa-Port. It is one of the easiest day trips in Morocco.
How long is the train from Rabat to Fes?
About 2h40 to 3 hours on the ONCF line, with several departures a day. Fes works as a long day trip from Rabat, but an overnight is far more rewarding given the size of the medina.
Can I do Fes as a day trip from Rabat by train?
It is possible (about 2h40 to 3 hours each way by train, 2h15 by car) but tight. You would have only a few hours in the medina. If you can, stay a night in Fes; if not, focus on a guided medina walk and the main monuments and take an early train back.
Do I need to book Rabat trains in advance?
For Casablanca, no — services are frequent and you can usually turn up and buy a ticket. For Fes, booking ahead is wise in peak season to guarantee a seat, especially on the more comfortable first-class carriages.
Which Rabat station should I use?
Rabat-Ville is the most central, close to the medina and Hassan Tower; Rabat-Agdal serves the modern Agdal district and high-speed connections. Both run trains to Casablanca and Fes, so use whichever is nearer your accommodation.
Ready to book?
Let us build your itinerary.
Tell us which destinations you want to combine and we'll send a written itinerary and a transparent quote within one working day.