Skip to content
A
Alonso Sala
CRIMINAL LAWYERS
ES
Legal Analysis

Obstruction of Justice in Spain: Complete Legal Guide

calendar_todayFebruary 10, 2026

Last updated:

Obstruction of justice is one of the most misunderstood and dangerous offenses in the Spanish Criminal Code (CP). Many people commit acts of obstruction without realizing that they are crossing the criminal line, believing they are simply "protecting their interests" or "helping a friend". As criminal lawyers specialized in obstruction of justice, we explain when a legitimate action becomes a crime.

What is Obstruction of Justice?

Obstruction of justice is not a single offense, but a family of conducts that interfere with the administration of justice. The Spanish Criminal Code (CP) regulates them in Articles 451 to 467, protecting the integrity of the judicial system.

The most common forms are:

  • False testimony (Arts. 458-460): Lying under oath in judicial proceedings.
  • Evidence tampering (Art. 451): Destroying, hiding or altering evidence.
  • Cover-up (Art. 451): Helping an offender evade justice.
  • Witness intimidation (Art. 464): Threatening or coercing witnesses.
  • Breach of court orders (Art. 468): Failing to comply with judicial orders.

False Testimony: More Than a Lie

Not every lie is perjury/false testimony. For the offense to apply, three elements must concur:

  1. Statement under oath: It must be made before a court or competent authority.
  2. Objective falsehood: The statement must be contrary to the truth.
  3. Intent: The witness must know they are lying. A memory or perception mistake is NOT a crime.

Real-life case: A witness states that they saw the accused at the crime scene at 10 PM. It is later proven that the defendant was elsewhere. Is it perjury/false testimony? NO, if the witness genuinely believed they saw him (perception error). YES, if they knew they had not seen him and lied deliberately.

Penalties range from 6 months to 2 years in prison, but there is a way out: retraction. If the witness confesses the truth BEFORE the final judgment, they are exempt from punishment (Art. 462 CP). This is a unique opportunity that must be seized with immediate legal advice.

Deleting Messages: When Is It a Crime?

This is the most common question in the digital age. The answer depends on TWO critical factors:

  • Did you know there was an ongoing investigation? If you delete messages BEFORE knowing there is an investigation, it is generally NOT a crime. Obstruction requires knowledge.
  • What was your intent? Deleting for routine privacy reasons (e.g. cleaning your phone every month) is different from deleting specifically to hide evidence.

Example 1 (NOT a crime): You have WhatsApp set to automatically delete messages every 30 days. On day 25, the police summon you to give a statement about an event from day 10. The messages have already been auto-deleted. There is NO obstruction because it was routine and prior to knowing about the investigation.

Example 2 (YES, a crime): The police summon you to give a statement tomorrow. That night, you manually delete all chats related to the case under investigation. Here there IS obstruction: you knew about the investigation and acted with intent to hide evidence.

The penalty is 6 months to 3 years in prison and a fine. But the defense can argue lack of knowledge or intent, which requires forensic analysis of the device to show prior deletion patterns.

Helping a Family Member: The Exemption That Saves You

Imagine that your brother committed an offense and asks you to hide him at your house. Do you commit a crime if you help him? The answer is: IT DEPENDS on your relationship with him.

Article 454 of the Spanish Criminal Code (CP) establishes a family exemption: the following do NOT commit the offense of cover-up/harboring:

  • The spouse or person joined by a similar relationship of affection
  • Ascendants (parents, grandparents)
  • Descendants (children, grandchildren)
  • Siblings

This exemption recognizes that family loyalty is a higher value that should not be criminalized. BUT it has limits:

  • It only applies to close relatives. A cousin or in-law is NOT exempt.
  • It only covers passive cover-up/harboring (hiding, not reporting). If you actively help commit new offenses, you are still liable.
  • It does NOT cover evidence tampering. If your child asks you to destroy evidence, and you do it, you commit a crime even if you are their mother.

Practical case: Your son runs someone over and flees. He arrives home frightened. You hide him in the basement for a week. The police ask about him and you say you don't know where he is. Is it a crime? NO, you are exempt as his parent. But if you also wash the car to remove evidence of the hit-and-run, THAT is the offense of evidence tampering.

The Right to Remain Silent Is NOT Obstruction

This is a common and dangerous misconception. Many people believe that if they do not cooperate with the police, they are committing obstruction. FALSE.

In Spain, you have a constitutional right to:

  • Not testify against yourself (Art. 24.2 of the Spanish Constitution)
  • Not confess your guilt
  • Remain silent at any time

