Skip to content
AS
Alonso Sala
CRIMINAL LAWYERS
ES
Legal Analysis

Articles 319 and 320 Spanish Criminal Code: Illegal Building and Planning Malfeasance (2026)

calendar_todayJuly 2, 2026

Last updated:

lightbulbKey Takeaways

  • check_circle319.1: protected land, up to 4 years in prison
  • check_circle319.2: non-developable land, 1 to 3 years
  • check_circleReasoned demolition and confiscation: Art. 319.3
  • check_circleArt. 320: penalty of art. 404 plus prison and fine

Quick answer

Articles 319 and 320 of the Spanish Criminal Code (CP) punish planning offences. Article 319.1 imposes 1 year and 6 months to 4 years in prison, a 12-24 month fine and 1-4 years of professional disqualification on developers, builders or supervising technicians for non-authorisable works on specially protected land; article 319.2 lowers the prison range to 1-3 years for ordinary non-developable land, and article 319.3 allows the court to order demolition and the confiscation of profits. Article 320 punishes public officials who knowingly issue favourable reports on, or vote to approve, unlawful plans or licences: the penalty of article 404 CP (9 to 15 years of disqualification from public office) plus 1 year and 6 months to 4 years in prison and a 12-24 month fine.

Need help with your case? Talk to a criminal defense lawyer at Alonso Sala.

Articles 319 and 320 of the Spanish Criminal Code (CP) are the two provisions every property owner, developer and public official in Spain should know before touching rural land. Article 319 punishes developers, builders and supervising technicians who carry out non-authorisable works; article 320 punishes planning malfeasance: the public official who knowingly signs off on, or votes for, unlawful plans and licences. As criminal defence lawyers specialising in urban planning crimes, we explain what both articles actually say, the exact penalties and where the defence margins lie.

What Articles 319 and 320 Punish

Both provisions open Title XVI of the Criminal Code, on offences against land-use planning. They are two sides of the same coin:

  • Article 319 CP — the offence of the private actor: non-authorisable urbanisation, construction or building works, with two degrees of severity depending on the type of land (319.1 and 319.2), possible demolition (319.3) and corporate liability (319.4).
  • Article 320 CP — the offence of the official: the authority or civil servant who, knowing it to be unjust, reports favourably on unlawful plans, projects or licences, conceals breaches during inspections, omits mandatory inspections, or votes to approve them.

The key word in article 319 is "non-authorisable". Building without a licence is not, in itself, a crime: if the works could be legalised under the applicable planning rules, the matter is an administrative infringement. The criminal offence requires works that cannot be legalised at all.

Article 319.1: Building on Specially Protected Land

The aggravated offence covers non-authorisable works carried out on land reserved for roads or green zones, public-domain assets, or places whose landscape, ecological, artistic, historical or cultural value is legally or administratively recognised, or which for those reasons enjoy special protection. The penalties are:

  • Prison from 1 year and 6 months to 4 years.
  • A fine of 12 to 24 months — or one to three times the profit obtained from the offence, if that profit is higher.
  • Special disqualification from the profession or trade for 1 to 4 years, a career-ending penalty for architects, surveyors and builders.

Typical scenarios include villas inside natural parks, works on the maritime-terrestrial public domain along the coast, and construction on land zoned as green space. Where the works also seriously damage the environment, the separate offence under article 325 CP (environmental crime) may come into play.

Article 319.2: Building on Non-Developable Land

The basic offence punishes the same conduct — non-authorisable urbanisation, construction or building works — on ordinary non-developable land (suelo no urbanizable, often marketed to foreign buyers as "rustic land"). The prison range drops to 1 to 3 years, with the same 12-24 month fine (or one to three times the profit) and the same 1-4 year professional disqualification.

This is by far the most common scenario in practice, and one that catches many foreign owners by surprise: the house built on a rural plot that could never be legalised, the farm shed converted into a dwelling, the swimming pool added without any possibility of a licence. Spanish case law treats as a building any installation with vocation of permanence — prefabricated houses and mobile homes connected to water, electricity or a septic tank can qualify, even on wheels. Bear in mind that aerial photography, including cadastral drone flights, is today the main source of prosecutions, because it proves both the existence and the approximate date of the works.

