Workplace Sexual Harassment: The Offense of Art. 184 CP (2026)
Last updated:
listIn this article
lightbulbKey Takeaways
- check_circleArt. 184 CP: requesting sexual favors at work
- check_circleNo physical contact required; an objective, serious situation is
- check_circleAbuse of superiority: one to two years in prison
- check_circleDistinct from mobbing (173.1) and sexual assault (178)
Quick answer
Workplace sexual harassment is typified in Article 184 of the Criminal Code (CP): requesting favors of a sexual nature within a labor, teaching or service-provision relationship in a way that creates for the victim an objective and seriously intimidating, hostile or humiliating situation. The basic offense carries six to twelve months in prison or a fine of ten to fifteen months plus disqualification; abuse of a position of superiority raises it to one to two years in prison.
Sexual harassment in the workplace is one of the offenses against sexual freedom that causes the most confusion, because it coexists with the labor route, with the company's internal protocol and, at times, with moral harassment or mobbing. It is typified autonomously in Article 184 of the Criminal Code (CP). As criminal defense lawyers in workplace sexual harassment, we explain the basic offense, its aggravated forms, the distinction from related figures, the evidence and the keys to defense, both for the accused and for the person suffering the harassment.
What Art. 184 CP Punishes
Art. 184.1 CP punishes anyone who requests favors of a sexual nature, for themselves or for a third party, within a labor, teaching, service-provision or analogous relationship, continued or habitual, where this conduct creates for the victim an objective and seriously intimidating, hostile or humiliating situation. The protected legal interest is sexual freedom, not property nor the labor relationship as such.
Two features define this offense and are worth bearing in mind:
- It does not require physical contact. What is punished is the sexual solicitation that creates the described climate. If there is touching or other acts of sexual content, the facts are no longer harassment but sexual assault.
- The intimidating situation must be objective and serious. Subjective discomfort is not enough: the conduct must generate, assessed by objective criteria, a hostile, humiliating or intimidating environment of a certain gravity.
The Elements of the Offense
For conduct to constitute the offense of sexual harassment, the following elements must concur cumulatively:
- Request for favors of a sexual nature. An express or unmistakable request of sexual content, directed at the victim.
- Framework of the relationship. The conduct takes place within a labor, teaching, service-provision or analogous relationship (also training, internships or certain services).
- Result: an objective and serious situation. The request creates an intimidating, hostile or humiliating environment of sufficient gravity, assessed objectively.
- Intent. The perpetrator acts knowing the sexual character of the request and its capacity to create that climate.
The provision refers to a "continued or habitual" relationship. The settled case law of the Supreme Court has clarified that the gravity of the result may stem from repetition, but also from the intensity of a particularly serious one-off act; the assessment is always made on the facts of the case.
Basic Offense and Aggravated Forms
Art. 184 CP grades the criminal response according to the circumstances:
| Form | Penalties |
|---|---|
| Basic offense (184.1) | Six to twelve months in prison or a fine of ten to fifteen months, plus special disqualification from the profession, trade or activity for twelve to fifteen months. |
| Abuse of superiority or threat of harm (184.2) | One to two years in prison plus special disqualification for eighteen to twenty-four months. |
| In protection, detention, custody or reception centers (184.3) | One to two years in prison plus special disqualification for eighteen to twenty-four months, without prejudice to Art. 443.2 CP. |
| Special vulnerability of the victim (184.4) | The applicable penalty is imposed in its upper half, by reason of age, illness or disability. |
The aggravated form of Art. 184.2 CP is the most frequent in the workplace: it applies where the perpetrator abuses a position of labor, teaching or hierarchical superiority, or where the request is accompanied by the express or tacit announcement of causing the victim a harm connected with their legitimate expectations (a promotion, contract renewal, a grade or an extension). In addition, Art. 184.5 CP provides for the liability of the legal person where the offense is committed within it under Art. 31 bis CP.
Distinction from Workplace Harassment (Mobbing)
Sexual harassment is often confused with workplace harassment or mobbing. They are distinct offenses, with different protected legal interests:
- Sexual harassment (Art. 184 CP): protects sexual freedom; the core element is the request for favors of a sexual nature.
- Workplace harassment or mobbing (Art. 173.1 CP): protects moral integrity; punishes repeated hostile or humiliating acts, abusing a position of superiority, with no sexual connotation.
The same campaign of harassment may have facets of both —for example, sexual pressure accompanied by professional reprisals—, in which case it must be analyzed whether a concurrence of offenses applies. It is also worth recalling that Art. 173.4 CP contemplates, as a minor (leve) infraction, addressing another person with expressions, behaviors or proposals of a sexual nature that create an objectively humiliating, hostile or intimidating situation without reaching the gravity of the offense of Art. 184 CP.
Distinction from Sexual Assault
The boundary with sexual assault is physical contact or the sexual act. The harassment of Art. 184 CP operates on the plane of solicitation and the intimidating climate: requests, repeated insinuations, messages of sexual content. Where there is an act that directly attacks a person's sexual freedom without their consent —touching, for instance— the facts move to Art. 178 and following of the Criminal Code, with clearly higher penalties. Classifying the facts correctly is decisive, since it determines both the criminal reproach and the defense strategy.
Evidence in Sexual Harassment Cases
Sexual harassment usually unfolds in private, which places evidence at the center of the proceedings. The following typically concur:
- The victim's testimony, which the settled case law of the Supreme Court accepts as incriminating evidence where it is persistent, coherent and surrounded by elements of peripheral corroboration.
- Messaging and emails (chats, SMS, corporate email), whose authenticity and integrity must be established.
- Witnesses from the work environment, colleagues or managers who perceived the conduct or its effects.
- Company records: the harassment protocol, internal complaint, disciplinary file, sick-leave notes or medical reports.
It is in the assessment of these elements in light of the presumption of innocence that much of the proceedings is decided, both to sustain the accusation and to rebut it.
Defense of the Accused and Guidance for the Victim
In the defense of an accused person, the work focuses on verifying whether all the elements of the offense are genuinely present: whether there was a real request for sexual favors or a strained reading of ambiguous messages; whether an objectively serious situation arose or it is a matter of subjective discomfort; and whether the context and the evidence support the prosecution's account. What is a crime is rigorously distinguished from what belongs to the labor or disciplinary sphere.
For the person suffering harassment, alongside the criminal route under Art. 184 CP, it is advisable to weigh the parallel avenues: the company's internal protocol, the Labor Inspectorate and the labor jurisdiction. The early preservation of evidence (messages, witnesses, internal communications) is decisive. The firm advises on the most suitable strategy according to the circumstances, always with discretion and without anticipating outcomes.
Are you involved in a workplace sexual harassment case?
We analyze whether the facts constitute the offense of Art. 184 CP, its possible aggravated form and the distinction from workplace harassment or sexual assault, and we take on the defense with a rigorous evidentiary strategy.
📞 Contact the firm: +34 91 078 65 74
⚖️ Do you need a criminal defense lawyer?
A firm dedicated exclusively to criminal law. If you face an accusation or are suffering sexual harassment at work, we can help.
Frequently asked questions
What is workplace sexual harassment under Art. 184 CP?expand_more
It is the offense of requesting favors of a sexual nature, for oneself or for a third party, within a labor, teaching, service-provision or analogous relationship, where this conduct creates for the victim an objective and seriously intimidating, hostile or humiliating situation. It does not require physical contact: what is punished is the sexual solicitation that generates that climate.
What is the penalty for sexual harassment at work in Spain?expand_more
The basic offense carries six to twelve months in prison or a fine of ten to fifteen months, plus special disqualification from the profession, trade or activity for twelve to fifteen months. If the perpetrator abuses a position of labor, teaching or hierarchical superiority, or threatens a harm linked to the victim's expectations, the penalty rises to one to two years in prison. Where the victim is especially vulnerable by reason of age, illness or disability, the penalty is imposed in its upper half.
How does sexual harassment differ from workplace harassment or mobbing?expand_more
Sexual harassment under Art. 184 CP protects sexual freedom and requires a request for favors of a sexual nature. Workplace harassment or mobbing under Art. 173.1 CP protects moral integrity and punishes repeated hostile or humiliating acts, abusing a position of superiority, but with no sexual connotation. The same campaign of harassment may have facets of both.
Is workplace sexual harassment the same as sexual assault?expand_more
No. Sexual harassment under Art. 184 CP operates in the realm of verbal or environmental solicitation that creates an intimidating climate, without sexual contact. Where there is touching or other acts of sexual content directed at the victim, the facts shift to sexual assault under Art. 178 and following, with notably higher penalties.
How is an accusation of workplace sexual harassment defended?expand_more
The defense examines whether all the elements of the offense are present: that there was a genuine request for sexual favors, within the relationship described, and that an objective, serious, intimidating, hostile or humiliating situation actually arose. The context, the messages, the witnesses and the consistency of the account are assessed, distinguishing what is a crime from what belongs to the labor or disciplinary sphere.