info@societejuridique.com
Madrid: Paseo de la Castellana 216 8 ª Planta
Alicante: Av. Ansaldo Nº31, local 16
24h emergencies: 669 30 21 13

Social media:

Article 177 bis of the Criminal Code · Spain

Human trafficking defence: where illegal immigration ends and trafficking begins

Defence of investigated persons and assistance to victims · Author: Francisco Javier Martín Porras, criminal lawyer and court expert · SCJE team

Three behaviours are confused daily in police reports: helping someone enter without papers, exploiting a worker and recruiting a person in order to exploit them. Depending on which one is found, the criminal response ranges from a fine to more than ten years of prison. Defence of investigated persons and assistance to victims in art. 177 bis cases before the Investigation Sections of the Courts of Instance of the province and the Provincial Court of Alicante.

In brief. In brief. Defence and assistance in art. 177 bis CP cases: the difference with arts. 318 bis and 311 CP, the reflection period and the victim’s exemption from penalty. The basic trafficking offence carries 5 to 8 years of prison; the borders with immigration offences and labour-rights offences decide whether a case ends in a fine or in double-digit imprisonment.

What is at stake

5-8
years of prison for the basic trafficking offence (art. 177 bis)
4-8
years for aggravated immigration favouring (art. 318 bis)
177 bis.11
CP: exemption from penalty for the victim of trafficking

Three offences, one police report: the structure of the offence decides the decade

The favouring of illegal immigration of art. 318 bis punishes intentionally helping a non-EU national to enter Spanish territory, transit through it or, for profit, remain in it in breach of immigration law; the basic offence moves in fines or short prison terms, the provision itself declares humanitarian help non-punishable, and only circumstances such as an organisation or endangering the persons transported raise the penalty to 4 to 8 years. The offences against workers’ rights of arts. 311 and 312 punish imposing conditions that suppress labour rights, employing several workers without registration, illegal labour trafficking and recruitment with deceptive job offers. Trafficking under art. 177 bis punishes recruiting, transporting, transferring, harbouring or receiving a person, using violence, intimidation, deceit or abuse of a situation of superiority or vulnerability, for the purpose of exploitation: 5 to 8 years in the basic type.

The distinction is not one of moral gravity but of typical structure: the protected interest in art. 318 bis is migration control, in arts. 311-312 the rights of workers, and in art. 177 bis the liberty and dignity of the person. Where the medium of subjection appears (retained passports, growing debt, real impossibility of leaving), the case crosses into trafficking; where it does not, the requalification towards arts. 311-312 or 318 bis, almost always achieved through documentation provided by the defence, changes the penalty by an order of magnitude.

Provision by provision

Trafficking and its borders, article by article

Art. 177 bis.1 CP

The trafficking offence

Recruiting, transporting, transferring, harbouring or receiving a person, using violence, intimidation, deceit or abuse of a situation of superiority, necessity or vulnerability, for purposes of exploitation (forced labour, sexual exploitation, begging, criminal activities, organ removal, forced marriages): prison of 5 to 8 years in the basic type, with aggravations for endangerment, minors, organisation or public officials.
Art. 318 bis CP

Favouring of illegal immigration

Helping a non-EU national to enter, transit or, for profit, remain in Spain in breach of immigration law: fines or short prison in the basic type, with express non-punishability of purely humanitarian help, and 4 to 8 years when committed within an organisation or endangering the persons transported. The protected interest is migration control, not the person.
Arts. 311 and 312 CP

Offences against workers’ rights

Imposing conditions that suppress labour rights, employing a plurality of workers without registration or authorisation, illegal trafficking in labour and recruitment with deceptive offers. The border with trafficking is the medium of subjection: accepting a bad job because there is no other is not the same as being unable to leave because the passport is retained, the lodging is controlled and a growing debt is imputed.
The consent rule

When consent stops operating

When any of the means of art. 177 bis.1 has been used, the victim’s consent is irrelevant: “she knew what she was coming to and signed” may be true and still not exonerate. Conversely, if no such means is proved and the victim is an adult, consent recovers its full value and the offence falls.
The travel debt

