Property & Conveyancing in Spain

Illegal Builds in Spain — The Risks, and the Real Options

A surprising number of Spanish homes were built, extended or altered without the right licence — sometimes on land where building should never have been permitted at all. If you own one, or are about to buy one, this page explains what "illegal" really means, the enforcement and demolition risk, and the realistic routes to put things right.

Owners & buyersEnforcement & demolition riskRoutes to legalisePlain English
5.0★
Rated on Google
100%
English-speaking team

What Makes a Build "Illegal" in Spain

"Illegal build" is a phrase that gets used loosely, and that imprecision causes a great deal of unnecessary panic — and, just as dangerously, a great deal of false reassurance. In Spanish planning law a property does not become illegal because it looks unusual or because a neighbour disapproves of it. It becomes illegal when it was created, extended or altered without the planning permission and licences that the law required at the time, or in breach of the conditions of a licence that was granted. The label covers a wide spectrum, from a swimming pool added without a permit at one end to an entire villa built on land where no home should ever have stood at the other — and where your property sits on that spectrum changes everything about your options.

The practical reality is that an "illegal build" is rarely a single, obvious thing. More often it is a layer of small irregularities that accumulated over decades: a garage converted into living space, a terrace enclosed to make another room, a casita or storeroom that quietly became a guest annexe, square metres that exist on the ground but not in the records. Each of those can carry its own legal status, and the right response to one is not necessarily the right response to another. That is why a clear, property-specific assessment is the only sensible starting point — before you assume the worst, and before you assume it can be quietly ignored.

The one-sentence version: a build is illegal in Spain when it was constructed, extended or altered without the licence the law required, or against the licence's conditions — and the consequences range from "easily fixed on paper" to "exposed to a demolition order," depending entirely on the land and the circumstances.
The Main Categories

The Different Kinds of Unlicensed Build

Not all illegality is equal. These are the situations we see most often, and they carry very different levels of risk.

01

Built with no licence at all

A home, annexe or outbuilding constructed without ever obtaining the municipal building licence (licencia de obras) and, where required, the first occupation licence. The structure may be perfectly sound, but on paper it was never authorised — which is the root of most legalisation work in Spain.

02

Built exceeding the licence

A licence existed, but the building that went up is bigger or different from what was approved — an extra floor, a larger footprint, a terrace turned into a habitable room. The "extra" is unlicensed even though the original core is legal, and it is the surplus that creates the exposure.

03

On rústico or non-developable land

Construction on land classified as rústico (rural), no urbanizable (non-developable) or protected. Some homes on rural land can be tolerated or partly regularised; others should never have been built. This is where the most serious risk concentrates, particularly on specially protected land.

04

Pools, extensions & alterations

The everyday cases: a swimming pool, a porch, a garage conversion, a glazed-in terrace or a guest casita added over the years without a permit. Individually minor, but collectively they can leave the property's real footprint at odds with what is registered and licensed.

The reason these distinctions matter is that they decide which route — if any — is open to you later. A pool added without a permit on fully urban land is usually a straightforward regularisation. A whole dwelling on specially protected rural land may have no legal route at all and remain permanently exposed. Everything in between depends on the land classification, the local planning rules and how much time has passed. Two properties that look identical from the road can be in completely different legal positions, which is exactly why generic advice — and the reassurance of a seller or agent — is so unreliable here.

How Owners Discover the Problem

Very few owners of an illegal build set out to break the rules. Far more often the illegality was inherited with the property — created by a previous owner, or even a previous-previous owner, long before the current family arrived. The result is that the discovery usually comes as a shock, and almost always at the worst possible moment: when something forces a proper look at the paperwork. By then the irregularity may be decades old, and the people responsible for it are long gone.

The most common triggers are predictable. An owner decides to sell and the buyer's lawyer compares the physical property against the registry, the cadastre and the licences, and finds they do not match. An application for a mortgage or a re-mortgage prompts the bank's surveyor to flag undeclared square metres. An attempt to apply for or renew a cédula de habitabilidad (the certificate of habitability needed for utilities and rentals) reveals that part of the home was never authorised. Sometimes it is the town hall itself, through an inspection, an aerial-imagery cross-check or a neighbour's complaint, that opens proceedings. And very often it surfaces in the most stressful setting of all — when a property is being inherited and the estate's lawyers have to reconcile what exists with what is recorded. However it arrives, the discovery rarely waits for a convenient time, which is why understanding the position in advance is so valuable.

