Skip to content
PlayOwl
Photo of Rabat

City Africa

Rabat

Rabat is the capital city of Morocco. It sits where a river meets the Atlantic Ocean. An old fort with white houses looks out over the water.

Rabat is the capital of Morocco, on the Atlantic coast where the Bou Regreg river reaches the sea. It grew from a fortress built in the 1100s, now the Kasbah of the Udayas, and became the capital in 1912. Morocco's 2024 census counted 515,619 people in the city.

Rabat, on the left bank of the Bou Regreg facing its twin city Salé, was founded as a citadel by the first Almohad sultan in the mid-12th century and chosen as Morocco's capital in 1912, a role it kept after independence. UNESCO listed its modern capital and historic city in 2012. The census of 1 September 2024 counted 515,619 people.

Explore

Photo: Pline, CC BY-SA 3.0, via Wikimedia Commons

Discover Rabat

Rabat is the capital city of Morocco. Morocco is a country in the north of Africa.

Another city, Salé, sits right across the river.

Rabat is the capital of Morocco. It lies on the Atlantic coast, on the left bank of the Bou Regreg river where it flows into the ocean, the encyclopedia Universalis explains. Its twin city, Salé, faces it across the river.

Morocco's 2024 census counted 515,619 people in Rabat and 945,101 in Salé. Universalis says the two cities together, joined by a bridge, had about 1.7 million people in 2008.

Universalis describes Rabat as already an 'imperial city' when it was chosen as capital in 1912, at the start of the French protectorate, in preference to Fès, a role it kept after independence. It sits on the left bank at the mouth of the Bou Regreg and forms, with Salé opposite, a conurbation of 1.7 million (2008).

City Population, from Morocco's High Commission for Planning, gives 515,619 people in Rabat (including Touarga) at the census of 1 September 2024, down from 577,827 in 2014; Salé counted 945,101.

Country
Morocco (capital since 1912)
People in the city (2024 census)
515,619
Twin city across the river
Salé, 945,101 people (2024 census)
Where
the Atlantic coast, at the mouth of the Bou Regreg
Photo of Rabat
Photo: Pline, CC BY-SA 3.0, via Wikimedia Commons

A kasbah and a great tower

An old fort called the Kasbah of the Udayas stands above the river. White houses stand inside its walls.

Nearby is a huge tower that was never finished.

The Kasbah of the Udayas began as a citadel built in the middle of the 1100s by Abd al-Mumin, the first Almohad sultan, Universalis says. Its walls stand above the mouth of the Bou Regreg, and Morocco's tourism office praises the gardens around it.

A later sultan, Yaqub al-Mansur, started an enormous mosque with a great tower. Work began in 1184, UNESCO says, but the tower, now called the Hassan Tower, was never finished. At the Chellah, visitors walk among ancient ruins, gardens and storks.

Universalis credits Abd al-Mumin with turning a ribat, a fortified post, into a military citadel, today's Kasbah of the Udayas; Yaqub al-Mansur named the town Ribat al-Fath, built long ramparts and began a vast mosque whose great tower, the Hassan Tower, stayed unfinished. UNESCO dates the Hassan Mosque to 1184 and calls it and the Almohad ramparts and gates the only surviving parts of a planned great Almohad capital.

The Chellah keeps traces of Roman Sala Colonia; Universalis notes that it was laid out by the Merinids in the 14th century, and Morocco's tourism office describes its imposing walls, gardens and storks.

Kasbah of the Udayas
the citadel built by the first Almohad sultan in the mid-1100s
Hassan Mosque
begun in 1184; its great tower was never finished
Chellah
walled ruins with gardens and storks
Photo of Rabat
Photo: Pline, CC BY-SA 3.0, via Wikimedia Commons

Many peoples by the river

Long ago, sailors from far away came to trade here. Later, Romans built a town.

More than 100 years ago, Rabat became Morocco's capital.

People have lived here since prehistoric times. Phoenician and Carthaginian sailors came to trade, and then the Romans built a town called Sala Colonia, Universalis says. In the middle of the 1100s the first Almohad sultan built a citadel here; Universalis dates the city's founding to then.

In 1912 Rabat became the capital of Morocco. From 1912 to the 1930s a new town was built beside the old one, with royal and government areas, homes, shops and the Jardins d'Essais gardens, UNESCO says.

Universalis traces prehistoric settlement, a Phoenician and Carthaginian trading post, Roman Sala Colonia, the Almohad citadel of the mid-12th century, and a very active corsair port in the 17th century, followed by a decline.

From 1912 the planner Henri Prost laid out an airy new town of low houses, gardens and avenues of neo-Moorish buildings beside the walled medina. UNESCO, which inscribed 'Rabat, Modern Capital and Historic City: a Shared Heritage' in 2012, calls the new town one of the largest and most ambitious modern urban projects built in Africa in the 20th century, and says the site shows a heritage shared by ancient, Islamic, Hispano-Maghrebian and European cultures.

Roman town
Sala Colonia; traces remain at the Chellah
Founded as a citadel
middle of the 12th century
New town built
1912 to the 1930s
Photo of Rabat
Photo: Pline, CC BY-SA 3.0, via Wikimedia Commons