Who Is Liable: Developer, Builder and Supervising Technician

Article 319 CP is a special offence: it can only be committed by the developers, builders or supervising technicians of the works. The concept of developer is, however, read broadly: the private individual who commissions or drives the works for their own use is treated as a developer, with no need to be a construction professional. The builder who executes the works knowing they are illegal and the architect or technician who directs them can be liable alongside the owner.

Article 319.4 CP adds corporate criminal liability under article 31 bis: a fine of 1 to 3 years — or two to four times the profit obtained, if higher — and, applying the rules of article 66 bis, the penalties in letters b) to g) of article 33.7, which include suspension of activities and closure of premises. Development and construction companies therefore need compliance controls that test the genuine planning viability of each project.

Summoned over unlicensed works in Spain?

Before giving any statement, establish the real planning classification of the land and the exact date the works were completed: the applicable offence, the limitation period and the demolition risk all depend on them.

Demolition and Confiscation: Article 319.3

For most owners the real threat is not prison — first offenders usually obtain a suspended sentence — but demolition. Article 319.3 CP empowers the courts to order, with reasons stated and at the offender's expense, the demolition of the works and the restoration of the altered physical reality to its original state, without prejudice to the compensation due to bona fide third parties. Weighing the circumstances, and after hearing the competent administration, the court may make demolition temporarily conditional on guarantees securing that compensation.

Although the provision says the courts "may" order it, demolition is requested and granted frequently, and the defence battle is fought on proportionality: primary residence, purchasers in good faith, or supervening legalisation through a change in the planning instruments. One point admits no debate: article 319.3 orders the confiscation of the profits of the offence "in every case", whatever transformations they may have undergone.

Article 320: Planning Malfeasance by Public Officials

Illegal urban development almost always needs an official signature. Article 320 CP therefore punishes planning malfeasance (prevaricación urbanística), an offence reserved to authorities and public officials, in two forms:

  • Article 320.1: issuing favourable reports, knowing them to be unjust, on planning instruments, urbanisation, plot division, re-parcelling, construction or building projects, or on the grant of licences contrary to land-use or planning rules; and also concealing breaches of those rules detected during inspections or omitting mandatory inspections.
  • Article 320.2: deciding or voting in favour of the approval of those instruments, projects or licences, alone or as a member of a collegiate body — the classic case of the mayor or councillors voting in the local government board or the plenary — knowing the decision to be unjust.

The penalty is twofold: that of article 404 CPspecial disqualification from public employment or office and from standing for election for 9 to 15 years — plus prison from 1 year and 6 months to 4 years and a fine of 12 to 24 months. It is thus more severe than ordinary administrative malfeasance under article 404 CP, which carries no prison term. The decisive element for the defence is the phrase "knowing it to be unjust": it requires direct intent aimed at a patent illegality. A reasonable technical disagreement, conflicting legal reports or a defensible reading of complex planning rules exclude the offence and leave the matter to the administrative courts. Our firm runs a dedicated practice in the defence of planning malfeasance cases, acting for municipal technicians and secretaries as well as elected officials.

Limitation Periods

The two offences differ sharply:

  • Article 319 CP: its maximum penalty does not exceed 4 years, so the offence is time-barred after 5 years (article 131 CP), counted from the complete termination of the works. Caution: the administrative power to restore planning legality may run on much longer timescales — and may never lapse on green zones or public domain — so a criminally time-barred building can still be demolished through administrative channels.
  • Article 320 CP: its composite penalty includes the disqualification of up to 15 years under article 404, and article 131.2 CP applies the penalty demanding the longest period: the offence is time-barred after 15 years.

