To build, extend or renovate a property in Spain you need permission from the town hall (ayuntamiento) of the town where the property stands, before the work starts. New buildings, extensions and structural work need a major works licence (licencia de obra mayor) with a technical project, which for a home must be signed by an architect. Small jobs that do not touch the structure go through a minor works licence (licencia de obra menor) or, in many regions, a signed notice called a declaración responsable. The town hall charges a fee plus a construction tax (ICIO), which national law caps at 4% of the cost of the works.
Living in Spain Buying property
How To Get Planning Permission In Spain
Spain has no single national planning procedure. The State sets the framework, each region has its own planning law and each town hall grants the licences, so the documents, costs and waiting times in this guide vary from one town to the next.
Buying a home in Spain often comes with plans for renovation, especially if you’ve bought an older countryside property or a resale property in need of modernisation. Before you call a builder, find out from the town hall what planning permission the work needs. Building without it can lead to fines, an order to demolish what was built, and difficulties selling your home in the future.
Do You Always Need Planning Permission?
In most cases, yes. Under Spain’s national land law (Real Decreto Legislativo 7/2015, article 11.3), every act of building needs whatever approval or authorisation the regional planning law requires. In practice that means a licence or, for smaller works, a signed notice handed in at your local town hall (Ayuntamiento) before you start. Which one you need depends on the scope of the work, so assume some form of permission is required until the town hall tells you otherwise.
Types of Building Licences in Spain
Town halls divide building work into two traditional groups, and many regions now add a third, lighter route:
- Licencia de Obra Mayor: This is for new buildings, extensions, work that changes the structure, the volume or the outside appearance of a building, a change of the building’s use, and full restorations. These are the works for which the national Building Act (Ley 38/1999, article 2) requires a technical project. Town halls normally treat an in-ground swimming pool as major works too.
- Licencia de Obra Menor: This is for simple work that does not affect the structure, such as retiling, renewing a kitchen or bathroom, updating plumbing or wiring, or replacing windows. Each town hall’s own ordinance says exactly what counts as minor.
- Declaración Responsable or Comunicación Previa: This is a signed statement, handed in at the town hall, that the work meets the rules. In the regions that use it, it replaces the licence for smaller works, and you can start once it has been handed in with the right documents. In Andalusia, for example, it covers simple works that need no technical project and most works on existing lawful buildings on urban land that do not change the footprint, height, floor area or number of homes (Ley 7/2021, known as LISTA, article 138). The Valencian Community has a similar rule for reforms and minor works (Decreto Legislativo 1/2021, article 233). The town hall can still inspect the work afterwards.
Each of these can be further broken down depending on whether the construction is a new build (nueva planta), an extension (ampliación), or a restoration (rehabilitación).
Where To Apply
You apply to the town hall of the municipality where the property is, online through its electronic office (sede electrónica) or in person at its planning department (urbanismo). This directory can help you find your town hall’s website: Find your local town hall in Spain.

Image: Ronda Ayuntamiento (Town Hall)
The Paperwork You’ll Need
Each town hall publishes its own list of documents, so use the list below as a guide. For a Licencia de Obra Mayor, expect to provide:
- Official application form and the receipt for the town hall’s fee
- A technical project. For a home, national law says it must be signed by an architect (Ley 38/1999, article 10)
- The stamp of approval (visado) of the architect’s professional college on the building project, which is compulsory under Real Decreto 1000/2010
- Proof of ownership, such as a copy of the title deed
- The national building statistics questionnaire, where the town hall asks for it
- Any authorisation needed from another authority first, for example for a property near the coast or a protected building (see below)
For a Licencia de Obra Menor or a declaración responsable, town halls usually ask for:
- Completed application or declaration form
- Current photographs of the property
- Description of works to be carried out, and when you plan to start
- Budget breakdown
- Plans or sketches
- A report or project signed by a qualified technician, where the type of work needs one

