
Imposition of Illegal Working Conditions: Defence Lawyers (Art. 311 CP)
Criminal defence for offences against workers' rights: imposition of illegal working conditions and large-scale employment without Social Security registration.
Article 311 of the Spanish Criminal Code (CP) punishes with 6 months to 6 years' imprisonment and a fine of 6 to 12 months the employer who, through deceit or abuse of a situation of need, imposes labour or Social Security conditions that harm, suppress or restrict rights recognised by law, collective agreement or contract (311.1); who imposes illegal conditions by hiring under arrangements alien to the employment contract, such as sham self-employment, or maintains them despite an administrative requirement or sanction (311.2); who simultaneously employs workers without Social Security registration or work authorisation when they are at least 25%, 50% or all of the workforce, depending on its size (311.3); and who, knowing of those conditions, maintains them after acquiring the business (311.4). With violence or intimidation, the penalties rise by one degree. Directors and managers are liable (Art. 318 CP). The defence reviews the threshold, the deceit and the Labour Inspectorate's report.
What the offence of imposing illegal working conditions is
Article 311 of the Spanish Criminal Code forms part of the so-called offences against workers' rights. Its purpose is to protect the body of labour rights granted by law, collective agreements or the individual contract against the most serious employer conduct, that which, due to its intensity, goes beyond a mere administrative infringement and warrants criminal reproach.
Art. 311.1 CP punishes those who, through deceit or by abusing a situation of need, impose on the workers in their service labour or Social Security conditions that harm, suppress or restrict the rights granted to them by legal provisions, collective agreements or the individual contract. The conduct is not limited to wages: it covers working hours, rest periods, holidays, social contributions, occupational safety and any other enforceable labour right.
Penalties under Art. 311 CP
The penalty is imprisonment of six months to six years and a fine of six to twelve months. This is a wide range that allows the defence to pursue both a possible acquittal and, where appropriate, a reduction of the penalty to its lower brackets. Where the conduct is carried out with violence or intimidation, the penalties are imposed in the upper degree under Art. 311.5 CP.
Contracting under formulas alien to the employment contract (Art. 311.2 CP)
Art. 311.2 CP, introduced by the 2022 reform (LO 14/2022), punishes those who impose illegal conditions on their workers by contracting them under formulas alien to the employment contract, or who maintain such conditions against an administrative requirement or sanction. This form addresses the concealment of the employment relationship (false self-employment) and its circumvention through arrangements other than the employment contract.
The provision contains two forms of conduct. The first requires more than a wrongly classified contract: illegal conditions must be imposed on the worker through that arrangement alien to the employment contract. The second, maintaining those conditions against an administrative requirement or sanction, makes the prior administrative action (the requirement or the sanction) an element of the offence: it is necessary to identify exactly what was required or sanctioned, when it was notified and what changed afterwards. Introduced by LO 14/2022, this paragraph has been in force since 12 January 2023 and, like any criminal law that is unfavourable to the accused, it does not apply to acts committed before that date (Arts. 1.1 and 2.1 CP).
Large-scale employment without Social Security registration (Art. 311.3 CP)
Art. 311.3 CP punishes those who simultaneously employ a plurality of workers without registering them with the corresponding Social Security system or, where appropriate, without having obtained the relevant work authorisation, provided that the number of affected workers reaches the percentages set by law: at least 25% in companies or workplaces employing more than 100 workers, 50% in those employing more than 10 and no more than 100, and all of them in those employing more than 5 and no more than 10. The provision sets no threshold for companies or workplaces with 5 workers or fewer, so this form does not reach them. The text also requires the employment to be simultaneous: the defence checks how many unregistered workers coincided at the same time and on which workforce, that of the company or that of the workplace, the percentage is calculated. This form addresses large-scale undeclared employment, distinct from the simple failure to register an isolated worker, which constitutes an administrative infringement.
This figure must be distinguished from Social Security fraud under Art. 307 CP: both may coincide, but they protect different legal interests. The defence must precisely delimit which conduct is charged and avoid a double assessment of the same facts.
Aggravated forms and related offences
The Criminal Code imposes the penalties in the upper degree where the above conduct is carried out with violence or intimidation (Art. 311.5 CP). Furthermore, Art. 311 often appears in conjunction with other offences: illegal trafficking of labour and deceitful recruitment (Art. 312 CP), the repeated employment of foreign nationals without a work permit, or of a minor without a work permit (Art. 311 bis CP), or, in the most extreme cases, human trafficking for the purpose of labour exploitation (Art. 177 bis CP). Correctly identifying the applicable offence is essential, because the penalties vary substantially.
Art. 311.4 CP extends the same penalty to those who, in a transfer of undertakings and with knowledge of the conduct described above, maintain the conditions imposed by another. A person who acquires a business is not liable for what the previous owner did, but for knowingly maintaining those conditions; proof of that knowledge is the core of the defence in these cases.
Foreign nationals without authorisation and minors: Art. 311 bis CP
Added by LO 1/2015, Art. 311 bis CP punishes with 3 to 18 months' imprisonment or a fine of 12 to 30 months anyone who repeatedly employs foreign nationals who lack a work permit, and anyone who employs a minor who lacks a work permit. Unlike Art. 311.1, it does not require deceit or the imposition of harmful conditions: hiring without a permit is enough, repeatedly in the case of foreign nationals; for a minor, the text does not require repetition.
It is a subsidiary offence, applying “unless the acts are punished with a more serious penalty under another provision”. This orders the offences from most to least serious: if conditions that harm, suppress or restrict their rights are imposed on foreign workers without a permit, Art. 312.2 CP (2 to 5 years' imprisonment and a fine) displaces Art. 311 bis; if simultaneous employment without work authorisation reaches the percentages of Art. 311.3, that provision applies; and the isolated hiring of an adult foreign national without a permit, without repetition or harmful conditions, does not fit any of these offences: it is the very serious infringement under Art. 54.1.d) of Organic Law 4/2000 on the rights and freedoms of foreign nationals in Spain, which applies “provided that the act does not constitute a criminal offence”. Repetition is therefore the first fact the defence examines: how many hirings, on what dates and of which people.
Arts. 311, 311 bis, 312, 316 and 307 CP: which offence is which
Several offences under Title XV and Social Security fraud may surface in the same inspection. Distinguishing them is the first step, because the penalties and what has to be proven vary greatly:
| Offence | Provision | Penalty | What distinguishes it |
|---|---|---|---|
| Imposition of illegal working conditions | Art. 311 CP | 6 months to 6 years' imprisonment and a fine of 6 to 12 months | Harmful conditions imposed through deceit or abuse of need, through arrangements alien to the employment contract, or simultaneous unregistered employment above the thresholds |
| Employment of foreign nationals without a permit or of minors | Art. 311 bis CP | 3 to 18 months' imprisonment or a fine of 12 to 30 months | Repeated hiring without a work permit, with no need for harmful conditions; gives way to the more serious offences |
| Illegal labour trafficking | Art. 312 CP | 2 to 5 years' imprisonment and a fine of 6 to 12 months | Trafficking in labour, recruiting through deceptive job offers or employing foreign nationals without a permit in harmful conditions |
| Offence against workers' safety | Art. 316 CP | 6 months to 3 years' imprisonment and a fine of 6 to 12 months; penalty one degree lower if committed through gross negligence (Art. 317 CP) | Failing to provide the safety measures required by occupational risk-prevention rules, seriously endangering life, health or physical integrity |
| Social Security fraud | Art. 307 CP | 1 to 5 years' imprisonment and a fine of one to six times the amount | Evaded contributions, or improper refunds or deductions, of more than €50,000; protects the assets of the Social Security system, not the worker's rights |
There is a practical difference between Arts. 311 and 307. In Social Security fraud, regularisation (full acknowledgement and payment of the debt before notice is given of the start of inspection proceedings or before a criminal complaint is filed) excludes criminal liability (Arts. 307.1 and 307.3 CP). Art. 311 contains no equivalent clause: registering the workers or paying what is owed after the events does not make the offence disappear, although it may mitigate the penalty.
Who is criminally liable
Liability falls on whoever has actual decision-making power over working conditions. Formal ownership of the company is not enough: the case law of the Supreme Court looks to the de facto employer and to those who carry out effective management, administrative or personnel functions. For this reason, directors, managers, HR officers or partners with effective control may face charges. Determining the true responsible party is often the first battleground of the defence.
Where the acts are attributed to a company, Art. 318 CP imposes the penalty on the directors or persons in charge of the service who were responsible and on those who, knowing of the acts and being able to remedy them, failed to take measures to do so. The offences in Title XV are not among those for which the legal entity itself can be held criminally liable (Art. 31 bis CP), but Art. 318 itself allows the judge to order one of the measures in Art. 129 CP against the business; the temporary closure of premises, the suspension of activities and judicial intervention may already be adopted as precautionary measures during the investigation (Art. 129.3 CP). We explain the general regime on our page on corporate criminal liability.
Evidence: the Labour Inspectorate's report in criminal proceedings
Where the proceedings begin with action by the Labour and Social Security Inspectorate and the infringement may constitute a criminal offence, the administration must refer the matter to the court or the Public Prosecutor and refrain from continuing the penalty proceedings until there is a final judgment or a decision ending the criminal proceedings, and the same facts cannot be punished twice where there is identity of subject, facts and legal basis (Art. 3 of the Law on Infringements and Penalties in the Social Order, LISOS). If the court finds no offence, the administrative file continues on the basis of the facts the courts have held proven.
Art. 23 of Law 23/2015, on the Labour and Social Security Inspection System, grants a presumption of accuracy to the facts verified by inspectors and recorded in infringement and assessment reports, without prejudice to the evidence provided by the parties concerned, and Art. 53.2 LISOS repeats the rule for infringement reports. In criminal proceedings, by contrast, the presumption of innocence applies (Art. 24.2 of the Spanish Constitution), and the court gives judgment by assessing the evidence taken at trial (Art. 741 of the Criminal Procedure Act, LECrim). The defence works on the text of the law itself: it separates what the inspector personally verified from what they infer or know through statements by third parties, checks the count of workers and of the workforce against the contribution records and, if the inspector testifies as a witness, subjects that testimony to cross-examination. We develop this on our page on defence before the Labour Inspectorate.
Specialist criminal defence
At Alonso Sala, at Velázquez 27 (Madrid), we handle these proceedings by analysing the employment documentation, the labour inspection reports, the contracts, the payslips and the contribution records. We work to establish the absence of deceit or abuse, the absence of the relevant threshold, the lack of intent or the better channelling of the matter into the administrative sphere. Each strategy is designed around the specific facts and the available evidence.
Penalties & Consequences
| Type / Scenario | Criminal Penalty |
|---|---|
| Imprisonment of 6 months to 6 years | Art. 311 CP provides for imprisonment of six months to six years, imposed in the upper degree where the conduct is carried out with violence or intimidation (Art. 311.5 CP). |
| Fine of 6 to 12 months | Alongside imprisonment, the offence provides for a fine of six to twelve months, the daily quota of which is set according to the economic situation of the offender. |
| Civil liability and ancillary consequences | In addition to the penalty, civil liability may arise for the suppressed rights, together with consequences for the company, without prejudice to labour and Social Security sanctions. |
* Penalties shown are indicative. The actual penalty depends on case circumstances, applicable mitigating and aggravating factors.
Our Defence Strategy
Channelling into the administrative sphere
Establishing that the conduct does not exceed the threshold of the criminal offence and constitutes, where appropriate, an administrative labour infringement to be sanctioned by the Labour Inspectorate, not a crime under Art. 311 CP.
Absence of deceit or abuse of need
Demonstrating that the conditions were agreed freely and on an informed basis, without deceit or exploitation of a situation of need, the core element of Art. 311.1 CP.
Delimiting liability and intent
Challenging the attribution of de facto employer status and the existence of intent in a person who had no real decision-making power over working conditions.
Why Choose Us?
Need a criminal defence lawyer for this type of offence? Here's how we work:
Need urgent criminal defence?
Contact our specialist criminal defence lawyers. We evaluate your case confidentially.
Tools for your case
We also serve
View all locations →This page is for information purposes only and does not constitute legal advice: every case requires individual assessment. How this content is produced and verified: editorial policy.
Do you need specialised legal assistance?
The judicial system is complex. We have the criminal-law specialisation and technical resources required to take on the defence.