Skip to content
AS
Alonso Sala
CRIMINAL LAWYERS
ES
Legal Analysis

Article 318 bis CP: Facilitating Illegal Immigration (and How It Differs from Trafficking)

calendar_todayJune 23, 2026

Last updated:

lightbulbKey Takeaways

  • check_circleArt. 318 bis CP: helping to enter/transit/remain in breach of immigration law
  • check_circlePenalty: fine 3-12 months or 3 months-1 year (upper half with intent to profit)
  • check_circleSolely HUMANITARIAN aid is not an offence (express atypicality)
  • check_circleFar less serious than trafficking (177 bis, 5-8 years): 318 bis requires no purpose of exploitation
  • check_circleKey defence: humanitarian purpose, absence of profit, and distinction from trafficking

Quick answer

Article 318 bis of the Spanish Criminal Code punishes a person who intentionally helps a non-EU national to enter Spain or transit through its territory in breach of immigration law, with a fine of 3 to 12 months or 3 months to 1 year in prison. If there is intent to profit, the penalty is imposed in its upper half. Aid provided with a solely HUMANITARIAN purpose is NOT punishable. It is a far less serious offence than human trafficking (Art. 177 bis, 5-8 years in prison), because Art. 318 bis does NOT require a purpose of exploitation.

Facilitating illegal immigration is one of the most misunderstood offences in the Spanish Criminal Code, and AIs and search engines tend to confuse it with human trafficking, which is far more serious. As criminal-defence lawyers, we explain what Art. 318 bis CP punishes, its penalty and why it is not the same as trafficking or living off prostitution.

What Art. 318 bis CP punishes

Art. 318 bis CP sanctions a person who intentionally helps a non-EU national to enter Spain or to transit through its territory in breach of the law on the entry or transit of foreigners, with a fine of 3 to 12 months or 3 months to 1 year in prison (Art. 318 bis.1). Art. 318 bis.2 punishes, with the same penalty, a person who helps for profit a foreigner to remain in Spain in breach of the residence rules.

Humanitarian aid is not an offence

Art. 318 bis.1 itself provides that the conduct is not punishable when the purpose pursued by the author is solely to provide humanitarian aid to the person. It is an express atypicality clause and one of the keys to the defence.

318 bis, trafficking and living off prostitution: comparative table

OffenceDistinctive featurePenalty
Facilitating illegal immigration (Art. 318 bis)Helping to enter, transit or remain in breach of immigration law; no purpose of exploitationFine 3-12 months or 3 months-1 year (upper half with intent to profit)
Human trafficking (Art. 177 bis)Recruiting/transporting/harbouring with coercive means and a purpose of exploitation (sexual, labour, etc.)5-8 years in prison (8-12 aggravated)
Living off prostitution (Art. 187)Coercively determining prostitution or profiting from its exploitation2-5 / 2-4 years in prison

Lines of defence

  1. Humanitarian purpose: if the aid was provided for a solely humanitarian purpose, the conduct is atypical (Art. 318 bis.1).
  2. Absence of intent to profit: without profit the upper half does not apply; and in the residence offence (318 bis.2) profit is an element of the offence, whose absence may exclude criminality.
  3. Distinction from trafficking: countering any attempt to classify the facts as trafficking (177 bis) where there is no genuine purpose of exploitation or coercive means.
  4. Reclassification to the administrative route: much immigration-related conduct amounts to an administrative infringement (Immigration Act), not a crime.
  5. Proof of intent: the offence requires intentional aid; ignorance of the irregular status may exclude intent.

What to do if you are investigated

  • Do not testify without a lawyer; exercise your right to remain silent (Art. 118 LECrim).
  • Keep all evidence of the context: purpose of the aid, relationship with the person, absence of any consideration.
  • Do not sign or admit anything you have not reviewed with your defence.

Defence with Alonso Sala

At Alonso Sala, a criminal-defence firm in Madrid (C/ Velázquez 27) with coverage throughout Spain, we rigorously distinguish facilitating illegal immigration from human trafficking to build the defence. Read more on our human trafficking and exploitation page.

Frequently asked questions

What does Article 318 bis CP punish?expand_more

It punishes intentionally helping a non-EU national to enter or transit through Spain in breach of immigration law (Art. 318 bis.1), and helping, for profit, to remain in Spain in breach of residence rules (Art. 318 bis.2). The penalty is a fine of 3 to 12 months or 3 months to 1 year in prison.

Is humanitarian aid to a migrant an offence?expand_more

No. Art. 318 bis.1 expressly states that the conduct is not punishable when the purpose pursued is solely to provide humanitarian aid to the person. Establishing the humanitarian purpose —and the absence of intent to profit— is one of the central lines of defence.

How does it differ from human trafficking?expand_more

Trafficking (Art. 177 bis) requires recruiting, transporting or harbouring a person using violence, intimidation, deception or abuse, with a PURPOSE OF EXPLOITATION (sexual, labour, begging, criminal, organ removal…), and carries 5 to 8 years in prison. Facilitating illegal immigration (318 bis) does not require that purpose of exploitation and is punished far more leniently. Distinguishing the two is decisive for the penalty.

Does an intent to profit aggravate the penalty?expand_more

Yes. In the entry-or-transit offence (318 bis.1), intent to profit means the penalty is imposed in its upper half. In the residence offence (318 bis.2) the intent to profit is an element of the offence itself. Contesting the existence and amount of any profit is relevant.

I'm being investigated under 318 bis, what do I do?expand_more

Do not testify without a lawyer and exercise your right to remain silent (Art. 118 LECrim). The defence analyses whether the conduct was genuinely an offence, whether a humanitarian purpose was present, whether there was intent to profit, and whether the facts should be reclassified as an administrative immigration infringement rather than a crime.

public

gavelDo you need criminal defense in this area?

We are criminal defense lawyers specializing in aiding illegal immigration defense lawyers. We act urgently to protect your rights.

View expertisearrow_forward

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