Overall, Al Hoceima is quite safe for solo female travelers. Moroccan people are generally warm, welcoming, and helpful. However, as with any destination, you should maintain basic safety precautions. This consistedly bustling town in the Rif Mountains is relatively tourist-friendly with a lower crime rate. In the day, the markets and beaches are safe places to explore. At night, it's always better to stay in well-lit and populated areas. Male attention can sometimes be excessive, but it's rarely menacing. As always, wearing modest attire in accordance with local customs is a good strategy to reduce unwanted attention.