Tangier · The kasbah above the medina
The kasbah of Tangier
Ticket paid at the gate · An hour to walk the kasbah lanes
The kasbah of Tangier at a glance
- What it is
- Kasbah in Tangier
- Entry
- Ticket paid at the gate
- Hours
- Check locally; they change in Ramadan
- Allow
- An hour to walk the kasbah lanes, plus an hour for the museum; half a day with the medina below.
- Built
- The kasbah was rebuilt as a walled government district after Morocco retook Tangier from the English in 1684, under Sultan Moulay Ismail and the governor Ali ibn Abdallah al-Rifi. The palace inside dates from the early 18th century.
- When to go
- Morning for the museum courtyards, late afternoon for the light over the Strait from Bab Bhar.
- From the centre
- On foot from the Grand Socco: through the arch on the square into Rue de la Kasbah, also called Rue d'Italie, and up to the kasbah gate; or by car to the edge of the kasbah walls.
- Dress
- Shoulders and knees covered is the norm in the kasbah lanes; the mosque is for worshippers.
- Access
- Steep cobbled lanes and steps lead up from the medina; a car can bring you close to the top and the palace courtyards are level.
Tangier spreads like an amphitheatre between two hills at the north-west end of its bay, and the kasbah crowns the western one. It is a walled government quarter with a palace museum, a Friday mosque with a rare eight-sided minaret, and a seaward gate over the water.
In short
The kasbah of Tangier is the citadel at the top of the medina, rebuilt under Sultan Moulay Ismail after 1684. Inside are the Kasbah Palace, now the Kasbah Museum of Mediterranean Cultures, the octagonal minaret of the Kasbah Mosque and the parade ground. Allow an hour or two, and leave by Bab Bhar for the view of the Strait.
The visit, stop by stop
The kasbah of Tangier in the order you walk it
-
The kasbah gate from Rue de la Kasbah
Leave the Grand Socco by the arch into Rue de la Kasbah and follow it uphill to the main gate. Past it the streets open out, and the walls that sealed this quarter off from the town are still around you.
-
The Mechouar, the old parade ground
The open square in front of the palace is the Mechouar. Facing it are the former tribunal and the treasury, shown together in photographs of about 1900, and the old prison block that now holds the museum's art space.
-
The Kasbah Palace and its museum
Enter the palace from the Mechouar. Inside, look up: the wooden ceilings are painted, and the two courtyards are lined with arabesque plaster around their marble fountains. Leave time for the craft rooms, the antiquities in the old kitchen and the palace garden.
-
The Kasbah Mosque
Turn into Ibn Abbou Street, a short alley by the museum entrance, where a small arched passage covers the lane in front of the mosque door. The doorway is a horseshoe arch framed by radiating geometric patterns set with coloured tile.
-
Bab Bhar, the Sea Gate
Walk to the seaward side of the quarter and out through Bab Bhar. The terraces along the walls here are where to stop at the end of the visit, with the port below and the water beyond.
The walled quarter on the top of the medina
The shape of the ground makes Tangier look like an amphitheatre, with the commercial district in the middle, the kasbah on the western hill and Cape Malabata on the eastern one. The kasbah is a district with its own walls, built to keep the seat of government apart from the town below, as other Moroccan cities did with theirs. The quarter is older than its present buildings: a partial plan of the late medieval kasbah survives in a Portuguese document held by the Military Archives of Sweden in Stockholm.
- Tangier sits between two hills at the north-west end of the Bay of Tangier; the rising ground gives the city the look of an amphitheatre, with the citadel on the western hill and Cape Malabata forming the eastern one; a partial plan of the late medieval kasbah is known from a Portuguese document in the Swedish Military Archives, Stockholm.
Rebuilt after the English left
Tangier came to Charles II of England as part of the dowry of Catherine of Braganza. Morocco recovered the city on 7 February 1684, ending English rule begun in 1662.
- English rule in Tangier began in 1662, through Catherine of Braganza's dowry to Charles II; Morocco recovered the city on 7 February 1684.
What the governor built
Moulay Ismail backed the resettlement of the city and its reconstruction, overseen by the new governor, Ali ibn Abdallah al-Rifi. Because the walls had been blown up, the defences were rebuilt almost from scratch, and the kasbah became a self-contained seat of government: the governor's palace, a treasury, a courthouse, prisons, stables, barracks, the Mechouar parade ground and a Friday mosque. Ali al-Rifi also rebuilt the Grand Mosque further down in the medina. Ali and then his son Ahmed governed the town until 1743.
- Inside its own walls the kasbah held the governor's residence in the palace, a treasury, a courthouse, prisons, stables, housing for soldiers, a parade ground and the mosque; the same governor, Ali al-Rifi, was responsible for rebuilding the Grand Mosque further south.
The mosque through three centuries
Ali al-Rifi's grandson Ahmed added the minaret and the decorated entrance to the mosque. Sultan Mohammed IV, who ruled from 1859 to 1873, enlarged the prayer hall, and the mosque was restored around 1889 for the visit of Sultan Hassan I. A restoration in 1921 painted over much of the original decoration in new colours, and some of it was uncovered again in renovation work that finished around 2015.
Inside, the mosque is plain: white walls, rows of white horseshoe arches, an almost undecorated mihrab and a small rectangular courtyard that is roofed over rather than open to the sky. The richness is all outside, on the door and on the minaret, whose eight faces carry blind arches filled with coloured zellij and panels of sebka lattice.
- Ahmed, grandson of Ali al-Rifi, added the minaret and entrance; the prayer hall was enlarged under Mohammed IV (1859 to 1873); restorations around 1889 and in 1921; renovations finished around 2015. The interior has white walls, white arches, a nearly plain mihrab and a roofed courtyard; the octagonal minaret carries blind arches with zellij and sebka panels.
Dar el-Makhzen and the Kasbah Museum
The palace, Dar al-Makhzen, occupies high ground on the east side of the kasbah, and its site has long been the seat of power in Tangier. Pasha Ahmad ben Ali al-Rifi raised the present building in the early 18th century, in Moulay Ismail's reign, on the remains of the castle the English had held at the top of the town. It housed the governor and, on his visits, the sultan. In 1922 the French scholar Edouard Michaux-Bellaire began turning it into a museum, and a full renovation in the early 2010s reopened it in 2016.
The Museum of Mediterranean Cultures
The former reception rooms and living quarters show work from across Morocco: firearms inlaid with marquetry, carpets, silks from Fes and manuscripts, including a Quran of the Almohad period. The former kitchen holds the antiquities: finds from Lixus, Cotta and Volubilis, a life-size Carthaginian tomb, and objects from the Tangier region from prehistory to the Middle Ages.
The palace garden and the art space
Behind the courtyards is the palace garden, a quiet planted space after the museum rooms. The former prison across the Mechouar opened in late 2021 as the Contemporary Art Space, with its own temporary exhibitions. Opening days and hours for both are set locally and can change in Ramadan, so we check them the day before your visit.
Bab Bhar and the view over the Strait
Bab Bhar means the Sea Gate. Outside it the ground falls away to the port, and the view runs across the Bay of Tangier to the Strait of Gibraltar, with the far shore of the Strait in sight on a clear day.
Most of the town walls you see from here date from the Portuguese period, with repairs made at different times since. The old town was once ringed by stone ramparts, and three great bastions anchored them: the Irish Tower, or Bordj al-Na'am, York Castle, or Bordj dar al-Barud, and the Bordj al-Salam.
- Most of the stone rampart around the old town dates from the Portuguese period, restored at various times; its three major bastions were the Irish Tower (Bordj al-Naam), York Castle (Bordj dar al-Barud) and the Bordj al-Salam.
Lanes down to the medina
The lanes below the walls are whitewashed and narrow, with steps in places, and they lead down towards the Petit Socco. A guide is useful on this descent, because the lanes fork often and unofficial guides near the port can be persistent.
Walking it with a car waiting
We usually start the walk at the top: the driver leaves you by the kasbah walls and waits for you at the Grand Socco, so nobody climbs the hill on foot, and the whole visit fits in a morning.
Look closer
What to notice inside the The kasbah of Tangier
The octagonal minaret
Most Moroccan minarets have a square shaft. The one at the Kasbah Mosque is eight-sided, which you see most clearly from the lane by the palace entrance.
Imported marble capitals
The marble capitals on the columns of the main palace courtyard were most likely imported from Italy when the palace was built.
A Carthaginian tomb indoors
The antiquities rooms in the former palace kitchen hold a life-size Carthaginian tomb, alongside finds from the Roman sites of Lixus, Cotta and Volubilis.
Walk on
Pair the The kasbah of Tangier with these, in this order
- 1
The kasbah of Tangier
You are here. Start at opening time.
- 2
Petit Socco
Walk down through the medina lanes to the small square at the centre of the old town; the descent is the natural way out of the kasbah.
- 3
The Tangier American Legation
Continue down past the Petit Socco to Rue d'Amérique, near the southern wall of the medina, for the museum in the former US diplomatic mission.
- 4
Grand Socco
Finish at the large square where the medina meets the new town, where your driver can collect you.
More in Tangier, and routes through it
- TangierNights, routes, day trips and weather
- Things to do in TangierKasbah, Caves, Cape, Medina
- Where to stay in TangierKasbah, Medina, Seafront
- Petit SoccoCafé Square in the Medina
- Grand SoccoSquare, Mendoubia, 1947 Speech
- One day in TangierKasbah, Medina, Cap Spartel Plan
- Morocco tours from Tangier
- Northern Morocco tour
- Spain and Morocco tour
- Tangier airport transfer
- Spain to Morocco ferry
Sources, dates checked and photo credits
Sources
- Wikipedia, Kasbah Mosque, Tangier checked 3 Dec 2026
- Wikipedia, Kasbah Palace, Tangier checked 3 Dec 2026
- Wikipedia, Tangier checked 3 Dec 2026
- frommers.com checked 3 Dec 2026
Drive times come from our route planner, door to door by private car without stops. Each source shows the date we last checked the facts on this page against it.
Photos: The white arcaded courtyard of the Kasbah Palace in Tangier: Travel4Brews, CC BY 2.0, via Wikimedia Commons (photo credits).
Questions
The kasbah of Tangier: questions before you go
Is the Tangier Kasbah Museum worth visiting?
How do you get up to the kasbah in Tangier?
Can visitors enter the Kasbah Mosque?
Do you need a ticket for the kasbah?
Ask for a quote
Add the kasbah to your Tangier days
Tell us your dates and how you arrive in Tangier. We plan the route, drop you at the top of the kasbah with a guide, and send one quote.
Thank you, traveller. Your request is with the planners.
A planner replies on WhatsApp within one working day, usually sooner, with a day-by-day plan and one quote for your group. To add something, message us on WhatsApp at +212 701 664 704.
What happens next
- Send your dates and your group.A month, a rough route and a head count are enough to start.
- Get a day-by-day plan and one quote.Drive times, where you sleep, the vehicle and what is included, for your group only.
- Change it, or confirm it.Nothing is booked or charged until you say yes.
- A planner on our US desk or our team in Morocco writes back, depending on the hour you send.
- If your number is on WhatsApp, the reply comes there. If not, by phone or email.
- Your details go only to the operator named at the foot of this page.