Law firm in Palma de Mallorca

Criminal law guide

Mistake of fact and mistake of law: when a mistake excludes the offence

"I didn't know it was an offence" or "I didn't know what I was doing" are not always useless excuses. The Spanish Criminal Code regulates mistakes and, in some cases, lack of knowledge excludes or reduces liability. We explain the difference between a mistake about the facts (error de tipo) and a mistake about unlawfulness (error de prohibición).

Intent and mistake

Most offences require intent (dolo): knowing what you are doing and wanting to do it. If the person is unaware of some element of the offence, they are not acting with intent. Article 14 of the Criminal Code addresses this and distinguishes between two kinds of mistake.

Mistake of fact

This is a mistake about one of the facts that make up the offence. For example:

  • Taking someone else's coat in the belief that it is your own.
  • Buying an object without knowing, or being able to suspect, that it is stolen, in which case there is no handling of stolen goods.
  • Having sexual relations with a person under 16 in the well-founded belief that they were older.
Mistake of factConsequence
Unavoidable: anyone in that situation would have made the mistakeExcludes criminal liability
Avoidable: it could have been avoided with greater carePunished as a negligent offence, if the law provides for a negligent form; if not, there is no offence
About an aggravating circumstance or a fact that qualifies the offencePrevents the aggravation from being applied

As many offences have no negligent form (theft, for example), an avoidable mistake about their elements leads to acquittal. We explain this under criminal negligence.

Have you been summoned or arrested?

What you do in the next few hours is decisive. Call us before making any statement.

Mistake of law

This is a mistake about the unlawfulness of the conduct: the person knows what they are doing but believes it is permitted. For example, someone who believes that an administrative authorisation they hold allows them to carry out an activity that is in fact criminal, or a newly arrived foreigner who does not know that conduct permitted in their own country is an offence in Spain.

Mistake of lawConsequence
UnavoidableExcludes criminal liability
AvoidablePenalty reduced by one or two degrees

The courts are demanding: it is not enough to claim that you did not know the law. They consider the person's education, their circumstances, whether the conduct is clearly unlawful to anyone and whether they had the opportunity to find out. For obviously reprehensible conduct, such as assaulting or robbing someone, a mistake of law is not accepted.

How it is proved

It is for the defence to provide the information that makes the mistake credible: documents, communications, prior advice, personal circumstances. At the same time, the prosecution must prove intent, under the presumption of innocence. In practice, mistake is frequently raised in financial, planning, intellectual property and immigration offences, where the boundary between lawful and unlawful is technical.

Has something similar happened to you?

Tell us about your case: the first consultation is free and without obligation.

Frequently asked questions

Can I argue that I didn't know it was an offence?

Yes, as a mistake of law, but the courts only accept it if the mistake was reasonable in your circumstances. If it was avoidable, it reduces the penalty; if it was unavoidable, it excludes liability.

What is the difference between a mistake of fact and a mistake of law?

A mistake of fact concerns the facts: you do not know what you are doing. A mistake of law concerns the law: you know what you are doing but believe it is permitted.

What is an avoidable mistake?

One that could have been avoided by acting with due care, for example by finding out before acting.

Is there an offence if I am mistaken about a minor's age?

If the mistake about age was unavoidable, there is no intentional offence. If it was avoidable, there would only be an offence if a negligent form exists, and none is provided for sexual offences.

Does being a foreigner allow me to claim ignorance of the law?

It may be a relevant factor in assessing a mistake of law, but it is not enough on its own, especially for conduct that is clearly unlawful in any country.

You may also be interested in