Essaouira is an ancient fortified city, located on the seafront, on the Atlantic coast of Morocco. Essaouira has been occupied since prehistoric times. Its old town, called Medina, is protected by ramparts dating from the eighteenth century.