Skip to content
AS
Alonso Sala
CRIMINAL LAWYERS
ES
Legal Analysis

The Crime of Sexual Harassment: Art. 184 CP, Modalities and Defense (2026)

calendar_todayJune 20, 2026

Last updated:

lightbulbKey Takeaways

  • check_circleArt. 184 CP: requesting sexual favors within a defined relationship
  • check_circleNo physical contact required; an objective, serious situation is
  • check_circleFour modalities: basic, abuse of superiority, custodial, vulnerability
  • check_circleAbuse of superiority: one to two years in prison
  • check_circleDistinguished from sexual assault (178), mobbing (173.1) and stalking (172 ter)

Quick answer

The crime of sexual harassment under Article 184 of the Spanish Criminal Code (CP) punishes requesting favors of a sexual nature within a labor, teaching or analogous relationship, creating for the victim an objective, seriously intimidating or humiliating situation, without physical contact. The basic offense carries six to twelve months in prison or a fine; abuse of superiority raises it to one to two years.

Sexual harassment is one of the offenses against sexual freedom that causes the most confusion, because it overlaps with the workplace, with the internal protocol of the company or educational center, and at times with moral harassment. It is typified as a standalone offense in Article 184 of the Criminal Code (CP) and gathers under a single provision several modalities with different penalties. As criminal defense lawyers specializing in sexual harassment, we explain what the offense punishes, its four modalities, how it is distinguished from neighboring figures, the evidence and the keys to a defense, both for the accused and for the person suffering the harassment.

What Art. 184 CP Punishes

Article 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, where, by such conduct, they create for the victim an objective and seriously intimidating, hostile or humiliating situation. The protected legal interest is sexual freedom and, closely connected to it, the person's moral integrity within that relationship. It does not protect property or the employment relationship as such.

Two features define this offense and are worth keeping in mind from the outset:

  • It does not require physical contact. What is punished is the sexual solicitation that creates the described climate. Where 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. The victim's subjective discomfort is not enough: the conduct must generate, assessed by objective criteria, a hostile, humiliating or intimidating environment of some substance.

The Elements of the Offense

For the conduct to constitute the crime of sexual harassment, the following elements must be present cumulatively:

  • A request for favors of a sexual nature. An express or unequivocal request, of a sexual content, directed at the victim. Explicit language is not required if the context makes the request unmistakable.
  • The framework of the relationship. The conduct unfolds within a labor, teaching, service-provision or analogous relationship (also training, internships or certain professional services).
  • Result: an objective and serious situation. The request creates an intimidating, hostile or humiliating environment of sufficient substance, assessed by objective criteria and not merely from the victim's sensibility.
  • Intent (dolo). The perpetrator acts knowing the sexual character of the request and its suitability to create that climate.

The settled case law of the Supreme Court has clarified that the seriousness of the result may flow from the repetition of the conduct, but also from the intensity of a single, particularly serious solicitation; the assessment is always case by case.

The Four Modalities of Art. 184 CP

Following the reform introduced by Organic Law 4/2023, Art. 184 CP grades the criminal response according to the circumstances, across four modalities:

  • Basic offense (Art. 184.1 CP): 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 a harm (Art. 184.2 CP): one to two years in prison plus special disqualification of eighteen to twenty-four months. This applies where the perpetrator avails themselves of a position of labor, teaching or hierarchical superiority, or where the request is accompanied by the express or tacit threat of causing the victim a harm linked to their legitimate expectations (a promotion, the renewal of a contract, a grade or an extension).
  • Harassment in custodial centers (Art. 184.3 CP): one to two years in prison plus special disqualification of eighteen to twenty-four months where committed in protection, internment, detention, custody or reception centers, without prejudice to Art. 443.2 CP.
  • Victim's special vulnerability (Art. 184.4 CP): the applicable penalty is imposed in its upper half where the victim is especially vulnerable by reason of age, illness or disability.

The older figures still circulating in many sources should be discarded: the current penalties are those above, not the ones in force before the reform. The Art. 184.2 CP modality is the most common in practice, because the typical scenario of sexual harassment is precisely that of someone who exploits their position.

Distinction from Sexual Assault

The boundary with sexual assault is physical contact or the sexual act. Harassment under Art. 184 CP operates in the realm of solicitation and the intimidating climate: requests, repeated insinuations, messages of sexual content. Where there is an act that directly attacks the person's sexual freedom without their consent—touching, for example—the facts move to Art. 178 and following of the Criminal Code, with clearly higher penalties. Classifying the facts correctly is decisive, because it determines both the criminal reproach and the defense strategy and, where relevant, the competent court and procedural track.

Distinction from Mobbing and Stalking

