Self-Defence in Spain: Legal Requirements to Avoid Liability
Self-defence is one of the most debated and, often, worst understood concepts in Spanish criminal law. There is a popular belief, heavily influenced by cinema, that any aggression justifies a violent response. However, the legal reality in Spain is much more restrictive and technical. For self-defence (or the defence of third parties) to completely exempt a person from criminal liability, a series of strict legal and jurisprudential requirements must be met. In this article, we will analyse in depth how the Spanish Código Penal (Criminal Code) regulates this justification, what practical steps arise from a criminal process where it is claimed, and how Spanish courts assess it on a day-to-day basis.
The Legal Framework of Self-Defence in the Spanish Criminal Code
Self-defence is not an unlimited right, but rather a justification (causa de justificación) that removes the unlawfulness of conduct that, under normal conditions, would constitute a crime (such as causing bodily harm or, in the most extreme case, homicide).
The reference regulatory framework is found in *Article 20.4 of the Código Penal (Organic Law 10/1995, of 23 November)*. This provision establishes that the following is exempt from criminal liability:
> “Anyone who acts in defence of their own person or rights, or those of others, provided that the following requirements are met...”
For the exemption to be complete (meaning the individual is entirely free from criminal penalties and civil liability arising from the offence), the law and the jurisprudence of the Tribunal Supremo (Supreme Court) require the simultaneous presence of three objective requirements and one subjective element.
The Three Cumulative Requirements for a Complete Exemption
The absence of any of these three requirements prevents the application of a complete exemption (eximente completa). This can lead, in the best-case scenario, to an incomplete exemption (eximente incompleta)—which drastically reduces the sentence—or, in the worst-case scenario, to an ordinary conviction.
1. Unlawful Aggression (the sine qua non requirement)
This is the cornerstone of self-defence. No defence is possible if there is no prior or imminent attack. Jurisprudence requires the aggression to meet the following characteristics:
- Real and objectively true: It cannot be a mere suspicion, an unfounded fear, or an imagined aggression (known as putative self-defence, which is resolved under the rules of an error of prohibition).
- Imminent and current: The danger must be immediate. Self-defence is not applicable against an aggression that has already ended (as that would be revenge or retaliation) nor against a future, non-specific threat.
- Unlawful: The attack must be contrary to the legal system. Self-defence is not applicable against lawful acts, such as an arrest carried out by a law enforcement officer in the line of duty.
In the case of defending one's dwelling or its outbuildings, the Código Penal expressly clarifies that unauthorized entry into it (allanamiento de morada / home invasion) will be deemed an unlawful aggression.
2. Rational Necessity of the Means Employed to Prevent or Repel It
This is the point that generates the most controversy in court. One must not confuse "proportionality of means" with a mathematical equality of weapons. The law speaks of "rational necessity" (necesidad racional).
This means that the defender must use the least harmful means available to them to neutralize the danger, taking into account the circumstances of the specific case (age, physical strength, location, time, availability of objects, etc.). If a physically large person is attacked with fists by someone notably weaker, shooting them with a firearm will not be considered a rational response if they could have repelled the aggression in another way.
3. Lack of Sufficient Provocation by the Defender
The person defending themselves must not have previously and sufficiently provoked the aggression. The provocation must be of such a nature that it is logical for the provoker to have foreseen the other person's violent reaction. If the defender severely insults or lightly assaults someone first, and that person responds disproportionately, it will be very difficult for the initial provoker to claim the complete exemption of self-defence.
The Subjective Element: The "Intent to Defend"
In addition to the three objective requirements, jurisprudence requires the animus defendendi (intent to defend). The individual must act with the intention and purpose of defending their legal rights (life, physical integrity, property) or those of a third party. If one acts out of mere revenge, resentment, or with the intent to fight (mutually accepted brawl), self-defence is ruled out.
The Incomplete Exemption: What Happens If a Requirement Is Missing?
If unlawful aggression is present (the essential requirement) but the proportionality of the means used fails or there was some provocation, we find ourselves facing an incomplete exemption (eximente incompleta), regulated in *Article 21.1 in relation to Article 68 of the Código Penal***.
In these cases, the judge or court will impose a sentence that is one or two degrees lower than that specified by law for the crime committed.
- Example of sentence reduction: If the crime of severe bodily harm carries a prison sentence of 3 to 6 years, a reduction by one degree would lower the sentence to 1 year and 6 months to 3 years minus one day. A reduction by two degrees would place it at 9 months to 1 year and 6 months minus one day, usually allowing the individual to avoid prison time if they have no prior criminal record.
Practical Examples and Proportionality Analysis
To understand how Spanish courts apply these concepts, we will analyse two hypothetical scenarios based on Spanish judicial reality.
Example 1: The Break-in at Carlos's Home
Carlos, aged 65, is sleeping in his chalet early on a Sunday morning. At 03:00 hours, he hears a loud noise and discovers that an intruder has broken the living room window and entered the house carrying an 80-centimetre iron bar. The intruder rushes towards Carlos, shouting that he is going to kill him. Carlos, who practices hunting legally, grabs his shotgun (properly registered) and fires a single shot at the assailant's leg to neutralize him, causing severe injuries that require hospitalization and result in permanent damage valued at €12,000 in civil compensation.
- Analysis: There is unlawful aggression (unlawful entry into a dwelling with a weapon in an imminent manner). There is a rational necessity of the means used, as Carlos is an elderly person, the assailant is armed with a blunt object, and the shot is aimed at a non-vital area (the leg) to stop the attack. There is no provocation on Carlos's part.
- Result: The complete exemption of self-defence will be recognized. Carlos will be free from criminal liability and exempt from paying the €12,000 in civil compensation.
Example 2: Javier's Bar Fight
Javier is in a bar and gets into a heated verbal argument with Luis over a football match. Luis, visibly drunk, pushes Javier with both hands. Javier, who is a judo black belt, responds by delivering a powerful punch to Luis's face, causing him to fall to the ground and hit his head against the edge of the bar. Luis suffers a traumatic brain injury, the recovery and permanent sequelae of which are valued at €45,000.
- Analysis: There was a prior unlawful aggression (the push), but Javier's response does not meet the requirement of rational necessity of the means employed. As a martial arts expert, he had less harmful control and restraint techniques available to him than a direct blow to the face of an intoxicated person. Furthermore, there was a prior argument (a reciprocal fight).
- Result: The complete exemption will not apply. An incomplete exemption might be considered due to the disproportionate means (resulting in a reduced sentence), but Javier will face a conviction for bodily harm and the mandatory payment of the €45,000 compensation.
Step-by-Step Practical Procedures in a Self-Defence Situation
If you have been forced to defend yourself against an aggression and have caused injuries or damage to the aggressor, you will immediately find yourself involved in a process regulated by the Ley de Enjuiciamiento Criminal (LECrim / Criminal Procedure Act). These are the steps you must follow:
- Immediately call emergency services (112): It is crucial to be the first to report the incident. Request medical assistance for yourself and, if necessary, for the aggressor. This demonstrates to the judge a lack of cruelty and the presence of animus defendendi.
- Police appearance and reading of rights: The Policía Nacional (National Police) or Guardia Civil (Civil Guard) will arrive at the scene. If the aggressor has serious injuries, it is highly likely they will proceed with your preventive arrest to bring you before a judge within the maximum constitutional period of 72 hours.
- Mandatory legal representation: Do not make a statement to the police without the presence of a specialized criminal defence lawyer. Everything you say in the initial police report (atestado policial) can shape your defence for the rest of the proceedings.
- *Instruction Phase (Diligencias Previas): The Juzgado de Instrucción* (Investigating Court) will open an investigation. Your defence must request key evidence: security camera footage, eyewitness statements, forensic reports on your own injuries (proving the prior aggression), and psychological assessments proving a state of terror or post-traumatic stress.
- Oral Trial Phase: If the investigating judge considers there is sufficient evidence of a crime, the oral trial (juicio oral) will open (before the Juzgado de lo Penal / Criminal Court, the Audiencia Provincial / Provincial Court, or even a Jury Court if there is a homicide). It will be in this phase where the application of the exemption under Article 20.4 of the Código Penal is formally debated.
Mistakes You Must Avoid
- Fleeing the scene without giving notice: Leaving the scene without calling the police or medical services destroys the presumption that you acted in self-defence. It can be interpreted as an attempt to evade justice, and you could also face charges for the crime of failing to render aid (omisión del deber de socorro).
- Continuing the attack when the aggressor is already neutralized: If the assailant falls to the ground unconscious or flees, any subsequent blow or shot is no longer self-defence, but a new and unilateral aggression that will constitute a crime of bodily harm or homicide.
- Hiding or altering physical evidence: Cleaning the scene, getting rid of the object used to defend yourself, or lying about the dynamics of the events in your first police statement will seriously damage the credibility of your testimony before the judge.
- Accepting a hasty plea bargain: Sometimes, out of fear of going to prison, people accept plea bargains (conformidades) with the Prosecution that involve pleading guilty in exchange for a reduced sentence. If the requirements for self-defence are genuinely met, you should fight for a full acquittal.
Frequently Asked Questions (FAQ)
Can I use a firearm to defend myself if someone enters my house?
Only if the assailant is armed with a weapon of similar lethality (a firearm, a large knife, an axe) and shows an unequivocal intent to physically assault the residents. If the intruder flees upon being discovered, or is unarmed, shooting them negates proportionality and will lead to prison sentences.
Does self-defence exist to protect material property?
Yes, the Código Penal protects the defence of "one's own rights or those of others", which includes property. However, jurisprudence is extremely strict: causing serious injury or death to a person will never be justified to prevent the theft of a material object (such as a car or a wallet) if there was no real and imminent risk to the life or physical integrity of individuals.
What is third-party self-defence?
It is the act of defending another person who is being unlawfully attacked. The requirements are exactly the same as for self-defence, with the addition that, if the third party being attacked had provoked the assailant, the defender must not have taken part in that provocation.
Who has to prove that I acted in self-defence?
In Spanish criminal proceedings, the presumption of innocence prevails, so the prosecution (the State Prosecution and the private prosecution) must prove the commission of the crime. However, in practice, when a cause for exclusion of liability such as self-defence is alleged, it is up to the defence to provide sufficient indications and evidence (witnesses, medical reports, reconstruction of events) to make the presence of the requirements demanded by the Código Penal plausible.
In Summary
- Self-defence requires three cumulative conditions: unlawful aggression, rational necessity of the means employed, and lack of sufficient provocation.
- The unlawful aggression must be real, current, and imminent; preventive self-defence or subsequent revenge is not permitted.
- Proportionality does not require using the exact same object as the aggressor, but rather the least harmful available means that is effective to repel the attack.
- If proportionality is lacking or there was provocation, an incomplete exemption may be applied, reducing the sentence by one or two degrees.
- In the event of such an incident, it is vital to immediately call 112 and secure specialized legal assistance before making any statement.
General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.
Have a specific legal question?
Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.
Ask for freeThis is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.