Selling a property with illegal extensions in Spain: what to check and what you can do
You can usually sell a property in Spain that has an extension, pool, enclosed terrace or garage conversion built without a licence. There is no general ban on it. What changes is who will buy, at what price and how much paperwork comes first. The key questions are whether the town hall can still act against the work, whether it can be legalised or at least recorded, and whether you tell your buyer about it in writing.
This guide explains how unlicensed work comes to light, the time limits set by each region, the routes to legalise or register it, and how to sell anyway, as the rules stand in November 2026. Planning law is mostly regional and town halls apply it, so ask a lawyer and a technician about your own property.
What counts as an illegal extension
In Spanish planning terms, the problem is work carried out without the licence or declaration it needed, or that doesn't match what was licensed. Common examples on the costas and islands:
- An extra bedroom, a first-floor room or a roof terrace closed in to make a room.
- A swimming pool, a pool house or a separate guest casita.
- A garage, storeroom or basement turned into living space.
- A porch or terrace enclosed with glass.
- A house on rustic land built bigger than its licence allowed, or with no licence at all.
Some work is minor and easy to put right. Some can never be legalised under the current plan.
How unlicensed work shows up
A property in Spain is described in three places, and when they don't match, someone notices.
| Where | What it shows | Who checks it |
|---|---|---|
| The title deed and the Land Registry | The property as declared in the deed, including the size of any building | The notary and the buyer's lawyer, through a nota simple |
| The Catastro (the property tax register) | Plot and built area, used for the yearly IBI property tax | The notary, who adds a Catastro certificate to the deed |
| The property itself | What is really there | The buyer, their surveyor, and any technician issuing a habitation certificate |
Under the Catastro law, a Catastro certificate describing the property is added to deeds such as a sale. So if the Catastro shows 120 square metres, the deed shows 90 and the house has an extra wing, the buyer's lawyer will ask why.
Habitation certificates can bring problems to light too. In Catalonia, if the technician finds that a home's use may not comply with planning rules, the housing law says this must be written on the cédula and the notary must tell the buyer. See the habitation licence when selling in Spain.
How long the town hall can act: it depends on the region
Each region sets how long the town hall, or a regional agency, has to order unlicensed work to be put right or taken down. After that the order can no longer be made, though in most cases the work is still not legal.
| Region | Time limit after the work is finished | Where there is no limit (examples) |
|---|---|---|
| Andalusia | Six years, or from when outward signs appear if later | Public land, rustic land in the coastal zone, land at real risk of flooding or landslides, green spaces, listed heritage, unlawful plot divisions on rustic land |
| Catalonia | Six years | Public open spaces and roads, and land that must be classed as protected non-developable land |
| Balearic Islands | Eight years | Protected rustic land, catalogued sites, parks, gardens, open spaces and land kept for public use |
| Valencian Community | Fifteen years under the current law. Older work falls under the law in force when it was finished | Non-developable land, green spaces, roads and public land, listed heritage |
The sources are Andalusia's planning law, article 153; Catalonia's planning law, article 207; the Balearic planning law, article 196; and the Valencian planning law, article 255. The Canary Islands, Murcia and the other regions set their own limits, so ask a local lawyer.
Two points matter in every region. The clock starts when the work is completely finished, and the owner may have to prove when that was. The Balearic law, for example, accepts any evidence allowed in court and puts the burden on whoever claims the work is finished. And the limit does not make the work legal. The Valencian law says that once the limit has passed, you still cannot extend, reform or strengthen what was built illegally.
Your options before you sell
1. Legalise the work
If the work complies with the town plan as it stands today, you may be able to apply for a licence for it after the event. A technician prepares the plans, the town hall checks them, and you pay whatever fees and local taxes the town hall charges. This is the cleanest result, but it is only possible where the plan allows what was built.
2. Get it recognised as out of time
Where legalisation isn't possible but the time limit has passed, some regions have a formal recognition. In Andalusia this is the AFO (asimilado a fuera de ordenación), a town hall decision that the building can no longer be ordered down. The law says it is not legalisation, but it lets the building be registered, connected to utilities where only the connection is needed, and repaired without adding floor area or volume. The town hall has six months to decide, and if it doesn't, the application counts as refused. See selling a property in Almería.
3. Record the work in the deed and the Land Registry
Article 28.4 of the national Land and Urban Rehabilitation Law lets you record a building or extension that can no longer be ordered down because the time limit has passed. You sign a deed declaring the work before a notary, with one of the following showing that it was finished on a given date and matches the description:
- A certificate from the town hall or a qualified technician.
- A notarial record describing the property.
- A Catastro certificate.
The registrar checks that no planning proceedings are noted against the property and that the land isn't public, registers the work, and tells the town hall. The town hall must then record the property's planning position and any limits on the registry entry. Our guide to the nota simple explains how to read that entry.
4. Update the Catastro
Owners must declare changes such as new building or extensions to the Catastro. The Catastro gives the deadline as two months from the change, using form 900D or its online service, with a technician's certificate, photographs and plans. Where an owner hasn't declared, the Catastro can start a regularisation procedure, for which it charges a fee of €60 per property as of November 2026. A Catastro entry brings the tax description up to date. It is not a planning licence.
5. Put it back
For small items, such as a glazed-in terrace, removing the work can be quicker and cheaper than any of the above. Take advice first, because the removal itself may need a permit.
Selling anyway
Many properties with unlicensed work do sell. What makes the sale work is honesty and paperwork.
Tell the buyer everything, in writing. Under the Civil Code, a seller answers for hidden defects that make a property unfit for its use, or would have made the buyer pay less, though not for defects that were obvious. A claim must be brought within six months of handing over the property. Lawyers generally advise setting out any planning problem in the contract and the deed, so the buyer knows what they are buying and the price reflects it.
Expect it to shape your buyers. A buyer who needs a mortgage depends on the bank's view of the property and its valuation. Some buyers will not take on planning risk at all. Others, including some cash buyers and people who plan to renovate, will, but they will price that risk in.
Be realistic about price. Cash buyers usually offer less than the asking prices on the property portals, and unlicensed work usually brings offers down further. If the problem can be fixed by legalising or registering the work, and you have time, doing that first and selling through an estate agent is likely to get you more. A cash sale suits owners who would rather not spend months on applications, or whose property can't be put right.
Your House Bought's cash buyer panel is one way to find out what cash buyers would offer for a property as it is. There is one fixed fee, confirmed in writing first: €299 to list the property with the panel. There is no exclusive listing, every offer is passed to you in writing, and whether to accept is your decision alone. The sale is signed in front of a notary with your own lawyer, who should see everything you know about the work. For the other papers a buyer will ask for, see documents needed to sell a property in Spain.
Questions people ask
Can I sell a house in Spain with an illegal extension?
Usually, yes. There is no general ban on selling a property with unlicensed work, but the buyer's lawyer will find it by comparing the deed, the Land Registry, the Catastro and the property itself. What matters is whether the town hall can still act, whether the work can be legalised or registered, and whether you tell the buyer in writing. Expect it to affect the price and the range of buyers.
How long can a Spanish town hall act against an illegal extension?
It depends on the region and the land. As of November 2026 the limit is six years after the work was finished in Andalusia and Catalonia, eight years in the Balearic Islands and fifteen years in the Valencian Community. There is no limit on some land, such as protected rustic or non-developable land, green spaces and public land, and the details differ in each region.
Does putting an extension on the Catastro make it legal?
No. The Catastro is the tax register of properties, and owners have a duty to declare changes to it, generally within two months. Declaring an extension there brings the description and the property tax up to date, but planning legality is a matter for the town hall under the region's planning law. A Catastro entry is not a building licence.
How do I add an old extension to my Spanish title deed?
Where the time limit for the town hall to act has passed, national law lets you record the work in a deed before a notary, with a certificate from the town hall or a technician, a notarial record or a Catastro certificate showing when it was finished. The Land Registry then registers it and tells the town hall, which notes the property's planning position on the record.
Sources
- Real Decreto Legislativo 7/2015, Ley de Suelo y Rehabilitación Urbana, article 28 (Boletín Oficial del Estado)
- Real Decreto Legislativo 1/2004, texto refundido de la Ley del Catastro Inmobiliario, articles 3 and 13 and additional provision 3 (Boletín Oficial del Estado)
- Procedimientos y trámites: declaraciones y regularización catastral (Dirección General del Catastro)
- Ley 7/2021 de impulso para la sostenibilidad del territorio de Andalucía, articles 153, 173 and 174 (Boletín Oficial del Estado)
- Decreto Legislativo 1/2010, texto refundido de la Ley de urbanismo de Cataluña, article 207 (Boletín Oficial del Estado)
- Ley 12/2017 de urbanismo de las Illes Balears, article 196 (Boletín Oficial del Estado)
- Decreto Legislativo 1/2021, texto refundido de la Ley de ordenación del territorio, urbanismo y paisaje, Comunitat Valenciana, articles 255 and 256 (Boletín Oficial del Estado)
- Código Civil, articles 1484 and 1490 (Boletín Oficial del Estado)
- Ley 18/2007 del derecho a la vivienda de Cataluña, article 26 (Boletín Oficial del Estado)
Related guides
The habitation licence when selling in Spain: cédula, occupation licence or declaration
Spain has no single national habitation licence. Each region sets its own document: Catalonia and the Balearic Islands use a cédula de habitabilidad, the Valencian Community an occupation licence renewed after ten years, and Andalusia and Murcia a declaration filed with the town hall. Utility companies must ask for it, and in Catalonia the notary must too. A technician inspects the home to renew it.
Your situationSelling a property in Almería: Mojácar, Vera, Albox and the Almanzora valley
Selling a property in Almería follows Spain's national steps and Andalusia's planning law. Many country houses inland, especially in the Almanzora valley, were built on rustic land without a valid licence. Where the six-year limit for the town hall to act has passed, the owner can ask for an AFO declaration, which allows registration, utilities and repairs but does not make the house legal.
The processSelling a rustic property or finca in Spain: what to check first
Selling a finca in Spain follows the normal sale steps, but rustic land brings extra checks: whether the house was built with a licence, the region's minimum plot size if you sell only part, rights of first refusal for some neighbours, and any water rights. Land classed as rustic for IBI is outside the plusvalía tax. Rules on building and time limits are set by each region.
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.