Abdelhalim Zendaguy
Lawyer at the Marrakech Bar, specialised in business law, civil law, real estate law, family law and criminal law

This guide helps you determine whether the building can be legalized, prepare the technical file, and respond to a refusal or demolition proceedings.
Salma Tazi
Legal Editor — Family Law
Need a Real Estate Law lawyer?
Browse verified profiles near you
Legalizing unpermitted construction in Morocco is neither automatic nor equivalent to applying for a permit after the fact. Law No. 12-90 on urban planning, promulgated by Dahir No. 1-92-31 of June 17, 1992, requires authorization before construction in urban municipalities, delimited centers, their peripheral zones, and areas covered by an urban planning document. Law No. 66-12, promulgated by Dahir No. 1-16-124 of August 10, 2016, strengthened inspections, suspension of work, and the applicable penalties.
Article 40 of Law No. 12-90, as amended by the reform, provides in particular for repair, regularization, and demolition permits. Their procedures were established by Decree No. 2-18-475 of April 14, 2019, as amended notably by Decree No. 2-23-103 of May 3, 2023. This framework applies to buildings erected without authorization or not compliant with the authorization issued. Caution: the national filing periods have been amended and extended. In 2026, their exact status must be checked in the Official Bulletin and with the municipality before incurring professional fees.
In practical terms, two situations must be distinguished. A house built entirely without authorization constitutes construction without a permit. An authorized building with an additional floor, a setback violation, a covered courtyard, or a change of use constitutes construction not compliant with the approved plan. In both cases, the authorities examine the building as it actually exists. Filing old plans or presenting completed work as future work does not legalize anything and may worsen the case if an inspection reveals an inaccurate declaration.
Administrative regularization does not necessarily erase a criminal violation that has already been officially recorded. Article 71 of Law No. 12-90 provides in particular, for construction without a permit where one is required, for a court-imposed fine of between 10,000 and 100,000 dirhams. Other amounts apply depending on whether the matter involves non-compliance, use without an occupancy permit, or an irregular subdivision. The court determines the penalty according to the facts. Municipal taxes, filing costs, and a criminal fine imposed by a judge must therefore not be confused.
Lastly, Law No. 25-90 on subdivisions, housing developments, and parcel divisions applies in addition to Law No. 12-90 when the house was built in an unauthorized subdivision, on a plot resulting from an unauthorized parcel division, or with irregular roads and utility networks. Legalizing only the house may then be impossible until the land and planning status of the entire development has been addressed. This is common on urban outskirts: the owner has a deed, but the plot itself was not legally created.
The first assessment concerns urban planning. The architect must compare the building with the development plan, zoning plan, and regulations applicable to the plot on the date the authorities review the application. A house may be old yet incompatible with a planned road, green space, regulatory setback, or maximum height. The seller's claim that the land is “buildable” is not sufficient evidence. Urban planning information must be obtained from the urban agency or consulted on its geoportal, where available.
The most serious obstacles concern areas reserved for a road or public facility, public property, legally non-buildable zones, and certain protected areas. A location in the bed of a wadi, an officially identified risk zone, an area subject to a protective easement, or a heritage area may make regularization impossible or subject the application to specific opinions. An “AU” zone, designated for future urban development, does not necessarily confer an immediate right to build. An “N” or agricultural zone is, in principle, subject to much stricter restrictions.
The second assessment concerns the rights held over the land. The applicant must provide a land title, a recent certificate of ownership, a valid melkia, a deed of acquisition, or another document establishing their legal capacity. If the property belongs to several heirs, one co-owner cannot always file the application and alter the property's status without authorization or consent from the others. When the house encroaches on the neighboring plot, an alleyway, or public property, a simple architectural plan is insufficient: the boundary issue must be resolved or, at a minimum, precisely identified.
The third assessment is technical. The purpose of a regularization permit is not to legalize a dangerous building. The authorities may request a precise survey, structural calculations, a stability assessment, or the involvement of a specialized engineer where there are cracks, additional floors, or alterations to load-bearing walls. The RPS 2000 Seismic Building Regulations, 2011 version, and the applicable technical requirements serve as references depending on the nature and date of the work. Partial compliance work, or even demolition of the irregular floor, may be proposed.
In practice, classify the case into one of these three categories. A building that complies with the zoning and is technically safe has a reasonable prospect of regularization, without any guarantee of a favorable decision. A building that can be legalized after work requires a clearly costed compliance project. A building located on a public right-of-way, in a permanently non-buildable zone, or on land without an enforceable right carries a major risk of refusal. Conducting this assessment before filing avoids paying for complete plans for an application that is legally doomed to fail.
Lawyers at your service
Verified profiles, members of Moroccan bar associations — call or message them directly from their page
Lawyer at the Marrakech Bar, specialised in business law, civil law, real estate law, family law and criminal law
A lawyer specialising in digital law and business law, I assist companies, professionals and individuals in securing the legal aspects of their activities, their projects and their interests, both in advisory matters and in litigation. My approach is based on an in-depth understanding of the issues specific to each case. Beyond the legal analysis, I pay particular attention to the economic, technological and strategic dimensions of the matters entrusted to me, in order to propose concrete, pragmatic solutions adapted to my clients' realities. Areas of practice: - Digital, Technologies & Innovation I assist companies, electronic service providers, content creators and promoters of innovative projects in securing the legal aspects of their digital activities, bringing them into regulatory compliance and protecting their intangible assets. Digital compliance & Strategic advice • Legal advice in digital law. • Bringing digital activities into compliance with the applicable regulations. • Carrying out compliance audits and risk mapping. • Regulatory monitoring and strategic support for digital transformation projects. Protection of personal data • Compliance with the applicable regulations on the protection of personal data. • Drafting and updating privacy policies, information notices and cookie policies. • Support in dealings with the competent authorities. • Audits and advice on data governance. IT contracts & Digital transformation • Drafting, negotiating and reviewing IT contracts. • Software, application and platform development contracts. • Legal securing of IT and digital transformation projects. E-commerce & Digital platforms • Legal support for electronic commerce activities. • Drafting General Terms and Conditions of Sale (GTCS), General Terms of Use (GTU) and legal notices. • Advice on consumer protection and electronic payments. • Legal compliance of digital platforms and marketplaces. Intellectual property & Digital assets • Protection, valorisation and management of intellectual property rights. • Filing and renewal of trademarks, designs and models. • Protection of software, databases, digital content and original creations. • Drafting assignment, licence and exploitation contracts. Content creators & Influencers • Drafting and negotiating collaboration, sponsorship and partnership contracts. • Protection of image rights, digital content and intellectual property. • Advice on the legal obligations applicable to advertising, commercial partnerships and social networks. • Support in managing disputes relating to digital platforms. Digital litigation & Cybercrime • Assistance and representation in disputes relating to digital activities. • Protection against infringements of personal data, online reputation and intellectual property rights. • Support in matters of cybercrime, computer fraud, digital identity theft and the liability of digital players. - Corporate & Business Company formation, structuring & governance • Incorporation of companies and legal support with formation. • Drafting and amending articles of association. • Preparation of shareholders' agreements. Corporate secretarial services • Monitoring the legal life of companies. • Preparation of general meetings. • Drafting minutes and corporate resolutions. • Completion of legal formalities with the competent administrations. • Updating corporate registers and legal documents. Commercial contracts • Drafting, negotiating and reviewing commercial contracts. • Distribution, commercial agency, franchise and partnership contracts. • Service provision and subcontracting contracts. • Assistance with the performance, renegotiation and termination of contracts. Compliance & Corporate governance • Legal compliance audits. • Compliance with the applicable regulations. • Development of internal procedures and governance mechanisms. • Management of legal risks. Business litigation • Prevention and management of commercial disputes. • Representation before the commercial courts. • Debt recovery. • Directors' liability and disputes between shareholders. - Employment & HR • Drafting, reviewing and negotiating employment contracts, preparing internal regulations, HR policies and internal procedures. • Support in the application of labour legislation, bringing HR practices into compliance and legal monitoring. • Assistance in conducting disciplinary procedures, dismissals and terminations of the employment contract. • Defence and representation of clients before the courts and other authorities competent in labour matters. - Business criminal law • Prevention and management of criminal risks related to corporate activity. • Assistance to companies, directors and employees in the context of investigations, inspections, hearings and criminal proceedings. • Defence of the interests of companies and their directors before the criminal courts. - Arbitration & Mediation I assist companies, investors and individuals in preventing and resolving disputes, favouring alternative dispute resolution methods suited to their interests. Arbitration • Acting as arbitrator in arbitration proceedings. • Assistance and representation of the parties before the arbitral tribunal. • Drafting and negotiating arbitration agreements. Mediation • Acting as mediator in mediation proceedings. • Assistance and representation of the parties throughout the mediation process. • Advice on amicable dispute resolution strategies. - Training in digital law I assist companies, institutions and professionals in strengthening their skills and their legal culture in digital matters. I design and deliver training courses tailored to the issues facing each organisation, in order to foster a better understanding of legal obligations, anticipate legal risks and promote practices that comply with regulatory developments.
A lawyer registered with the Casablanca Bar since 2020 and an international arbitrator, I specialise in Business Law. My firm ‘LPF Counsel’ assists individuals in their litigation and provides advice to multinationals and Moroccan companies as a Business Partner.
Start with the land status. For a registered property, request a recent certificate of ownership from the ANCFCC and obtain the land registry plan. Check the owner's name, mortgages, attachments, area, and registered easements. The cadastral plan does not, by itself, prove that the building is authorized: it identifies the plot's location. For an unregistered property, have the melkia, chain of deeds, and physical boundaries reviewed. Any discrepancy between the deed and actual occupation must be addressed before filing.
Next, request an urban planning information note from the urban agency with territorial jurisdiction. This document specifies, among other things, the zoning, designated use, setbacks, number of floors, and known easements. The note provides information but does not replace the permit. In Casablanca-Settat, Rabat-Salé-Kénitra, Tangier-Tetouan-Al Hoceima, or Marrakech-Safi, the relevant urban agency participates in the review together with the municipality. In a small municipality or rural area, the delimited center, peripheral zone, and specific legislation covering the area must also be identified.
An architect authorized to practice then carries out an as-built survey. The architect measures each floor, the façades, courtyards, boundaries, heights, and access points. The architect compares this survey with any previous authorizations and then proposes either retaining the building as it stands or carrying out compliance work. Depending on the building, a land surveyor and an engineer may also be involved. Beware of “adjusted” plans that conceal a room or floor: an inspection visit or aerial photograph is often enough to reveal the discrepancy.
Before filing, also check whether there is an official report, formal notice, work suspension order, or judicial proceeding. These documents may be held by the municipality, the local authority, or in a case file at the court of first instance. If construction is still underway, stop work immediately upon receiving the administrative order: continuing after notification creates a significantly more serious situation. Filing a regularization application does not automatically suspend prosecution, a closure measure, or demolition proceedings already underway.
The process begins with preparation of the regularization project together with the architect. The architect documents the existing condition, identifies discrepancies, and, where necessary, prepares plans showing the corrective work. The application must reflect the building's actual condition. It is not an ordinary building permit application submitted as if construction had not begun. At the service desk, the common term is “compliance file” or “taswiya,” but the application must legally correspond to the regularization permit provided for by Article 40 of Law No. 12-90.
The application is generally filed through the one-stop service for urban planning authorizations and, in connected municipalities, through the Rokhas digital platform. The professional uploads the plans, land ownership documents, and forms, and then receives a file number. Certain original documents may still be requested for verification. Insist on a dated receipt: without proof of filing, it will be difficult to challenge a delay or implicit refusal. Reception practices vary, but an informal intermediary cannot replace either the platform or the legally established service desk.
The municipality coordinates the review with the urban agency and the departments consulted according to the location: the local authority, Civil Protection, utility network operators, heritage services, or the public works department. The urban agency primarily checks compliance with the urban planning document. Its opinion carries decisive weight, and the municipality cannot lawfully issue an authorization contrary to enforceable rules. A committee may request corrections, a stability study, removal of part of the building, or information on access, sanitation, and parking.
If reservations are formally notified, the architect files amended plans within the specified period. Respond point by point and in writing, without altering the building until authorization for the corrective work has been issued. Where the construction can be legalized subject to conditions, the decision may require prior compliance work. An inspection visit then verifies completion. Only after approval, payment of the applicable charges, and completion of the formalities may the president of the municipal council issue the regularization permit.
No single period of three or six months can be guaranteed for every application. Regulatory time limits depend on the category of application, the review process established by the General Building Regulations, and the requested additional documents. In practice, as observed in 2025-2026, preparation often takes four to eight weeks and the complete review three to twelve months, or longer in the event of a land dispute or corrective work. Consult the official list of procedures on Idarati, the municipal regulations, and Rokhas tracking rather than relying on a timeframe stated orally.
Once the permit has been obtained, retain the decision, the plans bearing the approval stamp, receipts, and any compliance inspection report. The regularization permit does not automatically update the land title or the property's registered physical description with the ANCFCC. An additional land registration procedure may be required with a land surveyor, notary, or adoul, depending on the property's status. Likewise, occupancy of the building may require an occupancy permit or certificate of conformity under the conditions set out in Article 55 of Law No. 12-90.
The precise list of documents is published by the municipality, on Rokhas or in the list of administrative acts adopted pursuant to Law No. 55-19 on the simplification of administrative procedures and formalities. It depends on the type of building and the legislation applicable at the time of filing. A standard application includes the signed application form, identity document, proof of rights over the land, information sheet, architectural plans of the existing building and the compliance proposal. The municipality should not arbitrarily request a document unrelated to the published procedure.
For registered land, provide a recent certificate of ownership and the corresponding plan. For unregistered property, the authorities may request the melkia, deeds of transfer, an administrative certificate or other evidence identifying the applicant and the parcel. In the event of inheritance, add the deed of inheritance and the necessary powers of attorney. In cases of joint ownership, a clear power of attorney prevents the application from being blocked for lack of standing. A promise of sale or private receipt is not always sufficient to establish a right entitling a person to apply for the permit.
The technical component generally includes the location plan, site plan, plans for each floor, sections, elevations, floor-area schedule and dated photographs. A topographic survey is useful when the boundaries, setbacks or building footprint are disputed. Depending on the condition of the structure, the authorities may require a stability certificate, structural calculations or an expert assessment prepared by a qualified engineer. The architect must graphically distinguish the parts to be retained, those to be altered and those proposed for demolition.
Add all documents tracing the property’s history: previous permit, approved plans, occupancy permit, infringement report, formal notice, court decision and receipts for payments already made. These documents help determine whether the building is entirely unpermitted or merely non-compliant. Keep a complete digital copy and an itemized list of the documents filed. Never surrender the only original of a melkia or judgment without obtaining a receipt. A falsified document exposes its author to criminal prosecution and may seriously compromise the regularization process in the long term.
There is no single national charge called a “regularization fine” that automatically resolves every case of construction without a permit. Four types of costs must be distinguished: professional fees, municipal taxes or charges, compliance work and any criminal fine. The latter is imposed by the court when proceedings are brought. For construction without a required permit, Article 71 of Law No. 12-90 provides for a fine of 10,000 to 100,000 dirhams. The precise classification of the offence and the amount imposed depend on the established facts.
The tax on construction operations is now governed by Law No. 07-20 amending and supplementing Law No. 47-06 on local authority taxation. It is calculated according to the covered floor area and the rate established in accordance with the construction category and the applicable resolutions. Amounts therefore vary from one municipality and project to another. In 2026, request a written estimate from the municipality’s tax assessment department. Old tables found online, sometimes quoting amounts between 20 and 300 DH per square metre, must not be used without verification.
The architect’s fees are freely negotiated and must be agreed in writing. Based on market practices observed in 2025-2026, a straightforward application for a detached house often costs between 8,000 and 25,000 DH excluding tax. This range is not an official fee scale: it varies according to the floor area, number of floors, absence of previous plans and travel requirements. A topographic survey may cost approximately 3,000 to 10,000 DH, while a structural assessment may cost from 5,000 to 30,000 DH or more for a complex building.
Corrective work is often the largest cost item. Demolishing a floor, restoring a courtyard, strengthening columns, creating access or bringing utility networks into compliance may cost more than the administrative application. Before starting, ask the architect for a realistic plan of action and obtain several quotations. No payment to an official or intermediary replaces a receipt issued by the municipal revenue office or a traceable payment through the platform. A purported “taswiya” paid without a written decision confers no rights.
For a straightforward house requiring no major work, the professional and administrative budget may start at approximately 15,000 to 40,000 DH, excluding any court-imposed fine. With an expert assessment, topographic survey and construction work, it may exceed 100,000 DH. These figures are estimates based on 2025-2026 practice, not guaranteed rates. A simultaneous transfer, land registry correction or termination of joint ownership entails separate charges. The registration duties payable on a sale must not be presented as a cost specific to the regularization permit.
The officers authorized under Articles 64 et seq. of Law No. 12-90 may record the offence and forward the official report to the competent authorities and the Public Prosecutor’s Office. If the work continues, a stop-work order may be served and the materials or equipment may be subject to the measures provided for by law. The owner must obtain a copy of the official report and each decision. Refusing to sign does not necessarily invalidate service. Continuing construction despite the order received greatly increases the criminal and administrative risks.
Restoration or demolition may result from the administrative powers established by law or from a decision of the criminal court hearing the offence. Depending on the dispute, the Court of First Instance rules on the criminal proceedings, while the Administrative Court reviews the legality of an administrative order or decision. This distinction matters: challenging the fine before the criminal court does not replace an action against the administrative act, and vice versa. The lawyer must therefore carefully review the author, date and legal basis of each document.
The claim that “after four years, no one can demolish the building” is dangerous. The four-year period refers, in particular, to the general limitation period for prosecuting misdemeanours under Article 5 of the Code of Criminal Procedure, subject to interruptions and specific rules. The point from which it runs depends on whether the offence is instantaneous or continuing and on the procedural steps taken. It does not convert an unlawful building into an authorized one and does not eliminate an occupation of public property, an easement or a final demolition decision.
If demolition is ordered, comply with the stated appeal period and promptly request the administrative file. An application to the Administrative Court does not automatically stay enforcement. In urgent circumstances, an application for interim suspension may be considered together with the substantive proceedings, but the judge requires genuine urgency and a serious legal ground. When demolition is carried out by the authorities, the costs may be recovered from the offender under the conditions prescribed by law. A last-minute regularization application does not, by itself, provide protection.
Serious grounds of defence include the authority of the person issuing the act, the validity of the official report, service, the statement of reasons, precise identification of the parcel and the proportionality between the measure and the work that is actually unlawful. They do not consist of denying the visible existence of the building. If only an extension is unlawful, it is necessary to verify whether the order correctly targets that part or the entire house. An expert assessment, a bailiff’s report and dated images may be decisive.
In a rural area, the absence of an urban development plan does not mean that construction is unrestricted. It is necessary to verify the territorial scope of Law No. 12-90, the rural settlement development plan, the agricultural designation, easements and municipal rules. A dwelling associated with an agricultural operation is not treated in the same way as a residential subdivision project. In peri-urban areas, zoning classifications sometimes change rapidly; only information issued by the competent authorities can establish the rules enforceable on the filing date.
When a house without a permit is inherited, the heirs receive the property together with its administrative status. The builder’s death does not grant any retroactive permit. The deed of inheritance must be established, all beneficiaries identified and the person responsible for the application appointed. If some heirs live abroad, a power of attorney executed before a Moroccan consulate or in a form accepted for foreign instruments may be required. A disagreement over the division of the estate may sometimes have to be resolved before compliance work begins.
The sale of a house that has not been regularized is not automatically void, but it is legally and financially risky. The notary, adoul or lawyer responsible for the deed must describe the situation and verify the available documents. A bank may refuse financing in the absence of a permit, approved plans or an occupancy permit. The buyer may also rely on contractual warranties if the seller concealed the irregularity. The prudent solution is to regularize before the sale or draft precise conditions precedent, without presenting the outcome as certain.
In the event of refusal, require a written and reasoned decision. Law No. 03-01 requires reasons to be provided for several types of adverse administrative decisions, while Law No. 55-19 governs the simplification and publication of procedures. An informal administrative appeal may be submitted to the president of the municipal council, and an administrative appeal to the competent authority depending on the author of the refusal. The filing receipt, plans, opinion of the Urban Agency and a technical response to each ground must be attached. A corrected new application is sometimes more effective than litigation.
An application for annulment falls within the jurisdiction of the Administrative Court pursuant to Articles 20 and 23 of Law No. 41-90. The standard time limit is sixty days from publication or service of the decision, subject to the rules governing prior administrative appeals and administrative silence. Do not assume that silence automatically constitutes refusal in every case: Law No. 55-19 refers to lists of decisions subject to specific rules. The territorial jurisdiction of the court depends on the authority and place concerned.
A lawyer can usefully intervene even before a refusal when an official report exists, the land is jointly owned, the Urban Agency asserts an easement or demolition is announced. The lawyer reviews the legislation, obtains the documents, coordinates the analysis with the architect and chooses between regularization, modification of the project and legal proceedings. Before the court, the lawyer may seek the annulment of an unlawful refusal or an urgent measure, but cannot guarantee the outcome. The authorities retain their power to review the application after any annulment: the judge does not always grant the permit directly.
Need a Real Estate Law lawyer?
Browse verified profiles near you
Directory of specialized lawyers in Morocco
An unauthorized building requires a combined review of the land title, planning regulations, plans and any official reports. Consult a lawyer practising real estate and planning law on AvocatLib.
Consult a planning lawyerKey steps to secure your property purchase in Morocco. Due diligence, sales agreement, and notarial deed.
10 min readReal EstateYour rights as a tenant in Morocco: lease, rent increase, eviction, and legal remedies.
9 min readFamilyEverything you need to know about divorce procedures in Morocco: types of divorce, steps, required documents, and timelines.
15 min read