What is the capital of Morocco?

The capital city of Morocco is Rabat, built in 1146 AD by the Berber king Abd al-Mu'min of Almohad empire.

Although NOT the largest city, Rabat is Morocco's capital and 'Royal City'. Known nowadays as the 'Washington of North Africa', because of its parks, boulevards, monuments, embassies and government buildings, Rabat is also the seat of the Royal Family.
Rabat

Rabat is the capital city of Morocco.

The capital city of Morocco is Rabat.

Rabat has a population of over 33 million (as of the year 2015). It covers a total of 172,410 square miles.
Rabat however is not the largest city in the country, the largest is Casablanca.