Isolated stone house on a rural land plot with mountains in the background

Building without a permit on rural land does not only risk a criminal conviction: it can end with the house being torn down. The Spanish Supreme Court has just confirmed that demolition of illegal buildings on rural land is the general rule, not the exception, whenever the construction cannot be legalised. Here is a plain account of which defence arguments no longer work.

It is one of the questions we are asked most often. Someone has built a house on a rural plot without a permit, years have gone by, the family lives there, and they want to know whether the situation can be consolidated. After Judgment no. 445/2026 of 1 July, of the Criminal Chamber of the Supreme Court (First Section, cassation appeal 1021/2024, Roj STS 3114/2026, ECLI:ES:TS:2026:3114, reporting judge Carmen Lamela Díaz), the answer is uncomfortable but clear: if the works cannot be legalised, demolition is the likely outcome.

1. The case: a house and three outbuildings on a plot in Palma

The owner bought a 1,819 square metre plot in the municipality of Palma in December 2018 and, between then and 2020, without applying for any permit or administrative authorisation, had built there a 178 square metre single-family home, a barbecue of around 30, cockerel cages of 104 and a 65 square metre wooden building to house animals.

The land is general rural land under the Mallorca Territorial Plan, is classified as a protected agricultural interest area under municipal planning, and lies within the boundaries of a rural settlement. The constructions were neither authorisable nor capable of being legalised, for two cumulative reasons: Law 6/1997 on Rural Land of the Balearic Islands requires a minimum plot of 14,000 square metres for residential buildings, and Law 12/2017 on Urban Planning of the Balearic Islands prohibits new buildings in rural settlements.

Criminal Court no. 5 of Palma convicted the owner of an offence against land use planning under article 319.2 of the Criminal Code, imposing one year and one month of imprisonment, a fine of twelve months at a daily rate of four euros and a special disqualification from any profession connected with the construction sector for one year and one month. But it did not order demolition.

The Public Prosecutor appealed and Section One of the Palma Provincial Court dismissed the appeal (judgment 8/2024 of 8 January). Only then came the cassation appeal, for wrongful failure to apply article 319.3 of the Spanish Criminal Code. The Supreme Court allows the appeal, quashes the judgment and, in a second judgment, orders the demolition of the works at the convicted owner’s expense, upholding the remaining findings.

2. Demolition of illegal buildings on rural land is not an exceptional measure

Article 319.3 of the Criminal Code states that the courts “may” order, at the offender’s expense, the demolition of the works. For years that wording has been used to argue that demolition is an exceptional measure which a court can set aside with a general appeal to proportionality.

The Supreme Court closes that door, relying on a long-standing line of authority: judgments 901/2012 of 22 November, 443/2013 of 22 May, 403/2020 of 17 July and 615/2020 of 18 November. Demolition is not an accessory penalty or an added punishment: it forms part of the reparation of the harm arising from the offence, in connection with articles 109 and following of the Criminal Code, and serves to restore the disturbed legal order. Its purpose is to prevent the effects of the offence from becoming entrenched, because letting the illegal works stand would allow the offender to enjoy the proceeds of the offence and would create a pull effect incompatible with the preventive function of criminal law.

Hence the practical consequence: where the works fall entirely outside planning rules and cannot be legalised or remedied, demolition is the ordinary response. Ordering it will always be proportionate where it is the only way to restore the breached legal order, and the matter cannot simply be left to later administrative action.

The word “may” does not make the measure exceptional. It requires reasons both for ordering demolition and for refusing it, and the power not to demolish must be read restrictively, reserved for genuinely exceptional situations: minimal overruns or slight excesses over an authorisation that did exist, planning changes already in force that have brought the works into compliance, or situations where demolition would be clearly disproportionate on the facts.

3. The four arguments the Supreme Court rejects

This judgment is useful above all for what it rules out. It is worth knowing before building a defence on sand.

3.1. “It is my main home”

Residential use may form part of the proportionality assessment, but on its own it is not enough. The Supreme Court rejects the idea that living in the construction prevails over the restoration of planning legality when the works are radically illegal and cannot be legalised.

3.2. “There are other equally illegal houses all around”

That does not work either. The Provincial Court had weighed the fact that the building stood in what it called a “pseudo-development”, with streets and numerous buildings of similar residential use, and that ordering the demolition of just one of them might amount to unequal treatment. The Supreme Court rejects this outright: accepting that reasoning would legitimise the breach, create a pull effect and hand out a “blank cheque” to keep building on land where building is not authorised.

The principle of equality cannot be invoked to perpetuate unlawful situations, because equality in illegality is not a constitutionally protected value. Nor can any inaction by the authorities over other breaches be transferred into the criminal sphere: doing so would be an abdication of the court’s function.

3.3. “The general plan is being revised and will change”