The central indication in these cases

The debt is the central indication in practically all these procedures: its amount, its arbitrary growth, the discounts for lodging, food and other items, and whether it was deducted from wages. Its documentary reconstruction, receipt by receipt, is defence work of the first order in both directions.
Art. 177 bis.9 CP

Joinder of offences, not double punishment

The penalties of trafficking are imposed without prejudice to those of art. 318 bis and of the offences actually committed, including those of the exploitation. The logic is the one the Supreme Court has applied when punishing independently facts that injure different interests (STS 1424/2005, of 5 December, cassation 217/2005, ROJ: STS 7456/2005, ECLI:ES:TS:2005:7456). Disputing the joinder therefore does not consist in alleging double punishment, but in showing that one of the offences does not concur.
Art. 177 bis.11 CP

Exemption of the victim

The victim of trafficking is exempt from penalty for the criminal infringements committed in the situation of exploitation, provided their participation was a direct consequence of the violence, intimidation, deceit or abuse suffered and there is proportionality. A clause invoked little that decides entire cases: the woman who appears as tenant of the flat, the man who drove the van, the person who opened an account to receive the income.
Protection of victims

Reflection period and residence

The identified victim has a recovery and reflection period during which no removal proceedings are pursued; she may be exempted from administrative liability and access residence and work authorisation for exceptional circumstances, either through collaboration with the investigation or attending to her personal situation, two distinct routes not to be confused. Police identification follows Instruction 1/2024 of the State Secretariat for Security, of 16 January 2024.
Art. 31 bis and 127 bis CP

Companies and reinforced confiscation

Art. 177 bis provides the criminal liability of the company involved, and trafficking is among the offences allowing extended confiscation over assets of unjustified origin of the convicted person. Service companies, work cooperatives and premises-operating companies receive their own imputation: the existence and real effectiveness of the compliance model is their defence.
The borders at a glance

Summary table: offence, article and penalty

ConductArticleProtected interestPenalty
Human trafficking (basic)Art. 177 bis.1 CPLiberty and dignity of the person5 to 8 years of prison
Trafficking (aggravated)Art. 177 bis.4-6 CPEndangerment, minors, organisation, officialsHigher penalties, up to double-digit prison
Immigration favouring (basic)Art. 318 bis.1 CPControl of migration flowsFine or short prison; humanitarian help exempt
Immigration favouring (aggravated)Art. 318 bis.3 CPOrganisation or endangerment of the transported4 to 8 years of prison
Conditions suppressing rightsArt. 311 CPRights of workersPrison and fine according to the case
Employment without registrationArts. 311-312 CPRights of workers; deceptive recruitmentPrison and fine according to the case
Exemption of the victimArt. 177 bis.11 CPNon-punishability of acts under exploitationFull exemption where proportional
Companies and confiscationArts. 31 bis and 127 bis CPCorporate liability; unjustified assetsFines, closure, extended confiscation

Summary drawn from the Spanish source page for orientation purposes. The applicable provisions are those of the Criminal Code in force at the relevant time; each case requires individual analysis by a criminal lawyer.

Our criterion on sources

We do not cite what we cannot verify

On the specific delimitation between art. 177 bis and art. 318 bis, on victim-identification indicators and on the application of the exemption of paragraph 11, our firm’s knowledge base does not hold indexed case law with complete references. We could cite from memory half a dozen well-known judgments on the matter, but we will not: we only cite what we can verify. What we do use constantly: STS 1424/2005 (ROJ: STS 7456/2005, ECLI:ES:TS:2005:7456) on the independent punishment of facts injuring different interests, and Instruction 1/2024 of the State Secretariat for Security for the police identification phase.

01

Requalification work: from trafficking to arts. 311-312 or 318 bis with documentary reconstruction

02

Pre-trial detention hearings prepared with roots, work and passport at the court’s disposal

03

Documentary reconstruction of the relationship: contracts, wages, transfers, messaging, tickets

04

Technological evidence: legitimacy of interceptions, scope of device imaging, chain of custody

Timeline

