It is the certificate that says a home is legally fit to live in — and without it you may not be able to connect the water, complete a sale, get a mortgage or licence a holiday let. Here is what the cédula de habitabilidad and licence of occupation actually are, why the name changes from region to region, and how to obtain or renew one.
The cédula de habitabilidad — in English usually called the certificate of habitability, occupation certificate or habitation certificate — is an official document confirming that a dwelling meets the minimum standards required to be lived in. It certifies that the property has adequate surface area, ceiling heights, ventilation, natural light, running water, sanitation and basic services, and that it complies with the conditions a home must satisfy to be legally occupied as a residence. It says nothing about who owns the property, what it is worth, or whether the building is structurally perfect; it simply confirms that the dwelling is habitable in the legal sense.
Many foreign buyers meet this document for the first time when they try to put the electricity or water into their own name and the utility company asks for a "cédula" or a "licencia de ocupación" they have never heard of. That is the moment the certificate stops being an abstraction and becomes a practical obstacle. It is one of the small pieces of paper that quietly decides whether a Spanish home functions as a home — and whether you can sell it on without friction when the time comes.
The same idea wears a different name in each region — which is exactly why so many owners and buyers get confused.
The term used in regions such as Catalonia, the Valencian Community and the Balearic Islands. Here the document is a standalone habitability certificate, often issued by the regional government on the basis of a technician's certificate, and renewed periodically.
In Andalucía, Murcia and other regions the equivalent control is a municipal licence — the licencia de primera ocupación (first occupation, LPO) or licencia de segunda ocupación (second occupation). It is granted by the town hall rather than the regional government, but performs the same gatekeeping role.
Some regions have moved away from a single named certificate and rely instead on other documents — a declaration of habitability, the first occupation licence kept on the town-hall file, or equivalent municipal records. The label varies; the underlying question — "is this home legally fit to occupy?" — does not.
The practical lesson is that the word on the form matters far less than the function. Whether the document is called a cédula de habitabilidad, a licencia de primera ocupación, an LPO or a certificate of second occupation, what a buyer, a notary, a bank or a utility company is really asking is the same: has the relevant authority confirmed this dwelling can lawfully be lived in? Because the rules, the issuing body and even the validity period differ by autonomous community and sometimes by municipality, advice on a specific property always has to start with where it is.
For a great many owners the cédula de habitabilidad sits unnoticed in a drawer for years, because it is only when you try to do something with the property that its absence bites. The certificate is the key that unlocks a series of everyday transactions, and a property without a valid one can become quietly unusable in ways that are expensive and frustrating to discover at the worst possible moment.
The most immediate trigger is utilities. To contract mains water and electricity — or to put existing supplies into a new owner's name — the supplier will usually require a valid cédula or occupation licence. Without it you may be unable to open new supply contracts at all, leaving a perfectly built home without power or water on paper. The certificate is also routinely demanded when you come to sell: in regions that operate the cédula system, the notary will generally ask to see a valid one before authorising the deed, and a buyer's lawyer will rightly insist on it. It is frequently required by banks before they will grant a mortgage, and in most areas it is a prerequisite for obtaining a tourist licence to run a legal holiday rental. Even for an ordinary long-term let, landlords are commonly required to hold a valid habitability certificate.
Although the issuing authority and the precise paperwork differ by region, the underlying process for obtaining or renewing a habitability certificate follows a recognisable shape. The first and most important step is a technical certificate: a qualified architect or technical architect (arquitecto or arquitecto técnico) inspects the dwelling and certifies that it meets the applicable minimum habitability conditions. This certificate is the foundation of the whole application — without a professional confirming the property complies, there is nothing for the authority to act on.
With the technical certificate in hand, the application is then submitted to the relevant body — the regional government in cédula regions, or the town hall where the control is a municipal occupation licence. Supporting documents typically include proof of ownership or a deed, the property's cadastral details, and in some cases the original building licence or first occupation licence. The authority reviews the application and, where everything is in order, issues the cédula or occupation licence. These certificates are not permanent: they carry a validity period — commonly in the region of ten to fifteen years depending on the autonomous community and the type of property — after which they must be renewed by repeating the process. Renewal of an existing, compliant home is usually straightforward; the complications arise when the property does not actually meet current standards, or when there is no record of it ever having held a certificate.
Discovering that a property has no valid habitability certificate is unsettling, but it is not automatically a disaster — what matters is why it has none. In many cases the property is perfectly habitable and simply never had a certificate renewed, or the certificate expired and nobody noticed because the utilities were already connected. Where the dwelling genuinely meets current standards, the solution is usually to commission the technical certificate and apply for a new cédula or occupation licence in the ordinary way. It is an administrative step rather than a fundamental problem.
The picture is more serious where the property cannot obtain a certificate because it does not comply — for example, a dwelling that was built or extended without the proper licences, a property converted from a use that was never residential, or a rural build that falls outside what the planning rules allow. In those situations the missing cédula is a symptom of a deeper legal problem, and the route forward may involve legalising the works through an AFO or out-of-ordinance legalisation rather than simply renewing a certificate. It is essential not to confuse the two: applying for a habitability certificate on a property that cannot lawfully be a dwelling will not succeed, and can draw attention to an underlying illegal build issue that needs handling properly. The right first step is always to establish which situation you are in.
One of the most common sources of confusion is the relationship between the habitability certificate, the building licence and the AFO regime. They are three distinct things that often get spoken of as if they were interchangeable, and conflating them leads buyers astray. The building licence (licencia de obras) is the permission to carry out construction in the first place — it authorises the works before they happen and confirms they comply with planning rules. The habitability certificate (cédula or occupation licence) comes afterwards and confirms that the finished dwelling is fit to live in. A property can have a valid building licence yet still need its occupation certificate renewed, and vice versa.
The AFO — the certificate or declaration of "assimilated to out of ordinance" status — is different again. It is a mechanism for regularising buildings that were constructed without proper authorisation but can no longer be the subject of planning enforcement because too much time has passed. An AFO acknowledges and stabilises the legal position of an irregular build; it does not by itself certify habitability, and obtaining one does not automatically produce a cédula. For many irregular rural properties the sequence is to resolve the AFO position first and only then, where possible, address the habitability certificate. Because these documents interact in ways that vary by region, and because getting the order wrong wastes money, this is precisely the kind of analysis we untangle before a client commits — whether as part of a purchase or when sorting out a property they already own. It often overlaps with wider title and registry problems that need resolving in the same exercise.
The habitability certificate is one of those documents that is simple in principle and awkward in practice. The principle — a certificate that says a home is legally fit to live in — fits in a sentence, but the consequences run through your ability to connect utilities, sell, mortgage, licence a holiday let and rent, while the name, the issuing body and the validity period all shift from region to region. For an English-speaking owner or buyer who is not navigating Spanish town-hall procedures every week, the risk is rarely that the rule is hard to grasp; it is that the missing or expired certificate is easy to overlook until a transaction stalls because of it.
Our role is to make the position clear before it can cost you. For buyers, we confirm whether a valid cédula or occupation licence exists, when it expires and whether it can be renewed, as a standard part of due diligence — and we tell you plainly when a missing certificate is a symptom of a deeper planning problem. For owners, we coordinate the architect or technical architect, prepare the application file and deal with the regional government or town hall to obtain or renew the certificate on your behalf. Where the situation is more complex — an AFO position to resolve first, or an irregular build to address — we untangle the right order of steps so you do not waste money applying for something that cannot yet be granted. With over fifteen years' experience helping expats with Spanish property, our team of bar-registered solicitors and legal specialists acts for English-speaking clients across Spain and explains everything in plain English. We do not work to a fixed tariff for this kind of work; we look at the specific property, tell you what is involved and quote for it, and extras may apply depending on the complexity of your matter.
It is an official certificate confirming that a dwelling meets the minimum standards required to be lived in — adequate surface area, ceiling heights, ventilation, light, water and sanitation. In English it is often called the certificate of habitability, occupation certificate or habitation certificate. It does not deal with ownership or value, only with whether the home is legally fit to occupy.
They perform the same function under different regional systems. The cédula de habitabilidad is used in regions such as Catalonia, the Valencian Community and the Balearics, often issued by the regional government. The licencia de ocupación or licencia de primera/segunda ocupación (LPO) is the municipal equivalent in regions such as Andalucía and Murcia, granted by the town hall. Both confirm a dwelling can lawfully be occupied.
It is the first occupation licence granted for a newly built dwelling once construction is complete, confirming the works match the building licence and that the home is fit to live in. For a new build it is the document that allows utilities to be connected and the property to be occupied for the first time. It is usually obtained by the developer, but a buyer should verify it exists.
A valid certificate is typically required to contract or transfer mains water and electricity, to complete a sale before the notary in cédula regions, to obtain a mortgage, to secure a tourist licence for a holiday let, and to rent the property out legally. Without it, otherwise straightforward transactions can stall.
Usually not for new contracts. To open new water or electricity supply contracts, or to put existing supplies into a new owner's name, the provider will generally require a valid cédula or occupation licence. A property without one can be left unable to contract utilities even though it is physically built.
In regions that operate the cédula system the notary will commonly require a valid certificate before authorising the sale deed, and a buyer's lawyer will rightly insist on it. Even where it is not strictly mandatory, a missing or expired certificate can delay or derail a sale, so it is best resolved before you market the property.
Certificates are not permanent; they carry a validity period that depends on the autonomous community and the type of property — commonly in the region of ten to fifteen years. Once it expires it must be renewed by repeating the process, and an expired certificate is treated for many purposes as though there were none.
The first step is a technical certificate from a qualified architect or technical architect confirming the dwelling meets the minimum habitability conditions. The application, with supporting documents such as proof of ownership and cadastral details, is then submitted to the regional government or town hall, which issues the certificate where everything is in order. Renewal of a compliant home repeats this process.
It depends on why. If the home is compliant and simply never had a certificate renewed, the solution is usually to commission the technical certificate and apply for a new one. If it cannot obtain one because the works were never properly legalised, the missing cédula is a symptom of a planning problem that may require AFO or legalisation rather than a simple renewal.
They are separate documents. The cédula or occupation licence certifies that a dwelling is fit to live in. An AFO (assimilated to out of ordinance) regularises the planning position of a build that was constructed without proper authorisation but can no longer be enforced against. An AFO does not by itself produce a habitability certificate, and the two often have to be addressed in a particular order.
The building licence (licencia de obras) authorises construction before it happens and confirms it complies with planning rules. The habitability certificate comes afterwards and confirms the finished dwelling is fit to occupy. They are granted at different stages and one does not replace the other.
Yes, always. Before signing a reservation or deposit contract, your lawyer should confirm a valid cédula or occupation licence exists, when it expires and whether it can be renewed. Discovering at completion that the certificate is missing or cannot be renewed — particularly where the cause is a planning issue — can block the sale and put a deposit at risk.
Yes. For buyers we confirm the habitability status as part of due diligence; for owners we coordinate the architect, prepare the application and deal with the regional government or town hall to obtain or renew the certificate. Where the situation is more complex we untangle the right order of steps. We act for English-speaking clients across Spain and quote clearly for the specific work involved.
A missing or expired cédula can quietly block a sale, a mortgage or a utility contract — or be put right with the proper steps. We check it, obtain or renew it, and advise buyers before they commit. In plain English, across Spain.
The information on this page is general guidance only and does not constitute legal advice. The rules governing the cédula de habitabilidad, the licence of occupation (licencia de primera and segunda ocupación / LPO) and equivalent habitability documents — including the issuing authority, the documents required and the validity periods — are set out in legislation that changes over time and varies between Spain's autonomous communities and municipalities. Always obtain advice on your specific property and circumstances before acting. Platinum Legal Spain is an independent English-speaking legal practice serving clients across Spain.