

This guide covers everything needed to plan the Marrakesh-to-Tangier leg of a Morocco trip: train, flight, bus, and driving options with real prices and travel times, plus what to see once you arrive. It's built for travelers choosing between a fast rail connection and a slower, cheaper overland route, whether the priority is speed, budget, or scenery. Knowing the real numbers matters because the wrong choice can add hours to a journey of roughly 500 km by air or 580 km by rail. ONCF operates trains covering the distance in as little as 4 hours 20 minutes, including the Al Boraq high-speed service through Kenitra, though the trip usually involves changing trains in Casablanca. Tickets typically range from €15 to €45 depending on class and how far ahead you book, and the ride offers scenic landscapes through central and northern Morocco. For cheap flights, Ryanair and Royal Air Maroc are the popular airlines that fly this route, and direct flights from Marrakech (RAK) to Tangier Ibn Battouta Airport (TNG) take about 1.3 hours over a flight distance of 498 km, with Ryanair operating 4 nonstop flights weekly on Tuesday, Wednesday, Friday, and Saturday.
The cheapest one-way flight tickets recently found were €17, January is typically the cheapest month, and the best time to book flights is around 40 days in advance, since demand pushes fares up on weekends and in busy months like October and August. Buses are run by operators such as CTM and operate multiple trips daily with short breaks every few hours; ticket prices range from €17.99 to €27.89, and premium buses may have onboard toilets and fewer stops for extra comfort, though travelers should be aware of possible traffic delays on the 8 to 9 hour ride. Driving takes around 6 to 7 hours. Marrakesh, known for ochre-colored architecture and bustling markets, welcomes around 3 million tourists each year, and its medina is a UNESCO World Heritage Site, a labyrinth of narrow alleyways divided into artisan quarters. Tangier, where the Atlantic Ocean meets the Mediterranean Sea at Cape Spartel, has a Mediterranean climate with average highs of 29°C and offers sweeping views of the Strait of Gibraltar from the Kasbah, with Cafe Hafa, Grand Socco, and the Tangier American Legation Museum rounding out the highlights.
ONCF runs trains on this route, including a connection to the Al Boraq high-speed line through Kenitra, but traveling by train from Marrakesh to Tangier usually involves changing trains in Casablanca. The fastest connections take as little as 4 hours 20 minutes.
Around 9 departures run daily between 05:50 and 21:00, with tickets typically ranging from €15 to €45 depending on class and how far in advance you book.
Yes — Ryanair and Royal Air Maroc are the popular airlines on this route, with direct flights from Marrakech to Tangier taking about 1.3 hours; Ryanair offers 4 nonstop flights per week on Tuesday, Wednesday, Friday, and Saturday, with the shortest flight time at 1 hour 15 minutes.
The flight distance from Marrakech to Tangier is 498 km, and the distance between the two cities is also 498 km in a straight line. The cheapest one-way flight recently found was €17, and January is typically the cheapest month to fly, so it's worth searching for cheap flights well ahead of weekends or busy months.
The best time to book flights is around 40 days in advance; waiting longer usually means paying more as demand rises, especially around October, August, and other busy periods.
Taxis wait outside Tangier Ibn Battouta Airport (TNG), and buses and shared transport also run into the city, so you can complete your journey easily after landing — it's worth confirming the fare before you get in.
Not always — buses typically undercut train fares, with bus tickets from Marrakech to Tangier costing between €17.99 and €27.89, and they operate multiple trips daily, though flying can occasionally beat train prices when booked early.
Buses typically make short breaks every few hours over the 8 to 9 hour ride, and CTM and other operators run premium buses that may have onboard toilets and fewer stops, a more comfortable way to travel for passengers willing to pay a little more.
Cheap flights are easiest to find if you book about 40 days ahead and travel midweek. Fares can be expensive on weekends and in busy months like August and October, so it's worth checking prices across several days before you commit. The cheapest one-way fare recently found was €17, and January is typically the cheapest month.
Flight tickets can be booked directly with the airline or through a booking site. Before you select a fare, check the baggage allowance, the departure time, and the airport of arrival. Note that low-cost fares often exclude checked bags, which can change the real price.
Ryanair and Royal Air Maroc are the popular airlines on this route. Ryanair offers 4 nonstop flights per week, so it's worth confirming the days of the week before you build your plans around a specific departure.
Yes. Direct flights from Marrakech take about 1.3 hours, with the shortest flight time at 1 hour 15 minutes. Ryanair's flights depart on Tuesday, Wednesday, Friday, and Saturday, so on other days you may need to catch the train or bus instead.
The flight distance from Marrakech to Tangier is 498 km, which is shorter than the 581 km rail route because trains travel via Casablanca and Kenitra rather than in a straight line.
Tangier Ibn Battouta Airport is the main airport serving Tangier, named after the famous Moroccan explorer born in the city. It's where flights from Marrakech land, and it's a short ride from the city center.
Taxis wait outside Ibn Battouta Airport (TNG), and you can also catch a bus or shared transport into the city. Confirm the taxi fare before you get in, then head straight to your hotel or to the medina.
Tangier Ibn Battouta handles a mix of domestic and international flights, with popular destinations in Europe and other Moroccan cities. That's why flights from Marrakech can sometimes be found at lower prices than you'd expect for such a short domestic hop.
Tangier's popular routes include connections to Casablanca, Rabat, Fez, and Marrakesh by train, along with ferries to Spain across the Strait of Gibraltar. The Marrakesh route is among the most requested, since it links the country's northern gateway with its best-known imperial city.
Popular routes from Marrakesh by train run north through Casablanca and Rabat, with onward connections to Tangier and Fez. Many travelers combine these into a longer trip rather than going straight through.
The best time to visit is spring or autumn, when Marrakech's summer highs of up to 45°C have eased and Tangier is mild. Both cities have plenty of places to visit, from the medina and Jardin Majorelle in Marrakesh to the Kasbah and Cape Spartel in Tangier, so a few days in each is worthwhile.
One platform, 34+ destinations, 700+ routes around the globe.
We speak your language and offer over 20 payment methods.
Read authentic Rail Ninja reviews and see what our travelers say about us.
You can conveniently book train tickets for up to a year in advance!
Need a hand? Contact our customer support before or during your trip.