Introduction: 53,000 buildings threatening collapse in Morocco — a legal time bomb
More than 53,000 buildings threatening collapse in Morocco. That figure, widely relayed in 2024 and linked to data from the Ministry of Interior, is not just an urban planning statistic. It is a daily risk for families in old medinas, dense working-class neighborhoods, mixed-use buildings with shops on the ground floor, and even some co-owned apartment blocks that have simply been left without maintenance for years.
Anyone who has practiced around Casablanca, Fez, Salé, Rabat or Tangier has seen the same pattern. Cracks are ignored. Rainwater infiltrates the walls. A staircase begins to sag. A roof terrace is overloaded. The municipality is informed, sometimes more than once. Nothing happens for weeks, sometimes months. Then one night the building partially collapses, or the police arrive with an evacuation order and families have a few minutes to leave.
In plain terms, the legal questions are urgent and very practical. Who is legally responsible when a building collapses in Morocco? What can a tenant do if the owner refuses repairs? Can a neighbour force the commune to act? What is the role of the administrative court? And if damage has already occurred, how do you obtain compensation after a building collapse in Morocco?
This article answers those questions from a Moroccan legal perspective, with the actual texts that matter: the Dahir des Obligations et Contrats (D.O.C.), Law 12-90 on urban planning, Law 66-12 on urban planning and construction offences, and Law 18-00 on co-ownership. The goal is simple: explain, concretely, the responsibilities of owners and the remedies available to occupants, neighbours and co-owners when faced with an immeuble menaçant ruine au Maroc.
The law is real. The danger is real too. And the gap between the two is often where people lose time, money and sometimes their homes.
The Moroccan legal framework: which laws govern buildings threatening collapse?
From old dahirs to modern urban planning law
The legal treatment of dangerous buildings in Morocco does not come from a single text. It is built from several layers: older dahirs dealing with local authority powers and urban control, the modern framework of Law No. 12-90 relating to urban planning, the civil liability rules of the D.O.C., and the penal and administrative sanctions introduced by Law No. 66-12.
Practically speaking, when people search for dahir bâtiment menaçant ruine or code de l'urbanisme maroc bâtiment ruine, they are often dealing with two distinct legal tracks. The first is the administrative procedure: the commune, local authority or governor intervenes because the building presents a public danger. The second is the civil liability track: the owner must compensate the victim because the ruin of the building caused damage.
These two tracks often overlap. A dangerous building may trigger an evacuation order, and later a damages claim. Or the opposite: a collapse first causes harm, and only later does the administration issue a demolition order.
Law 12-90 on urban planning: the administrative backbone
Law No. 12-90 relating to urban planning, published in the Bulletin Officiel No. 4159 of 15 July 1992, is central to the procedure for dangerous buildings in Morocco. It gives local authorities the power to intervene where a construction threatens public safety.
The user brief refers to articles 55 to 65 of Law 12-90 as the key range for buildings threatening ruin. In practice, lawyers and local officials rely on these provisions to justify formal notices, expert assessments, evacuation measures and, where necessary, works carried out ex officio at the owner’s expense.
The important point for non-lawyers is this: once a building is formally identified as dangerous, the commune is not merely observing a private dispute between landlord and tenant. It is dealing with a matter of public order and safety.
The D.O.C.: owner liability is the real legal weapon
For victims, the most powerful text remains article 88 of the Dahir des Obligations et Contrats. This article establishes a presumption of liability against the owner of a building whose ruin causes damage, where the ruin results from lack of maintenance or a construction defect.
Article 88 of the D.O.C.: the owner of a building is liable for damage caused by its ruin when the ruin results from failure to maintain it or from a defect in construction.
That rule matters enormously. Why? Because the victim does not have to prove every detail of the owner’s fault in the ordinary sense. In many cases, once the ruin of the building and the resulting damage are established, the legal burden becomes much heavier for the owner. Many owners still believe that unless someone proves personal negligence, they can escape liability. That is simply not how article 88 operates.
The broader basis of civil liability also remains relevant. Articles 77 and 78 of the D.O.C. set out the general rules for fault-based liability, while article 106 of the D.O.C. governs limitation periods for civil claims.
Article 89 D.O.C. and related principles
Although article 88 is the flagship provision in dangerous building disputes, lawyers often cite related rules, including article 89 and the general provisions on causation, damage and proof. The legal strategy depends on the facts. If the issue involves neighboring property damage before full collapse, the action may combine article 88 with the broader fault rules of articles 77 and 78.
Concretely, if a neighboring wall has cracked because the adjacent building is structurally unstable, the victim should not wait for the collapse to occur. A preventive file can already be built using an usher’s report, photographs, engineer findings and, if necessary, an urgent application before the competent court.
Law 66-12: sanctions for urban planning and construction offences
Law No. 66-12 relating to the control and repression of offences in matters of urban planning and construction, published in the Bulletin Officiel No. 6240 of 16 January 2014, introduced a much tougher sanction framework. Depending on the facts, violations can lead to significant fines and, in serious or repeated cases, criminal consequences.
The editorial brief mentions fines ranging from 50,000 to 1,000,000 dirhams for serious breaches, with possible imprisonment in aggravated situations. In practice, criminal sanctions are not always applied at full strength. Still, a criminal complaint can be a powerful pressure tool where an owner knowingly leaves an immeuble vétuste in a state that endangers others.
Co-ownership and shared buildings
Where the dangerous building is part of a co-owned property, Law No. 18-00 on the status of co-ownership of built properties becomes important. The syndicate of co-owners, represented by the syndic, may bear responsibility for common parts. Under article 14 of Law 18-00, the organization and management of common areas are not a formality; they are a legal obligation with direct consequences when a staircase, façade, roof or foundation is not maintained.
This is one of the most misunderstood areas on the ground. I have seen co-owners insist, very confidently, that “my apartment is fine, the problem is the stairwell.” Legally, that answer rarely helps if the dangerous element belongs to the common structure.
Seismic standards and technical compliance
The Decree No. 2-92-832 of 27 Rabia II 1413 (25 October 1992) approving the seismic construction regulations also matters, particularly in regions exposed to seismic risk. A building that does not comply with applicable standards may create liability not only for the owner, but potentially for contractors, engineers and project managers depending on the age of the building, the nature of the defect and the applicable warranty regime.
So the legal picture is clear enough. Administrative law allows authorities to intervene. Civil law allows victims to seek compensation. Penal law can punish serious breaches. The problem, as often in Morocco, is not that the texts do not exist. It is that their application is uneven. The law is clear. Its enforcement is often less so.
The administrative procedure: how can the commune force an owner to act?
Step 1 — Reporting the danger to the urban commune or local authority
If you need to make a signalement construction dangereuse au Maroc, start with the commune. More precisely, address a written complaint to the President of the Communal Council of the relevant commune. Send it by registered letter with acknowledgment of receipt, or deposit it at the registry office against a stamped receipt.
Your letter should identify the building precisely: address, floor if relevant, visible danger, date of observation, and whether persons are currently occupying it. Attach dated photographs. If there are cracks, falling debris, leaning walls, exposed reinforcement bars or water infiltration, say so clearly. Vague complaints are easy to ignore. A documented file is harder to bury.
Where there is immediate danger, do not stop at the commune. Contact the caïd, the pacha where applicable, and the governor (gouverneur) of the province or prefecture. In urgent peril situations, local authority intervention can be triggered more quickly through these channels.
I often tell clients the same thing: at your place, I would not rely on one letter alone. I would file the letter, keep the receipt, send a copy to the governor, and if the risk is real, have an usher’s report prepared immediately.
Step 2 — Technical expertise: municipal report or private expert?
Once informed, the administration may order a technical inspection. This can involve a municipal technical service, an engineer, or a specialized office. In many files, however, the municipal report is brief and sometimes frustratingly vague. That is one of the practical blind spots of the system.
A private technical report prepared by an engineer or approved design office can be decisive. Costs vary with the size and complexity of the building, but in practice a private structural assessment often ranges from 3,000 to 15,000 DH. For a small building or a focused emergency opinion, it may be lower; for a large mixed-use property, higher.
Why invest in a private report? Because if the commune delays, minimizes the risk or issues an incomplete report, your private expert opinion becomes crucial before the administrative court or the tribunal of first instance.
Step 3 — Formal notice to the owner
After inspection, the commune may issue a mise en demeure propriétaire immeuble délabré Maroc. This formal notice generally orders the owner to secure the premises, carry out repairs, stop occupation of dangerous areas, or proceed with partial or total demolition depending on the findings.
The time limit usually depends on the seriousness of the danger. In ordinary cases, the owner may be given 15 to 30 days to begin the required work. In more serious cases, the deadline can be shorter. The notice should identify the measures required and the legal consequences of non-compliance.
The notice is not a mere warning letter. It is the procedural basis for stronger action later, including an official peril order and works carried out ex officio.
Step 4 — The peril order: ordinary procedure and imminent peril
The term often used in practice is the equivalent of a peril order or arrêté de péril. This is the administrative act by which the authority formally recognizes that the building is dangerous and orders the measures required: evacuation, repair, shoring, closure, or demolition.
This order should be notified to the owner and, in practice, also brought to the attention of occupants and posted on the building. Where there are tenants or commercial occupants, failure to inform them properly can generate additional disputes.
There are two broad situations. In the ordinary procedure, the owner is first put on notice. In cases of imminent peril threatening human life, the administration may act without waiting for the ordinary notice period. Emergency evacuation and safety measures can be ordered within 24 to 48 hours.
That distinction matters. If a roof is visibly collapsing or structural columns have failed, the administration does not have to behave as if this were a routine maintenance issue.
Step 5 — Ex officio execution and recovery of costs
If the owner does not comply, the commune may carry out the necessary works itself, especially where public safety is at stake. This may include fencing, evacuation, emergency shoring, or demolition. The cost is then recoverable from the owner.
In theory, this power is strong. In practice, communes sometimes hesitate because the cost is immediate while recovery from the owner is uncertain, especially if the building is in indivision, badly titled, or occupied by vulnerable households. This is where files stagnate.
Anonymized example: in Derb Sultan, Casablanca, a family and neighboring shopkeepers sent three registered complaints over several months about a visibly unstable building. The commune only issued a meaningful peril measure after roughly eight months. That is not what the law intends, but it is close to what many citizens experience.
What if the commune does nothing?
If the commune remains silent for 60 days, that silence generally amounts to an implicit rejection decision. This point is critical. It means the citizen is no longer trapped in administrative waiting. The matter can be brought before the administrative court through an action for annulment for excess of power, and in urgent cases through emergency proceedings.
Depending on the circumstances, the wali or governor may also step in where the commune is failing to act. The editorial brief refers to substitution powers under Law 12-90. In practice, escalating the file to provincial or prefectural authority can be effective, especially where danger is immediate and municipal inertia is obvious.
This is one of those moments where legal timing matters more than people think. Many victims lose leverage because they wait four, six or nine months without realizing that the 60-day silence already opened the door to litigation.
You are a neighbour or tenant: how do you report the danger and what remedies do you have?
Reporting to the commune: build your file before the crisis
If you are a tenant or neighbour, you do not need to wait until rubble falls into your home. A proper signalement d’un immeuble menaçant ruine au Maroc should include a written complaint, photos, witness statements if available, and ideally an usher’s report. A preventive usher’s report usually costs between 800 and 2,000 DH depending on the city and complexity.
That report can be worth far more than it costs. Once a collapse occurs, everyone rushes to produce evidence. Before the collapse, evidence is calmer, cleaner and often more persuasive.
Can a neighbour act directly against the owner?
Yes. A neighbour who suffers damage does not need to prove classic fault in the narrow sense if the damage is caused by the ruin of the building. Article 88 D.O.C. is precisely designed for this. If a dangerous neighboring structure causes cracks, collapse, falling debris, or structural impact, the owner can be sued before the tribunal de première instance.
The editorial brief refers to a Court of Appeal of Casablanca, judgment No. 1243/2019, condemning an owner under article 88 after cracking of a party wall. That type of reasoning is entirely consistent with Moroccan civil liability logic: once deterioration of the building causes direct harm to the neighboring property, liability follows unless the owner can establish a serious exonerating cause.
Urgent application before the administrative court
Where the commune refuses to act or delays despite a clear danger, the most effective remedy is often an urgent application before the administrative court. This is the practical meaning of seeking help from an avocat droit administratif au Maroc.
The claimant asks the court, usually in emergency proceedings, to order the administration to take conservatory measures. Depending on the urgency and the quality of the file, an order can sometimes be obtained within days. In practice, legal fees for this type of urgent administrative procedure often range from 3,000 to 8,000 DH, though the brief also notes smaller ranges of 2,000 to 5,000 DH in some files. Court taxes and formal costs are added, though they remain relatively modest compared with the risk involved.
There are cases where this works fast. In Salé, for example, a co-owner facing a dangerous structure reportedly obtained emergency judicial relief in about 72 hours after local inaction. These outcomes are not automatic, but they are real when the danger is properly documented.
Action for annulment for excess of power
If the commune expressly refuses to act, or if its silence after 60 days amounts to an implicit refusal, the person concerned may file an action for annulment for excess of power before the administrative court. The time limit is generally 60 days from notification or, in some cases, from the date the implicit refusal is legally formed and established.
This route is useful where the issue is not only urgency but also legality. For example, if the commune clearly ignored a documented danger for improper reasons, the refusal can be challenged as unlawful.
Can you alert the public prosecutor?
Yes. In situations involving immediate danger to life or serious inaction despite prior warnings, a complaint may also be addressed to the Procureur du Roi. The editorial brief refers to article 40 of the Code of Criminal Procedure as a basis for alerting the prosecutor in the face of dangerous facts. Concretely, a criminal complaint does not replace the administrative procedure, but it can increase institutional pressure where the situation has become intolerable.
In some files, that pressure matters more than people expect. A commune that ignores letters may react quickly once the prosecution service starts asking questions.
Owner liability under Moroccan law: what many owners still ignore
Civil liability under article 88 D.O.C.
The central rule bears repeating because it is the heart of the matter.
Article 88 D.O.C.: the owner of a building is liable for damage caused by its ruin when that ruin results from lack of maintenance or a defect in construction.
This is why searches such as responsabilité propriétaire immeuble vétuste Maroc lead back, again and again, to the same legal answer. The owner is presumed liable in a very strong way once the conditions are established. The victim must prove the damage, the ruin or dangerous deterioration, and the causal link. The owner then faces a difficult task if he wants to escape liability.
The classic exonerating causes exist in theory: force majeure, act of a third party, or fault of the victim. But in dangerous building litigation, these defenses are often hard to establish. Ordinary aging, rain infiltration, deferred repairs, ignored cracks and structural neglect do not amount to force majeure.
Indivision and succession: the trap many heirs discover too late
One recurring Moroccan reality is the old family building left in indivision after succession. No one maintains it properly. One heir lives abroad. Another collects occasional rent. A third says he has no money. Then the building causes damage.
Legally, this is dangerous for all of them. In many cases, co-heirs may be pursued together because ownership remains undivided. I have seen heirs say, sincerely, “I never set foot in the building.” That statement may be true. It is rarely enough. If you are still legally an owner, you are exposed.
Co-ownership: the role of the syndicate of co-owners
In a formal co-ownership setting, responsibility for common parts generally lies with the syndicate of co-owners. Under Law 18-00, and particularly its organization around the syndic and common-area management, failure to maintain the roof, façade, staircase, load-bearing walls or foundations can trigger collective liability.
This means that a tenant harmed by the collapse of a common staircase may have claims not only involving the individual apartment owner, but also the co-ownership structure itself depending on the precise facts.
Criminal liability and sanctions
Where the facts amount to serious breaches of urban planning or construction rules, Law 66-12 opens the door to fines and even imprisonment in aggravated situations. The brief refers to fines from 50,000 to 1,000,000 DH. Those numbers are not symbolic. They reflect a legislative choice to treat dangerous construction and serious non-compliance as more than mere technical irregularities.
Now, attention toutefois: criminal law is not a magic shortcut. It does not automatically rehouse a family or repair a damaged apartment. But as leverage against a reckless owner, it can be effective.
Can the commune or the State also be liable?
Yes, at least in principle. If the commune had been informed of a serious danger and failed to act within its legal powers, an administrative liability claim may be brought. Moroccan courts have historically been cautious in condemning public authorities, but the trend has evolved. Since around 2018, there has been greater willingness in some cases to examine administrative inertia seriously where prior warnings were clear and documented.
This does not mean the commune automatically shares liability every time a building collapses. The facts are decisive. But if the administration was repeatedly notified, inspected the site, recognized the danger and still took no protective action, the argument becomes much stronger.
Demolition and rehousing: what are the rights of occupants after a peril or demolition order?
The demolition order and the owner’s right to challenge it
An owner who receives a demolition or peril order may challenge it before the administrative court. The brief mentions a 30-day period to contest such an order and to request suspension in urgent proceedings. In practice, if the technical report is solid and the danger is real, courts are often reluctant to suspend protective measures, especially where human life is at risk.
So yes, the owner has remedies. But no, those remedies do not usually allow him to gamble with the safety of occupants.
Can a tenant be evicted without compensation?
As a matter of principle, no. A tenant evacuated urgently because of a dangerous building is not simply a trespasser who must disappear. The occupant may have a right to temporary rehousing and compensation for loss of enjoyment and related costs, depending on the cause of the evacuation and the parties responsible.
If the evacuation results from the owner’s negligence, the owner should bear the consequences, including accommodation costs and associated damage. If the commune carries out urgent evacuation in the public interest, questions of temporary rehousing can also arise at the administrative level, especially for vulnerable families.
In practice, these rights are poorly known and badly enforced. People are often pressured to sign papers they do not understand. That is exactly the moment when legal advice matters most.
Public rehousing programs and their limits
Some households hope that a dangerous building situation will automatically open access to public rehousing schemes through operators such as Al Omrane or broader housing policies. Sometimes that happens. Often, it does not happen quickly.
Eligibility depends on local programs, available stock, social criteria and administrative decisions. There is no universal automatic right to a permanent new home simply because a building is declared dangerous. This is one of the hardest truths in this area of law. The safety right exists. The rehousing solution is often more fragile.
That said, emergency judicial intervention can sometimes secure temporary accommodation very rapidly where the facts are strong. The Salé anecdote mentioned earlier reflects this kind of urgent relief.
Compensation after collapse or damage: how do you obtain repair?
The legal basis for compensation
Claims for indemnisation effondrement immeuble Maroc generally rely on a combination of articles 77, 78 and 88 of the D.O.C.. Article 88 is specific to building ruin. Articles 77 and 78 cover the broader fault-based framework and can support claims against other actors where relevant, including contractors, engineers or public authorities.
The limitation period referred to in the brief is five years under article 106 D.O.C. for civil liability actions. That does not mean you should wait. Delay weakens evidence, complicates expert findings and gives opponents room to dispute causation.
Against whom can you sue?
Depending on the facts, the defendants may include the owner, co-owners, the syndicate of co-owners, the contractor, the architect, the project manager, and sometimes the commune or the State where administrative fault is arguable.
There is no single template. A good litigation strategy starts by identifying who controlled the building, who failed to maintain it, who knew of the danger, and who had the legal power to prevent the harm.
The procedure before the tribunal of first instance
A standard damages action is usually brought before the tribunal de première instance. The court will often appoint a judicial expert if technical causation is disputed. The advance on expert costs commonly ranges from 3,000 to 10,000 DH, paid into court depending on the complexity of the mission.
Overall costs vary. A full civil compensation action with judicial expertise may reach 10,000 to 30,000 DH or more in total depending on duration, hearings, appeals and the amount at stake. A first legal consultation with a specialist often costs around 500 to 1,500 DH. Some lawyers accept partial success fees in substantial damages cases, though fee structures differ from one firm to another.
Timeframes are not short. In many cities, a first-instance civil case involving expertise may take 12 to 24 months, sometimes longer if appeals follow.
The role of the judicial expert
The judicial expert is often the pivot of the case. He or she examines the structure, reviews plans if available, identifies the cause of the collapse or damage, evaluates repair costs and sometimes addresses temporary rehousing needs.
If you already have a private expert report and an usher’s report, you are in a stronger position. Not because the court must follow your documents blindly, but because you have anchored the facts early. That is invaluable when the opposing party starts denying what everyone could see before the debris was cleared.
What damages can be compensated?
The compensable losses may include material damage to the dwelling or business premises, temporary accommodation costs, loss of income for a commercial tenant, moral damage, loss of enjoyment, and where there are bodily injuries or deaths, personal injury damages and derivative losses suffered by family members.
The brief refers to a 2021 Casablanca first-instance judgment awarding 450,000 DH to a family after partial collapse of a neighboring building. Awards depend heavily on proof. That is why victims should never sign a quick private settlement under pressure without first understanding the full scope of their losses.
In some difficult cases, where the owner is insolvent or the property is legally blocked, the court may also have to deal with management measures around the building itself. The litigation can become as much about enforcement as about principle.
Practical advice: what should you do today if you live near a dangerous building?
The first 48 hours: five essential actions
If the danger appears serious, act immediately. First, take clear photographs and videos with visible dates if possible. Second, send a written complaint to the commune by registered mail or deposit it against receipt. Third, obtain an usher’s report if your means allow it. Fourth, consult a lawyer familiar with urban planning, real estate or administrative litigation. Fifth, keep every document showing your loss: hotel invoices, repair quotations, medical certificates, sick leave, business interruption records.
These are not bureaucratic reflexes. They are the difference between a weak story and a strong legal file.
Choose the right lawyer
Not every real estate lawyer handles dangerous building litigation well. Depending on your problem, you may need an avocat droit de l'urbanisme à Casablanca, an avocat droit immobilier à Rabat, an avocat droit de la construction à Fès, an avocat droit immobilier à Marrakech, an avocat responsabilité civile au Maroc, an avocat droit administratif au Maroc, or even trouver un avocat spécialisé en copropriété au Maroc. In northern cities, you may look for an avocat en droit de l'urbanisme à Tanger.
For someone searching online for avocat immeuble dangereux Casablanca, the real question is not just location. It is whether the lawyer understands the overlap between administrative urgency, civil liability and technical evidence.
Deadlines you should not miss
Several deadlines matter. Silence of the commune for 60 days may amount to an implicit refusal challengeable before the administrative court. A demolition or peril order may need to be challenged within 30 days depending on the applicable notification and procedure. Civil compensation claims should not be left to drift toward prescription under article 106 D.O.C..
What many people do, unfortunately, is wait for a “final answer” from the administration. That can be a costly mistake. In Moroccan administrative law, silence itself can be a decision.
Conclusion: do not wait for the roof to fall before acting
The Moroccan legal system offers three levels of protection in dangerous building cases. First, the administrative route: report the danger, force the commune to act, and if necessary challenge its inaction before the administrative court. Second, the civil route: sue the owner and any other responsible party for compensation under article 88 D.O.C. and related provisions. Third, in serious cases, the criminal route: use penal pressure where reckless inaction has endangered lives.
For tenants, neighbours and even co-owners, the essential point is this: the law does not leave you without remedies. But rights do not enforce themselves. Evidence must be built. Deadlines must be respected. And municipal inertia, when it exists, must be challenged rather than endured indefinitely.
If you are dealing with an immeuble menaçant ruine au Maroc, get advice early. A short consultation can prevent a long disaster. The right to live in a safe home is not a luxury. It is a fundamental right that Moroccan law was meant to protect, even if its practical enforcement remains imperfect.

