The "habitabilidad" (occupancy) or "constancia de terminación de obra" (certificate of completion of works) is the last step of the municipal control of a building project, and several laws connect it with the sale. For a specific case (a project with objections, an undeclared extension) you need a lawyer.
What habitabilidad is under the law
The Ley Orgánica de Ordenación Urbanística (LOOU, the urban planning law; Gaceta Oficial No. 33.868, December 16, 1987) regulates the municipal control of a project as follows:
| Stage | Document | Articles |
|---|---|---|
| Before building | Written notice to the municipality with the project, the certified capacity of public services and the receipts for municipal taxes | 84 |
| Project review | Constancia de cumplimiento de variables urbanas fundamentales (zoning compliance certificate) (use, setbacks, density, height; 30 calendar days for buildings) | 85 and 87 |
| During the works | Municipal inspections, with an acta (record) drawn up on site | 90 and 92 |
| On completion | Certificación de terminación de la obra (completion certificate) and constancia de recepción (acknowledgment of receipt) from the alcaldía (city hall) (10 business days) | 95 |
Under article 95, when the works are finished with no pending objections from the municipality, the responsible professional signs a certificate that they were carried out "en un todo de conformidad con las variables urbanas fundamentales y con las normas técnicas correspondientes" (in full conformity with the fundamental urban variables and the applicable technical standards). The owner also signs it, and it is filed, with the final plans, with the municipal authority for urban planning control, which issues an acknowledgment of receipt within 10 business days. That acknowledgment "será suficiente a los fines de la habitabilidad de la obra" (will suffice for the purposes of the building's occupancy).
If an objection on urban variables or technical standards remains pending, the building "no podrá habitarse" (may not be occupied) until it is corrected. Once the works are finished, objections can only be made once.
In this law, what people on the street call the permiso de habitabilidad (occupancy permit) is the acknowledgment of receipt under article 95.
Homes by builders and developers (2026 law)
The Ley de Promoción y Protección de la Construcción de Viviendas (Housing Construction Promotion and Protection Law; Gaceta Oficial No. 7.071 Extraordinario, August 25, 2026), which amended the 2012 Ley contra la Estafa Inmobiliaria (Law against Real Estate Fraud), does use the name "permiso de habitabilidad". Its article 33 requires the builder or developer to ask the alcaldía and Bomberos (fire department) for the final inspection of the works; Bomberos carries out the final inspection "para que la Alcaldía otorgue el permiso de habitabilidad y documentación técnica definitiva, en un lapso de treinta (30) días" (so that the alcaldía grants the occupancy permit and final technical documentation, within thirty (30) days). Separately, the ministry responsible for housing issues a constancia de culminación de la obra (certificate of completion of the works) (art. 32).
That law does not say how its permit is coordinated with the article 95 acknowledgment; ask at the alcaldía what it issues.
Who issues it and what it usually requires
It is issued by the alcaldía where the works are located, through its urban control office or Ingeniería Municipal (municipal engineering office). None of these laws sets a national list of required documents. Two official examples:
The habitabilidad sanitaria is issued by the Ministerio de Salud, not the alcaldía: they are different documents. Each municipality sets its own fees.
When it is required to sell an apartment
Four laws touch on the subject and they do not say the same thing:
In a resale, article 32 of the Ley de Propiedad Horizontal does not distinguish between first and second sales, but article 97 speaks of primary sales and the 2026 law is aimed at builders and developers. We did not find a rule requiring the habitabilidad to be presented at every resale, nor one ruling it out. Ask at the Registro Público (public registry).
The documento de condominio of a new building
Before selling any apartment, the owner of the building records the documento de condominio (condominium deed) at the Registro, describing the apartments, boundaries, common elements, percentages and liens (Ley de Propiedad Horizontal, art. 26). It is accompanied by the approved architectural plans, certified by the designer (or an authorized professional), who states that the building matches them "de acuerdo al permiso de construcción" (in accordance with the building permit), and by a copy of the reglamento de condominio (condominium bylaws). If the building is mortgaged, the creditor's participation must be recorded in authentic form (art. 27; some transcriptions say "conocimiento" (knowledge) and others "consentimiento" (consent)).
The LOOU (art. 97) adds that, to record the documento de condominio, the plans of the works and the constancia de variables urbanas under article 85 are presented. Neither article includes the habitabilidad among those requirements: the law requires it to sell the apartments. See how condominiums work.
Houses built or extended
Article 97 of the LOOU does not apply to a house outside the propiedad horizontal (condominium) regime. If it is sold by the builder or developer that built it, article 39 of the 2026 law applies. Outside that case, we did not find a national rule requiring the Registro to ask for the habitabilidad to record the sale of a house.
Even so, an extension without permits matters. Renovation counts as starting construction and requires notifying the municipality (art. 84). In addition, the Ley de Registros y Notarías requires every entry to describe the area, the boundaries and the cadastral code (art. 48). Compare the square meters in the document with the real ones and with the cédula catastral.
What to ask the builder or the seller for
The acknowledgment does not end the liability of whoever built the property. The LOOU (arts. 99 and 100) keeps, toward buyers, the liability under article 1.637 of the Código Civil (Civil Code) (ten years from completion, for collapse or danger of collapse due to a construction defect or a defect in the ground) for the engineer, the architect, the urban planner, the builder, the developer and anyone who sells a building they built or had built. We explain it in the guide on hidden defects.