Skip to content
AS
Alonso Sala
CRIMINAL LAWYERS
ES

Aiding Illegal Immigration Defense Lawyers

Specialized criminal defense in the offense of aiding illegal immigration under Art. 318 bis of the Spanish Criminal Code, including analysis of the humanitarian aid clause.

Last updated:

Article 318 bis of the Spanish Criminal Code punishes aiding illegal immigration. The basic type sanctions anyone who intentionally helps a non-EU national to enter Spanish territory or transit through it in breach of immigration law. Aiding the irregular stay is only an offense where carried out with a profit motive. As criminal defense lawyers, we defend those investigated for this often misunderstood figure.

The Humanitarian Aid Clause

Article 318 bis CP itself contains an exclusion clause: the acts are not punishable where the aim pursued by the perpetrator is solely to provide humanitarian aid. This clause is essential to the defense: proving that the conduct answered to a solidarity, assistance or family purpose, and not an unlawful one, excludes criminal liability.

Aggravated Types

The penalty increases where circumstances of special gravity concur: acting with a profit motive, membership of an organization dedicated to these activities, endangering the life or integrity of the assisted persons, or where the victim is a minor or especially vulnerable person. The defense analyzes whether these elements truly concur.

Difference From Human Trafficking

It is essential to distinguish this figure from the offense of human trafficking (Art. 177 bis CP). Trafficking requires a purpose of exploitation (labor, sexual, begging, organ removal) and the use of violence, intimidation, deceit or abuse. Aiding illegal immigration does not require that purpose. An incorrect classification as trafficking multiplies the penalty.

Defense Strategies

The defense is built on several pillars: the application of the humanitarian clause, the absence of a profit motive in cases of aiding the stay, the absence of an organization, the lack of intent and the correct delineation from human trafficking. Each of these fronts may lead to dismissal, atypicality or a substantial reduction of the penalty.

Procedure and competent court: from the Investigating Court to the National Court

As a general rule, the investigation falls to the Investigating Court (Juzgado de Instrucción) of the place where the entry, transit or facilitation takes place. Under section 1 of Article 318 bis, the penalty for the basic offence (a fine of three to twelve months or imprisonment of three months to one year, in its upper half where there is an intention of financial gain) places the trial before the Criminal Court (Juzgado de lo Penal), as it does not exceed the five-year threshold that defines that court's competence. The defence must scrutinise the prosecution's legal classification from the outset, because the trial court depends on it.

The picture changes when the aggravating circumstances of section 3 of Article 318 bis are invoked: membership of an organisation or association engaged in these activities, or endangering the life or integrity of the persons concerned. Those modalities raise the penalty to imprisonment of four to eight years, shifting the trial to the Provincial Court (Audiencia Provincial) where the penalty range exceeds five years. It is worth examining whether the evidence genuinely supports the organisational element, which requires structure, a division of roles and a degree of permanence, rather than the mere occasional involvement of several people.

In cases of transnational organised crime whose effects extend across more than one Provincial Court, the jurisdiction of the National Court (Audiencia Nacional) may come into play under Article 65 of the Organic Law on the Judiciary. The defence can challenge both the assumption and the retention of that jurisdiction, since an improper assignment to this specialised forum may undermine the proximity of the trial. Identifying the competent court is not an incidental matter: it shapes the rules of evidence, the procedural timelines and the very strategy of the investigation.

Trafficking, exploitation and lawful donation: distinguishing 318 bis from neighbouring offences

The most common classification error confuses facilitation of illegal immigration with the trafficking in human beings of Article 177 bis. The difference is structural: Article 318 bis protects the State's control over migratory flows and is committed by intentionally helping a person to enter or transit in breach of immigration law, whereas trafficking, punishable by imprisonment of five to eight years, requires a purpose of exploitation (labour, sexual, begging, criminal activity, organ removal or forced marriage) together with means such as violence, intimidation, deception or abuse of a situation of vulnerability. Without a proven purpose of exploitation, the conduct cannot be classified as trafficking.

Exploitation must also not be confused with the free exercise of prostitution by an adult. Article 187 of the Criminal Code punishes coercively determining a person to prostitution (imprisonment of two to five years and a fine) or profiting from its exploitation (imprisonment of two to four years and a fine), but it requires coercion, deception, abuse of superiority or vulnerability, or the imposition of onerous conditions. Valid, freely given consent by an adult, in the absence of those elements, does not satisfy the offence. The defence must insist that the prosecution prove coercion or a situation of exploitation, rather than presuming it from the migratory fact alone.

An analogous distinction separates the organ trafficking of Article 156 bis from lawful donation. Trafficking, punishable by imprisonment of six to twelve years where the organ comes from a living person and of three to six years where it comes from a deceased person, presupposes obtaining or transplanting an organ outside the law. Altruistic, consented donation carried out in accordance with health regulations falls outside criminal law altogether. These dividing lines are not theoretical nuances: they determine the classification, the competent court and the applicable penalty range.

The subjective element and the evidence: what the prosecution must prove

Article 318 bis describes an intentional offence: the help must be deliberate. It is not enough to establish the physical presence of a person on Spanish territory in an irregular situation; the prosecution must prove that the accused knew of the irregular status and intended to facilitate the entry or transit in breach of immigration law. Reasonable doubt about that knowledge, or about the will to favour the conduct, must be resolved in favour of the accused. The defence can work on the absence of intent, on error, or on the non-criminal nature of socially neutral acts, such as mere transport or accommodation unconnected to the irregular crossing.

