Skip to content
AS
Alonso Sala
CRIMINAL LAWYERS
ES
Legal Analysis

The Crime of Human Trafficking: Article 177 bis of the Criminal Code

calendar_todayJune 18, 2026

Last updated:

lightbulbKey Takeaways

  • check_circleRecruiting or transferring a person for exploitation: 5 to 8 years' imprisonment
  • check_circleThe victim's consent is irrelevant where there was violence, deception or abuse
  • check_circleThe penalty rises by one degree with a minor or vulnerable victim, danger or an organisation
  • check_circleTrafficking (177 bis) is not the same as migrant smuggling (318 bis)

Quick answer

Human trafficking (art. 177 bis of the Spanish Criminal Code, CP) punishes recruiting, transporting, transferring, harbouring or receiving a person —in Spanish territory, from Spain, in transit or bound for Spain— using violence, intimidation or deception, or abusing a situation of superiority, need or vulnerability, for the purpose of sexual or labour exploitation, begging, criminal activities, organ removal or forced marriage. The basic penalty is imprisonment of five to eight years, raised by one degree where aggravating circumstances apply (a minor or especially vulnerable victim, danger to life, a criminal organisation or a public official). It is distinct from the smuggling of migrants under art. 318 bis CP, which protects a different legal interest.

Human trafficking is one of the gravest offences in the Criminal Code: it directly attacks the dignity and freedom of the person, who is treated as a commodity. Article 177 bis of the Spanish Criminal Code (CP) defines it as a stand-alone offence, with penalties starting at imprisonment of five to eight years that may rise significantly where aggravating circumstances apply. As criminal lawyers specialising in human trafficking and offences against personal freedom, we set out rigorously what the provision punishes, how it differs from migrant smuggling and on what basis the defence is built.

What Art. 177 bis CP Punishes

Art. 177 bis CP punishes anyone who, in Spanish territory, from Spain, in transit or bound for Spain, recruits, transports, transfers, harbours or receives a person —including the exchange or transfer of control over them— for a purpose of exploitation. In addition to that conduct, the offence requires a means of commission:

  • The use of violence, intimidation or deception.
  • The abuse of a situation of superiority, need or vulnerability of the victim, whether a national or a foreigner.
  • The giving or receiving of payments or benefits to obtain the consent of the person who had control over the victim.

The law states that a situation of need or vulnerability exists where the person has no real or acceptable alternative but to submit to the abuse. The basic penalty is imprisonment of five to eight years.

The Purposes of Exploitation

The offence does not require that the exploitation actually takes place: it is enough that the conduct is carried out for one of these purposes. Art. 177 bis lists the following:

  • The imposition of forced labour or services, slavery or similar practices, servitude or begging.
  • Sexual exploitation, including pornography.
  • Exploitation to carry out criminal activities.
  • The removal of bodily organs.
  • The celebration of forced marriages.