Through the years

A tram over the river

Trams carry people between Rabat and Salé, across the river.

Beaches along the ocean stretch all the way to another big city, Casablanca.

Rabat and Salé share a tram network that opened in May 2011, UrbanRail reports. It has two lines and was extended in 2022. Universalis says the tram lines were planned to make travel between the two cities easier.

Morocco's tourism office gives about 87.5 kilometers by road from Rabat to Casablanca, and says the beaches along the Atlantic shore lead all the way to that city.

UrbanRail gives the tram's opening as 18 May 2011 (commercial service from 23 May), with 2 lines and 26 km, and two extensions on 16 February 2022 (2.4 km and 3.6 km). Universalis, writing before it opened, expected the tramway to ease links with Salé and traffic problems.

Universalis also notes that Rabat lost its port role to Casablanca during the 20th century, and that projects launched in the 2000s included a 13 km Corniche toward Témara and a tunnel under the Kasbah linking to the coast road.

Rabat–Salé tram opened
18 May 2011; passenger service from 23 May 2011
Tram network
2 lines, 26 km; extended on 16 February 2022
To Casablanca
about 87.5 km by road

Wet winters, dry summers

Rabat is mild in winter and warm in summer.

Almost no rain falls in July and August.

The World Meteorological Organization's averages for 1991 to 2020 for Rabat-Salé give January days of about 17 °C and nights of about 7 °C. In August, the warmest month, days average about 28 °C and nights about 18 °C.

A year brings about 522 millimeters of precipitation. Almost all of it falls from October to April. November is the wettest month, and July and August get almost none.

WMO averages for Rabat-Salé, 1991–2020, give highs and lows of 17.4 °C and 7.2 °C in January, the coolest month, and 27.8 °C and 18.3 °C in August, the warmest.

The monthly averages add up to about 522 mm. November (94.3 mm) and December (90.3 mm) are the wettest months; July (0.4 mm) and August (0.6 mm) are the driest. October to April bring about 486 mm of the total.

August, average daily high and low (WMO, 1991–2020)
27.8 °C and 18.3 °C
January, average daily high and low (WMO, 1991–2020)
17.4 °C and 7.2 °C
Precipitation in a year (sum of the monthly averages)
about 522 mm

Gardens, beaches and music

Rabat has parks and gardens, and beaches by the ocean.

In the old Chellah ruins, visitors see storks.

Morocco's tourism office calls Rabat a green capital, with parks such as the botanical test garden and, a few kilometers away, the Exotic Gardens of Bouknadel. Along the Atlantic, kilometers of beaches stretch toward Casablanca.

Music festivals fill the city too, such as Mawazine, with music from all over the world, and Jazz au Chellah.

The tourism office presents Rabat as an eco-responsible capital with green spaces (the botanical test garden; the Exotic Gardens of Bouknadel a few kilometers away), kilometers of well-equipped Atlantic beaches leading toward Casablanca, and festivals such as Mawazine and Jazz au Chellah.

UNESCO stresses the new town's public spaces and the role given to vegetation, and names the Jardins d'Essais botanical and pleasure gardens as part of the World Heritage site.