The Provincial Court had taken into account that, at the time of the events, Palma’s General Urban Development Plan was under review. The Supreme Court rejects that reasoning: the mere prospect of future legalisation cannot justify refusing demolition, as that would make the effectiveness of criminal law depend on future and uncertain administrative decisions. Restoration of the legal order is measured against the law in force at the time of the trial, not against a hypothesis.

It also notes a fact from the case file worth remembering: in May and June 2021 the town hall had already opened planning enforcement proceedings to restore legality and the altered physical reality.

3.4. “The town hall never sent me a notice”

The lower court had weighed the absence of any defiant attitude towards the authorities. The Supreme Court’s answer is hard to argue with: there could be no disobedience because, having chosen a policy of presenting the authorities with a fait accompli, the owner never applied for a permit, so the town hall could not prohibit what it simply did not know about. In any event, the absence of a prior notice is a complementary factor and does not neutralise the appropriateness of demolition where the elements of the offence are present and the works cannot be legalised.

4. The real key is not the land category, it is whether the works can be legalised

There is a technical point worth stressing, because it decides the case. The Provincial Court reasoned that the land was not specially protected, being classified as a rural settlement where building is allowed subject to conditions, among them a minimum plot of 7,000 square metres. The Supreme Court answers that what is decisive is not that abstract classification, protected or otherwise, but the findings of fact: the plot measured 1,819 square metres, residential use required 14,000, and the building was neither authorisable nor capable of being legalised under the law in force, a situation unchanged as at the date of judgment.

In practice, that is the only solid line of defence: proving that the works fit within the planning rules in force, or that they can be made to fit through a real legalisation procedure, not a hypothetical one. This is why the technical work (architect, planning report, enquiry to the town hall) must be done beforehand, and not once criminal proceedings are already open. You may find our guides useful on what counts as major or minor works and when a licence is required and on the differences between the declaration of responsibility and the licence.

5. Two separate fronts: criminal and administrative

Two procedures that can run in parallel should not be confused.

On the administrative side, the town hall opens a file to restore planning legality and, where appropriate, a separate penalty file. The time limits for ordering restoration, and the land categories in which enforcement never lapses, depend on regional legislation: in the Region of Madrid, on Law 9/2001 on Land, within the framework of the consolidated text of the Land and Urban Rehabilitation Act. We cover this in our article on urban planning penalties for works: amount, types and statutes of limitations.

On the criminal side, the offence against land use planning is tried independently of what the town hall has or has not done, and demolition is ordered as reparation of the harm. In the case decided, besides the demolition at the convicted owner’s expense, the court upheld a prison sentence of one year and one month, a fine of twelve months at a daily rate of four euros, and a special disqualification from working in the construction sector for one year and one month.

For the full picture, see our analysis of the consequences of building without a permit in Spain: fines, demolition orders and legalization options.

6. Practical cases

The buyer of the plot “with a little house on it”. A client signed a deposit agreement over a rural plot with a dwelling the seller described as “old, it has always been there”. No licence, no new-build declaration, no out-of-planning file. Reviewing the planning rules and consulting the town hall confirmed that the plot did not reach the minimum agricultural unit required for residential use. The client withdrew and recovered the deposit. Buying an illegal building means buying the whole problem, demolition included.

The “small” extension that could in fact be legalised. Another common scenario: an enclosed porch and a storage room built on a property that did hold a licence. Here there was room to act, because the overrun was minor and the planning rules allowed the floor area. Legalisation was processed with a technical project and the penalty was accepted, which is considerably cheaper than a demolition.

The hope of reclassification. A third client wanted to resist on the basis that the general plan was about to be amended. After this judgment, that argument will not sustain a defence: the criminal response is measured against the law in force, not the law that may one day arrive.

Summary: the key points

  • Demolition under article 319.3 of the Criminal Code is not an exceptional measure but the ordinary response where the works fall outside planning rules and cannot be legalised.
  • Its basis is reparation of the harm and restoration of the legal order, not added punishment.
  • Use as a main home does not, on its own, prevent demolition.
  • Other illegal constructions nearby create no rights: there is no equality in illegality.
  • A future planning revision does not save the works either: what is judged is the law in force at the time of trial.
  • The absence of a prior notice from the town hall is a complementary factor, not a ground for exclusion.
  • What is decisive is not the label attached to the land, but whether the building is authorisable and can be legalised.
  • The criminal and administrative routes are independent and can run together.

Do you need advice on unlicensed works or a demolition order?

At Quikprokuo we have been working in real estate and urban planning law for more than twenty-five years. We assess whether your building can be legalised, design the defence strategy for both the administrative file and the criminal proceedings, and review the planning status of any property before you buy it. We will tell you where you stand, not what you would like to hear.

Contact the firm and we will review your case.