When you are accused of drug trafficking, or when it happens to someone in your family, the first question is always the same: how many years in prison can it mean? It is a legitimate question, but the answer is not a single number. It depends on the type of drug, the quantity, whether there are aggravating factors and many details that change the outcome. Let’s explain it clearly, so you understand the real framework you are facing.
How many years in prison does drug trafficking carry?
Article 368 of the Criminal Code distinguishes two main brackets depending on the type of substance. Trafficking drugs that cause serious harm to health is punished with 3 to 6 years in prison. Trafficking drugs that do not cause serious harm to health, with 1 to 3 years.
That is the basis, the so-called basic offence. From there, the penalty moves according to the circumstances: it can rise a lot if aggravating factors apply, or drop if the reduced offence is appreciated. That is why simply saying “so many years” without analysing the case is misleading. The real framework can only be understood by looking at the details.
Why does the type of drug matter so much?
It matters because it sets the penalty bracket from the start. The Criminal Code separates substances into two groups: those that cause serious harm to health, such as cocaine, heroin or synthetic drugs, and those that do not, such as cannabis or hashish.
The difference is significant: for the former, the basic offence ranges from 3 to 6 years; for the latter, from 1 to 3 years. That is why one of the first points analysed in the defence is exactly how the substance has been classified and whether that classification is correct. An error or a debatable interpretation on this point can completely change the penalty framework.
What aggravating factors can raise the penalty?
On top of the basic offence, the Criminal Code provides aggravating factors that raise the penalty considerably. These are the most common:
- Large quantity. When the amount of drug exceeds certain thresholds, the penalty moves up a bracket.
- Membership of an organisation. Being part of an organised structure aggravates liability, raising the penalty framework significantly.
- Leadership or direction. Being a leader, person in charge or manager of the activity aggravates the penalty.
- Introduction into prisons or educational centres, or supply to minors.
- Extreme seriousness. In the most serious cases, the penalty can be raised even further.
When several of these circumstances coincide, the penalty can far exceed that of the basic offence. That is why two cases that look the same can end with very different penalties.
How much drug does it take to raise the penalty? The “notoria importancia” thresholds courts use
Quantity changes everything. The Criminal Code does not set gram amounts, but the Spanish Supreme Court has fixed, by agreement, the quantities from which the large-quantity aggravating factor (“notoria importancia”) applies, and it raises the penalty drastically. These are the thresholds:
| Substance | Large quantity from |
|---|---|
| Cocaine | 750 grams |
| Heroin | 300 grams |
| Hashish | 2.5 kilos |
| Marijuana | 10 kilos |
| MDMA / ecstasy | 240 grams |
| Amphetamine / speed | 90 grams |
Below those thresholds you are in the basic offence of Article 368: 3 to 6 years if the substance causes serious harm to health (cocaine, heroin, MDMA), or 1 to 3 years if it does not (hashish, marijuana), plus the fine. Above them, the aggravated subtype for large quantity applies and the penalty goes up one degree: 6 to 9 years for substances that cause serious harm, or 3 years to 4 years and 6 months for those that do not.
One important nuance: for certain substances, such as cocaine, the thresholds are calculated on the pure substance, not the gross weight. A 900-gram package of cocaine at 60% purity is 540 pure grams: basic offence, not large quantity. That is why the laboratory analysis is one of the first things we review in every case.
When can the penalty be lowered?
It is not all aggravating factors. Article 368 itself provides a reduced offence: when the act is of minor significance and given the personal circumstances of the offender, the penalty can be lowered. It is a route designed for minor cases, which should not be treated the same as large-scale trafficking.
In addition, depending on the specific penalty and any prior record, suspending the execution of the sentence can be considered, so it does not always mean actually going to prison. And there are other mitigating circumstances, such as cooperating with the justice system or drug dependence, that can have an influence.
What if it is your first offence?
If you have no prior record, your situation is better than you probably think right now:
- For substances that do not cause serious harm (hashish, marijuana), the basic offence starts at 1 year. With no record and a defence that fights for the minimum, a sentence of up to 2 years can be suspended: you do not go to prison as long as you do not reoffend within the period the judge sets and you pay the civil liability.
- For substances that cause serious harm, the minimum is 3 years and ordinary suspension is no longer available. There, the strategy relies on mitigating factors that bring the penalty below 2 years, or on the special suspension for drug-dependent offenders, which reaches sentences of up to 5 years if you undergo detoxification treatment.
The mitigating factors that actually work
Not every mitigating factor you read about online succeeds. The ones I see working in practice:
- Documented drug dependence: saying it is not enough; you need medical reports and reports from the addiction services. Well built, it can lower the penalty (and support suspending the entry into prison).
- Undue delays: if the proceedings drag on for reasons that are not attributable to you, the penalty comes down.
Why foreigners end up in pre-trial detention more often
The reason is almost always flight risk: without a stable address, work or family in Spain (what judges call “arraigo”, real ties to the country), the judge tends to see it as more likely that you will not come back for trial. What helps avoid it: documenting real ties (a rental contract or property, work, children in school), voluntarily surrendering your passport, periodic court appearances and, where appropriate, bail. I explain how that hearing works, and what is decided there, in my guide to pre-trial detention in Spain.
Expulsion from Spain instead of the sentence
For foreigners, prison sentences of more than one year can be replaced with expulsion from Spain and a ban on returning, either in full or after serving part of the sentence (Article 89 of the Criminal Code). Important nuances:
- In long sentences for drug trafficking, the usual outcome is serving part of the sentence in Spain before the expulsion.
- For EU citizens, expulsion is exceptional: only if you represent a serious threat to public order.
- Expulsion is neither a reward nor a right: it is assessed case by case, and sometimes it is in your interest to request it and sometimes to oppose it. It depends on your personal and family situation.
What I see in these cases is that the difference between a high penalty and a manageable one usually lies not in denying the obvious, but in carefully analysing the classification, the quantity, the aggravating and the mitigating factors. That is where the outcome is played out, and that is why it is best handled from the start with a drug trafficking defence lawyer.
This article is for informational purposes and does not constitute legal advice. Every case has specific circumstances that can completely change the analysis. If you need concrete guidance on your situation, consult a criminal defence lawyer.