Skip to content
Alonso Sala
CRIMINAL LAWYERS
Legal Analysis

Illegal Labour Trafficking in Spain: Art. 312 CP and Employers

August 12, 2026Updated: 

Art. 312.1 of the Spanish Criminal Code (CP) punishes with two to five years in prison and a fine of six to twelve months anyone who illegally traffics in labour, and Art. 312.2 CP imposes the same penalty on anyone who recruits people or induces them to leave their job by offering deceptive or false employment or working conditions, and on anyone who employs foreign nationals without a work permit under conditions that harm, remove or restrict the rights recognised to them by statute, collective agreement or individual contract. Employing a foreign worker without authorisation does not in itself amount to this offence: the provision also requires actual harm to those rights. Where that harm is absent, the repeated employment of foreign nationals without a permit, or the employment of a minor without one, falls under Art. 311 bis CP, punishable with three to eighteen months in prison or a fine of twelve to thirty months, unless the facts carry a heavier penalty under another provision of the Code. Where the facts are attributed to a legal person, Art. 318 CP imposes the penalty on the directors or managers responsible and on those who, knowing of the facts and being able to remedy them, took no measures, and it also allows the accessory measures of Art. 129 CP. The employer's defence is built on the absence of harm to the worker's rights, on the conditions actually agreed and on mistake under Art. 14 CP.

Need help with your case? Talk to a criminal defense lawyer at Alonso Sala.

A Labour Inspectorate visit that ends with the file being sent to the investigating court, or a police operation at a worksite, place the employer in a very different position from that of an administrative penalty file: that of a suspect in an offence carrying two to five years in prison. As criminal lawyers in illegal labour trafficking cases, we set out what Art. 312 CP actually punishes, where the boundary with administrative breach lies, and which neighbouring provisions — Arts. 311 bis, 318 bis and 177 bis CP — may appear in the same case.

The Two Forms of the Offence Under Art. 312 CP

The provision contains two subsections carrying the same penalty. Art. 312.1 CP punishes with two to five years in prison and a fine of six to twelve months those who illegally traffic in labour. Art. 312.2 CP imposes the same penalty on two groups of conduct: those who recruit people or induce them to leave their job by offering deceptive or false employment or working conditions, and those who employ foreign nationals without a work permit under conditions that harm, remove or restrict the rights recognised to them by statutory provisions, collective agreements or their individual contract.

The structure of that second limb should be fixed from the outset, because most defences turn on it: employing a foreign national without a work permit is not enough. The provision also requires that the employment take place under conditions that harm, remove or restrict rights already recognised to the worker by statute, collective agreement or contract. These are two cumulative elements, and the second is not presumed from a documentary irregularity alone.

The first form, trafficking proper, describes intervention in the labour market treating people as goods: transferring workers outside lawful channels, profit-making intermediation, placing staff wholly outside any contractual cover. Alongside both stands Art. 313 CP, which punishes with the penalty provided in the preceding article — the same two to five years in prison and fine of six to twelve months — anyone who induces or facilitates a person's emigration to another country by simulating a contract or a job placement, or by using similar deceit. It is the provision that surfaces where recruitment takes place in the country of origin through jobs that do not exist.

The Criminal Threshold: Harm to Rights, Not Formal Irregularity

Title XV of the Criminal Code protects workers' rights, not the administrative tidiness of the business. The legislature therefore left outside the offence those labour or immigration breaches that do not harm those rights, and the first task of the defence is to measure the distance between the inspection report and the offence: which specific conditions were imposed, against what benchmark they are compared, and which recognised right was harmed, removed or restricted.

Comparison with the imposition of illegal working conditions under Art. 311 CP helps to locate the threshold. That provision, punishable with six months to six years in prison and a fine of six to twelve months, targets anyone who imposes harmful conditions on workers in their service through deceit or abuse of a situation of need, anyone who imposes unlawful conditions by contracting under arrangements outside the employment contract or maintains such conditions against an administrative requirement or penalty, and anyone who simultaneously employs a number of workers without notifying their Social Security registration above the thresholds in its subsection 3. Where such conduct involves violence or intimidation, Art. 311.5 CP requires the penalties to be raised by one degree. The full picture of the title, with the remaining offences, is developed in our guide to crimes against workers' rights.

