4.5 out of 5 — 134108 votes

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.

Flag of Morocco Morocco

Capital Rabat · Africa · ISO MA / MAR

Rabat, Morocco

Friday, 4 September 2026

UTC+1 · Africa/Casablanca

Time and sun data for Rabat, Morocco

The sun in Rabat

Sunrise 07:04 Solar noon 13:28 Sunset 19:52 Daylight 12 h 47 min Night 11 h 13 min Civil twilight 06:39 – 20:17

States and regions (16)

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.
All pages