If you are staying in a riad in the centre of the medina and walk back to your hotel at night, it can seem a little unsafe. The main reason for this is that the principle streets in the city centre are very badly lit and the narrow winding alleyways are generally in complete darkness.
Moreover, there are sometimes people lying on the pavements and street children in clans who will probably follow you to the riad in hope for some coins. Sadly, sometimes these children sniff glue to alleviate the stress of their daily lives.
Being witness to this frightful reality is one of the disadvantages of visiting Marrakech. If you would rather avoid the historic centre, we recommend staying outside the medina and catch a taxi to and from Jemaa el-Fnaa in the morning and evenings, although missing out on the riad experience would be a real shame.
When the sun is out and the medina is packed with people, you will feel at ease and you can enjoy Marrakech in all its splendour.
To sum it up, Marrakech is one of the safest cities in Morocco. You might feel a little unsafe at night, but in no moment will you be threatened or hurt. This is because Morocco has very severe penalties and the police can be very aggressive. Nevertheless, always keep an eye out on your bag, as there are sometimes pick-pockets.
Compared to Casablanca and Fez, Marrakech is one of the safest cities in the country.
Troubled areas in Marrakech
The only troubled area in Marrakech is the Jewish neighborhood, on the south side of Jemaa el-Fnaa according to locals.