Chefchaouen is generally considered safe at night, however, as with any destination, it is important to take precautions. It is best to avoid walking alone at night, and to stay in well-lit areas. It is also recommended to keep valuables out of sight and to be aware of your surroundings.