Yes — Rabat is consistently ranked among Morocco's safest cities for tourists and residents alike. As the seat of government, the city has a visible police and security presence, well-maintained public spaces, and a generally relaxed atmosphere compared to the larger tourist hubs.
Practical tips for a safe visit:
In the medina, keep bags closed and worn across the body; petty pickpocketing is the main concern in busy souk lanes, not violent crime.
The Kasbah of the Udayas and Chellah are very safe during daylight hours; as with any city, avoid unlit areas alone late at night.
Female travellers generally find Rabat more comfortable than Marrakech or Fes — street harassment exists but is significantly less frequent in the capital.
The Bou Regreg waterfront and Ville Nouvelle are safe to walk at all hours.
Morocco is a Muslim-majority country; respectful dress (shoulders and knees covered) in mosques, souks, and religious sites is appreciated and reduces unwanted attention.
Emergency numbers: Police 19, Gendarmerie 177, Ambulance 15. Most hotels can assist with translation in an emergency.