The pattern we see: the illegality is usually old and inherited, and it is exposed by a sale, a mortgage, a habitability certificate, a town-hall inspection or an inheritance — almost never at a moment of the owner's choosing.

The Statute of Limitations on Planning Infractions

The single most important concept for any owner of an old illegal build is the statute of limitations on planning infractions — the period after which the authority can no longer bring proceedings to require the demolition or restoration of an unauthorised build. In broad terms, once a building has stood for long enough without enforcement action, and provided it is not on a category of land that is specially protected, the power to order its demolition lapses. The build does not become "legal" in the full sense, but it moves into a settled state where it can no longer be ordered down, and that is what makes regularisation possible.

This is the mechanism that underpins the whole legalisation system in Spain. It is why a structure that was unlawful when it was built can, decades later, be recognised on paper through routes such as the AFO certificate — the declaration that an old build is "out of planning" but consolidated and no longer subject to enforcement. The exact limitation period and the precise rules differ between Spain's autonomous communities and have themselves changed over the years, so the date a build was completed, and the rules in force in that region, are decisive. What you must not do is assume the clock has run simply because the property is old; that has to be checked against the specific land and the specific regional regime.

The critical exception: the statute of limitations does not run on land that is specially protected. On that land — coastal protection zones, protected rural land, certain green and ecological designations — the power to require demolition can remain in force indefinitely, no matter how many years the build has stood. This is why "it's been here for thirty years, it must be fine" is one of the most dangerous assumptions an owner or buyer can make.

The Way Forward

Your Realistic Options

Once the position is properly assessed, there are usually three broad paths. Which one applies depends on the land, the breach and the limitation position.

1

Legalise or regularise

Where the build qualifies, you formally bring it onto the record. For an old, consolidated build out of planning, the route is often an AFO / DAFO declaration; our companion guide on property legalisation sets out the full process. This is the clean outcome where it is available.

2

Minor-works regularisation

For smaller, more recent or less serious irregularities — a pool, a terrace, a modest extension on suitable land — there may be a lighter route to authorise the works retrospectively or update the records, without the full AFO process. The right path depends on what the local rules allow.

3

Live with the limitations

Sometimes no legalisation route is open, or the cost outweighs the benefit. The realistic choice is then to understand the limitations — on selling, mortgaging, insuring and extending — and manage them knowingly, rather than be ambushed by them later.

The honest truth is that not every illegal build can be legalised, and a good adviser will tell you that plainly rather than sell you a process that cannot succeed. The first job is always to establish which of these three paths is actually open to your specific property — and, where more than one is theoretically possible, which makes sense given the cost, the timescale and what you want to do with the property. A villa you intend to keep and pass on is a different calculation from a property you are preparing to sell within the year. We assess the realistic route first, and only then talk about process and cost.

How Illegality Affects Selling, Mortgaging, Insuring and Utilities

Even where a build is in no danger of demolition, its irregular status has real, everyday consequences — and these are usually what pushes an owner to act. The most immediate is on a sale. A careful buyer's lawyer will compare the physical property with the Land Registry and the cadastre, and undeclared square metres or an unregistered pool will show up. That does not always kill a sale, but it narrows your pool of buyers, weakens your negotiating position, and frequently means the buyer demands a discount or insists the position is regularised before completion — at your cost and on their timetable.

Financing is the next pressure point. Banks lend against what is registered, so a property whose registry description does not match reality, or which carries an unresolved planning issue, can be difficult or impossible to mortgage — which in turn shrinks the buyer pool still further, because cash buyers are a minority. Insurance can be affected too: an insurer may decline to cover, or may dispute a claim relating to, structures that were never authorised. And utilities are a recurring problem, because the supply of mains water and electricity to a home is frequently tied to holding a valid habitability certificate, which an unlicensed or unregularised build may not be able to obtain. None of these is necessarily fatal, but together they explain why an illegality that has sat quietly for years suddenly becomes urgent the moment you want to sell, borrow against, insure or properly connect the property.

Why it matters even without enforcement: illegality quietly restricts what you can do with the property — sell it cleanly, mortgage it, insure it fully, or connect it to mains services — long before any town hall is involved.

Regional Variation and the Change-Over-Time Caveat