How Much Does Planning Permission Cost in Spain?
There are two separate charges, and each town hall sets both in its own tax ordinances. The first is the construction tax, the Impuesto sobre Construcciones, Instalaciones y Obras (ICIO). National law caps it at 4% of the cost of the works, and it is charged on the bare building cost: VAT, professional fees and the builder’s profit are left out (Ley de Haciendas Locales, articles 100 to 102). It is due whether the work needs a licence or only a declaración responsable. The second is the town hall’s fee (tasa) for handling your file, which has no national rate and differs from town to town. On top of these come your architect’s fees, and a lawyer’s if you use one.
How Long Does Approval Take?
There is no single national time limit. Each region’s planning law sets the longest time the town hall may take to decide. In Andalusia it is three months from the day the complete file is handed in (Ley 7/2021, article 140). In the Valencian Community it is two months for most licences, including major new-build works, and three months for work on a listed building (Decreto Legislativo 1/2021, article 240). These are legal maximums, not promises, so ask your architect how long your own town hall is taking.
Do not start work just because the deadline has passed. Under national law a licence for a new building, or for placing a prefabricated house, is never granted by silence: no answer means no (Real Decreto Legislativo 7/2015, article 11.4). And no right that breaks the planning rules can ever be gained through the town hall’s silence (article 11.3).
Private cover in Spain
Pick up your Sanitas quote
See a doctor or specialist privately instead of waiting your turn. Sanitas plans from €22,10 a month.
Your saved quote is ready whenever you are. Compare plans and finish in minutes.
Get a price My quotesBuilding Near the Coast
If your property is close to the sea, Spain’s Coastal Law (Ley 22/1988 de Costas) applies on top of the planning rules. It creates a protection strip measured inland from the shore: 100 metres wide as a general rule, and 20 metres on land that was already classed as urban when the law came into force in 1988. New homes are banned inside the strip, and any work that is allowed there needs an authorisation from the regional government (in Andalusia, the Junta de Andalucía) before the town hall can deal with the licence.
Rustic Land, Protected Buildings and Communities of Owners
Rustic land. National law reserves rural land for farming, forestry and similar uses, and building on it is the exception, allowed only where the regional planning law says so (Real Decreto Legislativo 7/2015, article 13). For Andalusia, see our guide to building on rustic land in Andalusia.
Protected buildings. Work on a listed monument (Bien de Interés Cultural), or in its protected surroundings, needs the express authorisation of the heritage authority first, and the town hall cannot grant a licence until it has been given (Ley 16/1985, articles 19 and 23).
Apartments and urbanisations. In a community property, the Horizontal Property Act (Ley 49/1960, article 7) lets you alter the inside of your own home only if the work does not affect the building’s safety, its general structure or its outside appearance, and does not harm another owner. You must tell the community’s president or administrator before you start. Anything that touches the structure, the façade or other shared parts needs the community’s agreement as well as the town hall’s permission.
A licence does not override your town’s noise ordinance, which sets the hours when building work is allowed: see our guide to construction noise rules in Spain.
When Is Planning Permission Not Required?
There is no national list of works that need nothing. Purely decorative jobs that do not change the building, such as repainting a room, are not normally treated as building works. In Andalusia, town halls may also exempt in their own ordinances small works that have no effect on planning or building rules (Ley 7/2021, article 138.1.a). If there is any doubt, ask the town hall’s planning department or your architect first, and get the answer in writing where you can: verbal advice isn’t binding.
Retrospective Planning Permission
If you or a previous owner made changes without a licence, you can sometimes apply to legalise them afterwards (legalización), but only if the works comply with the planning rules: works that break them cannot be legalised. This is especially important if you intend to sell the property. Without matching documentation and plans, the sale could fall through or be severely delayed.
How Long Can the Authorities Act Against Unlicensed Works?
It depends on the region, because each regional planning law sets its own time limit. In the Valencian Community, the authorities can order unlicensed works to be legalised or demolished for 15 years from the day they were completely finished. The limit was four years until the region’s planning law, the Ley de Ordenación del Territorio, Urbanismo y Paisaje (LOTUP), came into force in August 2014, and the limit that applies is the one in force when the works were finished. On rustic (non-development) land, green zones, public land and listed property there is no time limit at all (Decreto Legislativo 1/2021, article 255, the text that replaced the LOTUP in July 2021).
In Andalusia the limit is six years from completion, with no limit for works on public land, in the coastal protection strip, on green zones and in some other protected cases (Ley 7/2021, article 153). Passing the time limit does not make the works legal. In the Valencian Community, for example, you still cannot renovate, extend or strengthen what was built illegally (article 256).
What Happens If You Don’t Get Permission?
The risk isn’t just a fine. Fines are set by each region: in Andalusia they run from €600 for a minor breach to €120,000 for a very serious one, and can go higher where the works are worth more (Ley 7/2021, article 162). The town hall can also stop the works and order you to demolish what was built at your own cost. In the most serious cases it is a crime: building something that cannot be authorised on non-development land or on specially protected land carries a prison sentence for the developer, the builder and the technician directing the works, and the judge can order demolition (Criminal Code, article 319).
A newly built home also needs its first occupation licence, or in some regions a declaración responsable of first occupation, when the work is finished. Notaries and the Land Registry ask for it before the finished building can be registered (Real Decreto Legislativo 7/2015, article 28). See our guide to first occupation licences. Unlicensed works also tend to come to light when you sell, and can lower the price or stop the sale.
What About Solar Panels?
Rooftop solar panels on an existing home are often handled as minor works, through a prior notice to the town hall instead of a full licence, but this depends on your region and your town hall, and protected buildings and communities of owners have extra rules. National law also lets town halls cut the construction tax by up to 95% for solar installations (Ley de Haciendas Locales, article 103). Check with your town hall before you order the panels. For more info, see our full article on installing solar panels in Spain.
Final Tip: Sort Your Deeds
If you’re planning work, or you suspect past work wasn’t fully legalised, consult a lawyer to put your property documents in order. This will make a future sale or inheritance smoother and avoid expensive surprises. Keep the licence and every invoice too: documented improvement works can count when the gain is worked out on a sale, as our guide to capital gains tax on property in Spain explains.
Need health insurance to support your move or residency application? See our Sanitas health insurance for expats in Spain.
Sources
- National land law: Real Decreto Legislativo 7/2015 (BOE)
- National Building Act: Ley 38/1999 (BOE)
- Local taxes law, construction tax (ICIO): Real Decreto Legislativo 2/2004 (BOE)
- Andalusia: Ley 7/2021, LISTA (BOE)
- Valencian Community: Decreto Legislativo 1/2021 (BOE)
- Coastal Law: Ley 22/1988 (BOE)
- Directory of Spanish town halls (ayuntamiento.es)
More in Buying and owning property 13 guides and 3 articles
Read next
Reviewed by Sean Guy, authorised Sanitas agent (agent code 22395) and DGSFP-registered insurance mediator (C0320X5769518Z), Marbella.
Written by the HealthPlan Spain team: English-speaking Sanitas health insurance specialists, helping expats in Spain get the right cover since 2011. Authorised and regulated by the DGSFP.