Skip to content
Built Morocco Architecture · Building · Cities
Last verified : 4 October 2026Verified
Building in Morocco · After works

The occupancy permit (permis d’habiter) and certificate of conformity

The end of the site is not the end of the procedure: without an occupancy permit, occupation is prohibited and a sale is fragile.

Updated 17 October 2026 Next review 4 April 2027 Reading 9 min

Short answer

The occupancy permit certifies that the building conforms to the building permit; without it, occupation is prohibited

Provided for in article 55 of Law 12-90, the permis d’habiter is issued by the president of the communal council, on the owner’s request, after a declaration of completion of works and a final inspection (récolement) checking that the works conform to the authorised plans. For a building used for anything other than housing, the document is called a certificate of conformity. Where the works were directed by an architect, his certificate of conformity may replace the inspection. The official building-permit template prohibits using the building before this document is obtained.

The end of the site is not the end of the procedure. Until the occupancy permit is issued, the building is legally unfinished: final network connections, sale and, strictly, moving in depend on it. Many owners forget it because nobody asks for it at the time; they discover it when they sell. This guide describes the procedure under the general building regulation, its deadlines, the faster route through the architect’s certificate, and the errors that block it. It extends the guide on the building permit.

Occupancy permit or certificate of conformity: which applies to you?

In brief

The occupancy permit for residential buildings, the certificate of conformity for other uses. Same procedure, same authority, same effect.

The general building regulation’s purpose includes setting “the form and conditions of filing, examination of applications and issuance of occupancy permits and certificates of conformity” (article 1), both provided for in article 55 of Law 12-90 and both covered by the official templates annexed to the regulation. The occupancy permit authorises the holder “to occupy the building covered by the building permit”; the certificate of conformity authorises him “to use” it. The distinction therefore follows the use: housing on one side, shop, offices, workshop or facility on the other. A mixed-use building may need both.

Why is it indispensable?

In brief

Because the building permit itself prohibits using the building before it is issued, and because connections, sale and letting hang on it.

The template of the building-permit decision annexed to the regulation requires the holder “to send the commune or the one-stop shop for planning permits a request containing a declaration of completion of works with a view to obtaining the occupancy permit or the certificate of conformity” and states: “it is strictly prohibited to use the buildings erected before obtaining the above permit or certificate”. The same template prohibits “connecting the building to the various networks without prior authorisations from the services concerned”, authorisations that in practice rest on the regular completion of works.

For housing groups the regulation is even more explicit: “no sale or letting of a building may take place before the prior obtaining of the occupancy permit or the certificate of conformity”. Médias24 sums up the stake for a private owner: the occupancy permit “certifies that the permit and all standards have been respected, thereby allowing lawful occupation of the building”. Without it, the buyer of an off-plan house or the future buyer of your villa has no official guarantee of conformity.

What does the application look like?

In brief

A request to the president containing a declaration of completion of works, filed at the commune or the one-stop shop against a receipt, with the telecommunications certificate where required.

Article 41 of the regulation provides that the occupancy permit and the certificate of conformity “are issued by the president of the communal council, on the applicant’s request”, and that the file is filed “against a numbered, dated receipt at the registry of the commune concerned or, where applicable, the one-stop shop for planning permits”. It comprises “a request addressed by the applicant to the president of the communal council containing a declaration of completion of works” and “the certificate of conformity of works issued by the competent telecommunications services, in the cases provided for by the laws and regulations in force”.

The completion declaration template, in annex 8, is submitted in three copies. It identifies the declarant, the architect, the specialist engineer and the contractor, describes the works and their location, and contains the following declaration: the works “have been completed since … and the works carried out conform to the authorised plans and to the indications of the building permit and to the rules of the art in force”. The architect’s and engineer’s names are required “where recourse to this professional is compulsory”. The declaration binds its author: a false declaration of conformity exposes him to the sanctions of Law 66-12.

What is the final inspection, and who carries it out?

In brief

A verification visit by a committee of representatives of the prefecture or province and the commune, which compares the building with the “ne varietur” plans and the permit’s indications.

Both documents “are drawn up after the final inspection of works”, which “consists in verifying the conformity of the works carried out with the architectural and technical plans and the indications of the building permit” (article 42). The inspection committee is “composed of the representatives of the prefecture or province [and] the commune”, and the president may add, in an advisory capacity, “any person whose opinion is considered useful”. The comparison is made with the plans bearing the “ne varietur” stamp, the very ones the permit required you to keep on site.

What is checked, concretely: siting and setbacks, heights and number of levels, areas, façades and openings, the use of rooms. Any departure from the authorised plans should have been covered by an amending permit before the end of works; the permit template says so (“any change to the authorised project … must be the subject of a new permit application”), and Médias24 insists: “it is indispensable to file an amending permit before the end of works”.

What are the deadlines?

In brief

Three working days to notify you of the inspection date, fifteen working days to convene the committee, two working days for the minutes and two for the decision. The regulation counts in working days; reality, in weeks.

  1. Filing the completion declaration. Against a numbered, dated receipt, at the commune or the one-stop shop (article 41).
  2. Notification of the inspection date. Within no more than three working days from filing (article 43).
  3. Convening the committee. Sent by the president to the members within no more than fifteen working days from filing (article 43).
  4. Minutes. Drawn up on the annex 7 template and submitted to the president within two working days of the visit (article 44).
  5. Decision. Taken by the president within the same two working days from receipt of the minutes (article 44); the decision follows the annex 8 template.

