Morocco: Between the Atlantic, the Atlas and the Sahara

Morocco is the north-west corner of Africa, a country of contrasts. In one day a traveller can cross from the Atlantic to the Atlas snow and the Sahara dunes.

Morocco sits where Africa meets Europe, with the Strait of Gibraltar only 14 km wide between the two continents, and it has been a crossroads for a thousand years. The country holds nine places on the UNESCO World Heritage List, from the medina of Fez to the mud-brick town of Ait-Ben-Haddou, and its cities are among the oldest in the Arab world. Morocco is also a modern country, with a high-speed railway, a growing economy and a population of 36.8 million people counted in the census of 2024. This guide crosses Morocco from the coast to the mountains and the desert, follows its history from the Romans to the present, and explains how to travel through it.

Quick Facts

  • Capital: Rabat, on the Atlantic coast, with about 516,000 people in the city
  • Largest city: Casablanca, with about 3,218,000 people in the city
  • Population: 36,828,330, counted in the census of 1 September 2024
  • Area: 446,550 square kilometres
  • Languages: Arabic and Tamazight are the official languages, and French is widely used
  • Currency: the Moroccan dirham
  • King: Mohammed VI, on the throne since 1999
  • Time zone: Western European Time, with daylight saving in summer
  • UNESCO sites: 9, all cultural, from Fez in 1981 to Rabat in 2012

Geography of Morocco

Morocco is a country of mountains, plains and desert, and the land rises in steps from the sea to the interior. The Atlantic coast runs for about 1,800 km from Tangier in the north to the border with Mauritania in the south, and the Mediterranean coast runs for about 500 km from Tangier to the border with Algeria. Between the two coasts lies the Rif, a range of mountains that runs along the Mediterranean, and to the south of the Rif lies the fertile plain of the Gharb, where the Sebou River flows to the sea. The cities of the north, Tangier, Tetouan and Chefchaouen, stand in this green country, and the blue-painted houses of Chefchaouen are among the most photographed in Morocco.

The Atlas Mountains are the spine of Morocco, and they run from the Atlantic coast to the border with Algeria in three ranges. The Middle Atlas stands in the north, with cedar forests and lakes, and the town of Ifrane, built by the French as a mountain resort, is called the Switzerland of Morocco. The High Atlas is the highest range, and its peak, Toubkal, rises to 4,167 m, the highest mountain in North Africa, and snow lies on its summit in winter.

The Anti-Atlas runs to the south, a dry range of granite and quartzite, and beyond it the land falls away to the Sahara. The Atlas Mountains hold the Berber villages of Morocco, built of stone and mud brick, and the valleys between the ranges, the Draa, the Dades and the Ziz, are lined with palm groves and kasbahs, the fortified houses of the south.

The Sahara of Morocco lies to the south and east of the Atlas, and it is a land of dunes, gravel plains and dry riverbeds. The dunes of Erg Chebbi, near the town of Merzouga, rise about 150 m from the plain, and the dunes of Erg Chigaga, further west, are higher and harder to reach. The Sahara is not empty, and the oases of the Draa Valley and the Tafilalt, around Rissani, have fed travellers for a thousand years, with dates, figs and almonds. The desert is hot in summer, with temperatures above 45 degrees, and cold at night in winter, when the temperature can fall below freezing, and the best time to visit is from October to April.

The Souss Valley, between the High Atlas and the Anti-Atlas, is the home of the argan tree, which grows nowhere else in the world, and its oil is one of the exports of Morocco. The valley is green and fertile, and the town of Taroudant, with its red walls, is called the little Marrakech.

The coast of Morocco is long, and the Atlantic towns are very different from one another. Tangier, at the northern end, faces Spain across the strait, and its port has been a meeting place of Europe and Africa for centuries. Essaouira, further south, is a town of white houses and blue shutters, built by the French in the eighteenth century, and its harbour is still worked by wooden fishing boats. Agadir, at the southern end of the coast, was rebuilt after the earthquake of 1960, and it is now the main resort of the country, with a long beach and a marina.

