agafay.infoIndependent guide to the Agafay Desert

Agafay data: sunset times and headline costs

The figures behind this guide to the Agafay Desert, Marrakech, Morocco are here as two JSON files you can download, cite and reuse: sunset, civil dusk and the latest time to leave the medina for every day from 2026 to 2028, and the six headline costs. Each card below shows sample rows, what the file covers and how it is made. Partner prices are not among the downloads: they stay on the partners' own pages, linked from the guide.

The datasets

Agafay sunset and leave-time table

Sunrise, sunset and the end of civil twilight at the Agafay Desert for every day, in Morocco's legal time, with the latest time to leave the medina for a sunset camel or quad evening.

Covers
1 January 2026 to 31 December 2028
Format
JSON, one object with a head and its rows

Download agafay-sunset-times.json

How it is made

Solar times by the NOAA calculation for the Agafay Desert point on Wikidata, in the legal time of the day, which follows the decrees on Morocco's clock.

Leave times run back from sunset through the longest stated itinerary of each format and the slower drive.

Four sample days from the sunset tableMorocco's legal time on each date
DateSunriseSunsetCivil duskLeave the medina, camel eveningLeave the medina, quad evening
6:36 18:45 19:09 17:15 15:45
5:28 19:41 20:09 18:11 16:41
6:20 18:31 18:55 17:01 15:31
7:28 17:34 18:01 16:04 14:34

Agafay headline costs

Six headline costs, such as a sunset camel ride and dinner for two, each with who it is for, the amount and the listings it rests on.

Covers
From 14 November 2026, the first read
Format
JSON, one object with a head and its rows

Download scenarios.json

How it is made

Each cost is the most-reviewed US-dollar listing of one format at its listed price, per person times the people named, or per night for two.

Listings in another currency or with no stated unit are left out rather than converted.

The six headline costsWho each is for, and the amount in the partners' currency
Cost, and who it is forAmountIn pounds and euros
Sunset camel ride and dinner from Marrakech, two sharingUSD 24about GBP 18 or EUR 22
Quad, camel ride and dinner combo from Marrakech, two sharingUSD 46about GBP 35 or EUR 42
Two-hour quad ride in Agafay, soloUSD 55.24about GBP 42 or EUR 50
Overnight camp package with transfer and dinner, two sharing a tentUSD 106about GBP 80 or EUR 96
One night in a mid-range Agafay camp, two sharing a tentUSD 143about GBP 108 or EUR 129
One night in a luxury Agafay camp, two sharing a tentUSD 267about GBP 202 or EUR 241

Reading the sunset table: which clock

Every time in the sunset file is in Morocco's legal time on that date, and in 2026 that clock moved three times. Decree no. 2.26.530 returned Morocco to Greenwich Mean Time on 20 September 2026 at 02:00, by setting clocks back an hour; since then the legal time is UTC+0 offset, with no summer change. Before that date, apart from the weeks of Ramadan, the clock ran an hour ahead. The file gives the offset beside each day, so a time is never ambiguous.

Morocco's legal time through 2026 A bar across the year 2026. It starts an hour ahead of Greenwich, drops to Greenwich time for Ramadan from mid February to late March, returns to an hour ahead, and drops to Greenwich time again on 20 September, where it stays at the end of the year. UTC+1 UTC+0 UTC+1 UTC+0 2026 JanFebMarAprMayJunJulAugSepOctNovDec
The pale stretches run on Greenwich time: Ramadan, then the return to GMT on 20 September. The sunset file and every leave time on this site follow the bar.

The times are for a single point, the Agafay Desert item on Wikidata at 31.48396,-8.19105, as latitude and longitude. Civil dusk is the moment the sun is six degrees below the horizon, the end of civil twilight. The leave times answer a practical question: the latest you can set off from the medina and still be on the camel or the quad when the sun goes down, with the slower drive, 40 to 60 minutes by road. For a single date, with the answer in words, use the sunset finder on Agafay desert sunset or the planner on the home page.

Reading the headline costs