Added up, these deadlines put the decision under one working month from filing. As for the building permit, article 49 charges the governors with ensuring they are respected. Built Morocco publishes no observed timeline until its Baromètre has collected data; the gaps seen in practice come mostly from inspections that reveal non-conformities and send the file back towards an amending permit or a regularisation.

When does the architect’s certificate replace the inspection?

In brief

Where the architect directed the works. His certificate of conformity, attached to the application, may stand in for the committee’s visit.

Article 45 opens a shorter route: “where the construction works were directed by an architect, the final inspection may be replaced by a certificate from the architect who directed the works, certifying the conformity of the works carried out with the architectural plans and the indications of the permit”. The certificate “is attached to the application file” and follows the annex 8 template. The occupancy-permit template indeed provides for both possible bases: “having regard to the minutes of the inspection committee” or “having regard to the certificate of the architect who directed the works”.

Two points. The text says “may”, not “must”: the commune keeps the option of carrying out the inspection. And the certificate engages the architect’s professional liability, so he will sign it only if the building actually conforms to the plans; that is one reason to entrust site direction to the architect who designed the project, not only the design.

What about an older building that never had an occupancy permit?

In brief

It is the most common situation in inherited houses: an old building permit, sometimes lost, and no occupancy permit. The way out is rebuilding the file, or regularisation, before any sale.

Many houses built in the 1980s and 1990s were lived in without anyone requesting the occupancy permit, because network connections were then made without it. At the sale the notary asks for it, and the heirs discover it is missing. Three routes, depending on the case: if the building permit exists and the house conforms to it, filing a completion declaration, even late, and requesting the inspection is enough; if the permit exists but the house departs from it, the route is an amending permit or regularisation where the zone regulation allows it; if there never was a permit, the regularisation procedure created by Law 66-12 is the only framework, subject to the agreement of the urban agency and the commune president and to the building’s conformity with the rules in force. Start by asking the commune for a copy of the old permit file from its archives: it is often kept there even when the owner has lost it.

What blocks the occupancy permit?

In brief

Departures from the authorised plans, a lapsed permit or one altered without authorisation, unfinished works, unauthorised connections, unpaid taxes.

  • Departures from the “ne varietur” plans: an added level, a moved opening, a reduced setback, a covered terrace. Each needed an amending permit before the end of works.
  • Lapsed permit: if foundations did not start within the year after issuance, the permit is void, and what was built afterwards was built without authorisation.
  • Incomplete works: the completion declaration covers a finished building; external finishes and the fences shown on the plans are part of it.
  • Connections made without the network operators’ authorisation, contrary to the permit.
  • Unpaid taxes and charges, whose clearance conditions issuance.
  • Building without a permit: the occupancy permit presupposes a building permit; an unauthorised building falls under the regularisation procedure created by Law 66-12, where it is possible.

Watch out

A non-conformity found at inspection is not just a refusal: it is also a planning offence. Law 66-12 tightened control and sanctions and provided regularisation permits. Before filing the completion declaration, have the architect check that the building matches the authorised plans; if it does not, file the amending permit first.

What do you do once the occupancy permit is obtained?

In brief

Request the final connections, keep the document with the building permit and plans, and produce it at any sale or letting.

The occupancy permit is the document that closes the building’s administrative file. Keep it with the building-permit decision, the “ne varietur” plans, the inspection minutes or the architect’s certificate, and the tax receipts. Network operators require it for final subscriptions; notaries ask for it at sale; and it remains, for any future buyer, the only official proof that the house was built as it was authorised.

When to consult a professional

The architect who directed the works is the shortcut

If an architect registered with the Order directed the site, his certificate of conformity may replace the inspection: he prepares the completion declaration and the file. If the works depart from the plans, he is also the only one who can say whether an amending permit or a regularisation is feasible. For an older building without an occupancy permit, a planning lawyer is useful before any sale.

Is the occupancy permit compulsory for an individual villa?

Yes. It is provided for in article 55 of Law 12-90 for any residential building, and the building-permit template prohibits occupying the building before it is issued.

Who issues the occupancy permit?

The president of the communal council, on the owner’s request, after inspection by a prefecture-commune committee or on the certificate of the architect who directed the works (articles 41 to 45 of the general building regulation).

How long does the procedure take?

The regulation provides three working days to notify the inspection date, fifteen to convene the committee, two for the minutes and two for the decision. Actual timelines depend mostly on the non-conformities found.

Can I get an occupancy permit if the house differs from the plans?

Not as it stands. The changes needed an amending permit before the end of works; failing that, regularise where possible, then apply again.

What is the difference with the certificate of conformity?

Same procedure and authority; the occupancy permit concerns housing, the certificate of conformity other uses (shop, offices, workshop, facility).

Can I sell a house without an occupancy permit?

For housing groups the regulation prohibits any sale or letting before it is obtained. For an individual house the notary asks for it and its absence weakens the sale badly: the buyer has no official guarantee of conformity.

Sources

  1. Kingdom of Morocco (2013). Decree 2-13-424 of 24 May 2013 approving the general building regulation, articles 41 to 46 and annexes 6 to 8. Bulletin officiel 6174 of 1 August 2013, reproduced by FAOLEX. https://faolex.fao.org/docs/pdf/mor134797.pdf
  2. Aboulfaraj, Z. (2025). Comment obtenir un permis de construire au Maroc ? Médias24, 24 May 2025. https://medias24.com/2025/05/24/comment-obtenir-permis-construire-maroc/
  3. Azmi, I. (2016). Infractions immobilières : les promoteurs haussent le ton. Le360, 28 November 2016. https://fr.le360.ma/economie/infractions-immobilieres-les-promoteurs-haussent-le-ton-97227/