Morocco has had a national seismic building code since 2002, so a building designed and permitted since then should have been calculated to resist earthquakes.
Older buildings, informal extensions and many medina houses were not, and no permit proves how well a building was actually built.
Before you pay a deposit, date the building against the code, ask for its permits and have a structural engineer inspect it.
I am based in Marrakech and have bought four properties in Morocco, and since the Al Haouz earthquake of September 2023, foreign buyers regularly ask me this question.
This guide to earthquake resistant buildings in Morocco covers the code, the riskiest property types, the papers to request, who is liable and how to protect your deposit.
Quick answer
Morocco’s seismic code, RPS 2000, has applied to new buildings since 2002. It was updated as version 2011 (decree published in 2013) and, in November 2024, rezoned for about 80 communes hit by the 2023 earthquake. It does not require older buildings to be upgraded, and a habitation permit only shows that the building matched its approved plans. The safest route is to find the building’s permit date, request its permits and any structural documents, and make your deposit conditional on a structural engineer’s report.
Is Morocco an earthquake country, and does it matter where you buy?
Yes. On 8 September 2023, a magnitude 6.8 earthquake struck Al Haouz province in the High Atlas, south-west of Marrakech (USGS event page).
The Interior Ministry’s provisional count on 12 September 2023 was more than 2,900 deaths (Interior Ministry figures, 12 September 2023).
Under the seismic code, the country is divided into zones, and each commune is assigned to one by a joint ministerial order (decree 2-02-177, article 2, consolidated text).
Press reports quoting the ministry describe five zones, with the north-east around Al Hoceima and Nador and the Agadir area historically the most active (Medias24, 3 September 2024).
Agadir was destroyed by an earthquake in 1960 and had its own anti-seismic building rules from December 1960 (RPS decree, article 6), and Al Hoceima was hit again in 2004 (Morocco World News).
The zone sets how strong a new building must be designed; for an existing one, its age, how it was built and what has been changed since usually matter more.
What does Morocco’s seismic building code (RPS 2000) require?
The code known as RPS 2000 was approved by decree 2-02-177 of 22 February 2002, under articles 59 and 60 of Law 12-90 on urbanism, and it entered into force six months after its publication in March 2002 (decree 2-02-177, articles 1 and 7).
Since a 2004 amendment, the decree says it applies to all buildings across the country.
Buildings made with traditional local techniques, whose load-bearing structure is mainly earth, straw, wood, palm or reed, are outside RPS 2000; since 2013 they follow their own earth-building code (decree 2-12-666, article 7).
For earthquake resistant buildings in Morocco, everything starts with this design code: engineers use it to size foundations, columns, beams and slabs so that the structure can absorb shaking.
In urban communes, Law 12-90 also makes an architect and specialised engineers compulsory for every new building, and the engineers must produce the technical studies and follow the works (Law 12-90, articles 50 and 53).
Which version of the code applies to which building?
| Building designed and permitted | Seismic rules in force | What it means for you |
|---|---|---|
| Before 2002 (outside Agadir) | No national seismic code | Assume no seismic design unless an engineer shows otherwise. |
| Agadir, 1960 to 2002 | Local anti-seismic rules (decree 2-60-893 of December 1960) | Still old: have it inspected. |
| 2002 to 2013 | RPS 2000, original version | Should be seismically designed; ask for the structural plans. |
| After November 2013 | RPS 2000 version 2011 (decree 2-12-682) | The current national standard. |
| After November 2024, in about 80 communes hit by the 2023 quake | Version 2011 with revised zone values (decree 2-24-766) | Stricter design data for new builds in those communes. |
| Earth buildings permitted from mid-2014 | RPCTerre and RPACTerre 2011 (decree 2-12-666, in force six months after its November 2013 publication) | Height limits by zone, see below. |
These dates are indicative: what counts is when the building was designed and its permit applied for, not when it was finished or sold.
The 2011 version was published in the Bulletin Officiel on 21 November 2013, and nothing in the decree requires existing buildings to be upgraded to a newer version (consolidated RPS decree, amendment notes).
What changed after the 2023 Al Haouz earthquake?
Decree 2-24-766 of 22 October 2024, published in Bulletin Officiel 7351 on 11 November 2024, revised the seismic values and zones of communes hit by the quake (consolidated RPS decree; Le360, September 2024).
The ministry presented it as an interim step while a full revision is prepared, and press reports put the number of communes at about 80 in Al Haouz, Chichaoua, Taroudant, Ouarzazate and the Marrakech prefecture (Medias24; Le360).
A full revision of the code was under way in 2026, with a national survey of professionals open until 5 May 2026 (Medias24, 16 April 2026).
As of November 2026, the full revision had not been published as far as we could find, so ask your engineer which values apply to your commune.
For a buyer, the 2024 change affects new construction and rebuilding, not the existing building you are looking at.
What about earth (pisé) and mud brick houses?
Earth buildings have their own rules: RPACTerre 2011 for self-built houses exempt from the architect requirement, and RPCTerre 2011 for those that need an architect (decree 2-12-666, articles 1 to 4).
In the two highest acceleration zones, a load-bearing earth building is limited to one storey; in the other zones, it may have two.
For earth buildings that need an architect (RPCTerre), load-bearing earth walls may not exceed 4 metres for one storey or 6.5 metres for two.
For self-built earth houses (RPACTerre), the decree bans building on soft or expansive ground, in marsh, flood or landslide zones, over shallow groundwater, or within 2 km of a known active fault.
If you are looking at a pisé villa, a guest house or a kasbah-style house around Marrakech or in the Atlas, ask when it was built, whether an architect or engineer was involved, and how many storeys of load-bearing earth it has.
Nabil Mekaoui, an earthquake engineering professor at the École Mohammadia d’Ingénieurs (EMI), told Medias24 in April 2026 that even some reinforced concrete buildings collapsed in 2023, so the real question is how the walls were designed and built, not only the material (Medias24).
Buyer warning
A code on paper is not a building on site. A habitation permit shows that the finished building matched its approved plans (Law 12-90, article 55); it does not test how well the concrete, steel or walls were built. Treat the permit date as a starting point, not as proof, and get a structural engineer to look at the building itself.
Our guide explains what the habitation permit does and does not prove in more detail.
If you already have a building in mind and are not sure how old it is or what to ask for, send me a WhatsApp message below.
Already considering a property?
Message me on WhatsApp →Send me a WhatsApp message about the property you are looking at, and I will tell you what to check before you pay anything.
Which buildings in Morocco are least likely to be earthquake resistant?
Risk depends on three things: when the building was designed, what kind of structure it has, and what has been changed since.
After the 2023 quake, engineers pointed to mud brick, stone and unreinforced masonry, and concrete frames filled with hollow clay bricks as the main types that failed (The Conversation, September 2023).
Is an older resale apartment a higher risk?
A building designed before 2002 was not calculated to the national seismic code, even if it looks solid.
The bigger warning signs are often later changes: extra floors or rooftop rooms, walls or columns removed during a renovation, and ground floors opened up for a shop.
In a co-owned building, the structure is a common part, so ask the syndic whether any structural works or engineer reports exist.
My first purchase in Marrakech was a ground-floor apartment with a shop that was already rented.
I trusted the people around me, and the notary process protected me on the title, but a notary checks ownership, not concrete.
If I bought a ground floor with a shopfront today, I would ask an engineer whether any wall or column had been cut to open it.
What are the risks with a medina riad or old house?
Old medina houses are usually load-bearing masonry, built long before any seismic code, and they often share walls with their neighbours.
In 2023 the quake caused substantial damage in Marrakech, ranging in its denser areas from small local failures to complete collapses (The Conversation).
In March 2025, a foreign-owned riad partly collapsed in the Zaouia El Abbassia area of the Marrakech medina, and residents said they had warned about its condition for four years (Le360, March 2025).
Law 94-12 on buildings at risk of collapse makes the owner responsible for maintenance, and liable for damage if the building collapses because of a defect, lack of maintenance or decay (Law 94-12, articles 3 and 4).
The president of the commune council can declare a building at risk, order works with a deadline and ban access, and the decision is notified to the owner or, in a co-owned building, to the syndic (Law 94-12, article 9).
We did not find a public online register of these decisions, so ask the seller in writing whether the house has been the subject of one, or of any inspection since 2023.
You can also ask the commune’s technical services, and have your engineer look at the shared walls and at any cracks patched since 2023.
Title and heir issues are a separate subject, covered in our guide to the legal risks that come with an old riad.
What should you check on a villa or house?
With a villa, the most common problem is not the original design but what the owner added later.
Extra floors, rooftop rooms and extensions built without a permit may never have been checked by an architect or engineer.
Retaining walls and sloping plots deserve attention, and so does any pisé construction, which falls under the earth building rules above.
Ask for the permit plans and compare them with what actually stands on the plot.
Is an off plan or new build automatically safer?
A new build is not automatically safer, but it is the easiest case to document.
Ask the developer for the building permit date, the name of the structural engineering office (bureau d’études), whether an independent technical inspection firm (bureau de contrôle) follows the works, and which version of the code the structure was calculated to.
For the contract side, read what to check before paying a developer off plan.
How do you check a building’s earthquake safety before you buy?
You cannot test a building yourself, but you can date it, collect its papers and put the right professional in front of it before you commit.
Checking a building’s earthquake safety before you pay
1
Date the building
From the building permit and the habitation permit.
2
Identify the structure
Concrete frame, masonry or earth walls, and any added floors.
3
Collect the papers
Permits, plans, syndic records, any collapse risk decision.
4
Engineer’s visit
A structural engineer inspects and writes a report.
5
Decide at the notary
Deposit held by the notary, compromis conditional on the report.
Which documents should you ask for?
- Building permit: the permis de construire, its date and the approved plans.
- Habitation permit: the permis d’habiter, or the certificate of conformity for non-residential use.
- Structural documents: structural plans and the calculation note (note de calcul) if they exist, and for a new build the names of the engineering office and inspection firm.
- Syndic records: any structural works, engineer reports or general assembly decisions about the structure.
- Collapse risk and repairs: any commune decision under Law 94-12, and invoices or reports for repairs since September 2023.
Many older resale buildings cannot produce structural plans.
A missing plan is a reason to inspect, not a reason to assume the worst.
Who should inspect, and what should they look at?
For the structure, hire a structural or civil engineer from an engineering office; an architect is useful to compare the building with its approved plans.
How to find, brief and pay that professional is covered in our guide on how to hire and brief a building inspector in Morocco.
For an earthquake check, ask the engineer to look at:
- the type of structure: concrete frame, load-bearing masonry or earth walls;
- cracks in columns, beams and walls, especially diagonal cracks;
- storeys or rooms added after the original construction;
- walls or columns that were removed or cut;
- the condition of the foundations and the ground around them;
- whether past repairs were structural or only cosmetic.
Then ask two direct questions: “Which seismic zone is this commune in?” and “Was this building likely designed to RPS 2000, and does it look like it?”
What should the engineer’s report tell you?
A useful report leads to one of three decisions: go ahead, renegotiate or budget for reinforcement, or walk away.
An engineer can give an opinion on a building, but nobody can guarantee how it will behave in a future earthquake.
If you have the documents or the engineer’s report and want a second opinion on what to ask next, send me a WhatsApp message below.
Already considering a property?
Message me on WhatsApp →Send me a WhatsApp message about the property you are looking at, and I will tell you what to check before you pay anything.
Who pays if the building turns out to be unsafe?
Under article 769 of the Code of Obligations and Contracts, the architect or engineer and the contractor hired directly by the client are liable for 10 years after completion if the building collapses, in whole or in part, or is clearly threatened with collapse, because of poor materials, faulty construction or a defect in the ground (article 769 DOC, quoted in the official text of Law 94-12).
An architect who only designed the building answers only for design defects.
The 10 years run from the day the works are received, and the claim must be brought within 30 days of the event that triggers the guarantee.
Whether a later buyer of a resale property can rely on this guarantee is a question for a Moroccan lawyer.
Earthquake damage itself is handled through the catastrophic events cover attached to certain insurance policies, and only after an official declaration; our guide explains how earthquake cover works in a Moroccan home insurance policy.
How do you protect your deposit while the checks run?
Ask your notary to make the compromis conditional on a structural inspection within a set number of days, with a full refund if the engineer finds serious structural defects.
Our guide lists the conditions to write into your compromis de vente.
Before you pay
- ☐ I know the building’s permit date and which version of the code applied.
- ☐ I have seen the permis d’habiter, or I know why there is none.
- ☐ A structural engineer has inspected the building and given me a written report.
- ☐ The seller has confirmed in writing that no commune decision declares the building at risk of collapse.
- ☐ The compromis lets me withdraw with a full refund if serious structural defects are found.
- ☐ The deposit goes to the notary, not to the agent or the seller.
Frequently asked questions
Are buildings in Morocco earthquake resistant?
Some are. New buildings must be designed to the RPS 2000 seismic code, in force since 2002 and updated as version 2011. Older buildings, informal extensions and many traditional houses were not designed for earthquakes, and enforcement on site varies, so each building has to be checked on its own.
Is Marrakech safe to buy in after the 2023 earthquake?
There is no yes or no answer for a whole city. The worst destruction was in mountain villages near the epicentre, but Marrakech also had substantial damage, from small failures to some collapses in its denser areas. What matters is the specific building: date it against the code, check its permits and have a structural engineer inspect it before you pay a deposit.
What is the RPS 2000 seismic building code?
It is Morocco’s earthquake design code, approved by decree in 2002, updated as version 2011 and rezoned in November 2024 for communes hit by the Al Haouz earthquake. Earth buildings follow their own rules, RPCTerre and RPACTerre 2011.
Does a permis d’habiter prove a building is earthquake safe?
No. The habitation permit is issued after the finished works are checked against the approved plans, or on the architect’s certificate. It does not test the quality of the concrete, the steel or the walls, so it is a useful document but not a structural guarantee.
Does home insurance in Morocco cover earthquake damage?
Earthquake damage is covered through the catastrophic events guarantee attached to certain policies, and only after the authorities officially declare the event. Check your policy before you rely on it.
Should you go ahead with the property?
Earthquake resistant buildings in Morocco exist, but you only know you have one after these checks.
A building designed after 2013, with its permits and a clean engineer’s report, is the easiest case for a foreign buyer.
A building from before 2002, a heavily altered flat or an old medina house is not automatically a no.
It does need an engineer’s report, and money set aside for any reinforcement, before you commit.
Send me a WhatsApp message below with the property’s city, type and approximate build year, and I will tell you what to check first.
Already considering a property?
Message me on WhatsApp →Send me a WhatsApp message about the property you are looking at, and I will tell you what to check before you pay anything.
Anis is the founder of Buy Property Morocco, a research-based resource created to help foreign buyers understand the real process of buying property in Morocco safely.
He focuses on the practical details most buyers only discover too late: title deed checks, notary steps, compromis de vente risks, transfer taxes, foreign banking rules, repatriating money after a sale, and avoiding common mistakes when dealing with agents or sellers.
Anis has personally bought 4 properties in Morocco and shares practical guidance based on real experience, not theory.
If you are seriously considering buying property in Morocco and want private guidance before you send money, pay a deposit, or sign anything, you can book a buyer safety call here:
