Marrakech is a city built from ochre and pisé, and at sunset the whole place seems to glow — the walls warm to a deeper red, the Koutoubia minaret silhouettes against the sky, and the call to prayer drifts across the rooftops. The classic experience is a mint tea or a drink on a medina terrace overlooking Jemaa el-Fna as the food stalls light up below and the smoke rises into the dusk. Beyond the square there are gardens, ramparts, rooftop bars in the newer districts and, out in the stony Agafay hills, a dune-free desert sunset within easy reach of the city. This guide gathers the best places to watch the day end, what each one offers, when to arrive and how to photograph the light — with a note that most medina rooftops are cafés or restaurants where you are expected to order something, and that timings and venues change, so check before you go.
The signature Marrakech sunset is from a café or restaurant terrace around the edge of Jemaa el-Fna, mint tea or a cold drink in hand, watching the great square shift gears below. As the light fades the food stalls are wheeled in and lit, smoke and steam rise, and the crowd thickens. Several first-floor and rooftop terraces ring the square; most are cafés or restaurants where you order a drink or a meal for the view, so plan to buy something rather than just turning up for the panorama.
02Highlight
The Koutoubia silhouette from a rooftop
The defining shot here is the Koutoubia minaret — the city's tallest historic landmark and a 12th-century Almohad mosque — silhouetted against a coloured sky from a nearby terrace. From the right rooftop the minaret stands clean against the dusk, and as darkness falls it is typically floodlit, glowing above the palm tops. Lining up the Koutoubia against the sunset is one of the most photographed scenes in Marrakech and a reliable reason to find a terrace facing west toward it.
03Garden
The Koutoubia gardens and esplanade
At ground level, the landscaped gardens and open esplanade beside the Koutoubia are a calm, free place to be as the light goes. Paths, rose beds and palms frame the minaret, and once it is floodlit after dark the gardens become a popular evening stroll for locals and visitors alike. Note that the mosque itself is not open to non-Muslims, but the surrounding gardens and the views of the exterior are open to everyone.
04Highlight
Le Jardin Secret's tower
Le Jardin Secret, a restored riad-garden complex in the heart of the medina off the Mouassine area, has a tower that can be climbed for one of the better elevated views over the old city's rooftops and toward the Atlas. Late afternoon, with the courtyards and planting below and the medina spreading out around you, is an atmospheric time to go up. Tower access and the garden have separate or combined tickets, and closing times apply, so check current hours and arrive with enough time before they shut.
05Garden
The Menara basin and pavilion
West of the medina, the historic Menara Gardens centre on a large reflecting basin with a green-roofed pavilion, and on clear evenings the High Atlas catches the last light behind it. The wide-open setting and the still water make for a softer, more reflective sunset than the busy square, and it is a favourite late-afternoon spot for local families. Access to the grounds is generally free but subject to set hours, and mountain visibility depends on the season and haze, so go on a clear day if you can.
06Highlight
The city ramparts and gates
Marrakech's long ochre ramparts and historic gates take on their warmest colour in the last hour of daylight — the reason the city is nicknamed the 'Red City.' Stretches of wall such as those near Bab Agnaou or along the southern and western circuits glow a deep rose at golden hour, and the date palms along Avenue Bab Jdid catch the light beautifully. It costs nothing to walk or drive past the walls as the sun drops, making this one of the simplest free sunset experiences in the city.
07Tip
Rooftop bars and restaurants in Gueliz and Hivernage
Away from the medina, the modern districts of Gueliz and Hivernage have a number of rooftop bars and restaurants where you can watch the sun go down with a drink and, in some venues, alcohol service that is less common inside the old city. These tend to be more contemporary in style, with comfortable seating and city or pool views. Offerings and venues change frequently, so it is worth checking what is currently open and whether booking is advised, especially in high season.
08Excursion
The Agafay desert for a dune-free sunset
For a desert sunset without the long drive to the Sahara, the Agafay region of rocky, rolling hills lies roughly an hour from Marrakech. There are no sand dunes here — it is a stony, lunar landscape — but the sweep of the hills with the Atlas behind makes for dramatic evening light, often combined with camel or quad rides and dinner at a desert camp. It is usually visited as a half-day or evening excursion; arrange transport or a tour rather than attempting it independently, and dress warmly as it cools after dark.
09Tip
Timing your arrival
Sunset times shift through the year, so check the time for your date and aim to be in position around 30 to 45 minutes beforehand. Popular terraces over Jemaa el-Fna fill up before sunset, so arriving early secures a good seat and lets you watch the light change rather than scrambling for a spot at the last minute. The best colour often comes in the minutes after the sun has dipped, so it is worth staying past the actual sunset for the afterglow and the moment the Koutoubia lights come on.
10Tip
Photography and practicalities
Golden hour gives the warm, low light that flatters the ochre walls and the minaret; the 'blue hour' just after sunset balances a deep sky against the floodlit landmarks and lit stalls. Bring a small camera or phone steadied on a ledge for low-light shots, and be discreet and respectful when photographing people in the square. Remember most medina rooftops are cafés — order a tea or a meal for your spot — and around Friday midday prayers some sites and the area near the mosque are quieter or busier, so plan accordingly.
Frequently asked
Where is the best place to watch the sunset in Marrakech?
The classic choice is a rooftop café or restaurant terrace overlooking Jemaa el-Fna, where you can have a mint tea or drink while the food stalls light up below and the Koutoubia minaret silhouettes against the sky. Other strong options include the Koutoubia gardens and esplanade, the tower at Le Jardin Secret, the Menara basin west of the medina, the glowing city ramparts at golden hour, rooftop bars in Gueliz and Hivernage, and the Agafay hills for a dune-free desert sunset out of town.
Do I have to pay to watch the sunset from a rooftop?
Most medina rooftop terraces, including those around Jemaa el-Fna, are cafés or restaurants, so you are expected to order something — a mint tea, a drink or a meal — for your spot rather than going up just for the view. Some sights with elevated views, such as the tower at Le Jardin Secret, charge an entrance fee. Free alternatives include the Koutoubia gardens and walking along the ochre ramparts at golden hour, which cost nothing.
What time should I arrive for sunset?
Sunset times change through the year, so check the time for your specific date and try to be in position about 30 to 45 minutes before. Popular terraces over Jemaa el-Fna fill up ahead of sunset, so arriving early helps you get a good seat. It is worth staying past the actual sunset too, because some of the best colour and the moment the floodlit Koutoubia lights come on happen in the minutes afterward.
Can I see a desert sunset near Marrakech without going to the Sahara?
Yes — the Agafay region, roughly an hour from the city, offers a desert-style sunset over rocky, rolling hills with the Atlas behind, though there are no sand dunes there as in the Sahara. It is usually visited as a half-day or evening excursion, often combined with camel or quad rides and dinner at a desert camp. Arrange transport or a tour rather than going independently, and bring warm layers as the temperature drops after dark.
See it with a local
Turn this into a private Marrakech trip.
We'll build a private, guided plan around the experiences you care about — with a driver, hand-picked riads and a written quote in 24 hours.