Renovation planning and permitsArticle 6 of 9 · 7 min read
What if works were done without a permit (obra ilegal)?
Explains what can happen when a home has works or an extension built without the required permit: stop orders, fines, ways to legalise, time limits, and the effect on selling or buying. For owners and buyers anywhere in Spain.
Terms used
- Orden de paralización — The orden de paralización is the town hall's order to stop works immediately.
- Declaración responsable — The declaración responsable is a sworn statement to the town hall that your works meet the rules, used instead of a licence for minor works.
- ICIO — The ICIO is the municipal tax on construction, installation and works.
- Fuera de ordenación — Fuera de ordenación is the status of a building that breaks current planning rules but can no longer be acted against.
- AFO — The AFO certificate recognises a building as asimilado a fuera de ordenación, available in some regions such as Andalusia.
- Suelo rústico — Suelo rústico is rural land where building is tightly restricted.
Key rules
- Fines: Fines are usually a percentage of the works' value and come on top of legalisation costs.
- Time limit: The town hall's power to act expires after a period set by your region, and often does not expire for protected land.
- Legalisation: Works can be legalised only if they comply with current planning rules; otherwise demolition can be ordered at your cost.
- Buying: Ask the seller for the licences and first-occupation licence, and have a lawyer check the registry and cadastre.
The short answer
Works done without a required licence or declaración responsable are a planning offence. The town hall can stop them, fine you, demand that you legalise them and, if that is impossible, order you to demolish them at your cost. The details depend on your region and your town hall, so always check locally.
Stop order and sealed site
If the town hall finds works with no permit, or beyond what the permit allows, it issues an orden de paralización. It usually seals the site (precintado), including machinery. You are then given a deadline to apply to legalise the works. Two months is common, but regional planning law sets it. The timeline below shows the full sequence.
Fines
Fines (multas) are separate from legalisation. They are usually a percentage of the works' value, and serious offences fall in higher bands. Amounts differ between regions such as Madrid, Catalonia, Andalusia and the Valencian Community. Ask the town hall's urban-planning department what could apply to your case. If you ignore an order, the town hall can add repeated coercive fines.
How to legalise the works
Legalisation is possible only if the works comply with the current planning rules. The usual steps are:
- Get a technical project or report from an architect or other qualified technician.
- Get a certificate that the works meet the planning rules.
- Apply to the town hall for a licence or declareción responsable after the fact. Pay the fees and the ICIO, the construction tax.
- Wait for the town hall's review. If it approves, legalisation is usually granted together with a fine.
If the works cannot be legalised, the town hall opens a restoration-of-legality procedure and orders demolition at your expense. If you do not comply, it can demolish and charge you the cost. Rural land (suelo rústico) and protected areas are treated most strictly.
How long the town hall can act
The town hall's power to act runs out after a set period, counted from when the works were finished. Regional law sets it, and typical periods run from about four to eight years. Find out the finishing date and the period in your region's planning law.
Many regions set no limit for works on protected land, such as green areas, public domain or protected zones.
When the time limit has passed
If the works break the rules but the town hall can no longer act, the building is usually treated as fuera de ordenación. You can often register and sell it, but major works are barred. In some regions, such as Andalusia, you can ask for an AFO certificate (asimilado a fuera de ordenación) to document this status.
Effect on a sale
- Registering new works. The notary asks for the architect's certificate of completion, the building licence, the energy certificate and, where it applies, the decennial insurance and the building book. For older buildings, an antigüedad certificate can prove the building is older than the time limit.
- Works still within the time limit. The property registry can record a note that the works may still face planning action.
- If you buy. You risk fines, a stop order or demolition if the town hall can still act. Mortgages may be refused and resale is harder. Ask the seller for the licences and the first-occupation licence. Have a lawyer check the property registry and cadastre before you sign.
- If you sell. Expect buyers and notaries to ask for the same papers. Legalising first, or documenting the building's status, makes the sale much easier.
If you are thinking of buying, use the checklist below before making any offer.
Timeline and deadlines
-
The town hall issues a stop order (orden de paralización) and seals the site: when it detects works without a licence or beyond it
-
Apply to legalise the works with a licence or declaración responsable: commonly within two months of the stop order, as set by regional law
-
The town hall opens a restoration-of-legality procedure and can order demolition if the works cannot be legalised: after the legalisation deadline passes or the application is refused
-
The town hall can demolish and charge you if you do not comply: if you ignore the demolition order
-
The town hall's power to act runs out: usually about 4 to 8 years after the works finish, with no limit in many regions for protected land
Deadlines and limitation periods are set by regional law; confirm yours with the town hall.
Checklist
-
Find out the date the works were finished.
-
Ask the town hall's urban-planning department whether the works needed a licence or declaración responsable.
-
Check the time limit in your region's planning law for acting against the works.
-
Check whether the land is protected, such as green areas or public domain, where no time limit may apply.
-
Ask the town hall what fine could apply to your works, since it is usually a percentage of their value.
-
Ask a lawyer to check the property registry and cadastre before you buy or sell a home with works.
What to watch out for
-
Fines on top of legalisation: Unlicensed works can bring a fine, usually a percentage of the works' value, higher for serious cases. Legalising the works often still comes with a fine.
-
Stop order and sealed site: The town hall can stop the works, seal the site and machinery, and add coercive fines if you ignore the order. Stop work at once and apply to legalise within the deadline on the order, commonly two months.
-
Demolition at your cost: If the works break planning rules and cannot be legalised, the town hall can order demolition at your expense. Rural and protected land is treated most strictly. Have an architect check whether the works meet current planning rules before applying.
-
Registration and sale problems: Unlicensed works can block registration, make mortgages harder to get and make reselling difficult. A buyer inherits the risk of fines, a stop order or demolition while the time limit is still running.
Frequently asked questions
Can the town hall still act if the works were finished many years ago?
Yes, the town hall can still act if the time limit for your region has not run out. The limit usually runs from about 4 to 8 years after the works finish, and many regions set no limit for protected land, public domain or green areas. Check the period in the planning law of the region where the property is.
What happens if my unlicensed works cannot be legalised?
The town hall can order demolition at your expense and add coercive fines if you do not comply. If it has to demolish for you, it charges you the cost.
Can I still sell a home with old unlicensed works?
Yes, if the time limit for the town hall to act has expired, the building counts as fuera de ordenación and can be registered and sold, but major works on it are barred. Buyers often struggle to get a mortgage on it. A lawyer should check the registry and cadastre first.
What is an AFO certificate and who can get one?
An AFO (asimilado a fuera de ordenación) certificate recognises a building whose works are too old for the council to act against. It exists in some regions, such as Andalusia. Ask your local urban-planning department whether your region offers it.
More in Renovation planning and permits
- Planning and budgeting a renovation (reforma) in Spain
- Which renovation works need a permit (licencia de obras)?
- When the owners' community (comunidad de propietarios) must approve your works
- VAT (IVA), works tax (ICIO) and deductions on renovation
- Skips (contenedores), rubble and working hours during renovation
- Restoring a rural or protected-heritage home
- Running a renovation from outside Spain
- Adding a lift, ramp or accessible bathroom to a home
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.