Defence Strategies

  1. The works were authorisable: if legalisation was possible under the planning rules, the core element of article 319 is missing; the case belongs in administrative law, not criminal law.
  2. Land classification: expert evidence disputing the "special protection" status moves the case from 319.1 to 319.2, with a markedly lower penalty.
  3. Mistake of law (article 14 CP): a reasonable belief that building was permitted — years of municipal tolerance, property tax collected on the building, a consolidated environment of similar constructions — can exclude or mitigate liability.
  4. No qualifying status: showing that the accused was not the developer, builder or supervising technician of the works.
  5. Against demolition: proportionality for a primary residence, protection of bona fide purchasers and supervening legalisation through amended planning instruments.
  6. In article 320 cases: disproving the "knowing" element through the technical and legal reports that supported the decision; without direct intent there is no planning malfeasance.

These cases rarely travel alone: see also our guide to defending urban planning crime charges in Spain.

Under investigation for illegal building or planning malfeasance in Spain?

The strategy is decided at the outset: land classification, the completion date of the works and the full administrative file. With over 15 years of experience in criminal law, we review your case before you give a statement — in English.

📞 Call us: +34 91 078 65 74

⚖️ Need a criminal defence lawyer?

A firm dedicated exclusively to criminal law. Defence of property owners, developers, builders, technicians and public officials in planning offences.

→ Urban planning crimes: full legal information

Frequently asked questions

What do articles 319 and 320 of the Spanish Criminal Code punish?expand_more

Article 319 punishes developers, builders and supervising technicians who carry out non-authorisable urbanisation, construction or building works: on specially protected land (319.1, prison of 1 year and 6 months to 4 years) or on ordinary non-developable land (319.2, prison of 1 to 3 years), always with a 12-24 month fine and 1-4 years of professional disqualification. Article 320 punishes the public official or authority who knowingly reports favourably on, or votes to approve, unlawful plans, projects or licences.

What penalty applies to building on non-developable land in Spain?expand_more

Under article 319.2 CP, non-authorisable works on non-developable land carry 1 to 3 years in prison, a fine of 12 to 24 months (or one to three times the profit obtained, if higher) and special disqualification from the profession or trade for 1 to 4 years. If the land is specially protected — green zones, public domain, land of recognised landscape, ecological or historical value — article 319.1 raises the prison range to 1 year and 6 months to 4 years.

Will the court order the demolition of an illegal build?expand_more

Article 319.3 CP empowers judges to order demolition, with reasons stated and at the offender's expense, together with the restoration of the land to its original state. In practice it is frequently ordered, although the defence can invoke proportionality (particularly for a primary residence), the rights of bona fide third parties and the possibility of legalisation. The confiscation of the profits of the offence, by contrast, is ordered in every case.

What is planning malfeasance under article 320 CP?expand_more

It is the offence committed by a public official or authority who, knowing it to be unjust, issues favourable reports on planning instruments, urbanisation, plot division or building projects, or on licences contrary to planning rules; conceals breaches detected during inspections or fails to carry out mandatory inspections (320.1); or decides or votes in favour of their approval, alone or as a member of a collegiate body such as a town council (320.2).

I bought an illegal property in Spain in good faith — am I criminally liable?expand_more

Article 319 CP targets the developer, the builder and the supervising technician of the works, not the later purchaser. A buyer who acquired in good faith is protected as a bona fide third party: article 319.3 requires that compensation due to such third parties be safeguarded, and the court may make demolition conditional on guarantees securing its payment. The criminal exposure lies with whoever promoted and executed the illegal works.

When do these offences become time-barred in Spain?expand_more

The article 319 offence is time-barred after 5 years from the complete termination of the works, because its maximum penalty does not exceed 4 years (article 131 CP). The article 320 offence is time-barred after 15 years, since its composite penalty includes the disqualification of up to 15 years under article 404 CP and article 131.2 CP applies the penalty requiring the longest period.

domain_disabled

gavelDo you need criminal defense in this area?

We are criminal defense lawyers specializing in urban planning crimes. We act urgently to protect your rights.

View expertisearrow_forward

Related Articles

View allarrow_forward

Knowledge is power, but strategy is key.

What you read here is just the beginning. Transform information into active defense by contacting our team of experts.

call