One reason illegal-build cases are so easy to get wrong is that there is no single "Spanish" rule. Planning law is largely devolved to the autonomous communities, so the classification of land, the limitation periods for infractions, the routes to regularisation and even the names of the relevant certificates differ between Andalucía, the Valencian Community, Murcia, the Canaries, the Balearics and the rest. A process and a timescale that are correct in one region can be simply wrong a province away. Advice or anecdotes picked up from a neighbour who legalised a build elsewhere — or in the same place but years ago — are a poor guide to your own position.

That last point matters as much as the geography. These rules change over time. Limitation periods have been lengthened and shortened, amnesty-style routes have opened and closed, land protections have been added, and the documentation required has evolved. A build's legal position is fixed by the rules in force at the relevant dates and by the regional regime that applies to its location, which is precisely why this page deliberately avoids quoting specific year-counts or fixed figures: any number we printed today could mislead you tomorrow, or be wrong for your region. The only safe approach is a current, property-specific assessment that reads the actual land classification, the actual records and the rules in force now for that municipality.

Read it as a warning, not a formula: because the rules vary by region and change over time, treat every general statement about illegal builds — including on this page — as a reason to get your specific property checked, never as a number to rely on.

Common Mistakes and Misconceptions

  • "It's been here for decades, so it must be legal." Time can defeat enforcement on ordinary land, but not on specially protected land — and the build may still be unregistered and unlicensed even where it can no longer be demolished.
  • "The estate agent and seller's lawyer said it's all in order." They are not acting for you. Only an independent check of the registry, cadastre, licences and land classification can confirm the real position.
  • "An illegal build can always be legalised." Not always. Builds on specially protected land in particular may have no legal route, which is exactly why the assessment has to come first.
  • "It's just a pool / a terrace — that's not serious." Small works are usually the easiest to regularise, but unaddressed they still create mismatches that can block a sale, a mortgage or a habitability certificate.
  • "The same rules apply everywhere in Spain." No — land classification, limitation periods and regularisation routes are devolved to the regions and differ significantly between them.
  • "If there is a problem, I can sort it out after I buy." By then the liability is yours. Due diligence before signing is far cheaper and safer than legalising — or losing — a property afterwards.
The throughline: almost every mistake comes from either assuming the worst without checking, or assuming it is fine because nothing has gone wrong yet. A property-specific assessment replaces both guesses with the actual position.

How Platinum Legal Spain Helps

Illegal builds are one of the areas where calm, specific advice is worth most, because the gap between panic and complacency is so wide and the right answer sits between them. The principle is simple — a property is illegal if it was built or altered without the licence the law required — but the consequences, and the way out, turn entirely on the land, the breach, the dates and the region. For an English-speaking owner or buyer who is not reading the regional planning bulletins, the real risk is not understanding the rule; it is acting on an assumption that does not fit the specific property.

Our role is to establish that specific position and tell you what it means in plain English. For owners, we assess the property against the registry, the cadastre, the licences and the land classification, work out whether enforcement is a live risk or time-barred, and identify the realistic route — full legalisation through an AFO/DAFO, a lighter minor-works regularisation, or managing the limitations knowingly — coordinating with our wider property legal services and our dedicated legalisation work where a fix is available. For buyers, we run independent due diligence designed to catch exactly these problems before you are bound, as the lawyer who acts only for you. We act for clients across Spain, we explain everything without jargon, and where a matter falls outside a clear scope we tell you what it involves and quote for it rather than leave you guessing — extras may apply depending on the complexity of the property. Drawing on fifteen years' experience helping expats with Spanish property, we will also tell you honestly when a build cannot be legalised, so you can decide with the facts in front of you.

Before you buy, sell or worry: ask us to assess the specific property. Knowing whether you are looking at a paperwork fix, a regularisation or a genuine risk is the step that turns an illegal build from a source of dread into a decision you can actually make.
FAQs

Illegal Builds in Spain — Your Questions

What counts as an illegal build in Spain?+

A property is an illegal build when it was constructed, extended or altered without the planning permission and licences the law required at the time, or in breach of the conditions of a licence that was granted. This ranges from a pool or extension added without a permit to a whole dwelling built on land where construction should never have been allowed. The legal position — and the options — depend on which of these applies.

Can an illegal build always be legalised?+

No. Many old, consolidated builds on ordinary land can be regularised, often through an AFO / DAFO declaration, and smaller works can sometimes be authorised retrospectively. But some builds — particularly whole dwellings on specially protected land — may have no legal route at all. That is why a property-specific assessment is the essential first step before assuming a fix is available.

What is the statute of limitations on planning infractions?+

