Discovering...
Discovering...

For a century and a half, Portugal ringed Morocco's Atlantic shore with fortified ports, and their star-shaped ramparts, cisterns and chapels still stand from Asilah to Essaouira. This guide traces the Portuguese footprint as a single coastal-forts trail — the UNESCO citadel of Mazagan, the walls of Azemmour and Safi, and the strongholds that shaped five centuries of Moroccan history.
Era
Portuguese Atlantic conquests, roughly 1415–1769
First foothold
Ceuta, taken in 1415, still Spanish today
UNESCO site
Cité Portugaise of Mazagan / El Jadida, inscribed 2004
Longest held
Mazagan (El Jadida), evacuated only in 1769
Turning point
The Battle of the Three Kings near Ksar el-Kebir, 1578
Signature style
Bastioned star forts, cisterns and Manueline Gothic
Trail
Asilah–Larache–El Jadida–Azemmour–Safi–Essaouira
Sofia Marín· Coast, North & Practical Travel Editor
Spanish travel writer based in Tangier who criss-crosses northern Morocco and the Atlantic coast by bus, train and ferry. She covers Chefchaouen, Tangier, Essaouira and the practical side of getting around. Tangier · 10+ years covering Morocco
Published 3 September 2025 Last updated 15 July 2026
In the fifteenth and sixteenth centuries, at the dawn of the Age of Discovery, Portugal set out to control the Atlantic sea lanes around Africa, and Morocco's coast was the first prize. Beginning with the capture of Ceuta in 1415, the Portuguese seized a chain of ports down the shore, building fortified trading posts to protect their ships, project power and tap Moroccan trade. At its height this string of strongholds stretched from the Strait of Gibraltar to the far southern Atlantic, a European frontier written along the Moroccan coast in stone and cannon.
The occupation was never total and rarely peaceful. Moroccan resistance, especially under the rising Saadian dynasty, steadily rolled the Portuguese back: Agadir, Safi and Azemmour were lost around 1541, and the catastrophic Battle of the Three Kings near Ksar el-Kebir in 1578 — in which the young King Sebastian of Portugal was killed — broke Portuguese ambitions for good. Only Mazagan held on, until 1769. What remains today is a remarkable trail of forts, ramparts and cisterns, threaded along the Atlantic and easy to follow as a heritage theme.
The finest survivor by far is Mazagan, the walled town at the heart of modern El Jadida. Held by Portugal from 1514 until the garrison finally evacuated in 1769, it is the best-preserved Portuguese fortified port on the Moroccan coast, and its Cité Portugaise was inscribed as a UNESCO World Heritage Site in 2004. A bastioned, roughly star-shaped fortress encloses straight streets, a former church and, most famously, an underground cistern whose thin film of water mirrors a forest of stone arches.
That cistern is one of the most cinematic interiors in Morocco, filmed by Orson Welles for his Othello in the early 1950s, and it anchors any Portuguese-coast trip. Our dedicated El Jadida Portuguese cistern guide covers the site and ramparts in full. As the longest-held and most complete of the Portuguese towns, Mazagan is the natural centrepiece of the trail and worth an overnight to have the empty ramparts to yourself at dusk.
Just fifteen kilometres north of El Jadida, the quiet whitewashed town of Azemmour sits above the wide Oum Er-Rbia river, its Portuguese ramparts rising straight from the water. The Portuguese held Azemmour only briefly, from 1513 until 1541, but they left a compact kasbah and a circuit of walls that you can walk for river and ocean views, layered over an older medina and a historic Jewish quarter.
Azemmour is one of Morocco's most underrated coastal stops, its ramparts now brightened by contemporary street-art murals that have made it a small centre for artists. It pairs perfectly with El Jadida on a single day, adding a gentler, less-visited counterpoint to Mazagan's grandeur. Our Azemmour medina guide covers the walls, the murals and the layered heritage in detail.
Further south, the working port of Safi guards two notable Portuguese monuments. The Kechla is a great walled citadel above the medina, while down by the harbour stands the Dar el-Bahr, the 'castle of the sea', a compact fortress bristling with old cannon that once controlled the anchorage. Together they frame the old town and speak to Safi's role as a Portuguese stronghold in the early sixteenth century, held from 1508 until 1541.
Safi's most unusual relic is its unfinished Portuguese chapel, a fragment of late-Gothic ecclesiastical architecture — ribbed vaulting rising over an open space — that the Portuguese began but never completed before they were driven out. It is a rare survival of European church-building on the Moroccan coast. Safi is also a famous pottery town and a serious fishing port, so it rewards a wander beyond the forts; our Safi seafood guide points to where the day's catch is grilled.
The trail's northern anchor is Asilah, a pretty whitewashed town whose sturdy Portuguese ramparts, dating from the conquest of 1471, still ring the medina and drop to the Atlantic. Today Asilah is best known for its summer arts festival and the murals painted on its walls, but the fortifications and sea bastions are a direct legacy of the Portuguese era. Nearby Larache and Ksar es-Seghir carry the same story, and Tangier itself passed through Portuguese hands after 1471 before later changing rulers.
This northern stretch also layers Portuguese history onto far older foundations. Just outside Larache lie the ancient ruins of Lixus, a Phoenician and Roman city, a reminder that the Portuguese forts were only the latest chapter in millennia of Atlantic trade and conquest. Combining them makes the north a rich seam of heritage, from antiquity through the age of European expansion — a theme our Roman ruins and heritage overview sets in deeper context.
The Portuguese reach extended south to Mogador and Agadir. At Mogador — today's Essaouira — the Portuguese built a short-lived fort early in the sixteenth century, and although the elegant walled town you see now was laid out later, in the 1760s, by Sultan Mohammed III, the great sea bastion known as the Skala and the very name Mogador keep the memory alive. The ramparts and Skala of Essaouira are among the most atmospheric on the whole coast.
Agadir marks the trail's far southern point, where the Portuguese held the fort of Santa Cruz do Cabo de Gué from the early sixteenth century until its loss to the Saadians in 1541. The old hilltop kasbah there was later ruined and largely lost to the 1960 earthquake, so little Portuguese fabric survives, but the site closes the loop on a coastline the Portuguese once tried to hold in its entirety, from the Strait to the Souss.
The most rewarding stretch runs from El Jadida through Azemmour to Safi, an easy one-to-two-day drive south of Casablanca that packs in the UNESCO cistern, the riverside ramparts and the Safi forts. With more time, extend north to Asilah and Larache or south to Essaouira to make a fuller Atlantic itinerary. Trains, buses and shared grand taxis link most of these towns, and the coastal roads are straightforward for self-drivers.
Spring and autumn bring the most comfortable weather, though the Atlantic wind stays brisk year-round, so pack a jacket even in summer. Each town also offers superb, unpretentious seafood, so build lunches around the fishing ports. Following the forts as a single theme turns a series of coastal towns into a coherent journey through the age when Portugal, however briefly, tried to rule the edge of Morocco.
The main survivors run down the Atlantic coast: Mazagan (El Jadida), with its UNESCO citadel and cistern; Azemmour, with ramparts over the Oum Er-Rbia; Safi, with its Kechla citadel, sea castle and unfinished Gothic chapel; and Asilah, with sixteenth-century walls in the north. Essaouira and Agadir mark the southern reach. Together they form a coastal-forts trail spanning the fifteenth and sixteenth centuries.
During the Age of Discovery, Portugal sought to control the Atlantic sea lanes around Africa and tap Moroccan trade. Starting with Ceuta in 1415, it seized a chain of coastal ports and fortified them as trading posts and military strongholds. Moroccan resistance, especially under the Saadian dynasty, gradually pushed the Portuguese out, with most towns lost around 1541 and Mazagan held until 1769.
Mazagan, the walled town at the heart of El Jadida, is the finest, and its Cité Portugaise became a UNESCO World Heritage Site in 2004. It preserves a bastioned star-shaped fortress, a former church and a famous underground cistern whose still water mirrors a forest of stone arches, filmed by Orson Welles for Othello. As the longest-held Portuguese town, it is the centrepiece of any trail.
Fought in 1578 near Ksar el-Kebir in northern Morocco, the Battle of the Three Kings — also called Alcácer Quibir — saw a Portuguese invasion crushed and the young King Sebastian of Portugal killed. It shattered Portuguese ambitions in Morocco and helped lead to Portugal itself falling under Spanish rule in 1580. It marks the effective end of the Portuguese expansionist era on the Moroccan coast.
The core stretch from El Jadida through Azemmour to Safi can be done in one to two days south of Casablanca, taking in the UNESCO cistern, the riverside ramparts and the Safi forts. Extending north to Asilah and Larache or south to Essaouira makes a fuller three-to-five-day Atlantic itinerary. Trains, buses, grand taxis and easy coastal roads connect the towns.
Yes, though indirectly. The Portuguese built a short-lived fort at Mogador, as Essaouira was then known, early in the sixteenth century, and the name Mogador and the great sea bastion, or Skala, keep the association alive. The elegant walled town seen today was laid out later, in the 1760s, by Sultan Mohammed III, so Essaouira blends a Portuguese memory with strong eighteenth-century European-influenced design.
Plan it with a local expert
Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.
from $2,011Sahara Desert Luxury Expedition
from $2,054Essential Morocco: Imperial Cities Circuit
from $5,978Sahara to Sea: Morocco Complete
Attractions & Heritage
The eerie mirror-water cistern and star-shaped ramparts of the UNESCO-listed Portuguese city of Mazagan.
Read guideAttractions & Heritage
The overlooked medina on the Oum Er-Rbia river near El Jadida — murals, ramparts and a quiet alternative to the coast’s crowds.
Read guideAttractions & Heritage
Walking Essaouira's UNESCO medina: the Skala sea bastion and cannons, the port Skala, Moulay Hassan square and the harbour.
Read guideFood & Dining
The Atlantic sardine capital — port-side grills, pottery-town tables and where to eat the day’s catch in this working coastal city.
Read guideAttractions & Heritage
Volubilis, Lixus, Banasa and Sala — the empire’s southwestern frontier, its mosaics and how to visit the ancient sites.
Read guideAttractions & Heritage
One of Morocco’s oldest ancient cities above the Loukkos estuary — mosaics, an amphitheatre and the legend of the Garden of Hesperides.
Read guide