Skip to content
Airleaf

Air quality comparison · Morocco, 286 km apart

Marrakesh vs Rabat Air quality index (AQI) today

Rabat has cleaner air than Marrakesh right now: AQI 42 (Good) against 74 (Moderate).

That puts them in different EPA bands, so the health advice differs today. Over the past 7 days, on modeled daily averages, Rabat averaged AQI 46 against 48, and it was the cleaner of the two on 4 of those days. Rabat has lost more forest since 2001. Rabat has more tree cover.

Marrakesh

Morocco

AQI 74

Moderate

PM2.5
21.2 µg/m³1.4× WHO guideline
Main pollutant
PM2.5
Source
Ground station
Reading
Nov 11, 18:00 local
Rabat

Morocco

AQI 42

Good

Cleaner right now

PM2.5
7.8 µg/m³
Main pollutant
PM2.5
Source
Model estimate
Reading
Nov 11, 07:00 local

Updated . Lower is better on the US EPA index: 0–50 is Good, above 300 is Hazardous. Measured by Airleaf.

Head to head

Marrakesh vs Rabat at a glance

Rabat is ahead on 5 of 6 measures, and Marrakesh on 1. The better figure in each row is marked.

Marrakesh and Rabat compared on air quality, forest loss and tree cover
MarrakeshRabat
Air quality nowUS AQI. Lower is better.7442 (better)
PM2.5Fine particles, µg/m³.21.27.8 (better)
Past week's averageUS AQI, 7 days.4846 (better)
Forest lost since 2001Within 10 km of the center.1 ha (better)169 ha
Tree coverWithin 2 km of the center.8.4%16.1% (better)
Trees still neededTo reach a healthy canopy.67.9K43.1K (better)

Air quality today

What is the air like in Marrakesh and Rabat right now?

Rabat has cleaner air than Marrakesh right now: AQI 42 (Good) against 74 (Moderate). PM2.5 is setting the index in both.

Marrakesh's PM2.5 is about 1.4× the WHO's 24-hour guideline of 15 µg/m³.

Marrakesh is read from a nearby ground station and Rabat is a model estimate, so the two are not quite like for like.

MarrakeshRabat

21.2PM2.5, µg/m³7.8

Concentrations at the same moment as the index above, for the pollutants both places report. Lower is better. The dark marks on the PM2.5 and PM10 rows show the WHO's 24-hour guidelines (15 and 45 µg/m³).

Marrakesh: Ground station · Marrakech-Residence Mima, 4 km away. Data: OpenAQ · AirGradient, campus.

Rabat: Model estimate · no ground station nearby. Data: Open-Meteo / CAMS, US EPA index.

The past week

Which had cleaner air over the past 7 days?

Over the past 7 days, on modeled daily averages, Rabat averaged AQI 46 against 48, and it was the cleaner of the two on 4 of those days. A single reading can catch a city on a bad afternoon; the week says whether it was the weather or the place.

Cleaner days
Marrakesh3Rabat4
Average AQI
Marrakesh48Rabat46
Worst day, AQI
Marrakesh58Rabat60
MarrakeshRabat
50Nov 5Nov 6Nov 7Nov 8Nov 9Nov 10Nov 11
The daily numbers (7 days)
Daily air quality index for Marrakesh and Rabat
DayMarrakeshRabat
Nov 55853
Nov 65054
Nov 75660
Nov 84350
Nov 93631
Nov 104434
Nov 114943

Daily averages from the CAMS atmospheric model for both places, so the week compares like with like. They can differ from today's reading at the top of the page wherever that comes from a ground station.

What it means today

Is it safe to go outside in Marrakesh and Rabat today?

Marrakesh (AQI 74, Moderate): Unusually sensitive people should consider limiting long outdoor exertion.

Rabat (AQI 42, Good): Air quality is satisfactory for everyone.

Exercise outdoors

Marrakesh
Fine for most people; unusually sensitive people should take long or hard exercise easier.
Rabat
A good day to be active outside.

Windows

Marrakesh
Fine to open; close them if you are sensitive to pollution.
Rabat
Open them to air the house.

Masks

Marrakesh
Not needed for most people.
Rabat
Not needed.

Air purifier

Marrakesh
Worth running if you are sensitive.
Rabat
Not needed.

Against everywhere else

How do Marrakesh and Rabat compare with the rest of the world?

Right now Marrakesh's air is cleaner than 34% of the 5,420 places Airleaf tracks, and Rabat's is cleaner than 68%. Within Morocco, that is 3% and 53% of its 37 measured places.

Cleaner air than…

Marrakesh
Beats 34%
Rabat
Beats 68%

More tree cover than…

Marrakesh
Beats 17%
Rabat
Beats 37%

Includes model estimates as well as station readings, so it can differ from our most polluted and cleanest air rankings, which use station readings only.

Deforestation · 2001–2025

Which has lost more forest, Marrakesh or Rabat?

