Rabat Rabat is the capital city of Morocco, located on the northwestern Atlantic coast. Rabat is the country's seventh-largest city with a population of 515,619 (2024) and the second largest metropolitan area after Casablanca, with a population of approximately 2.1 million (2025). It is also the capital city of the Rabat-Salé-Kénitra administrative region. Rabat is located on the Atlantic Ocean at the mouth of the river Bou Regreg, opposite Salé, the city's main commuter town.
Rabat was founded in the 12th century by the Almohads. After a period of growth, the city fell into a period of decline. In the 17th century, Rabat became a haven for the Barbary corsairs. When the French established a protectorate over Morocco in 1912, Rabat became its administrative center. When Morocco achieved independence in 1956, Rabat became its capital.
Rabat is one of the four imperial cities of Morocco, and its medina is listed as a World Heritage Site. It is accessible by train through the ONCF system and by plane through the nearby Rabat–Salé Airport.
Rabat is home to the headquarters of several international, regional, and continental organizations, including the Islamic World Educational, Scientific and Cultural Organization (ICESCO), the Arab Maghreb Union, the United Cities and Local Governments of Africa (UCLG Africa), the African Training and Research Centre in Administration for Development (CAFRAD), the Ministerial Conference on Fisheries Cooperation among African States Bordering the Atlantic Ocean (COMHAFAT), and the African Union's African Migration Observatory. The city also hosts the African office of the International Federation of Association Football (FIFA), the regional office for the Maghreb of the United Nations Educational, Scientific and Cultural Organization (UNESCO), and the Regional Office for Africa of the Hague Conference on Private International Law (HCCH), as well as offices of several United Nations agencies.