It is not recommended to drink tap water in Morocco unless it is clearly stated to be safe to drink. Bottled water is cheap and available throughout the country. However please consider using a reusable water bottle, especially if you're on a longer trip, and reduce your use of plastic. Alternatively, you may carry water purification tablets with you.