# Charged with illegal building in Mallorca? Your criminal defence

> Illegal building lawyer in Mallorca: criminal charges for works on rustic land, Art. 319 penalties and demolition orders. First consultation free.

- URL: https://www.carloscastell.com/en/illegal-building-offences-lawyer-mallorca/
- Castell Abogados, C/ General Riera, 1, 3º D, 07003 Palma (Illes Balears)
- Phone: 684 450 450 (WhatsApp) · Email: contacto@castellabogados.com
- 2026-12-03

Illegal building or extending without a licence on rural land in Mallorca can be more than an administrative breach: if the works could never be legalised, it is a criminal offence against land-use planning under Article 319 of the Spanish Criminal Code, punishable by imprisonment, a fine, professional disqualification and, almost always, demolition of what was built. We explain when it is a crime, what penalty you face and how to defend yourself.

- Article 319 CP punishes works that cannot be authorised on undevelopable land with one to three years' imprisonment, and with one year and six months to four years if the land is specially protected.
- The developer, the builder and the supervising architect or engineer are liable; an owner who builds for themselves is treated as the developer.
- The judge may order demolition at the convicted person's expense, and in practice that is the rule when the works cannot be legalised.
- If you are summoned as a suspect, do not make a statement or sign anything until the planning classification of the plot and the real date of the works have been checked.

## Illegal building as a crime in Spain: Article 319 penalties

The Criminal Code (Código Penal or CP) distinguishes two situations depending on the land affected. The penalties always include imprisonment, a fine and disqualification from the relevant profession or trade:

| Situation | Prison | Fine | Disqualification |

| Works that cannot be authorised on roads, green spaces, public land or land of landscape, ecological, artistic, historic or cultural value, or specially protected land (Art. 319.1) | 1 year and 6 months to 4 years | 12 to 24 months, or one to three times the profit if greater | 1 to 4 years |

| Development, construction or building works that cannot be authorised on undevelopable land (Art. 319.2) | 1 to 3 years | 12 to 24 months, or one to three times the profit if greater | 1 to 4 years |