The two provisions differ in the role of the perpetrator. Art. 311 CP looks inward, at an employment relationship that already exists; Art. 312 CP looks at trafficking in labour and at the harmful employment of those without a work permit. Hence a consequence that often goes unnoticed and can be decisive in older cases: under Art. 131 CP, Art. 311 CP — with a maximum of six years — becomes time-barred after ten years, whereas Art. 312 CP — whose maximum is exactly five — falls within the residual period of five years.

Repeated Employment of Foreign Nationals Without a Permit (Art. 311 bis CP)

Art. 311 bis CP is the piece many defences overlook, and yet it defines the most frequent scenario after an inspection. It punishes with three to eighteen months in prison or a fine of twelve to thirty months anyone who repeatedly employs or gives work to foreign nationals lacking a work permit, or who employs or gives work to a minor lacking a work permit.

Three points are decisive. The first is repetition: under limb (a) an isolated episode does not satisfy the provision, which requires repeated conduct — something that must be proved and not inferred from the number of workers found during a single visit. The second is the asymmetry of limb (b): where a minor without a work permit is involved, no repetition is required. The third is the express subsidiarity clause with which the provision opens — unless the facts carry a heavier penalty under another provision of the Code — which prevents Art. 311 bis CP from being stacked onto Art. 312 CP and forces a decision as to which of the two actually describes what happened.

That decision is the crux of the matter for the employer. If the prosecution cannot establish the harm to rights required by Art. 312.2 CP, the classification drops to a substantially milder framework, with the alternative of a fine built into the provision itself.

Who Is Liable Where the Employer Is a Company (Art. 318 CP)

Art. 318 CP resolves a classic problem: the offences in Title XV describe employer conduct, but the employer is usually a company. The provision states that where the facts are attributed to legal persons, the penalty is imposed on the directors or managers of the service who were responsible for them and on those who, knowing of the facts and being able to remedy them, took no measures to do so.

The provision therefore opens two circles of liability. The first covers those who decide and carry out: de facto or de jure directors, human resources managers, personnel officers, site managers. The second, more dangerous because it is built on an omission, reaches anyone who knew of the situation and had the effective capacity to correct it and did not. Against that second circle the defence works on actual knowledge, on the effective capacity to remedy — formal office is not enough — and on the effectiveness of the delegation of duties and of the internal controls in place.

As regards the company, Art. 318 CP allows the court to order in addition one of the measures in Art. 129 CP. Two points are worth keeping in mind: the offences in Title XV do not trigger corporate criminal liability under Art. 31 bis CP, so the entity is not itself prosecuted; but the temporary closure of premises, the suspension of activities and judicial supervision may already be ordered as interim measures during the investigation (Art. 129.3 CP), with an impact on the business that often precedes any judgment by years.

Boundaries with Art. 318 bis and Art. 177 bis CP

Cases that begin with a police operation usually involve three possible classifications, and telling them apart is the first technical battle.

Art. 318 bis CP does not punish employing, but helping someone to enter, transit or remain. Its first subsection punishes with a fine of three to twelve months or three months to one year in prison anyone who intentionally helps a person who is not a national of an EU Member State to enter Spanish territory or transit through it in breach of the law on entry or transit, with the express clarification that the acts are not punishable where the sole aim pursued was to provide humanitarian assistance, and with the penalty in its upper half where there is a profit motive. Helping someone to remain in Spain for profit carries the same penalty under subsection 2, and subsection 3 raises the penalty to four to eight years in prison where the acts are committed within an organisation devoted to such activities or where the lives of those concerned are endangered. Unlike Title XV, here a legal person can be liable, with a fine of two to five years or of three to five times the profit obtained (Art. 318 bis.5 CP). The scope of this offence is analysed in detail in our article on facilitating illegal immigration.

Art. 177 bis CP sits at the opposite end of the scale. It punishes with five to eight years in prison anyone who recruits, transports, transfers, harbours or receives persons — including the exchange or transfer of control over them — using violence, intimidation or deceit, or abusing a position of superiority or a situation of need or vulnerability, or by giving or receiving payments to obtain the consent of a person having control over the victim, for one of the purposes it lists, the first of which is the imposition of forced labour or services, slavery or practices similar to slavery, servitude or begging. The provision itself states that a situation of need or vulnerability exists where the person concerned has no real or acceptable alternative but to submit to the abuse. Where minors are involved for the purpose of exploitation none of those means is required (Art. 177 bis.2 CP), and the victim's consent is irrelevant where any of them was used (Art. 177 bis.3 CP). Its full treatment is set out in our article on human trafficking.

How the three are told apart in practice

