Time in Morocco — regions, cities and time zones
Morocco keeps UTC+1 as its standard time year-round, but subtracts an hour for the month of Ramadan and restores it afterwards. This makes it one of the few countries whose clock change follows the lunar calendar rather than a fixed date.
Morocco
Capital Rabat · Africa · ISO MA / MAR
Rabat, Morocco
Monday, 19 October 2026
UTC+0 · Africa/Casablanca
Time and sun data for Rabat, Morocco
The sun in Rabat
Sunrise 6:36 AM Solar noon 12:13 PM Sunset 5:50 PM Daylight 11 h 14 min Night 12 h 46 min Civil twilight 6:11 AM – 6:16 PM
States and regions (16)
-
Beni Mellal-Khenifra
12:44:21 PM
UTC+0 · Africa/Casablanca
3,421 cities · largest Khouribga
-
Casablanca-Settat
12:44:21 PM
UTC+0 · Africa/Casablanca
4,831 cities · largest Casablanca
-
Dakhla-Oued Ed-Dahab
12:44:21 PM
UTC+0 · Africa/Casablanca and 1 more zone
21 cities · largest Aousserd
-
Drâa-Tafilalet
12:44:21 PM
UTC+0 · Africa/Casablanca
2,790 cities · largest Errachidia
-
Fes-Meknes
12:44:21 PM
UTC+0 · Africa/Casablanca
5,586 cities · largest Fes
-
Guelmim-Oued Noun
12:44:21 PM
UTC+0 · Africa/Casablanca
1,228 cities · largest Guelmim
-
Laayoune-Sakia El Hamra
12:44:21 PM
UTC+0 · Africa/Casablanca
31 cities · largest Smara
-
Marrakesh-Safi
12:44:21 PM
UTC+0 · Africa/Casablanca
12,795 cities · largest Marrakesh
-
Other parts of Morocco
12:44:21 PM
UTC+0 · Africa/Casablanca
47 cities · largest Tamesna
-
Morocco 51
12:44:21 PM
UTC+0 · Africa/Casablanca
1 cities · largest Zaouia bou Saïd
-
Morocco 57
12:44:21 PM
UTC+0 · Africa/Casablanca
1 cities · largest Aziader
-
Morocco 59
12:44:21 PM
UTC+0 · Africa/Casablanca
1 cities · largest El Khebita
-
Oriental
12:44:21 PM
UTC+0 · Africa/Casablanca
3,219 cities · largest Oujda
-
Rabat-Salé-Kénitra
12:44:21 PM
UTC+0 · Africa/Casablanca
3,299 cities · largest Rabat
-
Souss-Massa
12:44:21 PM
UTC+0 · Africa/Casablanca
6,908 cities · largest Agadir
-
Tanger-Tetouan-Al Hoceima
12:44:21 PM
UTC+0 · Africa/Casablanca
4,928 cities · largest Tangier
Current time in Rabat
Rabat, the capital, runs on UTC+1 like the rest of the country. The IANA identifier is Africa/Casablanca, which covers Rabat, Casablanca, Marrakesh, Fez, Tangier and every other Moroccan city. There is no internal time boundary.
For most of the year Morocco therefore reads the same as Paris, Madrid and Rome in winter, and one hour behind them in summer, since those cities move to UTC+2 and Morocco does not. Against London, Morocco is one hour ahead in winter and level during British Summer Time.
The Ramadan adjustment
This is what makes Moroccan timekeeping distinctive. Rather than a spring-forward and autumn-back cycle, Morocco holds UTC+1 permanently and steps back to UTC+0 for the duration of Ramadan, returning to UTC+1 when the month ends.
The purpose is practical: shifting the clock back moves sunset an hour earlier by the clock, easing the daily fast. Ramadan follows the lunar calendar, so it moves roughly eleven days earlier each year against the Gregorian calendar.
The exact dates of the change are announced by the authorities and are not fixed years in advance. Both transitions happen within a few weeks of each other, unlike the six-month gap of conventional summer time.
Most countries change their clocks by calendar. Morocco changes them by moon, which is at least honest about who is really in charge of the daylight. The practical warning for software is sharp: a hardcoded UTC+1 will be wrong for a month each year, and a calendar built on last year's dates will be wrong by about eleven days. Only a current IANA time zone database gets this right, and it must be kept updated.
Western Sahara
The territory of Western Sahara, administered by Morocco, uses the same arrangement. Its IANA zone is Africa/El_Aaiun, and it follows the same UTC+1 standard with the same Ramadan adjustment. In practice the two zones behave identically.
Converting to Moroccan time
A method that survives the annual shift: Use the zone name Africa/Casablanca, never a fixed number. Check whether the date in question falls in Ramadan; if it does, expect UTC+0. Remember that Morocco does not follow the European summer schedule, so the gap to Paris and Madrid is not constant.
Against UTC, subtract one hour for most of the year and nothing during Ramadan. The relationship with Spain is the one that surprises visitors. Tangier and Tarifa face each other across a narrow strait, and for half the year they are an hour apart. The ferry crossing takes less time than the offset it carries you across.
Regions and cities
Morocco spans from the Mediterranean coast to the Sahara and from the Atlantic to the High Atlas, but administratively none of that divides the clock. Every region uses the same offset: Rabat-Salé-Kénitra — the capital region
Casablanca-Settat — the economic centre Marrakesh-Safi and Fès-Meknès — the interior Tanger-Tétouan-Al Hoceïma — the north Souss-Massa, Drâa-Tafilalet and the southern regions Daylight itself varies more than the clock does: sunrise in Oujda in the east comes noticeably earlier than in Agadir on the Atlantic, but both read the same hour.
Questions and answers
- What time zone is Morocco in?
- UTC+1 as standard, dropping to UTC+0 for the month of Ramadan and returning afterwards.
- Does Morocco observe European summer time?
- No. It holds UTC+1 through the European summer, which is why it falls an hour behind Paris and Madrid during their summer-time period.
- Why do my calendar entries for Morocco go wrong?
- Almost always because the system's time zone data is out of date. The Ramadan transition dates shift each year and cannot be hardcoded — an updated IANA database is required.