Rabat has lost more: about 169 ha of forest within 10 km of its center from 2001 to 2025, against 1 ha around Marrakesh. 74 ha of that was cleared for good, for farms, mines or towns.

Measured within 10 km of each center, from the yearly satellite maps of forest loss: a wider circle than the one for tree cover, because forest is usually lost at a city's edges.

Marrakesh
20012025

Worst year: 2023, with under 1 ha lost.

Rabat
20012025

Worst year: 2024, with 24 ha lost.

Forest loss around Marrakesh and Rabat, 2001 to 2025
MarrakeshRabat
Forest lost since 2001Cleared, burned or logged.1 ha (better)169 ha
Cleared for goodTurned into farms, mines or towns.under 1 ha (better)74 ha
Recent trend2021–2025 against the five years before.Too little to callToo little to call
Main known causeFarms, pasture and plantations (90%)Logging (55%)

Satellite timelapses

Watch both change, year by year

A clear satellite photo a year of the land around each city. Press play, turn on the forest cleared since the first year, or drag the before and after.

Marrakesh

Satellite image of the area around Marrakesh, August 2017

2017: satellite photo from August 2017 of a 5 × 5 km area in the city center.

Rabat

Satellite image of the area around Rabat, July 2017

2017: satellite photo from July 2017 of a 5 × 5 km area about 7 km northeast of the city center.

Trees

Which has more trees, Marrakesh or Rabat?

Rabat has more tree cover: 16.1% of the land within 2 km of its center against 8.4% around Marrakesh, or about 49,872 trees against 26,389.

Marrakesh8.4% of a 30% target
Rabat16.1% of a 30% target

The dark mark is each place's canopy target: 30% of the land, raised where air quality is poor.

Tree figures for Marrakesh and Rabat
MarrakeshRabat
Trees standingEstimated from the canopy area.26.4K49.9K (better)
Trees still neededTo reach the target. Fewer is better.67.9K43.1K (better)
CO₂ absorbed each yearBy the trees already standing.581K kg1.1M kg (better)

Tree cover on the satellite image

The same 2 km radius around each center, with the tree cover the satellite found marked on it.

Marrakesh8.4% tree cover · Sentinel-2 L2A (ESA Copernicus) via Earth Search, Sep 17, 2026
Rabat16.1% tree cover · Sentinel-2 L2A (ESA Copernicus) via Earth Search, Sep 14, 2026

Reading these numbers

How this comparison is made

Air quality index

The US EPA index, computed from current pollutant concentrations: ground stations where a place has them nearby, and the CAMS atmospheric model everywhere else. It moves hour to hour, so it is a snapshot rather than a verdict on either place. The guideline marks are from the WHO's 2021 air quality guidelines.

Trees and forest

Tree cover is the share of ground under canopy within 2 km of each center, read from Sentinel-2 satellite imagery at 10 m detail. It measures that circle, not the whole municipality, which is what makes the two comparable. Forest loss comes from the University of Maryland's Global Forest Change maps.

More on the method on the About Airleaf page.

Frequently asked

Marrakesh vs Rabat: your questions answered

Is Rabat cleaner than Marrakesh?

On air quality, yes, right now: Rabat reads AQI 42 against 74, a gap of 32 points on the US EPA index. This is a live reading rather than an annual average, so it can reverse within a day. Over the past 7 days, on modeled daily averages, Rabat averaged AQI 46 against 48, and it was the cleaner of the two on 4 of those days.

Is it safe to exercise outdoors in Marrakesh and Rabat today?

In Marrakesh, at AQI 74: Unusually sensitive people should consider limiting long outdoor exertion. In Rabat, at AQI 42: Air quality is satisfactory for everyone.

Which has lost more forest, Marrakesh or Rabat?

Rabat has lost more: about 169 ha of forest within 10 km of its center from 2001 to 2025, against 1 ha around Marrakesh. 74 ha of that was cleared for good, for farms, mines or towns.

Which has more trees, Marrakesh or Rabat?

Rabat has more tree cover: 16.1% of the land within 2 km of its center against 8.4% around Marrakesh, or about 49,872 trees against 26,389. Both figures describe the same-sized circle of ground around each center, not the whole municipality.

How many more trees do Marrakesh and Rabat need?

Marrakesh needs about 67,858 more to reach its canopy target of 30%, and Rabat about 43,057 to reach 30%. The target starts at 30% of the land and rises where air quality is poor.

Are Marrakesh and Rabat measured the same way?

The method is the same: the US EPA index for air, and Sentinel-2 satellite imagery at 10 m detail over an identical radius for trees. Marrakesh is read from a nearby ground station and Rabat is a model estimate, so the two are not quite like for like. Nothing is adjusted for population, city limits or climate.

How often does the Marrakesh vs Rabat comparison update?

The air readings refresh about once an hour, and each reading's local time is shown at the top of the page. Tree cover comes from the latest clear satellite image of each area (Sep 17, 2026 and Sep 14, 2026), and the forest figures are published yearly.

Keep going

Build your own

Compare Marrakesh with somewhere else

This place

Marrakesh