A trafficking case, step by step

Phase 01

Arrest and first statements: the defence is born with the attribution of the act (art. 118 LECrim); detention hearings prepared with documented roots

Phase 02

Investigation before the Court of Instance: time limits of art. 324 (twelve months extendable); in networks with rogatory commissions the extensions are the norm

Phase 03

Evidence work: debt reconstruction receipt by receipt, labour documentation, challenges to interceptions and imaging

Phase 04

Trial: the borders 177 bis / 318 bis / 311-312, the consent rule, the exemption of the victim and the joinder of art. 177 bis.9

Who we assist

Situations where this defence is decisive

🏠

Owners and tenants of premises or flats

Renting a flat is not harbouring a victim if neither the means of subjection nor the purpose is proved: participation is delimited act by act.

🚐

Drivers, intermediaries and recruiters

Often the first to fall and the least informed about the whole: the work consists in confining participation to a specific episode and disputing the organisation aggravation, which is what multiplies the penalty.

🌍

Families following the case from abroad

We assist families following the procedure from Romania, Colombia, Morocco or the United Kingdom: what a detention hearing is, how long an investigation lasts, what can and cannot be requested.

Victims of trafficking

Reflection period, residence for exceptional circumstances and the exemption from penalty of art. 177 bis.11 for acts committed under exploitation: rights that decide entire cases and are invoked from the first moment.

FAQ

Frequently asked questions on trafficking charges

I paid little and lodged the workers in a house on the estate. Can I be accused of trafficking?
Paying below the collective agreement and lodging in poor conditions points, in principle, to arts. 311 and 312 CP or to an administrative infringement. It crosses into art. 177 bis when elements of subjection appear: retention of documents, a growing debt deducted from wages, a real impossibility of leaving, control over movements or threats. If none of that exists in your case, what must be done is to prove it with labour documentation from the first moment.
Why am I accused of trafficking and also of sexual exploitation and criminal organisation?
Because paragraph 9 of art. 177 bis orders the imposition of the trafficking penalty without prejudice to those of art. 318 bis and of the offences actually committed, including those of the exploitation, following the Supreme Court logic of punishing independently facts that injure different interests (STS 1424/2005, ROJ: STS 7456/2005, ECLI:ES:TS:2005:7456). Disputing the joinder consists in showing that one of the offences does not concur, not in alleging double punishment.
The alleged victim says she knew what she was coming to and consented. Does that acquit?
If any of the means of art. 177 bis.1 was used (violence, intimidation, deceit, abuse of vulnerability), consent is irrelevant: it may be true and still not exonerate. Conversely, if no such means is proved and the victim is an adult, consent recovers its full value and the offence falls. The debt of the journey, reconstructed receipt by receipt, usually decides which of the two scenarios the court believes.

Speak to a criminal lawyer

In a fast-track case, the days you have are the case.

Criminal defence in English before the courts of Alicante and the rest of Spain, for residents and for visitors who have flown home.

Logotipos-abogacia-scje
Paseo De La Castellana 216 8º 28046 Madrid
Alicante – Playa de San Juan Av. Ansaldo 31, local 16, 03540 Alicante
Londres: 20 Wenlock Road, N1 7GU, Reino Unido
París: 72 Faubourg St Honoré, 75008, Francia
info@societejuridique.com

Société de Conseil Juridique et Expert es un despacho de abogados con sedes en Madrid, Alicante, Londres y París, especializado en defensa y acusación penal, delitos económicos y corporativos y derecho tecnológico. Trabajamos con orientación estratégica en procedimientos penales complejos, propiedad intelectual y análisis forense avanzado, y prestamos consultoría jurídica, compliance y escudos de protección a particulares y empresas. Atendemos desde Alicante y Madrid, con consulta online en toda España y asistencia al detenido 24 horas. Resuelva sus dudas en las preguntas frecuentes o solicite una primera consulta.

Copyright © 2026 Société de Conseil Juridique et Expert S.L.

EspanolEnglishFrancaisРусскийItalianoDeutsch
WhatsApp · Urgencias 24h