Laayoune is relatively safe for solo female travelers. The security in the city is quite good but caution is always advisable. Most areas are safe to walk during the day but it can be risky at night. As a rule of thumb, it's best to dress modestly and avoid isolated areas. Moreover, Moroccan people are generally friendly and hospitable, however, unfortunately, like in other parts of the world, instances of harassment can occasionally happen. Always exercise common safety precautions and use your instincts to stay safe.