The penalties under art. 177 bis apply without prejudice to those corresponding to the exploitation offence actually committed (for example, the offences relating to prostitution or against workers' rights) and to any other offences committed. It is therefore an offence that usually concurs with others.

⚠️ The victim's consent is irrelevant

Where violence, intimidation, deception or abuse of a situation of vulnerability has been used, the victim's consent has no relevance for criminal-law purposes. And where the victim is a minor, there is trafficking even if none of those means is used, provided the conduct pursues a purpose of exploitation.

Aggravating Circumstances and Higher Penalties

The defining feature of art. 177 bis is the marked aggravation of the penalty depending on the circumstances. The penalty at the higher degree applies where:

  • The life or the physical or mental integrity of the persons targeted by the offence is endangered.
  • The victim is especially vulnerable through illness, pregnancy, disability, personal situation or being a minor.
  • The victim's vulnerability has been caused or aggravated by displacement arising from an armed conflict or a humanitarian disaster.

Where more than one of these circumstances applies, the penalty is imposed in its upper half. The penalty at the higher degree, together with absolute disqualification, is also reserved for those who act abusing their status as a public authority, agent or official. And where the offender belongs to an organisation or association dedicated to these activities, the penalty is likewise raised, with a further increase for its leaders, administrators or managers.

Art. 177 bis also provides for the liability of the legal person under art. 31 bis CP, with a fine of three to five times the benefit obtained and the optional penalties in art. 33.7 CP. It even punishes preparatory acts —incitement, conspiracy and solicitation— with the penalty reduced by one or two degrees.

Trafficking (177 bis) versus Migrant Smuggling (318 bis)

It is essential not to confuse trafficking with the smuggling of migrants or illegal immigration under art. 318 bis CP. Although they sometimes overlap in practice, they protect different legal interests:

Human trafficking (177 bis) Migrant smuggling (318 bis)
Protects the dignity and freedom of the person. Protects the control of migration flows and the State's immigration policy.
Requires a purpose of exploitation and a means of commission (violence, deception, abuse). Does not require a purpose of exploitation: it is enough to help someone enter, transit or remain in breach of immigration law.
Does not require crossing a border; the victim may be a national or a foreigner. Concerns non-EU persons and irregular entry or stay.
Basic penalty: imprisonment of 5 to 8 years. Basic penalty: a fine or imprisonment of 3 months to 1 year, aggravated in qualified cases.

Art. 177 bis itself provides that its penalties apply without prejudice to those under art. 318 bis where both offences concur, allowing cumulative punishment in cases where trafficking is accompanied by migrant smuggling.

Lines of Defence

The defence against a charge of human trafficking is strictly technical and must be addressed from the outset of the proceedings. Without promising any outcome, these are the usual lines of work:

  1. Presence of the elements of the offence: checking whether the act (recruiting, transferring, harbouring or receiving), the means of commission and the purpose of exploitation are all proven together. The absence of any of them may rule out trafficking and bring the facts within a less serious offence.
  2. Free or vitiated consent: the question is not whether the victim 'consented', but whether that consent was free or vitiated by violence, deception or abuse. This is a decisive evidentiary battleground.
  3. Degree of involvement and principal liability: distinguishing the actual position of the person under investigation from that of the other participants, separating principal liability from complicity or from conduct that is not punishable, especially in structures with several links.
  4. Validity and sufficiency of the evidence: examining the lawfulness of telephone interceptions, searches and entries, the chain of custody and, in particular, the victim's testimony and any pre-constitution of it, assessed in accordance with the requirements of the settled case law of the Supreme Court.
  5. Distinction from related offences: assessing whether the facts in fact fit within art. 318 bis, the offences relating to prostitution or those against workers' rights, with very different consequences for the penalty.

It is worth recalling that the law provides a non-punishment clause for the trafficking victim in respect of offences they may have committed as a direct consequence of the situation of exploitation, where there is the necessary proportionality between that situation and the criminal act. This dimension matters because a person initially treated as a suspect may in fact be a victim, which can alter the entire approach to the case. The characterisation of these facts is always fact-specific, may shift as the investigation develops, and calls for a rigorous and individual analysis of each case from the very first steps of the proceedings.

An investigation or charge for human trafficking?

Our lawyers specialising in human trafficking analyse the presence of the elements of the offence, the degree of involvement and the validity of the evidence, with the utmost discretion and technical rigour.

📞 Call us: +34 91 078 65 74

⚖️ Need a criminal defence lawyer?

Criminal defence in offences against the freedom and dignity of the person: human trafficking, exploitation and related offences.

→ Sexual offences and offences against freedom: full legal information

Frequently asked questions

What does the crime of human trafficking under art. 177 bis CP punish?expand_more

It punishes anyone who recruits, transports, transfers, harbours or receives a person —in Spanish territory, from Spain, in transit or bound for Spain— using violence, intimidation or deception, or abusing a situation of superiority, need or vulnerability, or by giving or receiving payments to obtain the consent of a person who has control over the victim, for one of the purposes of exploitation set out in the law. The basic penalty is imprisonment of five to eight years, without prejudice to the penalties for the exploitation offences actually committed.

How does trafficking differ from migrant smuggling (art. 318 bis CP)?expand_more

They are different offences protecting different legal interests. Trafficking (art. 177 bis) attacks the dignity and freedom of the person and requires a purpose of exploitation and a means of commission (violence, deception, abuse of vulnerability), regardless of whether the victim crosses a border. Migrant smuggling or illegal immigration (art. 318 bis) protects the control of migration flows and the State's interest in its immigration policy, and punishes helping a non-EU national to enter, transit or remain in Spain in breach of immigration law. Art. 177 bis itself provides that its penalties apply without prejudice to those under art. 318 bis where both offences concur.

Is the victim's consent relevant?expand_more

No, where one of the means of commission has been used. Art. 177 bis expressly declares the victim's consent irrelevant if there has been violence, intimidation, deception or abuse of a situation of superiority, need or vulnerability. A defence based on the victim having 'agreed' is therefore usually unworkable if the means of commission is proven; the legal debate shifts to whether that consent was truly free or vitiated. Where the victim is a minor, the means of commission does not even need to be proven.

Which aggravating circumstances raise the penalty under art. 177 bis CP?expand_more

The penalty is imposed at the higher degree where the victim's life or physical or mental integrity is endangered, where the victim is especially vulnerable (through illness, pregnancy, disability, personal situation or being a minor), or where their vulnerability arises from an armed conflict or a humanitarian disaster. It is also aggravated where the offence is committed by abusing the status of a public authority or official, or within a criminal organisation or association, with even higher penalties for its leaders or managers. Where more than one circumstance applies, the penalty is imposed in its upper half.

How is a person under investigation for human trafficking defended?expand_more

The defence is strictly technical and fact-specific. It looks at whether all the elements of the offence are present (the act, the means of commission and the purpose of exploitation), at the actual degree of involvement of the person under investigation as against other participants, and at the strength of the evidence, which in these proceedings often rests on the victim's testimony and its pre-constitution. It examines the lawfulness of any interceptions, surveillance and searches, the chain of custody and the assessment of testimony in line with the settled case law of the Supreme Court. Every case is different and calls for an individual study of the file.

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