Exercising these rights can NEVER be used as evidence of obstruction. The Spanish Supreme Court's case law is clear: "The suspect's silence cannot be interpreted as obstruction of justice. Citizens have no general duty to cooperate with investigations against themselves."

BUT BE CAREFUL: There is a huge difference between:

  • Remaining silent: "I invoke my right to remain silent." -> LEGAL
  • Lying: "No, I was not there" (when you were). -> MAY BE OBSTRUCTION

If you decide to speak, what you say must be true. If you lie to the police or to the judge, you can be charged with obstruction. That is why the golden rule is: If you do not have a lawyer present, remain absolutely silent.

Witness Intimidation: The Red Line

Contacting a witness to ask them to "tell the truth" may seem innocent, but it can be a crime if done in an intimidating way.

Article 464 CP punishes with 1 to 4 years in prison anyone who uses violence, intimidation or serious threats to:

  • Prevent someone from testifying
  • Influence the content of their testimony
  • Make them retract what they have stated

Where is the line?

  • LEGAL: "Hello, I know you are going to testify. I just ask you to tell the truth about what you saw."
  • GRAY ZONE: "I hope you don't say anything that harms me, since we are friends."
  • CRIME: "If you testify against me, you'll regret it" or "I know where your children live."

The defense in these cases focuses on the context. A message that looks threatening in isolation can be harmless in its full context. That is why forensic analysis of ALL communications - not just those presented by the prosecution - is essential.

Lawyers: Immune to Obstruction

A common question: Can a lawyer be charged with obstruction for advising their client on how to defend themselves?

The answer is an emphatic NO. Lawyers have absolute immunity for acts carried out in the legitimate exercise of their profession. This includes:

  • Advising the client to remain silent
  • Developing defense strategies
  • Contacting witnesses to prepare the case
  • Challenging unlawfully obtained evidence

Professional secrecy is sacrosanct. A lawyer does NOT commit cover-up/harboring by advising a client who is fleeing justice, as long as they limit themselves to giving legal advice and do not actively take part in the flight.

Key case law: "Advising a client on their constitutional rights, including the right to remain silent, cannot constitute obstruction of justice under any circumstances. Technical defense is a fundamental right that cannot be criminalized."

Consequences Beyond Prison

A conviction for obstruction of justice does not only entail prison. The collateral consequences can be devastating:

  • Criminal record: Which affects public service exams, residence permits and jobs involving minors.
  • Professional disqualification: Particularly serious for lawyers, doctors and civil servants. It can mean the end of your career.
  • Aggravating factor in the main offense: If you are convicted of the offense under investigation AND of obstruction, the penalties are added together.
  • Loss of credibility: A conviction for perjury/false testimony destroys your credibility as a witness in any future proceeding.

Effective Defense Strategies

As defense lawyers, we attack the weakest elements of the prosecution:

  1. Lack of knowledge: Proving you did not know there was an ongoing investigation when you engaged in the conduct.
  2. Lack of intent: Showing that your actions had a legitimate purpose (privacy, business confidentiality) and were not aimed at obstructing justice.
  3. Exercise of rights: Arguing that you simply exercised your constitutional rights (silence, defense).
  4. Family exemption: In cover-up/harboring cases, proving the family relationship that exempts you.
  5. Timely retraction: In perjury/false testimony, retracting immediately to be exempt from punishment.
  6. Nullity of evidence: If the underlying investigation was unlawful, the obstruction evidence may be null.

Practical Recommendations

If you find yourself involved in an investigation:

  • Do NOT delete anything once you know about the investigation. Even if you think it is incriminating, deleting it is worse.
  • Do NOT speak with witnesses without legal advice. Any contact can be interpreted as intimidation.
  • NEVER lie to the police or judge. If you do not want to talk, remain silent, but do not make things up.
  • Contact a lawyer IMMEDIATELY before giving any statement or taking any action.
  • Document everything: If you have routine data-deletion practices, document them BEFORE any problem arises.

Final Warning

Obstruction of justice is the offense that turns a legal problem into a catastrophe. Many people who would have been acquitted of the original offense end up in prison for obstruction. The golden rule: in the face of any investigation, SILENCE and a LAWYER. Do not try to "fix" things on your own.

Investigated for Obstruction of Justice?

If you are accused of perjury/false testimony, cover-up/harboring or evidence tampering, every minute counts. Our specialist criminal lawyers can help you with your case.

Contact us now: 91 078 65 74

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