Article 178 of the Spanish Criminal Code is the central provision on sexual assault. Since the reform of 2022 the Code contains a single offence built on the absence of consent, and it defines consent affirmatively: it exists only where it has been freely expressed by acts which, in the circumstances, clearly convey the person’s will. Violence, intimidation, abuse of superiority or of vulnerability, and the incapacity of the complainant are no longer separate offences but circumstances that raise the penalty. For a foreign national accused after a night out in Benidorm, Alicante or Torrevieja, the practical consequence is that the case turns on how consent was communicated and on what can be reconstructed of the hours in question.
1. A person who performs any act that violates the sexual freedom of another person without that person’s consent shall be punished with imprisonment of one to four years as a person responsible for sexual assault. Consent shall be understood to exist only where it has been freely expressed by acts which, having regard to the circumstances of the case, clearly convey the person’s will.
2. Acts of a sexual nature performed using violence, intimidation or abuse of a situation of superiority or of vulnerability of the victim shall in all cases be treated as sexual assault, as shall those carried out on persons who are deprived of their senses or whose mental condition is abused, and those carried out where the victim’s will has been overcome for any reason.
3. Where the assault has been committed using violence or intimidation, or on a victim whose will has been overcome for any reason, the person responsible shall be punished with imprisonment of one to five years.
4. The sentencing court may, giving reasons in the judgment, and provided that there is no violence or intimidation, that the victim’s will was not overcome for any reason and that the circumstances of article 180 are absent, impose the custodial penalty in its lower half or a fine of eighteen to twenty-four months, having regard to the lesser gravity of the act and to the personal circumstances of the offender.
Working translation prepared by Société Juridique from the consolidated Spanish text published by the Official State Gazette. It has no official status: the only authoritative version is the Spanish original, available at the Official State Gazette and reproduced verbatim in our Spanish-language entry for this provision. Source: Organic Law 10/1995 of 23 November, the Spanish Criminal Code.
Reconstructing the expression of consent. Because the statute defines consent by reference to outward acts, the defence works to place before the court everything that documents those acts: messages exchanged before and after, the sequence recorded by hotel and venue cameras, door access records, taxi and card transactions, and the accounts of companions. The objective is not to attack the complainant but to establish what was communicated at the material time, since the file is frequently built on a single retrospective account with no contemporaneous material.
Error as to consent. The offence is intentional. Where the accused reasonably understood, from what was said and done, that consent was being given, the mental element is absent or, at the least, the error is unavoidable in part. This argument is available where both parties had been drinking, where the encounter followed extended and explicit exchanges, and where there was no expression of refusal at any point, and it requires the earliest possible preservation of the digital record, which the police do not always seize.
Excluding the aggravated bracket. The difference between paragraph 1 and paragraph 3 is the presence of violence, intimidation or the overcoming of the will. The defence examines the forensic examination for the absence of any injury consistent with force, and the toxicological and medical evidence on the actual level of the complainant’s intoxication, since a diagnosis of deprivation of the senses cannot be founded on the complainant’s later inability to recall events. Excluding those circumstances also opens the reduced penalty in paragraph 4.
Lesser gravity and the alternative to imprisonment. Paragraph 4 permits the court, giving reasons, to impose the lower half of the range or a fine where the act was of lesser gravity and no aggravating circumstance applies. In cases of brief and isolated contact, this provision offers the realistic route to a non-custodial outcome. Its application requires a reasoned submission on the nature of the act and on the personal circumstances of the accused, prepared with the report of the forensic services and, where it exists, the record of any compensation agreed.
Are you under investigation or facing charges in Spain? Société Juridique acts for foreign nationals throughout Spain, with offices in Alicante and Madrid and a 24-hour custody line. +34 669 30 21 13 or enquire online.
This entry is provided for information only and does not constitute legal advice. The application of any provision depends on the circumstances of the individual case and requires examination of the case file by a qualified lawyer.