Buying in Spain: how to check for illegal extensions and missing permits

Spain · November 15, 2026

In Spain an illegal extension can become time-barred, but time does not make it legal, and the period differs by region. Which records to compare, what a nota simple does and does not show, and how to protect the price.

In Spain an illegal extension can become time-barred for sanctions, but time does not make it legal, and the period differs by region. That is the most misunderstood point for foreign buyers: "it has been there for years" is not a verdict. What matters is what the registers say, what the municipality has on file and whether the works fall under a limitation period at all. This is general information, not legal advice; a lawyer who knows the autonomous community of the property should confirm every point.

What counts as illegal in Spain

  • Extensions and additions, enclosed terraces, attic or basement conversions, and garages or sheds turned into living space.
  • Swimming pools, annexes and rural outbuildings built without a licence or beyond what the licence allowed.
  • A house on rural or protected land that was never legalised.
  • A mismatch between what is registered and what exists: a building that appears in the Catastro but not in the land registry, or the reverse, or an area that differs in the two.

Planning is decided by each autonomous community, so the rules, the names of the documents and the deadlines vary across the country.

Time-barred is not the same as legal

Sources agree that the time the administration has to sanction an illegal building depends on the region. The ranges we found go from about 6 years in Madrid or Andalucía to 8 in the Balearic Islands and 10 in Castilla y León for serious infringements, while for the Valencian Community one source gives 4 years under an older law and 15 under the 2014 law. These figures conflict, so do not rely on any single number; ask a local lawyer which applies to your property and the date the works were finished.

Three points keep recurring:

  • An extension or later modification is a new infringement with its own period, so an old house does not clear a newer addition.
  • When the sanction has expired, the building may still be unable to get the usual authorisation, and the administration's power to restore legality is treated separately in some cases.
  • On specially protected land there may be no limitation period at all; a Balearic registry case turned on exactly this.

A building that has outlived the period can be in a state called "fuera de ordenación", meaning it exists but does not conform to current planning, which can limit works and some uses. Ask your lawyer which status the property has.

Documents to ask for, and what each proves

  • Nota simple, from the Land Registry. It shows the owner, mortgages and other charges, and the registered description of the property. Check whether the house and every extension appear in it. A property registered as a plot or with a smaller area than the real one is a warning sign.
  • Certificación catastral and the IBI tax receipt, from the Catastro. They give the area and the year of construction. A cadastral year before the limitation period can be an indication that the works are old enough, but it is an indication, not proof.
  • Declaración de obra nueva, the deed that declares a building. An old building can be registered "by age" under article 28.4 of Royal Legislative Decree 7/2015, and registrars usually ask for a cadastral certificate and sometimes a technician's certificate of age. Where the land has a protection status, registration can fail.
  • Licencia de primera ocupación or cédula de habitabilidad. The names and requirements are regional; ask the municipality and your lawyer which one exists for this property.
  • Informe or certificado urbanístico from the town hall. It states the planning status of the plot and whether there are open disciplinary files.
  • Certificado de eficiencia energética, which is required for a sale. It describes the building as measured and can reveal a different area, but it does not prove legality.
  • For a flat, the community statutes and minutes, because an enclosed terrace or a change of use can breach them.

We found nothing reliable on whether the first-occupancy licence is needed to register an old building, or on how banks value works that were never declared, so ask the bank and your lawyer directly.

How to check in practice

1. Read the nota simple and the Catastro record side by side with the real property, measuring the built area. 2. Ask the town hall for the urban-planning certificate and, through your lawyer, for the works file and any open files. 3. Have an architect or technical architect compare the licence documents with the building and say whether any extra works could be legalised. 4. Ask your lawyer which limitation period and which legal regime apply in that region and for that type of land. 5. Confirm there are no charges, fines or open files recorded against the property.

What can happen, and who pays

  • The administration may order the owner to restore legality, which can mean demolition, where no limitation applies and legalisation is not possible.
  • Fines and the cost of legalisation follow the property. We found no reliable figures for either.
  • A building outside the registry or with works never declared can be hard to mortgage or resell.
  • A buyer who takes the property with the problem usually has to deal with the administration; whether and how you can claim against the seller depends on the contract and the circumstances.

What to put in the contract and how to protect the price

  • Make the private purchase contract (contrato de arras) conditional on the urban-planning certificate and on a clean registry and Catastro match, with the right to withdraw and recover the deposit if they do not.
  • Require a written declaration from the seller about all works done and permits obtained, and specific warranties in the deed.
  • If legalisation or registration of the works is needed and possible, agree a price reduction or a retention held by your lawyer until it is done.
  • Use an independent lawyer, not one recommended by the agent or developer; see why a lawyer recommended by the agent is a conflict of interest.

Red flags

  • "It is prescribed, so there is no problem" with no paper from a technician or the registry.
  • The Catastro or the nota simple shows a smaller area, or no house at all.
  • A new pool, extension or terrace with no matching licence.
  • A seller who pushes to declare a lower price or who dismisses the check.
  • Rural land with a house and no legal status explained.

Checklist before you sign

  • Nota simple and Catastro compared with a measured building.
  • Urban-planning certificate and works file from the town hall.
  • Limitation period and legal status confirmed by a local lawyer.
  • Technician's opinion on any extra works.
  • No charges, fines or open files.
  • Community statutes checked, for a flat.
  • Contract conditions, warranty and retention agreed in writing.

How we help

We help you build the document list, connect you with independent lawyers and technical specialists in the right region, and structure the purchase around what the checks find. For the wider picture, read our guide to illegal construction and missing permits abroad, the Spain resale checklist, new build versus resale in Spain and tax numbers for foreign buyers, and see the Spain country page. General information only, not legal advice; confirm each point with a lawyer licensed in Spain.

The same check in other countries

Get a shortlist for this country

A few quick questions and a partner who works in this market will contact you.

We pass your request to an independent partner for the country you choose. Partners pay us a commission for enquiries.

Get a personal property shortlist

Tell us your goal and budget — we'll send a curated selection from trusted local partners, with no obligation.