About Tangier

Tangier is a vibrant port city located at the northern tip of Morocco, where the Mediterranean Sea meets the Atlantic Ocean. Known for its rich history and international influence, Tangier has long been a cultural crossroads between Europe and Africa. Visitors can explore the winding streets of the old Medina, admire views from the historic Kasbah, and relax along the scenic Corniche overlooking the Strait of Gibraltar. The city’s mix of historic architecture, lively markets, and seaside atmosphere makes it one of Morocco’s most distinctive destinations.

Tangier is also an important railway hub in northern Morocco. Trains operated by ONCF connect the city with major destinations across the country, including Rabat, Casablanca, and Marrakech. High-speed Al Boraq trains offer fast, comfortable service along the northern corridor, making rail travel one of the most convenient ways to reach Tangier and explore Morocco.

Train Routes to and from Tangier

Marrakech - Tangier

Travel from the red walls of Marrakech to Tangier, the historic port.

ONCF high-speed trains
Distance: 502 km
Travel time: 5 h 42 m
CHECK DETAILS

Tangier - Marrakech

The Tangier - Marrakech journey links the Mediterranean with the Red City.

ONCF high-speed trains
Distance: 502 km
Travel time: 5 h 38 m - 9 h 03 m
CHECK DETAILS

Casablanca - Tangier

The Casablanca - Tangier - from the economic hub to the northern port city.

ONCF high-speed trains
Distance: 320 km
Travel time: 2 h 17 m - 6 h 34 m
CHECK DETAILS

Tangier - Casablanca

The Tangier - Casablanca route is comfortable and scenic.

ONCF high-speed trains
Distance: 320 km
Travel time: 2 h 17 m - 6 h 06 m
CHECK PRICES

Rabat - Tangier

A seamless and effective method to traverse between Rabat and Tangier.

ONCF high-speed trains
Distance: 230 km
Travel time: 1 h 44 m - 4 h 38 m
CHECK PRICES

Tangier – Rabat

Tangier - Rabat leads from the gateway of Gibraltar to Morocco's capital.

ONCF high-speed trains
Distance: 230 km
Travel time: 1 h 42 m - 4 h 58 m
CHECK DETAILS

Fes - Tangier

The Fes - Tangier route: from Morocco’s ancient imperial city to the lively port.

ONCF high-speed trains
Distance: 306 km
Travel time: 3 h 42 m - 4 h 34 m
CHECK PRICES

Tangier - Fes

The Tangier - Fes journey provides comfort and stunning views.

ONCF high-speed trains
Distance: 306 km
Travel time: 3 h 36 m - 4 h 45 m
CHECK PRICES

Meknes - Tangier

Meknes - Tangier: from the historic imperial city to the northern coast.

ONCF high-speed trains
Distance: 210 km
Travel time: 3 h 01 m - 3 h 53 m
CHECK PRICES

Tangier - Meknes

From the Mediterranean port of Tangier to Meknes' imperial heritage.

ONCF high-speed trains
Distance: 210 km
Travel time: 2 h 47 m - 4 h 02 m
CHECK PRICES

Kenitra - Tangier

The Kenitra - Tangier route follows the coast toward Morocco’s northern edge.

ONCF high-speed trains
Distance: 194 km
Travel time: 48 m - 3 h 24 m
CHECK PRICES

Tangier - Kenitra

The Tangier - Kenitra route from the Strait of Gibraltar to the Sebou River.

ONCF high-speed trains
Distance: 194 km
Travel time: 50 m - 3 h 53 m
CHECK PRICES

Oujda - Tangier

The Oujda - Tangier route crosses northern Morocco from inland plains to the sea.

ONCF high-speed trains
Distance: 661 km
Travel time: 10 h 50 m
CHECK PRICES

Tangier - Oujda

The Tangier - Oujda journey leaves the coast for Morocco’s eastern frontier.

ONCF high-speed trains
Distance: 661 km
Travel time: 10 h - 10 h 50 m
CHECK PRICES

Train Stations in Tangier

Tangier Ville Train Station is a modern and well-designed transport hub serving northern Morocco’s main port city. Located close to the city center and the waterfront, it offers easy access to Tangier’s key attractions and coastal areas. The station is served by ONCF trains, including high-speed Al Boraq services, providing fast and convenient connections to cities such as Rabat, Casablanca, and Marrakech.
Learn More

How to Get from Tangier to Other Cities by Train

Tangier to Marrakech Train Journey

The Tangier - Marrakech route stretches across Morocco from the northern coast to the vibrant Red City, taking approximately 5.5-6 hours with multiple daily departures.

Modern ONCF trains are air-conditioned and designed for a smooth journey, offering comfortable seating, with select services providing onboard Wi-Fi. You can quickly check schedules and ticket prices using the search form above.
Tangier to Marrakech Train Journey
Tangier to Casablanca Train Journey
Tangier to Casablanca Train Journey

The Tangier - Casablanca route connects Morocco’s northern gateway with its largest city, with a journey time of about 2 hours and 30 minutes, and frequent departures throughout the day.

High-speed and intercity trains are air-conditioned and offer comfortable seating, while some include Wi-Fi access. Compare departure times and ticket prices using the search above.
Tangier to Rabat Train Journey

The Tangier - Rabat route follows Morocco’s Atlantic corridor, taking around 1 hour and 30 minutes on high-speed services, with several departures available daily.

Trains are modern, air-conditioned, and equipped with comfortable seating, with some offering onboard Wi-Fi for added convenience. You can check train times and ticket prices easily using the search form above.
Tangier to Rabat Train Journey

Travel Tips for Visiting Tangier by Train

  • Check Train Schedules
    Check ONCF high-speed train schedules early, especially if you are coordinating your journey with hotel check-in times and group arrangements.
    1
  • Book Tickets Early
    Book tickets in advance during peak seasons, as demand for seats between Tangier, Casablanca, and Marrakech is high.
    2
  • Arrive Early at Tangier Ville Station
    Arrive at the Ville train station 30 to 40 minutes early for ticketing, security checks, and to find your platform comfortably.
    3
  • Coordinate Arrival with Transport
    Plan your arrival in Tangier to align with local transport options to your hotel near the Medina or the waterfront, allowing for traffic and busy streets.
    4
  • Keep Your Itinerary Flexible
    Keep your itinerary flexible to allow time for exploring nearby attractions, rather than rushing through too many activities in one day.
    5
  • Stay Hydrated and Comfortable
    Make sure to stay hydrated during your journey, as the climate can be hot, especially during peak seasons, ensuring a comfortable and enjoyable trip.
    6

FAQ About Trains to and from Tangier