Casablanca, Rabat and Essaouira

Area guide

Casablanca, Rabat and Essaouira: Morocco's Atlantic cities

Morocco's Atlantic coast has a very different feel from the inland medinas of Marrakech and Fes. Casablanca is the country's commercial capital and home to one of the largest mosques in the world. Rabat, the political capital, combines a 12th-century medieval core with a carefully planned 20th-century city. Far to the south, Essaouira is a walled 18th-century port with sea air, fishing boats and a famous music festival. This guide covers what to see in each, how long to stay and how to link them.

Casablanca and the Hassan II Mosque

Casablanca is the city where many international flights land, and most visitors give it a day at most. The one sight not to miss is the Hassan II Mosque, built on a platform over the Atlantic. It was completed in 1993 after about six years of construction, to a design by the French architect Michel Pinseau. Its minaret rises 210 metres, and the mosque can hold around 105,000 worshippers in total, about 25,000 inside the prayer hall and the rest in the surrounding courtyards.

The Hassan II Mosque is one of the very few mosques in Morocco that non-Muslims can enter, on guided tours that run outside prayer times. According to Lonely Planet, tours last about 45 minutes and are offered in French, English, German and Spanish. Dress respectfully, with knees and upper arms covered; women do not need to cover their hair. Tour times change on Fridays, during Ramadan and on religious holidays, so check on the day.

Beyond the mosque, Casablanca rewards a walk through its downtown streets of early 20th-century buildings, a stroll along the seafront corniche and a meal of fresh fish. The city is also the main hub of the rail network, so even if you do not stay, you will probably pass through.

  • Hassan II Mosque: completed 1993, minaret 210 metres
  • Guided tours for non-Muslims outside prayer times, about 45 minutes
  • Dress code: knees and upper arms covered, no headscarf needed
  • Casablanca is the main rail hub for trips to Rabat, Fes and Marrakech

Rabat, the capital

Rabat is calmer, greener and easier to walk than Casablanca, and it is listed by UNESCO as "Rabat, Modern Capital and Historic City". The listing covers two layers of the city. The older layer goes back to the 12th century, when the Almohad caliphate began a great capital here; its ramparts and gates are the only surviving parts of that plan. The Hassan Mosque, begun in 1184 and never finished, belongs to the same project, and its unfinished tower and forest of columns are now the city's best-known landmark.

The second layer is the Ville Nouvelle, designed and built under the French Protectorate from 1912 into the 1930s. It holds royal and administrative districts, residential and commercial streets and the Jardins d'Essais botanical gardens. UNESCO also notes remains from the 17th-century Andalusian principality, when refugees from Spain settled at the mouth of the river.

For visitors, the highlight is the Kasbah quarter on the bluff above the river mouth, with whitewashed and blue-painted lanes, a gate decorated with carved stone and an Andalusian-style garden. From its terrace you look across the river to Salé and out to the Atlantic surf. Combine it with the old medina, the Hassan Mosque site and the riverside walk for a full day.

  • Almohad ramparts and gates from the 12th century
  • Hassan Mosque, begun in 1184 and left unfinished
  • Ville Nouvelle built under the Protectorate from 1912
  • Kasbah quarter on the bluff above the river mouth

Essaouira, the walled port

Essaouira, formerly called Mogador, is the most relaxed of Morocco's historic towns. It was founded in the mid-18th century by Sultan Sidi Mohamed Ben Abdallah of the Alaouite dynasty, who reigned from 1757 to 1790 and wanted a royal port open to the outside world. The town was laid out by a French architect influenced by Vauban, the great military engineer, which explains its straight streets and seaward bastions. UNESCO describes it as a blend of European military architecture and Arab-Muslim town planning, built in a local stone called manjour.

The name Mogador comes from a Phoenician word for a "small fortress". For a time Essaouira was one of the busiest trading ports in Africa, linking Morocco and sub-Saharan Africa with Europe, and it was even called the "Port of Timbuktu". Its population mixed Amazigh, Arab, African and European communities, and Muslims, Christians and Jews lived side by side. The Mogador islands just offshore are included in the World Heritage listing.

Today you come for the ramparts and their cannons, the busy fishing port with its blue boats and grilled-fish stalls, the woodworkers' workshops under the walls and the long beach that curves south of town. The wind that blows most afternoons keeps the town cool in summer and makes it a favourite with kitesurfers and windsurfers.

The Gnaoua festival

Essaouira is a UNESCO Creative City of Music, and its best-known event is the Gnaoua and World Music Festival, held each June. The festival has spent more than 25 years bringing the spiritual music of the Gnaoua brotherhoods together with musicians from around the world. Its 27th edition ran from 25 to 27 June 2026, and the organisers have announced June dates again for 2027. Accommodation fills up months ahead, so book early if you plan to go.

Getting between the Atlantic cities

Casablanca and Rabat are linked by frequent trains, and both connect to the high-speed Al Boraq line that runs north to Tangier. According to the International Railway Journal, the new high-speed section runs 183 kilometres from Tangier to Kenitra at up to 320 km/h, and it cut the Tangier to Casablanca journey from 4 hours 45 minutes to about 2 hours 10 minutes.

Essaouira has no railway. Most visitors reach it from Marrakech, about 175 kilometres away by a well-surfaced road. Rough Guides gives about 3 hours for the direct Supratours and CTM buses, which arrive close to the centre of Essaouira, and 2 to 2.5 hours by taxi. Book bus seats ahead in peak season. If you are coming from Casablanca, it is simplest to go via Marrakech.

  • Casablanca to Rabat: frequent trains on the main line
  • Tangier to Casablanca by Al Boraq: about 2 hours 10 minutes
  • Marrakech to Essaouira: about 175 km, around 3 hours by bus
  • Essaouira has no train station: travel by bus, taxi or car

How long to stay

Many travellers treat these three cities as stopovers between the inland medinas, but each repays a little more time. Casablanca shows the modern, working face of Morocco; Rabat is the most orderly and green of the big cities, easy to walk and less hectic than Marrakech or Fes; and Essaouira is where many people end a trip to rest by the sea. Because the Atlantic breeze keeps temperatures lower than inland, the coast is especially pleasant in summer, when Marrakech and Fes can be very hot.

Half a day is enough for the Hassan II Mosque and a walk along the Casablanca seafront. Give Rabat a full day, or two if you want to visit museums and Salé. Essaouira is a place to slow down: two nights let you see the ramparts at sunset, the fish market in the morning and spend an afternoon on the beach. Our one-week itinerary shows how to fit all three alongside Fes and Marrakech.

Sources

  • Lonely Planet: Hassan II Mosque, Casablanca — www.lonelyplanet.com(checked 2026-11-30)
  • UNESCO World Heritage Centre: Rabat, Modern Capital and Historic City — whc.unesco.org(checked 2026-11-30)
  • UNESCO World Heritage Centre: Medina of Essaouira (formerly Mogador) — whc.unesco.org(checked 2026-11-30)
  • Gnaoua and World Music Festival: Berklee at the festival — www.festival-gnaoua.net(checked 2026-11-30)
  • Rough Guides: How to get from Marrakech to Essaouira — www.roughguides.com(checked 2026-11-30)
  • International Railway Journal: Morocco inaugurates Africa's first high-speed line — www.railjournal.com(checked 2026-11-30)
Casablanca, Rabat and Essaouira

Start planning

Ask us about planning your trip

Dates, party size and the places you care about are enough to start. You get a draft route and an indicative price, not a brochure.

First reply within 8 working hours