The plains of Morocco lie between the Atlas and the Atlantic, and they are the breadbasket of the country. The plain of the Haouz, around Marrakech, is dry and red, and it is watered by the Atlas, and the plain of the Doukkala, around El Jadida, is green and fertile, and it grows wheat, barley and citrus. The rivers of Morocco, the Sebou, the Oum Er-Rbia and the Moulouya, flow from the Atlas to the sea, and they are dammed for irrigation and for hydroelectric power. The climate of Morocco is Mediterranean on the coast, with wet winters and dry summers, and continental in the interior, with hot summers and cold winters, and the mountains make their own weather, with snow in winter and thunderstorms in summer.

History of Morocco

Morocco has been inhabited for a very long time, and its history runs from the Phoenicians to the present without a break. The Phoenicians founded trading posts on the coast more than 2,500 years ago, and the Romans followed them, building the city of Volubilis in the third century BC, with its forum, its basilica and its mosaics, and Volubilis was the capital of the Roman province of Mauretania Tingitana. The Romans left in the third century AD, and the country was ruled by Berber kings until the Arabs arrived in the seventh century, bringing Islam, and the first Arab dynasty, the Idrisids, founded Fez in 789, and Fez became the centre of learning and of trade in the western Maghreb.

The great dynasties of Morocco followed one another, and each one left a city behind. The Almoravids, who came from the Sahara, founded Marrakech in about 1070, and the city became the capital of an empire that stretched from the Atlantic to the Sahara and across the sea to Spain. The Almohads followed them, and they built the Koutoubia Mosque in Marrakech and the Giralda in Seville, and their empire covered the whole of the western Mediterranean. The Marinids built the madrasas of Fez, the schools of carved cedar and tile, and the Saadians built the tombs of Marrakech, and the Alaouites, who took the throne in 1666 and still rule today, built Meknes as their capital and Rabat as the capital of the modern state.

The country was never conquered by the Ottomans, and it kept its independence until 1912, when France and Spain divided it into protectorates.

The protectorate lasted until 1956, when Morocco became independent, and Mohammed V became king, and his son Hassan II ruled from 1961 to 1999, building the modern state, the dams, the ports and the highways. Mohammed VI, who took the throne in 1999, has continued the work, with the high-speed railway from Tangier to Casablanca, the largest port in Africa at Tanger Med, and the solar power plants in the desert.

The years after independence brought the building of the modern state. The dams on the rivers of the Atlas watered the plains, and the ports of Casablanca and Tangier carried the phosphates and the citrus of the country to the world. The Hassan II Mosque in Casablanca, finished in 1993, is the largest mosque in Morocco, and its minaret, 210 m high, is the tallest in the world. The high-speed railway, Al Boraq, opened in 2018, and it runs from Tangier to Casablanca in about two hours, the first high-speed railway in Africa.

The country has faced challenges, and on 8 September 2023 an earthquake of magnitude 6.8 struck the High Atlas, south-west of Marrakech, killing nearly 3,000 people and damaging the villages of the mountains, and the rebuilding is still under way. Morocco is also a country of two languages, Arabic and Tamazight, and Tamazight was made an official language in 2011, alongside Arabic, and the Berber identity of the country is now recognised in the constitution.

The nine places of Morocco on the UNESCO World Heritage List tell the history of the country in stone. The medina of Fez was listed in 1981, the first site in Morocco, and it is one of the largest car-free urban areas in the world, with more than 9,000 streets. The medina of Marrakech followed in 1985, and the Ksar of Ait-Ben-Haddou in 1987, and the historic city of Meknes in 1996, and the archaeological site of Volubilis and the medina of Tetouan in 1997, and the Portuguese city of Mazagan at El Jadida in 2004, and the medina of Essaouira in 2001, and Rabat, the modern capital and historic city, in 2012. The square of Jemaa el-Fnaa in Marrakech was proclaimed a Masterpiece of the Oral and Intangible Heritage of Humanity in 2001, and it was inscribed on the Representative List of the Intangible Cultural Heritage of Humanity in 2008.

Travel to Morocco

Morocco is reached by air through the airports of Casablanca, Marrakech and Tangier, and by ferry from Spain, with the crossing from Tarifa to Tangier taking about an hour. The airport at Casablanca is the largest in the country, and the airport at Marrakech is the busiest for visitors, and the ferry from Algeciras to Tangier Med takes about 90 minutes. Most visitors need no visa for stays of up to 90 days, but the rules vary by nationality, and they should be checked before travel. The currency is the dirham, and it is a closed currency, so it cannot be bought outside the country, and cash is still the main way to pay in the markets, although cards are accepted in hotels and restaurants.

