What was the era of the Barbary corsairs (pirates) in Morocco?
The short answer
Our team's answerThe Barbary corsairs were North African privateers who, from roughly the 1500s to the early 1800s, raided Mediterranean and Atlantic shipping and coastal towns, seizing cargo and captives for ransom or slavery. In Morocco, the port of Salé became a famous corsair stronghold — home to the semi-independent "Republic of Salé."
Serenity Morocco Expert Team
Travel Designer · Staff · June 2026
Question
The full answer
A common question when planning a trip to Morocco, answered honestly by our travel designers.
The Barbary corsairs are one of those chapters of history that sounds like a swashbuckling legend but was a very real and consequential business for three hundred years. From the sixteenth into the early nineteenth century, privateers based along the North African coast — the 'Barbary Coast,' from the word Berber — raided shipping across the Mediterranean and out into the Atlantic. They seized cargo and, more lucratively, people: sailors and even coastal villagers from as far away as Iceland and Ireland, taken to be ransomed or sold. It shaped European fear of the southern sea for generations.
In Morocco, the great corsair port was Salé, the old town that sits directly across the river from Rabat, the modern capital. In the seventeenth century Salé became so independent of the sultan's control that it effectively ran itself as a corsair city-state, the so-called 'Republic of Salé,' with its own councils dividing the spoils. Its fleet, crewed in part by Moriscos — Muslims expelled from Spain who carried both navigational skill and a grievance — ranged astonishingly far. These 'Sallee Rovers' even turn up in English literature; Robinson Crusoe, in Defoe's novel, is captured and enslaved by them.

I find it gives real texture to a visit to Rabat and Salé. From the Kasbah of the Udayas, the cliff-top fortress at the mouth of the Bou Regreg river, you look out over the exact water the corsair galleys slipped through to reach the open Atlantic. The walls and the gun positions were built with this maritime threat in mind. Salé itself remains a quieter, more conservative town than Rabat, with a fine medina, and knowing its piratical past makes wandering it far more atmospheric.
The era closed slowly, then suddenly. European navies grew stronger, ransom diplomacy gave way to gunboats, and the young United States fought its first overseas wars — the Barbary Wars of the early 1800s — partly over exactly this. I am careful to keep it factual rather than romantic: this was a system built on raiding and captivity, sometimes called the trade in 'white slaves,' and it cut both ways with the Christian galleys raiding Muslim coasts too. But it is genuine, fascinating Moroccan history, and Salé wears it quietly to this day.
- barbary-corsairs
- pirates
- sale
- rabat
- history
Helpful links
Serenity Morocco Expert Team — Travel Designers, Serenity Morocco Tours. Answered June 2026.
After you ask for a quote
What you get within 24 hours
Your proposal contains
- A day-by-day route, with the driving time between stops
- Stays matched to your style (riads, kasbahs, desert camps or hotels), named so you can look them up
- Which moments are private to you, and which are shared, such as a camp’s dining tent
- An itemised quote: what is included and what is not
- Who is planning your trip, and how to reach them on WhatsApp
- Free, with no obligation to book
Before you pay a deposit, we confirm
- Opening days for the places on your route, including Friday and holiday closures
- Meal stops along the way, and any dietary needs
- Prayer or Shabbat timing, if it matters to you
- Step-free access, wherever you need it
- The vehicle class for your group and your luggage
Before you pay a deposit, we confirm
- Opening days for the places on your route, including Friday and holiday closures
- Meal stops along the way, and any dietary needs
- Prayer or Shabbat timing, if it matters to you
- Step-free access, wherever you need it
- The vehicle class for your group and your luggage
Every trip is private and priced to your dates, so there is no fixed price list. Ask, and the proposal shows the full cost before anything is booked.
From the answer to the trip
Start in Casablanca, see the imperial cities
Most trips begin at Casablanca airport. Your driver-guide meets you there, then the route runs through Rabat to Fes, Meknes and Marrakech at your pace.
- 7 days · Central MoroccoEssential Morocco: Imperial Cities Circuit
- 10 days · Central MoroccoImperial Cities Grand Tour
- 9 days · Central MoroccoImperial Cities Journey

A planner in Casablanca replies with a day-by-day route and a quote within 24 hours.
Ask a follow-up question
Something this answer does not cover? Send us your question and our travel designers will read it.