Sexual harassment is often confused with two other figures with which it shares the idea of harassment, but from which it is clearly distinguished:

  • Workplace harassment or mobbing (Art. 173.1 CP): protects moral integrity and punishes repeated hostile or humiliating acts, abusing a position of superiority, but with no sexual connotation. A single campaign of harassment may have facets of both—sexual pressure accompanied by professional reprisals—which requires analyzing a possible concurrence of offenses.
  • Stalking (Art. 172 ter CP): punishes, with three months to two years in prison or a fine of six to twenty-four months, the persistent and repeated harassment that seriously disrupts the victim's daily life, outside the labor or teaching framework required by Art. 184 CP. It is the figure that applies where sexually tinged harassment occurs between persons without that prior relationship.

Digital and Environmental Sexual Harassment

Sexual harassment is no longer confined to in-person solicitation. A growing share of cases is channeled through messaging, corporate email and internal social networks: messages of sexual content outside working hours, repeated insinuations in work chats, or proposals wrapped in apparent professional cordiality. Alongside this direct harassment, courts also weigh environmental harassment—the creation of an objectively hostile environment through comments, images or jokes of a sexual nature that degrade the climate of the workplace. Digital evidence takes on decisive weight here and, with it, the need to establish its authenticity, integrity and full context.

Evidence in Sexual Harassment Cases

Sexual harassment usually unfolds in private or in closed environments, which places the evidence at the center of the proceedings. The following typically converge:

  • The victim's testimony, which the settled case law of the Supreme Court admits as evidence for the prosecution where it is persistent, consistent and surrounded by elements of peripheral corroboration.
  • Messaging and emails (chats, SMS, corporate email), whose authenticity and integrity must be established for them to have evidential value.
  • Witnesses from the work or educational environment, colleagues or managers who perceived the conduct or its effects.
  • Internal documentation: harassment protocol, internal complaint, disciplinary file, sick-leave records or medical reports.

The assessment of these elements in light of the presumption of innocence is where much of the case is decided, both in sustaining the accusation and in refuting it.

Defense of the Accused and Guidance for the Victim

In the defense of the accused, 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; whether the abuse of superiority under Art. 184.2 CP is properly found or has been applied automatically; and whether the complaint responds to the facts or to a prior labor dispute. Where the accusation is deliberately false, the law also provides the offense of false accusation or complaint under Art. 456 CP, which the defense may weigh in the specific case.

For the person suffering harassment, alongside the criminal route under Art. 184 CP, it is worth considering the parallel avenues: the internal protocol of the company or center, the Labor Inspectorate and the social (employment) jurisdiction. The early preservation of evidence—messages, witnesses, internal communications—is decisive for the success of any of those routes.

⚖️ Involved in a sexual harassment case?

We analyze the exact classification of the facts under Art. 184 CP, any aggravated modality and the distinction from sexual assault, mobbing or stalking, and take on the defense with a rigorous evidential strategy. Alonso Sala, a firm dedicated exclusively to criminal law, at Velázquez 27, Madrid, with coverage throughout Spain.

→ Sexual harassment: full legal information

→ Defense in offenses against sexual freedom

Frequently asked questions

What is the crime of 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 in Spain?expand_more

The basic offense under Art. 184.1 CP 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. Abuse of labor, teaching or hierarchical superiority, or the threat of a harm, raises it to one to two years in prison (Art. 184.2). The same range applies in custodial centers (Art. 184.3), and the victim's special vulnerability (Art. 184.4) means the penalty is imposed in its upper half.

Does sexual harassment require touching or physical contact?expand_more

No. Art. 184 CP operates in the realm of verbal or environmental solicitation that creates an intimidating climate. 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 far higher penalties. That is why the correct legal classification of the facts is decisive.

How does sexual harassment differ from mobbing or stalking?expand_more

Sexual harassment under Art. 184 CP protects sexual freedom and requires a request for sexual favors within a specific relationship. Workplace harassment or mobbing under Art. 173.1 CP protects moral integrity and has no sexual connotation. Stalking under Art. 172 ter CP punishes persistent, repeated harassment outside that labor or teaching framework.

How is an accusation of sexual harassment defended?expand_more

The defense examines whether all the elements of the offense are present: a genuine request for sexual favors, within the relationship described, and the objective creation of a serious, intimidating, hostile or humiliating situation. The full context of the messages, any reciprocity, the witnesses and the consistency of the account are assessed, a wrongly applied abuse of superiority is dismantled, and any complaint instrumentally filed after a labor dispute is scrutinized.

person_off

gavelDo you need criminal defense in this area?

We are criminal defense lawyers specializing in sexual harassment. We act urgently to protect your rights.

View expertisearrow_forward

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