The capital city of Morocco is Rabat. It is located in the northwest of the country on the coast of the Atlantic Ocean. Rabat has a rich history with ancient ruins and landmarks such as the Hassan Tower, Chellah, and Kasbah of the Udayas. The city also has modern features, including a large marina, shopping centers, museums, and beautiful beaches. Rabat is an important political and economic center in Morocco, and the King's residence and many government offices are located there.