No offence or penalty without a prior, written and precise law: the first guarantee of any accused.
The principle of legality (Arts. 1-4 of the Criminal Code, Art. 25 of the Spanish Constitution) is the foundation of criminal law: no one may be convicted for an act not defined as an offence by a prior, written, precise and strictly interpreted law. It is a first-order line of defence.
In brief. the principle of legality (nullum crimen, nulla poena sine lege) requires a prior law (lex praevia, non-retroactivity, Art. 2), written (lex scripta), certain (lex certa, precise definition) and strict (lex stricta, no analogy in malam partem, Art. 4). The more favourable criminal law, by contrast, is retroactive (Art. 2.2). These guarantees ground many lines of defence.
No conviction without a prior law. The act must be defined as an offence by a law in force when it was committed. Retroactively creating an offence or later aggravating a penalty is prohibited (Arts. 1 and 2).
The criminal law is strictly interpreted. Article 4 prohibits application by analogy to the detriment of the accused: the judge may not extend a criminal type to acts it does not expressly provide for.
Favour, however, is retroactive. Where a later law is more favourable, it applies to earlier acts, even already tried (Art. 2.2) — a concrete lever where the Criminal Code is reformed.
| Guarantee | Basis | Content | Effect for the defence |
|---|---|---|---|
| Lex praevia | Art. 2.1 | Non-retroactivity | Act not criminalised at the time |
| Lex favorable | Art. 2.2 | Favourable retroactivity | Applying a milder reform |
| Lex scripta | Art. 1 | Formal law | Custom excluded |
| Lex certa | Art. 25 CE | Precise type | Challenging vague types |
| Lex stricta | Art. 4.1 | No analogy | Excluding an extension |
| Jurisdictional guarantee | Art. 3 | Competent court | Nullity of irregularities |
| Enforcement guarantee | Art. 3 | Legal forms | Control of enforcement |
| Legal certainty | Art. 9 CE | Foreseeability | Prohibition of arbitrariness |
Indicative elements based on the Spanish Criminal Code and Constitution. Application depends on the specific case. This overview does not replace a lawyer’s analysis.
Many cases are won on legality. A vague criminal type, an analogical application, criminalisation later than the acts or a retroactively aggravated penalty are all violations that may lead to acquittal or nullity.
We also exploit favourable reforms. Where a reform of the Criminal Code softens a penalty, Article 2.2 requires its retroactive application — including to convictions already handed down.
People accused on the basis of a vague type or an extensive interpretation.
People who may benefit from a later, more favourable reform.
Companies facing economic offences with blurred contours.
Relatives seeking to understand the guarantees applicable to the proceedings.
Speak to a criminal lawyer
Criminal defence in English before the courts of Alicante and the rest of Spain, for residents and for visitors who have flown home.