What is a certificate of habitability and is it mandatory?

What is a certificate of habitability and is it mandatory?
Yes, it is compulsory in most autonomous communities to sell, rent or connect basic utilities. The certificate of habitability is an administrative document certifying that a property meets the minimum technical requirements of health, hygiene and safety to be inhabited by people in accordance with current regulations.
What does the certificate of habitability regulate and what types exist?
This technical certificate confirms that a property meets the architectural and hygienic conditions for residential use. A qualified professional, such as an architect or technical architect, must carry out a visual and instrumental inspection of the property to verify parameters such as minimum usable floor area, ceiling height, natural ventilation, lighting and provision of basic utilities.
Depending on the age of the property and any work carried out on it, there are three types of certificate:
- First occupancy certificate: issued for newly built homes upon completion of construction.
- Second occupancy certificate: corresponding to existing properties that have already been inhabited and require document renewal after its validity period expires.
- First occupancy certificate for refurbishment: mandatory for properties where structural renovations, layout changes or conversions from commercial to residential use have been carried out.
Where and when is a certificate of habitability mandatory?
The mandatory nature of this document varies depending on the location of the property. Given that housing powers fall under the jurisdiction of the autonomous communities, each region sets its own legal requirements.
Regions such as Catalonia, the Balearic Islands, Asturias, Cantabria, La Rioja, Murcia and the Valencian Community strictly require a valid certificate of habitability to complete three main procedures:
- Grant public title deeds for sale and purchase before a notary.
- Formalise a legal tenancy agreement for the property.
- Connect basic utilities such as water, electricity and gas with utility companies.
Conversely, in communities such as Andalusia or Galicia, the application process for this regional certificate has been unified within municipal first or second occupancy licences managed directly by each local council.
Impact of the certificate on mortgage approval
When applying for finance to acquire a property, banking institutions require the property to be fully regularised in compliance with town planning regulations. The existence of a certificate of habitability or equivalent municipal licence is essential during the property valuation phase.
During the official valuation, if the valuer detects that the property lacks this document or fails to meet the criteria to obtain it, the valuation report will include legal warnings. This usually prevents banks from approving the financial transaction, as lenders do not grant mortgage loans on properties that are not legally recognised as suitable for residential use.
If you wish to properly coordinate the property valuation with your loan application, you can rely on the specialised support of our intermediarios de crédito inmobiliario to manage technical and mortgage procedures with banking institutions.
Technical requirements to obtain the certificate
For the technical inspection to be successful and for the local authority to grant the document, the property must meet a series of general regulatory standards:
- Dimensions and layout: having a minimum usable floor area and defined rooms for sleeping, hygiene and food preparation.
- Ceiling height: maintaining a minimum floor-to-ceiling height, usually set at 2.50 metres for main living areas.
- Light and ventilation openings: having external windows in bedrooms and living rooms to ensure adequate air renewal and natural light.
- Utilities and installations: having an internal mains water supply, sewage disposal, safe electrical installation and kitchen facilities.
The case of Social Housing (VPO) in the Comunidad de Madrid
In the field of Social Housing (VPO) in the Comunidad de Madrid, proving habitability status follows a specific administrative procedure.
In the Comunidad de Madrid, validating the technical habitability conditions for protected housing is not done through the standard second occupancy certificate. Instead, the legal document certifying compliance with hygiene, technical and quality requirements in a VPO in the Comunidad de Madrid is the Calificación Definitiva issued by the regional Directorate-General for Housing. This administrative certificate carries the same legal weight as the habitability certificate for as long as the property remains subject to the public protection regime.
Legal proof of habitability according to property regime in the Comunidad de Madrid
Comparison between the required certifying document under the general regime versus the public protection regime in the Comunidad de Madrid.
| Protection regime | Certifying document | Issuing entity |
|---|---|---|
| Publicly Protected Housing (VPO) | Calificación Definitiva | Competent Directorate-General for Housing of the Comunidad de Madrid |
| Free-market housing | Municipal occupancy licence or responsible declaration | Town hall of the municipality where the property is located |
Protection regime
Publicly Protected Housing (VPO)
Certifying document
Calificación Definitiva
Issuing entity
Competent Directorate-General for Housing of the Comunidad de Madrid
Protection regime
Free-market housing
Certifying document
Municipal occupancy licence or responsible declaration
Issuing entity
Town hall of the municipality where the property is located
Regulated under Law 6/1997 of the Comunidad de Madrid and Law 38/1999 on Building Regulation.
Application procedure and validity period
Obtaining a certificate of habitability requires hiring a registered surveyor or architect to inspect the property. Once satisfied that the flat meets all requirements, the professional issues and endorses the technical habitability report.
Subsequent to this, the application is submitted alongside the technical report, owner identification and proof of payment of administrative fees to the autonomous community or local council. The authority processes the application and issues a decision within a period that typically ranges between two weeks and a month.
The validity of the certificate of habitability varies depending on regional regulations, but generally ranges between 10 and 15 years. Once this period has elapsed, a renewal must be processed through a new technical inspection to continue carrying out sales, lettings or transfer of ownership with utility companies.