The habitation licence when selling in Spain: cédula, occupation licence or declaration
Spain has no single national habitation licence. Each region decides which document shows that a home is fit to live in, what it is called and when you need it. Catalonia and the Balearic Islands use a cédula de habitabilidad. The Valencian Community uses the town hall's occupation licence, which must be renewed for a resale once it is ten years old. Andalusia and Murcia use a declaration filed with the town hall. Whatever its name, utility companies must ask for it, and in Catalonia the notary must ask for it before the sale is signed.
This guide explains which regions need what as of November 2026, why buyers ask for it, how to get one and what happens if you sell without one. Your lawyer will confirm what your notary and your town hall need.
The words you will hear
- Cédula de habitabilidad. A certificate that a home meets minimum living standards. Issued by the regional government in Catalonia and by the island councils in the Balearic Islands.
- Licencia de primera ocupación. The town hall's licence when a new building is finished, confirming it matches the building licence.
- Licencia de segunda ocupación. A renewal of the occupation licence for an existing home, used in the Valencian Community and elsewhere.
- Declaración responsable. A signed declaration filed with the town hall, often with a technician's certificate, that replaces a licence in some regions and takes effect when it is filed.
National law ties them together in one place. Under article 28 of the Land and Urban Rehabilitation Law, a notary recording a finished new building asks for the permits showing it is fit for its intended use, or proof that the declaration was filed where the region uses one.
Which regions need what
| Region | Document | When it matters on a sale |
|---|---|---|
| Catalonia | Cédula de habitabilidad, from the Generalitat | Needed for any sale. The notary must check it and hand it to the buyer |
| Balearic Islands | Cédula de habitabilidad, from the island council, or the occupation licence where it replaces it | A copy goes with the sale. If there isn't one, the contract or deed must say so |
| Valencian Community | Occupation licence, renewed by a declaración responsable | Must be renewed for a second or later sale once ten years have passed since the first licence |
| Andalusia | Occupation licence or declaración responsable, at the town hall | Needed for new utility contracts. No cédula |
| Murcia | Cédula or second occupation document, by declaration to the town hall | OCU says it is needed. Ask the town hall which document applies |
| Canary Islands | Notice of first occupation with a technician's certificate | OCU says the rules changed in 2019. Ask your town hall which document applies |
Among the other regions, the consumer body OCU says Navarra, Extremadura, La Rioja and Asturias also require a cédula in some form.
Why buyers, notaries and utility companies ask for it
Utility companies. In most of the regions where overseas owners buy, the law tells electricity, water, gas and telecoms companies to ask for the document before signing a definitive contract. Catalonia's housing law, the Balearic housing law, the Valencian building quality law and Andalusia's planning law all say so. A buyer who cannot put the supplies in their own name has a real problem, so their lawyer will ask for it.
Notaries. In Catalonia, the housing law tells notaries to require a valid cédula before authorising a sale. In the Balearic Islands, the housing law requires the deed to include a copy or say there isn't one.
Buyers' banks. If your buyer needs a mortgage, the bank may also ask about it as part of its checks, so have it ready.
Catalonia: the cédula de habitabilidad
The Catalan housing law says any sale, rental or transfer of use, including second and later sales, must be backed by a valid cédula. The second-occupation cédula used for most resales lasts 15 years, and one for a new home lasts 25, according to the region's habitability decree as summarised by OCU.
To renew it, an architect or technical architect inspects the home and signs a habitability certificate, which is valid for 12 months. The Generalitat says the owner, an administrator or an authorised representative can apply. As of November 2026 its fee is €14.65 per home online or €20.90 in person, and it must notify its decision within 30 working days of a complete application. More in selling a property in Catalonia.
The Valencian Community: the second occupation licence
The building quality law says that once ten years have passed since the first occupation licence, it must be renewed when the home is sold a second or later time, or when a new water, gas or electricity contract is signed. A home that never had one needs one in the same cases. Under the region's planning law, the TRLOTUP, this is now done by a declaración responsable filed with the town hall, with a technician's certificate that the home still meets the conditions of its original licence. Once filed with the right documents, it has the effect of a licence. More in selling a property in Valencia and selling a property on the Costa Blanca.
Andalusia: a declaration, or the AFO
Andalusia does not use a cédula. Under article 138 of its planning law, occupying a finished building that had a licence or declaration for its works, or an existing building on urban land that complies with the plan and has had no works, is covered by a declaración responsable filed with the town hall. Supply companies must ask for the occupation licence or that declaration before a definitive contract.
For homes built irregularly where the time limit for the town hall to act has passed, the law treats the town hall's AFO decision the same way for utility contracts. See selling a property in Almería and selling a property on the Costa del Sol.
How to get one
- Find out what your region and town hall require. Your lawyer or the town hall's planning office can tell you, and whether yours is still valid.
- Instruct a qualified technician, usually an architect or technical architect. They inspect the home and sign a certificate.
- Apply or file. The application or declaration goes to the Generalitat in Catalonia, the island council in the Balearic Islands, or the town hall elsewhere, with the fee.
- Give a copy to your lawyer for the notary and the buyer.
Start before you have a buyer. If the technician finds an extension, a converted garage or a pool that was never licensed, the document may be refused or may carry a warning, and you will want time to deal with it. A Catalan cédula, for example, only confirms the technical standards. It does not make the building legal in planning terms.
Selling without one
What happens depends on the region.
- Catalonia. The buyer can expressly release you from providing the cédula only if the home will be demolished, renovated with a technician's report showing it can get a cédula afterwards, or not used as a home.
- Balearic Islands. You can sell, but the contract or deed must say expressly that there isn't one.
- Valencian Community. The law requires the renewal for a resale of an older home, so expect the buyer's lawyer to insist on it.
- Andalusia. A home with no occupation document cannot get definitive utility contracts, which most buyers will not accept unless the price reflects it.
What it means for price and buyers. A buyer who needs a mortgage, or who wants to move straight in, will usually want the document in place. Some cash buyers will consider a home without one, especially one they plan to renovate. Cash buyers usually offer less than the asking prices on the property portals, and a missing certificate tends to lower offers further. If you have time, getting the document first and selling through an estate agent is likely to get you more.
Your House Bought's cash buyer panel is one way to see what cash buyers would offer, alongside an agent if you like. There is one fixed fee, confirmed in writing first: €299 to list the property with the panel. There is no exclusive listing, and every offer is passed to you in writing for you alone to decide. The other papers you will need are in documents needed to sell a property in Spain.
Questions people ask
Is a habitation licence required to sell a property in Spain?
It depends on the region. Catalonia requires a valid cédula de habitabilidad for every sale, and the notary must check it. In the Balearic Islands a copy goes with the sale, or the contract must say there isn't one. In the Valencian Community the occupation licence must be renewed for a resale once it is ten years old. Elsewhere it is mainly needed for utility contracts.
What is the difference between a cédula and a licencia de primera ocupación?
A cédula de habitabilidad is issued by the regional government or an island council and confirms a home meets minimum living standards. A licencia de primera ocupación is issued by the town hall when a new building is finished and confirms it matches its building licence. A second occupation licence or declaration covers later occupations. Which one you need depends on the region.
Can I sell a property in Spain without a habitation certificate?
Sometimes. In Catalonia the buyer can expressly release you from providing the cédula only if the home will be demolished, renovated with a technician's report, or not used as a home. In the Balearic Islands the deed or contract must state that there isn't one. Without the document the buyer may be unable to sign new utility contracts, so expect it to affect the price.
Who issues the habitation certificate and how long does it take?
In Catalonia the Generalitat issues the cédula and must decide within 30 working days of a complete application. In the Balearic Islands the island council issues it. In the Valencian Community and Andalusia the town hall deals with occupation. In each case a qualified technician, usually an architect or technical architect, inspects the home first and signs a certificate.
Sources
- Ley 18/2007 del derecho a la vivienda de Cataluña, articles 26 and 132 (Boletín Oficial del Estado)
- Cèdules d'habitabilitat (Generalitat de Catalunya, Habitatge)
- Ley 5/2018 de la vivienda de las Illes Balears, article 16 (Boletín Oficial del Estado)
- Ley 3/2004 de Ordenación y Fomento de la Calidad de la Edificación, Comunitat Valenciana, articles 32 to 34 (Boletín Oficial del Estado)
- Decreto Legislativo 1/2021, texto refundido de la Ley de ordenación del territorio, urbanismo y paisaje, articles 233 and 241 (Boletín Oficial del Estado)
- Ley 7/2021 de impulso para la sostenibilidad del territorio de Andalucía, articles 138, 142 and 174 (Boletín Oficial del Estado)
- Real Decreto Legislativo 7/2015, Ley de Suelo y Rehabilitación Urbana, article 28 (Boletín Oficial del Estado)
- Cédula de habitabilidad: comunidades que la exigen para vender, alquilar o dar de alta suministros (OCU, March 2026)
Related guides
Documents needed to sell a property in Spain: a seller's checklist
To sell a property in Spain you need your title deed, a nota simple from the Land Registry, an NIE and passport for every owner, an energy performance certificate, the latest IBI receipt and, in a community, a certificate of your community fees. Some regions also require a habitation licence or cédula. A mortgage, an inheritance or a seller who cannot attend the notary each add a document.
Your situationSelling a property in Catalonia: the rules on the Costa Brava, the Costa Dorada and in Barcelona
Selling a property in Catalonia follows Spain's national steps, but Catalonia adds rules of its own. Almost every sale needs a valid cédula de habitabilidad, older blocks need a building inspection certificate, tourist lets in 262 listed towns need a planning licence, and the Generalitat has a right of first refusal in some sales. Taxes on the gain are national and the plusvalía is set by the town hall.
Your situationSelling a property in Valencia: the rules in the city and the province
Selling a property in Valencia follows Spain's national steps, plus Valencian rules. If your home's occupation licence is more than ten years old, it must be renewed for the sale, now by a declaration filed with the town hall with a technician's certificate. Tourist lets need a town hall planning report and registration with the Generalitat. Tax on the gain is national.
General information about selling property in Spain, not legal, tax or financial advice. Rules and rates change and differ between regions, so check with a Spanish lawyer or tax adviser. Last checked 25 November 2026.