EN
Legal documentation

Habitability certificate in Catalonia

Without it, you can't sell, rent or activate utilities for a dwelling. We explain what it is, how long it lasts, how to get it and what to check when buying in Barcelona.

📖 Reading: 9 min 🗓️ Updated: 2026 📋 Catalonia · Barcelona city

The habitability certificate is one of those documents nobody looks at until it's missing — and then it becomes a problem that stops a sale or prevents activating electricity. In Catalonia it's mandatory, unlike regions such as Madrid, so if you buy or sell in Barcelona you'll need to know about it.

What the habitability certificate is

The habitability certificate is an official document that proves a dwelling meets the minimum habitability conditions to be used as a residence: minimum surface area, ventilation, basic equipment (bathroom, kitchen), ceiling height, etc. In Catalonia, those conditions are set by Decret 141/2012 and the certificate is issued by the Agència de l'Habitatge de Catalunya.

It doesn't certify the condition or value of the flat: only that it's fit to live in according to the legal minimums.

When is it mandatory?

In Catalonia the certificate is required to:

Difference with Madrid

The habitability certificate exists in Catalonia, Valencia, Balearic Islands, Murcia, Asturias, Cantabria, La Rioja, Navarre and Extremadura. In Madrid it doesn't exist as such: its function is fulfilled by the first occupation licence. That's why, when buying in Barcelona, you do need to ask for it.

Types and validity

There are three types of certificate, with different validity:

TypeFor whatValidity
First occupationNew, recently built dwelling25 years
First occupation of rehabilitationDwelling resulting from a rehabilitation or change of use25 years
Second occupationUsed / existing dwelling15 years

Most second-hand flat sales in Barcelona involve a second occupation certificate, with 15 years validity. When it expires, it must be renewed with a new inspection.

How to get it and what it costs

The process:

  1. You hire a technician (architect or quantity surveyor) who visits the dwelling and verifies that it meets the habitability conditions.
  2. The technician issues a habitability certificate.
  3. It's submitted to the Agència de l'Habitatge de Catalunya (or partner entities), which issues the certificate.

Indicative cost: the technician's certificate ranges around €80–200 depending on the dwelling, plus an administrative fee. The issuance period is usually from a few days to a few weeks.

What happens if you don't have it

If the dwelling doesn't have it because it expired, processing a new second-occupation one is usually enough. If it can't get one because it doesn't meet the minimum conditions (e.g. a commercial space or a flat with serious deficiencies), there's an underlying problem to resolve first.

Warning sign when buying

If the property can't get a habitability certificate, ask yourself why. It may be a commercial space sold "as a dwelling" without legally being one, or a flat with serious deficiencies. It's exactly the kind of thing to detect before the deposit agreement.

Certificate vs first occupation licence vs energy certificate

These are three different documents and, in a Barcelona sale, you may need all three.

What to check when buying

Before signing the deposit agreement for a flat in Barcelona:

Is the flat listed as a dwelling? Check it free

Our analyzer tells you the cadastral use of the property (dwelling, commercial space, etc.), the year, ITE status and more, from the address. A first filter before requesting the certificate. No registration.

Analyze my flat →

Frequently asked questions

How long does the habitability certificate last?

The second occupation one (used dwelling) lasts 15 years; the first occupation and rehabilitation ones, 25 years. When it expires it must be renewed with a new inspection.

Who pays for the certificate when selling?

Usually the seller, who must hand it to the buyer. Something else may be agreed, and the buyer can even waive receipt in writing in specific cases, but the norm is for the seller to provide it.

Can I activate electricity without the certificate?

For a new activation, companies require it in Catalonia. If there's already an active contract that's transferred, it may not be needed at that moment, but for a new or reactivated dwelling, yes.

Does the certificate guarantee the flat is in good condition?

No. It only certifies minimum habitability conditions. The building's condition is evaluated by the ITE, and pathologies such as aluminosis require specific inspection.

I'm buying a commercial space to live in, will it have a certificate?

A commercial space doesn't have a habitability certificate while it's a commercial space. To live in it legally a change of use to dwelling is required, which demands meeting habitability and urban planning requirements. Verify the cadastral use before buying.

Editorial notice. This guide compiles the framework of the habitability certificate in Catalonia (Decret 141/2012 and Agència de l'Habitatge de Catalunya regulations) known on the update date (2026). Validity periods, fees and requirements may change due to later regulation. Listing Barcelona is an editorial, independent platform; this guide is informational and doesn't replace official verification or a qualified technician's opinion.

🤖 This content was created through our own editorial research and artificial intelligence tools, under human supervision and review. Learn more.