Evidence in these proceedings usually relies on telephone interceptions, geolocation, device analysis, statements by the migrants themselves and police reports. Each of these sources is open to a legality review: the chain of custody of the devices, the reasoning and proportionality of judicially authorised interceptions, the regularity of identifications, and the reliability of statements given under conditions of particular fragility. Defects in the gathering of evidence may lead to its nullity and drag down any derived evidence with it.

Particular attention should be paid to the intention of financial gain, which under section 1 shifts the penalty to its upper half. It is not presumed: it must be proven through objective data such as payments, transfers or a real economic benefit linked to the help provided. The defence can challenge automatic inferences that deduce gain from the mere existence of a movement or a prior contact, requiring each element of the aggravated offence to rest on concrete evidence rather than conjecture.

Humanitarian clause, prescription, reparation and plea agreement

The final sentence of section 1 of Article 318 bis contains a humanitarian clause of considerable defensive importance: where the sole objective of the person providing the help is to offer humanitarian assistance to the migrant, the conduct is not punishable. Section 6, separately, empowers the court to impose the penalty one degree lower in light of the gravity of the act, its circumstances, the offender's conditions and the purpose pursued. This is no mere technicality: it shields acts of disinterested aid in contexts of need, risk or emergency. The defence should document the context, the absence of any intention of gain and the strictly assistance-focused purpose of the conduct in order to activate this safety valve, written into the Criminal Code itself, which recognises that not every act of help to a foreign national in an irregular situation deserves criminal reproach.

On prescription, the basic offence of Article 318 bis prescribes after five years under Article 131 of the Criminal Code, since its maximum penalty falls within the corresponding band; the aggravated modalities of section 3, carrying penalties of up to eight years, follow the period set for that higher band. Time runs from the moment the offence is completed and may be interrupted by procedural acts directed against the accused. Carefully reviewing the relevant dates and any interrupting acts is a line of defence well worth exploring from the investigation stage.

Finally, reparation and the plea agreement (conformidad) offer real room for manoeuvre. Cooperation with the investigation, the absence of any economic benefit, restitution of harm and the personal circumstances of the accused may translate into mitigating factors and, where appropriate, into a plea agreement that fits the penalty within the statutory range. Where the protection of migrants in a vulnerable situation is involved, their status as victims and the available assistance mechanisms also shape the strategy. Any decision on a plea agreement must be taken after a careful analysis of the evidence and of the alternatives of acquittal or non-criminality.

balance

Penalties & Consequences: Aiding Illegal Immigration Defense Lawyers

Type / ScenarioCriminal Penalty
Basic typeFine of 3 to 12 months or imprisonment of 3 months to 1 year for aiding irregular entry or transit.
Aggravated typesPenalty in its upper half for profit motive, organization, danger to life or a vulnerable victim.
Exclusion of penaltyThe acts are not punishable where the sole aim is to provide humanitarian aid.

* Penalties shown are indicative. The actual penalty depends on case circumstances, applicable mitigating and aggravating factors.

shield_lock

Defense Strategy: Aiding Illegal Immigration Defense Lawyers

gavel01

Analysis of the purpose of the conduct

Determining whether the aim was humanitarian, family or assistance-related to trigger the exclusion clause.

gavel02

Challenging the profit motive

Rebutting the existence of consideration or benefit in cases of aiding the stay.

gavel03

Defense against the aggravated type

Disputing the concurrence of organization, danger to life or victim vulnerability.

gavel04

Delineation from human trafficking

Proving the absence of a purpose of exploitation to avoid a more serious classification.

Sexual Offenses and Gender Violence in Spain: Legal Defense Guide

Sexual offenses in Spain are governed by Art. 178-194 of the Criminal Code, significantly reformed by Organic Law 10/2022 (the "Only Yes Means Yes" law) and its subsequent correction by LO 4/2023. Gender violence offenses — one of Spain's most prosecuted areas — are found in Art. 153-173 CP, with special aggravated penalties when the victim is an intimate partner.

Penalty Table: Sexual Offenses (Post-2023 Reform)

OffenseArticlePenalty
Sexual assault (basic)Art. 1781 – 4 years
Sexual assault with penetrationArt. 1794 – 12 years
Aggravated sexual assaultArt. 1807 – 15 years
Child sexual abuse (under 16)Art. 1832 – 15 years
Child pornography (holding)Art. 189.53 months – 1 year
Gender violence (minor assault)Art. 153.16 months – 1 year
Stalking / HarassmentArt. 172 ter3 months – 2 years

Critical Defense Strategies

Consent Analysis (Only Yes Means Yes)

Post-reform, consent must be explicit and ongoing. Defense focuses on context, prior relationship history, and how withdrawal of consent was expressed.

False Allegations Defense

False accusations are frequent in custody disputes. Challenge credibility with inconsistencies between statements, phone/message evidence, and expert psychological assessment.

Digital Evidence Review

WhatsApp messages, social media interactions, and digital footprint often contradict prosecution narratives. Comprehensive digital forensics analysis is essential.

Challenging the Expertise Reports

Psychological victim assessments used in court are frequently challenged on methodological grounds. Expert counter-reports are a cornerstone of defense.

gavel

Why Choose Us?

Need a criminal defense lawyer for this type of offense? Here's how we work:

check
Humanitarian aid clauseProving the conduct answered solely to a humanitarian, assistance or family purpose excludes punishability.
check
Absence of profit motiveAiding the stay is only an offense with a profit motive; proving its absence leads to atypicality.
check
Delineation from traffickingAvoiding classification as human trafficking where there is no purpose of exploitation.
workspace_premium
+15 Years of ExperienceTeam dedicated exclusively to criminal law before Spanish courts and tribunals.
support_agent
Direct AttentionYour case is handled directly by a senior lawyer of the firm.
Consult My Casearrow_forward

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.

call