199 countries 39,402 visa rules 72,668 airports 7,028 languages 235 holiday calendars 1,260 news stories Visa data verified 13 Oct 2026
Free Passport Photo Maker
Travel photo of Morocco

Africa · capital city

Flag of MoroccoWhat Is the Capital of Morocco?

Rabat

The capital of Morocco is Rabat. About 2.0 million people live in the Rabat urban area — 5.1% of the country's population.

2.0 million
Urban area population
UTC+1
Time zone
34.02°N
Latitude · 6.82°W
No
Largest city: Casablanca

Rabat at a glance

Name origin

Derives from the Arabic name Ribat el-Fath, from the words ribat (fortified monastery) and fath (conquest); the third Almohad sultan, Abu Yusuf Yaqub al-Manṣur, gave the name to a fort on the site in the 12th century.

Time zone

UTC+1 (6 hours ahead of Washington, DC, during Standard Time). No daylight saving time.

Coordinates

34 01 N, 6 49 W · IANA time zone Africa/Casablanca

Location of Morocco

Northern Africa, bordering the North Atlantic Ocean and the Mediterranean Sea, between Algeria and Mauritania

Largest cities in Morocco

1
Casablanca
3.9 million
2
Rabat Capital
2.0 million
3
Fes
1.3 million
4
Tangier
1.3 million
5
Marrakech
1.1 million
6
Agadir
979,000
Urban-area population · CIA World Factbook (public domain)

Frequently asked questions about Rabat

What is the capital of Morocco?

The capital of Morocco is Rabat. About 2.0 million people live in the Rabat urban area — 5.1% of the country's population.

Is Rabat the largest city in Morocco?

No. The largest urban area is Casablanca (3.9 million), while Rabat has about 2.0 million.

What time zone is Rabat in?

Rabat is on UTC+1 — UTC+1 (6 hours ahead of Washington, DC, during Standard Time). There is no daylight saving time.

Where does the name Rabat come from?

Derives from the Arabic name Ribat el-Fath, from the words ribat (fortified monastery) and fath (conquest); the third Almohad sultan, Abu Yusuf Yaqub al-Manṣur, gave the name to a fort on the site in the 12th century.

Which capital is closest to Rabat?

Among the capitals of neighbouring countries, Madrid (Spain) is the closest, 762 km away in a straight line.

Data: CIA World Factbook (public domain); population: World Bank Open Data (CC BY 4.0).