Spring, from March to May, is the season of the wildflowers in the Middle Atlas, and autumn, from September to November, is the season of the date harvest in the Draa Valley. The summer brings the Gnaoua World Music Festival to Essaouira in June, and the heat to Marrakech, where the temperature can pass 40 degrees. Winter brings snow to Toubkal and mild weather to the coast, and the month of Ramadan changes the rhythm of the country, with quiet days and busy evenings.

Getting around Morocco is easy, and the trains are the best way to travel between the cities. The national railway, ONCF, runs from Tangier to Marrakech, through Rabat and Casablanca, and the high-speed train, Al Boraq, runs from Tangier to Casablanca in about two hours, the first high-speed railway in Africa. The buses are cheaper and go further, and the grand taxis, shared cars that run between the towns, are the way to reach the villages. The roads are good, and the motorways run from Tangier to Agadir, and a hire car gives the freedom to explore the Atlas and the desert, but the driving in the medinas is not for the faint-hearted, and the car should be left outside the walls.

A visit to Morocco should start with the imperial cities, Fez, Marrakech, Meknes and Rabat, and then go south to the Atlas and the desert. Fez is the oldest and the most traditional, with its medina of more than 9,000 streets, its tanneries and its madrasas, and Marrakech is the liveliest, with its square of Jemaa el-Fnaa, its souks and its gardens. The hotels of Marrakech range from the old riads of the medina to the resorts of the Palmeraie, and they should be booked in advance in the spring and the autumn. The food of Morocco is part of the journey, and the tagine, the slow-cooked stew of meat and vegetables, is served everywhere, with couscous on Fridays, and mint tea poured from a height in every cafe.

The High Atlas is the place for walking, with the climb to Toubkal, the highest mountain in North Africa, taking two days, and the desert is the place for the night in a camp among the dunes of Erg Chebbi, with the stars above and the camels below. The coast, from Essaouira to Agadir, is the place for the sea, with the wind, the surf and the fishing boats, and the blue town of Chefchaouen is the place for the photographs.

Notable Places in Morocco

  • The Medina of Fez. The old city of Fez, listed by UNESCO in 1981, with more than 9,000 streets, the tanneries, the madrasas and the University of al-Qarawiyyin, founded in 859. It is one of the largest car-free urban areas in the world.
  • Jemaa el-Fnaa. The great square of Marrakech, proclaimed a Masterpiece of the Oral and Intangible Heritage of Humanity in 2001 and inscribed on the Representative List in 2008. By day it is a market, and by night it fills with storytellers, musicians and food stalls.
  • Ait-Ben-Haddou. The fortified village of mud brick on the road from Marrakech to the Sahara, listed by UNESCO in 1987. It has been the setting for many films, and it is the best-preserved ksar in Morocco.
  • Volubilis. The Roman city in the north of Morocco, listed by UNESCO in 1997, with its forum, its basilica and its mosaics. It was the capital of the Roman province of Mauretania Tingitana.
  • Chefchaouen. The blue town in the Rif Mountains, with its houses painted in shades of blue. It is one of the most photographed places in Morocco, and it is the gateway to the Rif.
  • Essaouira. The port on the Atlantic coast, listed by UNESCO in 2001, with its ramparts, its fishing boats and its medina. It is the town of the wind, and it is famous for its surf and its music festival.
  • The Hassan II Mosque. The mosque of Casablanca, built on the edge of the sea, with a minaret 210 m high, the tallest in the world. It was finished in 1993, and it can hold 25,000 worshippers inside.
  • Toubkal. The highest mountain in North Africa, 4,167 m, in the High Atlas. The climb takes two days, and the view from the top runs from the Atlantic to the Sahara.
  • Erg Chebbi. The dunes of the Sahara near Merzouga, about 150 m high, and the place for a night in a desert camp. The dunes are reached by camel from the town, and the stars above them are among the clearest in the world.

Frequently Asked Questions