It is the period after which the authority can no longer bring proceedings to require the demolition or restoration of an unauthorised build. Once a build has stood long enough without enforcement on ordinary land, the power to order it down lapses, and it moves into a settled state that makes regularisation possible. The exact period varies by region and has changed over time, so it must be checked for the specific property.

Does the statute of limitations run on protected land?+

No — and this is the most important exception. On specially protected land, such as coastal protection zones and certain protected or ecological designations, the power to require demolition can remain in force indefinitely, no matter how many years the build has stood. "It's been here for years, so it must be fine" is therefore a dangerous assumption until the land classification has been checked.

Can my house in Spain be demolished?+

A demolition order is the extreme end of the scale, not the routine outcome. It is concentrated in serious cases — typically whole unlicensed dwellings on protected or specially protected land. For the far more common situation of an old extension or a pool on ordinary land, the realistic exposure is a paperwork problem and a possible fine rather than demolition. Only an assessment of the specific land and breach tells you which situation you are in.

What are the penalties for an illegal build?+

The town hall can open planning infraction proceedings and impose fines, which are often calculated as a percentage of the value of the unauthorised works, alongside any order to restore the situation. In the most serious cases on protected land, restoration can mean demolition. The level of fine and the type of order depend on the seriousness of the breach and the classification of the land.

How do owners usually find out their build is illegal?+

Usually at an inconvenient moment: when selling and a buyer's lawyer compares the property with the registry and licences; when applying for a mortgage and the bank's surveyor flags undeclared metres; when seeking a habitability certificate; through a town-hall inspection or neighbour complaint; or during an inheritance, when the estate's lawyers reconcile what exists with what is recorded. The illegality is often old and inherited from a previous owner.

Can I sell a house with an illegal build?+

You can, but it is harder. A careful buyer's lawyer will spot undeclared square metres or an unregistered pool, which narrows your pool of buyers, weakens your position and often means the buyer demands a discount or insists on regularisation before completion. Resolving the position in advance, where possible, generally produces a cleaner and stronger sale.

Can I get a mortgage on an illegal build?+

It can be difficult or impossible. Banks lend against what is registered, so a property whose registry description does not match reality, or which carries an unresolved planning issue, may not be mortgageable. That in turn shrinks the buyer pool to cash buyers, which is one of the practical reasons owners choose to regularise where they can.

Will an illegal build affect insurance and utilities?+

It can. An insurer may decline to cover, or dispute a claim relating to, structures that were never authorised. Utilities are a recurring problem because mains water and electricity supply is often tied to holding a valid habitability certificate, which an unlicensed or unregularised build may be unable to obtain. These restrictions apply even where there is no risk of demolition.

What are the risks of buying a house with no licence in Spain?+

The consequences fall on whoever owns the property when enforcement happens — so a previous owner's breach can become your fine, your blocked sale or, in the worst case, your demolition order. Sellers and agents rarely volunteer the problem. The protection is thorough, independent due diligence that checks the registry, cadastre, licences and land classification before you sign, rather than after.

Why does the advice differ depending on where the property is?+

Planning law is largely devolved to Spain's autonomous communities, so land classification, limitation periods, regularisation routes and even the names of the certificates differ between regions such as Andalucía, the Valencian Community, Murcia, the Canaries and the Balearics. The rules have also changed over time. A process that is correct in one region or one year can be wrong elsewhere, which is why a current, location-specific assessment is essential.

How can Platinum Legal Spain help with an illegal build?+

For owners, we assess the property against the registry, cadastre, licences and land classification, work out whether enforcement is a live risk or time-barred, and identify the realistic route — full legalisation, a minor-works regularisation, or managing the limitations knowingly. For buyers, we run independent due diligence designed to catch these problems before you are bound. We act for English-speaking clients across Spain and quote clearly for work beyond an initial assessment; extras may apply depending on complexity.

Get the Real Position on Your Property

An illegal build can be a paperwork fix, a regularisation, or a genuine risk — and the only way to know which is to check the specific property. We assess it, explain it in plain English, and tell you honestly what can and cannot be done. Across Spain.

The information on this page is general guidance only and does not constitute legal advice. Spanish planning law — including land classification, the statute of limitations on planning infractions, enforcement powers and the routes to legalise or regularise a build — is largely devolved to the autonomous communities and changes over time. The position of any specific property depends on its land classification, the nature of the breach, the relevant dates and the rules in force in its municipality. 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.