Spanish Planning Permission: A Complete Guide for Property Buyers
All guides
Buying ProcessLegal & TaxBuying Guides

Spanish Planning Permission: A Complete Guide for Property Buyers

Voya Editorial Team·10 min read·6 July 2026

# Spanish Planning Permission: A Complete Guide for Property Buyers

Spain has some of the most beautiful rural countryside in Europe. It also has one of the most complicated planning systems — and a legacy of hundreds of thousands of properties that were built without proper authorisation. For anyone buying property in Spain, particularly outside urban areas, understanding planning permission is not optional. It is essential.

This guide covers everything: what licences mean, how to spot an illegal build, what the law says about older unlicensed properties, and how to protect yourself before you sign anything.

---

What Is Planning Permission in Spain?

Planning permission in Spain is called a licencia urbanística or licencia de obras — a building licence granted by the local ayuntamiento (town hall). Before any construction, extension, or significant structural change takes place, the owner must apply for and receive this licence.

The system is governed by national legislation (principally the Real Decreto Legislativo 7/2015, which codifies Spain's Land Act) and then further refined by each of the 17 autonomous communities, which have their own planning laws. Andalucía, Valencia, Murcia, Castilla-La Mancha — each region has its own rules, and they differ meaningfully.

This decentralised structure is part of why Spain's planning problems are so acute. Enforcement has historically been inconsistent, local politics have influenced decisions, and rural Spain in particular saw a wave of unlicensed building from the 1970s through to the property crash of 2008.

---

Types of Planning Licence

Licencia de Obra Mayor (Major Works Permit)

Required for any significant structural construction or modification: new builds, extensions, adding floors, structural alterations, or works that affect the external appearance of a building. This is a full planning application involving architectural drawings, a technical report, and often takes several months to be approved. Costs are calculated as a percentage of the build value.

Licencia de Obra Menor (Minor Works Permit)

For smaller, non-structural works: interior refits, replacing windows, updating a bathroom, painting the exterior. The process is lighter — often a simple notification to the town hall — but it is still a requirement. Skipping it is a common mistake, particularly among buyers who renovate immediately after purchase.

When in doubt, ask your architect or the town hall whether your planned work requires a major or minor licence. Assumptions in either direction can prove costly.

---

Spain's Illegal Build Crisis

It is estimated that over 300,000 properties in Spain were constructed without proper planning authorisation — and some estimates put the figure significantly higher. The problem is concentrated in rural areas, coastal zones, and regions with historically weak planning enforcement.

The causes are varied: corrupt local officials issuing licences retrospectively or for the wrong land classification; developers who built speculatively and sold before enforcement caught up; individual owners who built on their own rural land believing it was acceptable; and a culture — particularly prevalent before EU accession tightened standards — where informal construction was tolerated.

The consequences for buyers can be severe: demolition orders, heavy fines, inability to obtain a mortgage, difficulty selling, and problems registering utilities. Buying an illegal property in Spain without understanding the risk is one of the most serious mistakes a foreign buyer can make.

---

Suelo Rústico: What Rural Land Classification Means

When you see a property described as sitting on suelo rústico — rural or agricultural land — it carries strict limitations on what can be built or extended.

Spain's land is classified into three broad categories:

  • Suelo urbano: Land within an approved urban plan, with services (water, electricity, drains) and building rights.
  • Suelo urbanizable: Land designated for future development under a PGOU.
  • Suelo rústico / no urbanizable: Rural land explicitly protected from urban development.
On suelo rústico, you generally cannot build a new residential property. Exceptions exist — agricultural dwellings tied to a working farm, rural tourism establishments — but they require specific regional authorisations and are tightly controlled.

Many properties in rural Spain sit on suelo rústico and were built without authorisation. Some pre-date the modern planning system; others were built illegally within living memory. This does not make them legal. The land classification determines what can be done with the property going forward, regardless of what already exists.

---

Fuera de ordenación — literally "outside planning" — is a specific legal status that applies to buildings that were legally constructed at the time but which do not conform to current planning rules (typically because zoning or setback requirements have since changed).

These properties are legal to own, occupy, and sell. However, they cannot be extended or substantially altered. Only maintenance and repair work is permitted. If the building is destroyed, it cannot be rebuilt.

This matters enormously for buyers planning to extend, add a pool, or make structural changes. A property described as fuera de ordenación may look perfect on paper but offer no scope for the renovation you have in mind.

---

The Prescription Rule: 4 Years, 6 Years, or Not a Solution

Spain's planning laws include a prescripción (statute of limitations) on enforcement action. If a planning infringement is not prosecuted within the prescribed period, the authority loses the right to order demolition or pursue the original builder.

The period varies by region:

  • Most of Spain: 4 years from the completion of works
  • Andalucía: 6 years (extended in 2016 and a recurring source of confusion — the older 4-year rule is often still cited)
This sounds reassuring. It is not a solution.

Critically: the prescription of enforcement action does not legalise the building. The property remains technically illegal, cannot be fully inscribed in the Land Registry, and may still be flagged in official records. More importantly, prescription does not apply to properties on protected land — nature reserves, coastal zones, river banks, or areas with special environmental status — where demolition orders can be issued at any time regardless of age.

Sellers and agents sometimes present an "old" illegal build as effectively safe. Your lawyer must verify this independently, checking both the prescription status and the land classification.

---

Checking a Property's Planning Status Before Buying

This is the single most important due diligence step for rural or rural-adjacent property. It should be non-negotiable before signing any purchase agreement.

1. Certificado Urbanístico (Urban Planning Certificate)

Request this from the ayuntamiento. It sets out the land classification, applicable zoning rules, building rights, and any planning infractions registered against the property. Some buyers ask the seller to provide this; others prefer to obtain it directly. Either way, it must be obtained.

2. Catastro

The Catastro is Spain's land registry for taxation purposes. Compare the catastral description of the property (size, number of structures, age) with what you can see on the ground. Discrepancies — a pool that does not appear, a second building not listed, a floor area that does not match — may indicate unlicensed works.

You can search the Catastro online at sede.catastro.gob.es using the property's cadastral reference.

3. PGOU (Plan General de Ordenación Urbana)

Every municipality with a population above a certain threshold must have a PGOU — a master urban plan that sets out zoning, land classifications, building standards, and development rights. Most are available online via the town hall's website or the regional planning authority. Understanding the zoning that applies to your property tells you what can and cannot be done with it.

4. Land Registry (Registro de la Propiedad)

The Nota Simple — the Land Registry extract — shows the legal description of the property, any charges or encumbrances, and any infractions registered. However, not all infractions make it onto the registry, so this is a necessary but not sufficient check.

5. Aerial Photography and Historical Satellite Imagery

Google Earth and Spain's PNOA ortophoto archive allow you to check construction history. When was the pool added? Was that extension built recently? Discrepancies between the catastro and visible reality deserve investigation.

---

Retrospective Legalisation: Declaración de Obra Nueva

Some unlicensed properties can be retrospectively legalised. The process is called a Declaración de Obra Nueva — a declaration of new construction — and allows a building to be formally registered in the Land Registry.

For this to be possible, several conditions must typically be met:

  • The prescription period must have passed (enforcement is time-barred)
  • The land must not be specially protected
  • The building must not violate current setback or density limits in a way that would prevent legalisation
  • A technical report from an architect must confirm the works
In Andalucía, a specific mechanism exists called an AFO certificate (Asimilado a Fuera de Ordenación). This does not legalise the building outright but places it in a recognised legal limbo — similar to fuera de ordenación — that allows it to be registered and sold. It is not a clean bill of health, but it does provide a degree of legal clarity.

Legalisation is not always possible. Your lawyer should be explicit about whether it is genuinely achievable or merely speculative before you proceed.

---

Buying an Illegal Property: The Real Risks

If you are considering buying a property with planning issues, the risks must be clearly understood:

Demolition orders: Where enforcement has not prescribed — particularly on protected land — a demolition order can be issued and enforced. Spain has demolished properties even where foreign buyers were involved. This is not a theoretical risk.

Fines: Unlicensed construction is subject to fines, which can attach to the property and become the new owner's liability.

Mortgage refusal: Spanish banks will not lend on properties with unresolved planning infractions. If you need finance, an illegal property is typically not an option.

Utility problems: Connecting to the electricity and water supply legally requires a building certificate (licencia de primera ocupación or cédula de habitabilidad). An illegal property may only have informal connections that can be cut.

Resale difficulty: Future buyers will face the same issues. Illegal properties are harder to sell, particularly to buyers requiring mortgages.

---

Getting a Renovation Permit: The Process

Assuming you are buying a property with clean planning status and want to renovate, the process is broadly as follows:

1. Appoint an architect (arquitecto) who will assess the works required and determine whether they need a major or minor licence. 2. Prepare technical drawings (for obra mayor) and submit to the ayuntamiento with the application form and fee. 3. Await approval: Minor licences may take two to eight weeks. Major licences can take three to six months, sometimes longer in busy or under-resourced town halls. 4. Appoint a construction manager (aparejador or arquitecto técnico) for significant works — required by law. 5. Obtain a completion certificate (licencia de primera ocupación or certificado de fin de obra) when works are done.

Do not start work before receiving the licence. Starting without authorisation creates the same problems you were trying to avoid.

---

Due Diligence Checklist: What Your Lawyer Should Check

A competent Spanish property lawyer should verify all of the following on any rural or reform property:

  • [ ] Land Registry Nota Simple: legal description, charges, any registered infractions
  • [ ] Catastro: matches physical reality
  • [ ] Certificado Urbanístico: land classification, permitted uses
  • [ ] PGOU zoning: what can and cannot be built
  • [ ] Evidence of original building licence (licencia de obras)
  • [ ] Licencia de primera ocupación or cédula de habitabilidad
  • [ ] Any outstanding demolition orders or enforcement notices
  • [ ] Whether any prescription period applies and on what basis
  • [ ] Whether the property is on specially protected land
  • [ ] AFO status or fuera de ordenación status, if applicable
  • [ ] Whether any legalisation process is in train or possible
This is not an exhaustive list for complex rural properties — some will require specialist planning lawyers alongside your conveyancing lawyer.

---

Frequently Asked Questions

Can you buy a property without planning permission in Spain?

Yes, legally you can. There is no law preventing the purchase of an illegal property. However, the risks — demolition, fines, inability to mortgage or resell, utility problems — are severe. Knowingly buying an illegal build is a high-stakes decision that requires expert legal advice and a clear-eyed assessment of the specific risk.

What is an AFO certificate?

An AFO (Asimilado a Fuera de Ordenación) certificate is an Andalucían mechanism that recognises an unlicensed building whose enforcement prescription period has passed and which is not on specially protected land. It does not fully legalise the property but allows it to be inscribed in the Land Registry and sold legally. It comes with a municipal tax charge. Other regions have analogous mechanisms under different names.

How do I know if a rural property is legal?

Ask your lawyer to obtain the Certificado Urbanístico and compare it with the catastro, the Land Registry Nota Simple, and any available building licences. Aerial photography can reveal undeclared structures. A property is only as legal as the paperwork can demonstrate — verbal assurances from the seller or agent are not sufficient.

What happens if I buy an illegal build?

You inherit the problem. Sellers do not automatically pass on liability for demolition orders, but a demolition order against the property is a demolition order against the property regardless of who owns it. Fines and enforcement actions attach to the land and buildings, not the individual who originally built them. Legal advice before purchase is the only protection.

---

Final Word

Spanish planning permission sits at the intersection of national law, regional legislation, local politics, and decades of inconsistent enforcement. It is genuinely complex — and it is genuinely consequential. The buyers who get into difficulty are almost always those who trusted verbal reassurances, skipped the due diligence, or assumed that because a property exists and is being sold, it must be legal.

It is not enough that your property looks solid, has been there for years, and has a plausible history. You need documented evidence of its planning status before you commit. The cost of a thorough legal check is negligible compared to the risk of inheriting a property that cannot be mortgaged, extended, insured properly, or sold without significant discount.

Work with a qualified, independent Spanish property lawyer — not one recommended by the agent or developer — and insist on full planning due diligence. In rural Spain in particular, it is not a formality. It is the foundation of a safe purchase.

Ready to find your property in Spain?

Browse thousands of verified listings from licensed local agents — no buyer commissions.

Browse properties →