If the offence is committed through a company (a developer or a building firm), the company itself can be fined for one to three years, or two to four times the profit obtained if that is greater, in addition to the other consequences in Article 33.7. We explain this on our page on [penalties for companies](https://www.carloscastell.com/en/corporate-criminal-liability-spain-penalties/).

### Is building without a licence a crime? Works that "cannot be authorised"

The offence does not punish building without a licence, but building something that could never be authorised. Works carried out without a licence but capable of being legalised are an administrative breach, not a crime. So the first question in any defence is what the planning rules allow on that plot: if the building fits within the planning regulations, the prosecution loses its basis.

## Who can be charged: owner, builder, architect and officials

The law refers to developers, builders and supervising technical professionals. The Supreme Court (Tribunal Supremo) interprets the concept of developer broadly: it includes a private individual who decides on, pays for and directs the works on their own house or an extension, even if they are not in the construction business.

- Owner or developer: the most common defendant in Mallorca, usually for turning a tool shed into a home, extending a country house or putting up a new building.

- Builder: the company or self-employed tradesperson who carries out the works knowing they have no legal basis.

- Architect or supervising engineer: liable if they direct works they know cannot be authorised; for them, disqualification has serious consequences.

- Public authorities and officials: Article 320 punishes so-called planning malfeasance (prevaricación urbanística), that is, reporting favourably on or granting manifestly unlawful licences, or keeping quiet about known breaches.

The offence requires intent: knowing that you are building on land where building is not allowed. Whether a recently arrived foreign buyer, or someone who relied on an architect, knew of the prohibition is frequently debated. It is a legitimate line of defence, but it must be proved with documents rather than merely asserted.

## Illegal building on rustic land in Mallorca, Menorca and Ibiza

Rural land (suelo rústico) covers most of the islands and much of it is protected (natural areas of special interest, rural areas of landscape interest, coastal zones). The cases that most often reach the courts are:

- New houses built on rural estates without a licence or with a licence for another use.

- Tool sheds, farm stores or stables converted into homes or holiday accommodation.

- Extensions to existing houses, enclosed porches, swimming pools, walls and earthworks on protected land.

- Buildings within coastal easement zones or on public land.

- Subdivision of rural estates to sell off building plots.

Complaints usually come from municipal inspectors, the Land Protection Agency of the Consell de Mallorca (Agència de Defensa del Territori), the island councils of Menorca, Ibiza and Formentera, the Civil Guard's environmental unit (SEPRONA) or the Environment and Planning Prosecutor's Office, which compares aerial photographs from different years.

## Summoned as a suspect: stages of the case and time limits

- Preliminary investigation: often begins at the Public Prosecutor's Office, which asks the town hall or the island council for technical reports and may call you in before filing a complaint.

- Investigation stage: conducted by the investigating court of the judicial district where the property is located (Palma, Inca or Manacor in Mallorca; Ibiza; Maó or Ciutadella in Menorca), now part of the Court of First Instance (Tribunal de Instancia). You are summoned as a suspect (investigado), expert reports are obtained and, where appropriate, interim measures such as a stop order on the works are adopted.

- Trial: given the penalty, the case is tried before a criminal court (juzgado de lo penal), with an appeal to the Provincial Court (Audiencia Provincial) in Palma.

- Enforcement: after judgment the sentence is served and, where ordered, the demolition is carried out, sometimes over long periods and after repeated formal demands.

The offence generally becomes time-barred after five years. Case law usually counts that period from completion of the works, so the completion date must be proved precisely: aerial photographs, invoices, utility contracts and witnesses can decide the case. If you do not speak Spanish, you are entitled to an interpreter when giving your statement.

## Demolition orders: when a Spanish court will order it

Article 319.3 allows the judge to order, giving reasons and at the offender's expense, demolition of the works and restoration of the land to its original state, without prejudice to compensation for third parties acting in good faith. Before ordering demolition the judge must hear the public authority, and may make demolition conditional on payment of that compensation being secured.

The courts consider demolition the normal consequence when the works cannot be legalised, excluding it only in exceptional cases: works that have become lawful through a change in planning, that have already been legalised, or whose demolition would be clearly disproportionate. The fact that the house is lived in, or that a great deal of money has been spent, is not enough on its own.

Demolishing voluntarily before trial, or undertaking to do so, can count in the defendant's favour in sentencing, in a plea agreement with the prosecutor and in the [suspension of the prison sentence](https://www.carloscastell.com/en/suspended-prison-sentence-mallorca/), which the courts often make conditional on the land being restored.

## Criminal case, planning enforcement and legalisation in the Balearics

The criminal proceedings and the planning enforcement file run in parallel, but the criminal case takes precedence: while criminal proceedings are open, the authorities cannot impose a penalty for the same facts until they end. Proceedings to restore planning legality, on the other hand, follow their own course. The two defences need to be coordinated, because what is argued in one can be used in the other. You can read about the administrative side on our page on [planning breaches in the Balearic Islands](https://www.carloscastell.com/en/planning-enforcement-demolition-mallorca/).

Balearic legislation (the Balearic Planning Act, Ley 12/2017 de urbanismo de las Illes Balears, and Law 7/2024, which opened an exceptional procedure to legalise certain buildings on rural land) can change the analysis: if the building is eventually legalised, the criminal defence gains arguments against demolition. Whether its requirements and deadlines are met has to be checked case by case.

## Neighbours and buyers harmed by an illegal building

A neighbour affected by an illegal building, a buyer who acquired a home without knowing it was unlawful, or an association defending the land can join the proceedings. A good-faith buyer is entitled to compensation from the seller, and Article 319.3 expressly protects their interests before demolition is carried out. If you are going to buy a rural property, checking its planning status beforehand avoids this problem; we cover it on our page on [planning lawyers in Mallorca](https://www.carloscastell.com/en/planning-lawyer-mallorca/).

## What our illegal building lawyer in Mallorca does

- Examines the planning classification of the plot and whether the works were or are capable of authorisation, with support from an architect where needed.

- Reconstructs the chronology of the works to assess limitation and who is responsible.

- Accompanies you when you give your statement to the prosecutor or the court, and proposes defence expert reports.

- Negotiates a plea agreement with the prosecutor where advisable, with agreed demolition and a suspended sentence.

- Coordinates the criminal defence with the administrative proceedings and any possible legalisation.

- For companies, reviews their controls through a [criminal compliance](https://www.carloscastell.com/en/corporate-criminal-compliance-mallorca/) programme.

Castell Abogados is a Palma law firm focused mainly on criminal law. We work in Spanish, Catalan, English and German, which is useful for the many foreign owners of rural properties, and we attend courts on all the islands. Non-resident clients can instruct us under a notarised power of attorney. The first consultation is free and you receive a written quote. More information on our page on [criminal lawyers in Palma](https://www.carloscastell.com/en/criminal-lawyer-mallorca/).

## Frequently asked questions

### Is building without a licence on rustic land in Spain always a crime?

No. It is only a crime if the works cannot be authorised, that is, if the planning rules do not allow that type of building on that land. If the works could have been legalised, it is an administrative breach with a fine and, where appropriate, restoration. Where the line falls depends on the municipal plan and the island-wide planning instruments, and must be studied with the plan and the planning certificate in front of you.

### Will I go to prison for illegal building in Spain?

As a general rule, no, if you have no previous convictions and the sentence imposed does not exceed two years: in that case it can be suspended. The courts often make suspension conditional on demolishing what was built or restoring the land. The risk increases if there are previous convictions, if a stop order was disobeyed or if the works are part of a profit-making activity.

### When does an illegal building offence become time-barred?

The offence generally becomes time-barred after five years, usually counted from completion of the works. If the building continued to be extended, the period may start again. In addition, criminal limitation does not prevent the authorities from acting to restore planning legality, with their own time limits, which on protected rural land can be very long.

### What should I do if I bought an illegal house on rustic land in Mallorca?

If you did not build it and did not know it was illegal, you are in principle not criminally liable, but the house may be affected by demolition or administrative proceedings. You should review the title deed, the Land Registry extract and the building's history, and consider a claim against the seller. If there are criminal proceedings against whoever built it, you can join them to defend your rights as a good-faith third party.

### Can a demolition order on an illegal house be avoided?

In some cases, yes: if the works have been legalised or can be legalised under current planning, if the exceptional regional legalisation procedure has been used and its requirements met, or if demolition would be clearly disproportionate. Outside those situations, the courts almost always order it. The sooner the legalisation route is examined, the more options there are.

