Pre-trial detention in Spain: when it is likely and how to avoid it
What the Spanish judge must examine before ordering pre-trial detention, what the alternatives are, how the detention hearing works and which documents help you. With the time limits of the Spanish Criminal Procedure Act.
In Spain, pre-trial detention is not automatic, not even for serious allegations. The judge may only order it if the public prosecutor or a private prosecutor applies for it, the legal requirements are met and no less restrictive measure is sufficient, such as bail, reporting conditions or surrender of the passport. The detention hearing within 72 hours is decisive. Those who can prove their ties there have the best chance.
What is pre-trial detention under Spanish law?
Pre-trial detention (prisión provisional) is a precautionary measure. The accused remains in custody during the proceedings even though no judgment has yet been given. It is governed by Articles 502 et seq. of the Spanish Criminal Procedure Act (Ley de Enjuiciamiento Criminal, LECrim). It is not a punishment, and the presumption of innocence still applies.
The law only allows pre-trial detention where it is objectively necessary and no less restrictive measure would achieve the same aim (Art. 502.2 LECrim). If the investigation shows that the act is not a criminal offence or was justified, it is ruled out (Art. 502.4 LECrim).
When may the judge order pre-trial detention?
Several requirements must be met together (Art. 503 LECrim). First, there must be an offence whose maximum penalty is at least two years’ imprisonment. Where there are unexpunged previous convictions for intentional offences, a lower penalty is enough. Second, there must be sufficient grounds to believe that the accused committed the offence. Third, detention must serve one of the purposes recognised by law.
- Risk of flight. The judge takes into account the nature of the offence, the expected sentence, the accused’s family, professional and financial situation and whether the trial is imminent.
- Risk of interference with evidence. The risk that evidence will be hidden, altered or destroyed must be concrete and well founded. The fact that you remain silent or defend yourself is not enough.
- Protection of the victim, especially in allegations within the family.
- Risk of reoffending, and only for intentional offences.
The grounds for detention resemble those in other European systems, but the procedure and time limits are different. In Spain, detention is decided by the investigating judge (juez de instrucción), who may only order pre-trial detention if the public prosecutor or a prosecuting party applies for it.
How does the detention hearing work?
The judge decides on detention at a hearing (comparecencia under Article 505 LECrim, often called a vistilla in practice). It takes place as soon as possible and no later than 72 hours after the detained person has been brought before the judge. The public prosecutor (Ministerio Fiscal) and, where applicable, the private prosecutor (acusación particular) apply for custody or release on bail. The defence argues against and presents evidence. An interpreter is provided free of charge.
If no party applies for custody or bail, the judge must release the detained person immediately (Art. 505.4 LECrim). Here, weeks or months of liberty are decided in a few minutes. Anyone who goes into this hearing without a prepared defence and without documents throws away their best chance.
It takes place within 72 hours. Call us straight away so that we can prepare the defence and the documents in time.
What are the alternatives to pre-trial detention?
The aim of the defence is almost always a less restrictive measure that equally secures your attendance in the proceedings. The judge can also combine these measures.
- Release without conditions or on bail (libertad provisional con o sin fianza).
- Reporting conditions, that is, the duty to report to the court on fixed dates (comparecencias apud acta, Art. 530 LECrim).
- Retention of the passport, which the judge may order with reasons (Art. 530 LECrim), in practice often together with a ban on leaving Spain.
If you live in another EU country such as Ireland, Spain may in some cases transfer the conditions imposed instead of custody to that state for supervision (Ley 23/2014, Title V), with your consent. This mechanism has not applied to the United Kingdom since Brexit.
How long can pre-trial detention last?
Pre-trial detention lasts only as long as is essential for its purpose (Art. 504.1 LECrim). The law also sets maximum limits.
- Detention hearing
- No later than 72 hours after the detained person has been brought before the judge (Art. 505 LECrim)
- Maximum for penalties of up to three years
- One year, extendable once by up to six months
- Maximum for penalties over three years
- Two years, extendable once by up to two years
- After a judgment that is not yet final
- Up to half of the prison sentence imposed
- Decision on the appeal against the detention order
- Within 30 days (Art. 507 LECrim)
The maximum periods apply where detention is based on the risk of flight, protection of the victim or the risk of reoffending (Art. 504.2 LECrim).
Can pre-trial detention be challenged?
Yes, in two ways. The detention order (auto de prisión) can be appealed (recurso de apelación). The appeal is dealt with as a priority, and an appeal against a detention order must be decided within 30 days (Art. 507 LECrim).
In addition, the defence can apply at any time for detention to be replaced by a less restrictive measure, for example when new evidence is available or bail is offered. The judge can also order a more favourable measure of their own motion (Art. 539 LECrim). A detention order is therefore not the end of the road.
Which documents help at the detention hearing?
The earlier your lawyer has this evidence, the better the hearing can be prepared. If an arrest is foreseeable, you should gather it beforehand or have family members gather it.
Home
Certificate of registration (empadronamiento), rental agreement or land registry extract, electricity or water bills in your name.
Work and income
Employment contract, proof of social security registration, recent payslips and tax return.
Family
Marriage certificate or proof of partnership, children’s birth certificates and proof that your family lives with you.
Assets
Ownership of property or vehicles, bank accounts and other evidence of where your life is centred.
Residence in Spain
NIE, residence document (TIE or EU registration certificate) and pending applications with the authorities.
Health and identity
Medical records on ongoing treatment, identity card and passport. Voluntarily surrendering your passport can counter the risk of flight.
Documents from the UK, Ireland or other countries need a Spanish translation. We tell you which of them should have a sworn translation.
Should I confess to avoid detention?
Do not make this decision alone or under pressure. You have the right to remain silent and not to incriminate yourself. Remaining silent cannot on its own be treated as a risk of interference with evidence (Art. 503 LECrim). A hasty confession, without knowing the evidence, can harm you, including in the decision on detention. Whether and when a statement makes sense is something to decide with your lawyer.
Which mistakes increase the risk of detention?
- Making a statement or confessing without a lawyer, in the hope that honesty will prevent detention.
- Contacting witnesses, co-accused or the victim. That is exactly what can justify a risk of interference with evidence or the need to protect the victim.
- Going into the detention hearing without documents on your home, work and family.
- Waiting after a detention order instead of appealing and presenting new evidence.
Read more
Arrested in Spain
What happens in the first hours after an arrest and what rights you have.
Pre-trial detention without bail
Article on the detention of foreign nationals without firm ties to Spain and how to challenge the order.
The guides are written in our firm under the direction of David Fechenbach, founder and Managing Partner, member of the Madrid Bar Association (ICAM 122770) and associate lecturer in criminal procedure at the Universidad de Alcalá. He defends before the criminal courts throughout Spain, regularly including the Audiencia Nacional, and works with English-speaking clients directly in English.
Frequently asked questions about pre-trial detention in Spain
Are British or Irish nationals more likely to be held in pre-trial detention in Spain?
Nationality alone is not a ground for detention. However, the judge examines the risk of flight and takes into account family, professional and financial ties. Anyone without a residence in Spain must document these ties particularly carefully. That is why the documents are so important.
Can the judge order pre-trial detention without an application?
No. The judge decides after a hearing, and only if the public prosecutor or a prosecuting party applies for custody or bail. If nobody applies for custody or bail, the detained person must be released immediately (Art. 505.4 LECrim).
How much is bail?
There is no fixed amount. The judge sets bail case by case. The defence can propose an amount that matches your financial circumstances and explain why it is sufficient to secure your attendance in the proceedings.
Can I comply with the conditions in my home country?
If you live in another EU country, possibly yes. Spain can transfer conditions imposed instead of pre-trial detention to another EU state for supervision (Ley 23/2014, Title V), with your consent. This is not available for the United Kingdom since Brexit. We check before the detention hearing whether it is an option in your case.
What can my family at home do?
Gather proof of home, work, income and family and send copies to the lawyer. Documents from abroad need a Spanish translation. Family members should keep in contact through the lawyer, not through witnesses or co-accused.
This guide is for general information and does not replace legal advice on individual cases.