How many UNESCO sites does Morocco have?
Morocco has nine places on the UNESCO World Heritage List, and all nine are cultural. They are Fez, Marrakech, Ait-Ben-Haddou, Meknes, Volubilis, Tetouan, Essaouira, El Jadida and Rabat, listed between 1981 and 2012.

What is the capital of Morocco?
The capital of Morocco is Rabat, on the Atlantic coast, with about 516,000 people in the city. Rabat became the capital in 1912, under the French protectorate, and it has stayed the capital since independence in 1956.

What language is spoken in Morocco?
The official languages of Morocco are Arabic and Tamazight, and French is widely used in business, in the schools and in the administration. Many people in the north also speak Spanish, and English is spoken in the tourist towns.

When is the best time to visit Morocco?
From March to May and from September to November, when the weather is warm and the skies are clear.

Is Morocco safe for visitors?
Morocco is safe for visitors, and the main risks are the same as in any country: the traffic, the heat, and the petty theft in the markets. Visitors should dress modestly, should ask before taking photographs of people, and should be aware of the month of Ramadan.

How do I get to Morocco from Spain?
Morocco is reached from Spain by ferry from Tarifa to Tangier in about an hour, and from Algeciras to Tangier Med in about 90 minutes. The airports of Casablanca, Marrakech and Tangier also receive flights from Spain, and the high-speed train runs from Tangier to Casablanca.

Verified

  • Morocco has nine places on the UNESCO World Heritage List, all cultural: Fez, ref 170, 1981; Marrakesh, ref 331, 1985; Ait-Ben-Haddou, ref 444, 1987; Meknes, ref 793, 1996; Volubilis, ref 836, 1997; Tetouan, ref 837, 1997; Essaouira, ref 753, 2001; El Jadida, ref 1058, 2004; Rabat, ref 1401, 2012. The country has 14 sites on the tentative list.
  • The census of 1 September 2024 counted 36,828,330 people in Morocco. Casablanca had about 3,218,000 people in the city, Marrakech about 1,015,000, and Rabat about 516,000, and the urban population was 62.8 per cent of the total.
  • Toubkal, the highest mountain in North Africa, is 4,167 m high, and it stands in the High Atlas. The Strait of Gibraltar is 14 km wide at its narrowest point, between Morocco and Spain.
  • The earthquake of 8 September 2023 had a magnitude of 6.8, and it struck the High Atlas south-west of Marrakech, killing nearly 3,000 people. The rebuilding of the villages is still under way.
  • Jemaa el-Fnaa in Marrakech was proclaimed a Masterpiece of the Oral and Intangible Heritage of Humanity in 2001, and it was inscribed on the Representative List of the Intangible Cultural Heritage of Humanity in 2008.
  • The nearest other inscribed property to the centre of Morocco is the Medina of Tétouan, ref 837, which lies inside the country itself. The nearest inscribed property outside Morocco is the Historic Centre of Córdoba in Spain, ref 313, about 252 km straight-line to the north-east, measured from Cape Spartel near Tangier to Córdoba.

Sources

  • UNESCO World Heritage Centre, Morocco country page — https://whc.unesco.org/en/statesparties/ma
  • UNESCO World Heritage Centre, Medina of Fez, ref 170 — https://whc.unesco.org/en/list/170/
  • UNESCO World Heritage Centre, Ksar of Ait-Ben-Haddou, ref 444 — https://whc.unesco.org/en/list/444/
  • Morocco, population census 2024 — https://en.wikipedia.org/wiki/2024_Moroccan_census
  • Morocco, history and geography — https://en.wikipedia.org/wiki/Morocco

Unverified

  • The population figures for the cities of Morocco are from the census of 2024, and the figures for the metropolitan areas are higher, because the census counts the city and the metropolitan area separately.
  • The number of visitors to Morocco each year varies by source, and the figures for 2024 and 2025 are not counted on the same basis.
  • The exact number of streets in the medina of Fez is given as more than 9,000, and the figure is an estimate, because the medina has never been fully mapped street by street.

Illustrations

  • Hero: Morocco. Free image: https://upload.wikimedia.org/wikipedia/commons/7/7e/South_Panorama_Taza_Morocco_Nov25_A7CR_09655-62_PanoC.jpg — CC BY-SA 4.0.