Each headline cost is one listing, the most reviewed US-dollar listing of its kind, at its listed price for the people named (per person times two, or per night for two), with who it is for beside the amount and the spread across every listing of the kind. Read them, with the dots for every listing and the tourist tax on top, on the Agafay cost page. Each scenario in the file names the page that explains it.

The partner prices behind them are not part of the downloads. They belong to GetYourGuide, Viator, Klook and Booking.com, change often and stay on the partners' own pages; the guide links to each listing with the date of its price beside it, on Agafay tours and the camp chooser.

Using the data

The files are free to download. Reuse follows the data terms on the terms page. When you quote a figure, give the dataset's name and agafay.info; a link to this page is the simplest way.

Head
name, description, url, page, license, temporalCoverage and method, in every file
rows
one object per day or per headline cost; a field the source does not state is null
Dates and times
dates as year-month-day; times as hours and minutes after midnight in local legal time; the offset beside each day
Money
an amount and its currency code in separate fields

The same headline costs print on every page of this guide that names them, with the same amounts as the file.

Sources

  1. Decree no. 2.26.530 of 25 June 2026 returns Morocco's legal time to Greenwich Mean Time at 2:00 on Sunday 20 September 2026 by setting clocks back 60 minutes 20 September 2026 at 02:00. Kingdom of Morocco, Bulletin officiel (Arabic edition) no. 7521, 13 Muharram 1448 (29 June 2026), p. 3768: Decree no. 2.26.530 of 9 Muharram 1448 (25 June 2026) on legal time, 25 June 2026.
  2. Since 20 September 2026 Morocco's legal time is Greenwich Mean Time (UTC+0), as set by royal decree 455.67 of 2 June 1967 and restored by decree no. 2.26.530. Kingdom of Morocco, Bulletin officiel (Arabic edition) no. 7521, 13 Muharram 1448 (29 June 2026), p. 3768: Decree no. 2.26.530 of 9 Muharram 1448 (25 June 2026) on legal time, 25 June 2026.
  3. The IANA tz database (africa file) records that from 28 October 2018 until 20 September 2026 Morocco kept UTC+1 all year apart from a return to UTC+0 during Ramadan, under the 2018 decree (no. 2.18.855) that decree 2.26.530 repealed; offset UTC+1. IANA Time Zone Database, file 'africa' (Morocco commentary and Zone Africa/Casablanca), release 2026f, 27 October 2026.
  4. For Ramadan 2026 the Ministry of Digital Transition and Administrative Reform announced the return to GMT by setting clocks back 60 minutes from 3:00 on Sunday 15 February 2026. Ministère de la Transition numérique et de la Réforme de l'Administration (MMSP), Retour à l'heure légale du Royaume (GMT), news release, 2 February 2026.
  5. The Ministry announced that at the end of Ramadan 2026 clocks went forward 60 minutes from 2:00 on Sunday 22 March 2026 22 March 2026 at 02:00. Ministère de la Transition numérique et de la Réforme de l'Administration (MMSP), Retour à l'heure légale du Royaume (GMT), news release, 2 February 2026.
  6. Wikidata places the Agafay Desert item (Q86301994) at latitude 31.48396, longitude -8.19105. Wikidata, item Q86301994 'Agafay Desert'.
  7. Tour prices, times and the drive to Agafay. Partner listings on GetYourGuide, Viator and Klook with the date of each price, in the partner's currency; transfer times as the operators and the Moroccan National Tourist Office state them
  8. Sunrise, sunset and civil dusk at Agafay, in Morocco's legal time. NOAA solar calculation for the Agafay Desert point (31.48396°N, 8.19105°W, Wikidata Q86301994), clock times in Morocco's legal time (time zone Africa/Casablanca; UTC+0 since 20 September 2026 under decree 2.26.530)
  9. Leave-by times from the day-shape planner. The planner's rules over the partner itineraries' stated minutes, the drive to Agafay as operators state it (40 to 60 minutes) and the NOAA sunset at the Agafay Desert point in Morocco's legal time
  10. Headline costs. The price of the named partner listing each cost uses (the most-reviewed of its kind), with the date of each price