The capital of Morocco is Rabat.
Rabat is the capital and largest city of Morocco. It is located on the Atlantic coast and has a population of over 1.5 million people. Rabat is a modern city known for its rich cultural heritage and its stunning architecture. The city is home to a number of popular attractions, such as the Hassan Tower, the Kasbah of the Udayas, and the Chellah. Rabat is also a popular tourist destination, with its unique mix of culture, history, and nightlife.