Art. 318 bis CP looks at crossing the border or remaining; Art. 312 CP, at the employment relationship and the harm to the worker's rights; Art. 177 bis CP, at instrumental recruitment or harbouring through violence, deceit or abuse of vulnerability, directed at exploitation. They are not mutually exclusive: Art. 177 bis.9 CP provides that its penalties are imposed without prejudice to those corresponding, where applicable, to the offence under Art. 318 bis CP and to other offences actually committed, including those constituting the exploitation itself.

From the Labour Inspectorate to the Criminal Court

Most of these cases do not begin with a complaint but with an inspection. The administrative route — the consolidated Law on Infringements and Sanctions in the Social Order, known as the LISOS — covers on its own the bulk of labour and immigration irregularities, with its own catalogue of offences and penalties. The move into the criminal sphere occurs where the inspector finds evidence of an offence: the file is then sent to the Public Prosecutor or the investigating court and the administrative penalty procedure awaits the outcome of the criminal case, which takes precedence. That mechanism prevents double punishment for the same facts, but it also means that the material gathered during the visit enters the criminal case already assembled.

Hence the importance of the inspection report. The facts directly observed by the inspector carry a presumption of accuracy (Art. 53.2 of the LISOS), a presumption that admits evidence to the contrary and does not extend to legal assessments, to inferences, or to what the inspector learns from third parties. Separating what was observed from what was concluded is a task best undertaken before the first statement; the framework governing inspections and its limits is examined in our article on the Labour Inspectorate and the employer's criminal liability. Where the same visit reveals prevention failings, the case may be extended to the offence against worker safety, which has a different evidential focus.

Lines of Defence for the Employer

The defence is built on verifiable material, not on assessments. The first line is the absence of harm to rights: Art. 312.2 CP requires identifying which right recognised by statute, collective agreement or individual contract was harmed, removed or restricted. That comparison is made with documents — the applicable collective agreement, the contract, payslips, working-time records, registration notices, shift schedules — and does not accommodate a charge built solely on the worker's immigration status.

The second line concerns the conditions actually agreed as against those offered. In the recruitment form of the offence, the deceit must bear on essential elements of the relationship — pay, working hours, job grade, place of work or the very existence of the post; a later disagreement, a breach of contract or a mismatch of expectations does not amount to a deceptive or false offer within the meaning of the provision.

The third line is mistake under Art. 14 CP. An unavoidable mistake as to a fact constituting the offence excludes criminal liability and, where avoidable, the offence would be punished as negligent where applicable — which here means no liability at all, since Art. 312 CP has no negligent form. This has real scope where the worker's documents were checked and turned out to be forged, where hiring went through a temporary work agency or a subcontractor that certified its staff's status, or where the authorisation was pending. Alongside this, mistake as to unlawfulness is governed by Art. 14.3 CP, with the penalty reduced by one or two degrees where the mistake was avoidable.

To those three lines are added the individual allocation of liability in subcontracting chains and corporate structures — who decided, who carried out and who had the effective capacity to remedy, in the terms of Art. 318 CP — the alternative classification under Art. 311 bis CP with its subsidiarity clause, and the examination of limitation, which for Art. 312 CP is completed after five years.

First Decisions After an Inspection or a Police Operation

The hours following the visit shape much of the proceedings. It is advisable not to give a statement or hand over further documents without prior legal advice: what is produced to justify an employment situation is later incorporated into the criminal case with whatever weight the investigating judge gives it. It is equally advisable to preserve the documentation in full — contracts, payslips, proof of payment, registration notices, working-time records, correspondence with the temporary work agency or the contractor — without any later tidying or reordering, which besides damaging credibility may open a separate front.

The scope of the premises inspected should also be defined: entry into what constitutes a constitutionally protected home requires the occupier's consent or judicial authorisation (Art. 18.2 of the Spanish Constitution), and that boundary is arguable in mixed premises or in accommodation provided to staff. Finally, the criminal strategy must be coordinated from the outset with the labour, immigration and Social Security defence, because submissions made in an administrative file end up being read in court.

⚖️ Do you need a criminal defence lawyer?

A firm dedicated exclusively to criminal law. We assess your case and design the defence strategy.

→ Illegal labour trafficking

📞 +34 91 078 65 74

Frequently asked questions

What is the sentence for illegal labour trafficking?