Gardens
the botanical test garden (Jardin d'Essais) and the Exotic Gardens of Bouknadel
Coast
kilometers of beaches on the Atlantic
Music festivals
Mawazine and Jazz au Chellah
Photo of Rabat
Photo: Pline, CC BY-SA 3.0, via Wikimedia Commons

Rabat on the map

Find Morocco on the globe, in the top left corner of Africa. Rabat is on the coast, by the Atlantic Ocean.

Salé is just across the river.

Rabat is on Morocco's Atlantic coast, in the northwest of the country, at the mouth of the Bou Regreg. Salé lies across the river.

Measured from the Kasbah of the Udayas, the Hassan Tower is about 1.4 kilometers to the east-southeast, the botanical garden about 2.7 kilometers to the south-southwest, the Chellah about 3 kilometers to the south-southeast, and the center of Salé about 2.8 kilometers to the northeast.

Rabat lies at about 34.0° N and 6.8° W on the Atlantic coast of northwestern Morocco (UNESCO), on the left bank of the Bou Regreg's mouth (Universalis).

Measured from the Kasbah of the Udayas (Wikidata points), the Hassan Tower is about 1.38 km east-southeast, the Botanical Garden of Rabat about 2.66 km south-southwest, the Chellah about 3.01 km south-southeast and the center of Salé about 2.78 km northeast.

Latitude
about 34.0° north
Longitude
about 6.8° west
Hassan Tower
about 1.4 km east-southeast of the Kasbah of the Udayas

Amazing facts

  • A huge tower in Rabat was never finished!

    The Hassan Tower was meant to be part of an enormous mosque, but the tower was never finished, Universalis says.

    Yaqub al-Mansur began a vast mosque with a great tower that remained unfinished, today's Hassan Tower; UNESCO dates the mosque to 1184.

  • Visitors to the old Chellah ruins can see storks.

    At the Chellah, inside imposing old walls, visitors walk among ancient ruins, gardens and storks.

    Morocco's tourism office says that crossing the Chellah's walls is like entering another world, among ancient remains, gardens and storks.

  • Romans once had a town here. Its name lives on in the city of Salé.

    The Romans called their town here Sala Colonia. The name was later taken up by the city of Salé, across the river.

    Universalis notes that Roman Sala Colonia gave its name to Salé, and that traces of it survive at the Chellah.

  • Rabat's old name meant 'the victorious'.

    The sultan Yaqub al-Mansur gave the town the name Ribat al-Fath, 'the victorious'.

    Universalis records that Yaqub al-Mansur named the town Ribat al-Fath ('the victorious') and built its long ramparts.

Words to know

kasbah
a walled fortress or old fortified part of a town in North Africa
citadel
a strong fort that protects a town
sultan
a title used by some rulers in Muslim countries
ramparts
thick defensive walls around a town or fort
medina
the old walled part of a city in North Africa
twin city
one of two cities that sit close together, often facing each other across a river

Discovery challenge

  1. Rabat is the capital of which country?

    Rabat has been the capital of which country since 1912?

    Rabat was chosen in 1912, in preference to Fès, as the capital of which country?

    • Morocco
    • Egypt
    • Spain
    Show the answer

    Morocco

    Morocco!

    Morocco.

    Morocco; it kept the role after independence.

  2. Which city sits across the river from Rabat?

    Which twin city faces Rabat across the Bou Regreg?

    Which city, with 945,101 people in 2024, faces Rabat across the Bou Regreg?

    • Casablanca
    • Salé
    • Fès
    Show the answer

    Salé

    Salé!

    Salé.

    Salé, which took its name from Roman Sala Colonia.

  3. What is special about the Hassan Tower?

    What is special about the Hassan Tower, begun in the 1180s?

    What happened to the great tower of the mosque Yaqub al-Mansur began in 1184?

    • It was never finished
    • It floats on the river
    • It is made of glass
    Show the answer

    It was never finished

    It was never finished!

    It was never finished.

    It stayed unfinished: today's Hassan Tower.

  4. Which birds can visitors see at the Chellah ruins?

    Which birds do visitors see among the ruins and gardens of the Chellah?

    Morocco's tourism office describes the Chellah's walls, ruins and gardens, and which birds?

    • Penguins
    • Storks
    • Parrots
    Show the answer

    Storks

    Storks!

    Storks.

    Storks.

  5. When does Rabat get almost no rain?

    Which months get almost no rain in Rabat?

    Which two months average only 0.4 mm and 0.6 mm of precipitation in Rabat-Salé (WMO, 1991–2020)?

    • July and August
    • November and December
    • January and February
    Show the answer

    July and August

    July and August!

    July and August, in summer.

    July (0.4 mm) and August (0.6 mm).

Nearby places

Explore next

For parents & teachers

What children will learn

  • Locate Rabat on Morocco's Atlantic coast at the mouth of the Bou Regreg.
  • Describe how an old walled city and a 20th-century new town can sit side by side.
  • Explain why twin cities can grow up facing each other across a river.
  • Read monthly precipitation averages to compare wet winters with dry summers.

Recommended ages: 3 to 17 · About 15 minutes

Talk about it

  • The Hassan Tower was never finished. Why might a huge building project stop before it is done?
  • Rabat and Salé face each other across a river. How might a tram change life in two neighboring cities?
  • UNESCO lists Rabat's old town and its 1900s new town together. What makes a modern building worth protecting?

Try at home or in class

  • Kasbah model: build a walled fort from cardboard boxes and fill it with small white paper houses.
  • Rain chart: make a bar chart of Rabat's monthly precipitation and mark the wettest and driest months.
  • Twin-city map: draw a river mouth with Rabat on one bank and Salé on the other, and add a tram line between them.

Key vocabulary: kasbah, citadel, sultan, ramparts, medina, twin city

Where these facts come from

  1. Wikidata , Wikimedia Foundation (CC0 1.0)
  2. Natural Earth vector data , Natural Earth (NACIS) (Public domain)
  3. Morocco: regions and major cities , City Population (Thomas Brinkhoff), from the Haut-Commissariat au Plan
  4. Rabat , Encyclopædia Universalis (French)
  5. Rabat, Modern Capital and Historic City: a Shared Heritage , UNESCO World Heritage Centre
  6. Rabat, a modern capital with deep-rooted history , Moroccan National Tourist Office (Visit Morocco)
  7. Rabat Tram , UrbanRail.Net (Robert Schwandl)
  8. File:Kasbah des Oudaias P1060356.JPG (Pline, November 2009) , Wikimedia Commons
  9. Rabat-Sale: climatological information , World Meteorological Organization, World Weather Information Service
  10. Wikimedia Commons , Wikimedia Foundation (Per file (public domain, CC0, CC BY or CC BY-SA); see each media record)

Checked, not yet human-reviewed. Last updated November 1, 2026. Spotted a mistake? Tell us.

Picture credits
  • Photo: Pline, CC BY-SA 3.0, via Wikimedia Commons · source · license