The Portuguese ramparts are the defining feature of Asilah's silhouette from the sea — a complete circuit of 15th-century walls enclosing the medina, intact and walkable for most of their length. The walls were built in 1471 when the Portuguese captured the town and used it as a base for Atlantic trade and raids along the North African coast.
Walking the ramparts takes about thirty minutes at an unhurried pace. The best stretch is along the western face above the ocean, where the Atlantic breaks against the base of the walls and the light in the late afternoon turns everything gold. The circular bastions at the corners offer wider views; the Borj al-Kamra at the southern end is the most intact and the most photographed.
The walls are accessible from several points around the medina — look for staircases near the main gates. The circuit is not fully continuous and requires descending to street level in places, but the key viewpoints along the sea-facing section are all reachable. Entry to the ramparts themselves is free.