Art. 312.1 CP punishes those who illegally traffic in labour with two to five years in prison and a fine of six to twelve months. The same penalty applies under Art. 312.2 CP to recruitment through deceptive or false employment or working conditions and to the employment of foreign nationals without a work permit under conditions that harm, remove or restrict their rights. Art. 313 CP refers to that same penalty for anyone who induces or facilitates a person's emigration to another country by simulating a contract or a job offer.

Is it a criminal offence to employ a foreign worker without a work permit?

Not automatically. Art. 312.2 CP requires two cumulative elements: employing a foreign national without a work permit and doing so under conditions that harm, remove or restrict the rights recognised by statute, collective agreement or individual contract. Without that second element the conduct may remain within the administrative sphere or, where repeated, fall under Art. 311 bis CP, carrying three to eighteen months in prison or a fine of twelve to thirty months.

What is the difference between Art. 311 and Art. 312 CP?

Art. 311 CP, punishable with six months to six years in prison and a fine of six to twelve months, concerns the imposition of harmful conditions on workers in the employer's service through deceit or abuse of a situation of need, contracting under arrangements outside the employment contract, and the simultaneous employment of a number of workers without Social Security registration above the thresholds in its subsection 3. Art. 312 CP targets trafficking in labour, deceptive recruitment and the harmful employment of foreign nationals without a permit. One practical consequence: with a maximum of six years, Art. 311 CP becomes time-barred after ten years under Art. 131 CP, whereas Art. 312 CP becomes time-barred after five.

Is the employing company itself criminally liable?

The offences in Title XV are not among those triggering corporate criminal liability under Art. 31 bis CP. Art. 318 CP addresses the point differently: where the facts are attributed to legal persons, the penalty is imposed on the directors or managers responsible and on those who, knowing of the facts and being able to remedy them, took no measures. On the entity itself the court may additionally order one of the measures in Art. 129 CP, and the temporary closure of premises, suspension of activities and judicial supervision may be ordered as interim measures during the investigation (Art. 129.3 CP).

When does Art. 177 bis CP apply instead of Art. 312 CP?

When the conduct ceases to be abusive employment and becomes the recruitment, transport, transfer, harbouring or receipt of persons for the purpose of exploitation, using violence, intimidation or deceit, or abusing a position of superiority or a situation of need or vulnerability. Art. 177 bis.1 CP punishes human trafficking with five to eight years in prison and expressly includes among its purposes the imposition of forced labour or services. Where minors are involved for the purpose of exploitation none of those means is required (Art. 177 bis.2 CP), and the victim's consent is irrelevant where any of them was used (Art. 177 bis.3 CP).

What about Art. 318 bis CP on facilitating illegal immigration?

It protects a different interest and sits in a different title of the Code. Art. 318 bis.1 CP punishes with a fine of three to twelve months or three months to one year in prison anyone who intentionally helps a non-EU national to enter Spanish territory or transit through it in breach of immigration law, with the penalty in its upper half where there is a profit motive and with no punishment where the sole aim pursued was to provide humanitarian assistance. The penalty rises to four to eight years in prison where the acts are committed within an organisation devoted to such activities or where lives are endangered (Art. 318 bis.3 CP). Unlike the offences in Title XV, here a legal person can be liable, with a fine of two to five years or of three to five times the profit obtained (Art. 318 bis.5 CP).

Does an inspection penalty prevent later criminal proceedings?

It works the other way round: criminal proceedings take precedence. Where an inspection finds evidence of an offence, the file is sent to the Public Prosecutor or the investigating court and the administrative penalty procedure awaits the outcome of the criminal case, so there is no double punishment for the same facts. The inspection report retains a presumption of accuracy as to the facts directly observed by the inspector (Art. 53.2 of the LISOS, the consolidated Law on Infringements and Sanctions in the Social Order), but that presumption admits evidence to the contrary and does not extend to legal assessments or inferences.

What is the limitation period for the offence under Art. 312 CP?

Five years. Art. 131.1 CP sets a ten-year period where the maximum penalty is imprisonment of more than five years and not exceeding ten; the maximum penalty under Art. 312 CP is exactly five years' imprisonment, so it falls within the residual five-year rule. The same period applies to Art. 311 bis CP. Art. 311 CP, by contrast, with a maximum of six years, becomes time-barred after ten.

Do you need criminal defense in this area?

We are criminal defense lawyers specializing in illegal labor trafficking. We act urgently to protect your rights.

View expertise

Related Articles

View all

Before you act, speak to a criminal defence lawyer.

What you read here is just the beginning. Transform information into active defence by contacting our team of experts.