Our Expert in Spain
Pre-trial detention Spain law permits a court to hold a suspect in custody before any conviction, but only as an exceptional measure subject to strict conditions of necessity and proportionality. Known in Spanish as prisión provisional (provisional or preventive detention), the measure engages the constitutional right to liberty under Article 17 of the Spanish Constitution and the right to liberty and security under Article 5 of the European Convention on Human Rights. This practitioner guide sets out the grounds for challenging detention, the step-by-step procedure, required documents, statutory timelines, costs, the 2026 landscape and the escalation route to constitutional and ECHR remedies.
It is written for criminal defendants, defence counsel and in-house counsel who need actionable procedural guidance rather than general commentary.
Who this is for: criminal defendants, defence lawyers and in-house counsel (individual and corporate) who need step-by-step instructions to contest prisión provisional in Spain in 2026.
What you will get: the legal grounds, a numbered procedure, a required-documents table, timelines, costs, 2026 changes, tactical defence options and an ECHR escalation roadmap.
Prisión provisional is the judicial deprivation of a suspect’s liberty while criminal proceedings are pending. It is not a punishment; it is a precautionary measure ordered only where lesser alternatives cannot secure the aims of the investigation and trial. Spanish law and constitutional doctrine treat detention as the exception and liberty as the rule, meaning the burden falls on the prosecution and the court to justify custody by reference to concrete, evidenced risks.
The primary statutory framework is the Ley de Enjuiciamiento Criminal (LECrim, the Criminal Procedure Act), whose Articles 502 to 519 set out the grounds, procedure and duration limits for prisión provisional. This operates under Article 17 of the Constitution (Constitución Española), which guarantees personal liberty and requires that any deprivation follow the forms established by law. At supranational level, Article 5 of the European Convention on Human Rights guarantees the right to liberty and security and requires that pre-trial detention be lawful, based on reasonable suspicion, and no longer than reasonable. The interaction of these three layers gives defence counsel multiple grounds and multiple forums in which to contest detention.
An examining judge (juez de instrucción) may order prisión provisional at a custody hearing where there is reasonable evidence linking the suspect to an offence of a certain gravity and where one or more statutory risks are present. Under the LECrim, custody is generally reserved for offences punishable by a prison sentence at or above a defined threshold, although lesser offences may qualify where there is a risk of reoffending. The judge must give a reasoned decision explaining why custody, rather than a less restrictive measure, is necessary and proportionate.
Spanish jurisprudence and the LECrim recognise a defined set of grounds that must be established before detention can be lawfully imposed:
On the question sometimes raised of “which country is best for criminal law”, that framing is not useful here: what matters for a person detained in Spain is the specific Spanish procedure and the rights available under Spanish and Convention law, which are the focus of this guide.
A challenge to pre-trial detention in Spain can be mounted at several points in the proceedings, and the right to contest custody is not a one-off opportunity.
The detained person, acting through defence counsel (abogado) and a court representative (procurador) where required, has standing to seek release or a change of measure. Where the suspect cannot afford private representation, they may qualify for legal aid (asistencia jurídica gratuita), which entitles them to a duty lawyer for both the custody hearing and subsequent challenges. Family members cannot generally file substantive motions in their own name, but they play a practical role in gathering supporting evidence, proof of residence, employment and family ties, that underpins a release application.
There are three broad windows. First, at the initial custody hearing itself, where counsel argues against imposition of prisión provisional and proposes alternatives. Second, at any later point through a motion for release or change of measure when circumstances change or new evidence emerges. Third, through the appeal route and, ultimately, through constitutional and ECHR remedies once ordinary avenues are exhausted. Because prisión provisional is subject to judicial review, counsel should treat each review as a fresh opportunity to argue for release.
On the common question of whether free legal advice is available in Spain, the answer is yes for those who meet the means and case-type criteria, the legal aid route is addressed in the costs section and the FAQ below.
The following is the procedural heart of any challenge to prisión provisional. Each step should be pursued in sequence, but counsel must remain ready to escalate quickly where deadlines are short. The timeline table that follows summarises who acts and when.
Immediate steps after arrest and first appearance. From the moment of arrest, the suspect has the right to be informed of the reasons for detention, to remain silent, and to be assisted by a lawyer, including a duty lawyer where no private counsel is instructed. Before prisión provisional can be ordered, the LECrim requires a specific custody hearing (the “comparecencia” under Article 505) at which the prosecutor or another party must request the measure and defence counsel can be heard. Counsel should attend prepared to oppose detention, putting forward concrete evidence of ties to Spain and proposals for less restrictive measures.
Practical requests at this stage include surrender of the passport, periodic reporting to the court, and a bail figure the suspect can realistically meet. Ensure the arrest record (acta de detención) is examined for any breach of the custody time limits, since a procedural defect in the detention itself can independently found a challenge.
Motions to the examining judge (juez de instrucción). Where detention is ordered, the first substantive challenge is a reasoned motion to the same judge seeking release or a change of measure. The motion must engage directly with the grounds the judge relied on, attacking, for example, the assessment of flight risk with documentary proof of stable employment, fixed residence and family dependants. Attach witness statements or affidavits to rebut allegations of obstruction, and medical or psychiatric reports where the suspect is vulnerable. The strength of a motion lies in evidence, not assertion: a judge who ordered custody on a reasoned analysis will rarely reverse on argument alone.
Request for release on bail (fianza) or conditional measures. Where outright release is unlikely, counsel should propose a package of guarantees. A surety (fianza) should be calibrated to the suspect’s means and the perceived flight risk, an unrealistically high figure defeats the purpose, while a well-evidenced proposal backed by proof of funds can persuade the court. Conditional measures such as regular reporting, residence restrictions, or electronic monitoring can be offered alongside or instead of bail. The tactical calculation is that a court reluctant to grant unconditional liberty may accept a robust alternative measures proposal.
Appeals and recursos. If the examining judge refuses, the decision can be challenged by way of a recurso de reforma (a request to the same judge to reconsider) and a recurso de apelación to the Audiencia Provincial (Provincial Court). These remedies carry short deadlines running from notification of the decision, so counsel must diarise the limits immediately. The appeal should be drafted to expose errors in the reasoning below, particularly any failure to consider less restrictive measures or any inadequate justification of proportionality.
Constitutional and ECHR remedies. Where ordinary remedies are exhausted and a fundamental right has been breached, for example, unjustified or excessively lengthy detention, denial of counsel, or inhuman conditions, counsel may lodge a constitutional appeal (recurso de amparo) before the Tribunal Constitucional, subject to that court’s strict admissibility criteria and statutory filing deadlines. If the Constitutional Court does not remedy the breach, an application may be made to the European Court of Human Rights under Article 5, subject to the exhaustion of domestic remedies and the Convention’s application deadline (currently four months from the final domestic decision).
A central tactical task when challenging pre-trial detention in Spain is to persuade the court that a non-custodial measure achieves the same protective aims. The following comparison sets out the principal options.
| Measure | When used | Key advantages | Key disadvantages |
|---|---|---|---|
| Bail (fianza) | Where the court accepts financial or personal guarantees | Immediate freedom if funds or a guarantee are available | Financial burden; often combined with strict conditions |
| Provisional release with conditions (libertad provisional) | Lower-risk defendants | Freedom subject to obligations such as reporting | Liable to revocation if conditions are breached |
| Detention in the home (prisión atenuada / domiciliary custody) | Vulnerable defendants, illness, or cases of reduced risk | Less restrictive than prison; preserves family and medical needs | Requires monitoring; not available in every case |
| Prisión provisional | Reserved for cases where genuine risks exist | Secures the process and prevents interference | Severe restriction of liberty; open to challenge |
| Step | Who files / is responsible | Expected duration / deadline |
|---|---|---|
| Initial custody hearing (comparecencia, Art. 505 LECrim) | Examining judge, prosecutor and defence counsel | Held after arrest, within the statutory limits below |
| Order of prisión provisional | Examining judge issues a reasoned resolution (auto) | At or shortly after the hearing |
| Motion for release or change of measure | Defence counsel files with the examining judge | File immediately; judge resolves within days (varies by court) |
| Recurso de reforma / recurso de apelación | Defence to the same judge, then the Audiencia Provincial | Short statutory deadlines from notification (confirm current LECrim limits) |
| Judicial review of detention | Defence and/or judge | Statutory and constitutional safeguards apply throughout |
| Recurso de amparo to the Tribunal Constitucional | Defence, after exhaustion of ordinary remedies | Strict admissibility window under the Constitutional Court Act |
| Application to the European Court of Human Rights | Applicant / defence to the ECHR | Within the Convention application deadline (four months) from the final domestic decision |
A release motion succeeds on documentation as much as on legal argument. Counsel should assemble a complete filing packet, ensuring that foreign-language documents are accompanied by certified Spanish translations and that copies are properly certified where the court requires it. The following documents form the core of most challenges.
| Document | Purpose / notes |
|---|---|
| Written motion to lift or change prisión provisional | Main pleading, must cite the applicable LECrim articles and reference the supporting evidence |
| Power of attorney / representation document (poder) | Confirms counsel’s authority; attach a certified copy where required |
| Arrest record (acta de detención) and minutes of the first hearing | Establishes procedural facts and supports arguments on custody time limits |
| Documentary evidence of ties (employment, family, residence) | Rebuts the alleged risk of flight |
| Medical or psychiatric reports (where relevant) | Grounds for special measures or alternative, less restrictive detention |
| Witness statements or affidavits | Counter allegations of obstruction or danger to the investigation |
| Bank documents / proof of bail security (fianza) | Demonstrates ability to meet a surety |
| Copy of the charge or investigation file (diligencias) | Enables assessment of the gravity and legal basis of the charge |
| Previous court decisions (where reopening or appealing) | Supports appeal and amparo arguments |
| Certified Spanish translations of foreign documents | Required for the court to accept documents not in Spanish |
The most persuasive material directly negates the ground on which custody was ordered. Against flight risk, produce an employment contract, payslips, a lease or property deed, and evidence of dependent children or elderly relatives. Against obstruction, show that the physical and documentary evidence has already been secured, or offer contact restrictions.
Where the suspect has a serious medical condition, a mental health diagnosis, or other vulnerability, contemporaneous reports from treating clinicians can support a request for domiciliary custody or another alternative to prison, on both proportionality and humanitarian grounds.
Timing discipline is decisive. A missed appeal deadline can leave a client in custody with no ordinary remedy, so every date must be diarised from the moment of arrest.
Police detention may not last longer than the time strictly necessary to carry out the investigation, and in any event the LECrim sets a maximum of 72 hours before the detainee must be released or brought before a judge (Article 17 of the Constitution and Article 520 LECrim). This is the first and often most important moment to oppose custody. Any detention beyond the lawful limit is itself a ground of challenge.
Prisión provisional is subject to maximum duration limits that vary according to the gravity of the offence and the stage of proceedings, as set out in Article 504 LECrim, and it must be kept under judicial review. Counsel should track both the outer limit applicable to the case and any request for reconsideration, treating each opportunity as a live chance to argue for release as the investigation progresses and risks diminish.
The recurso de reforma and recurso de apelación carry short statutory deadlines running from notification of the decision. These are not extendable, so the appeal should be prepared in outline before the decision is even delivered.
In a white-collar investigation, the risk of obstruction, the destruction of documents or coordination with co-suspects, often drives the initial custody decision, but that risk typically recedes once evidence is seized and secured, giving counsel a strong basis to argue at review that custody is no longer necessary. In a serious violent case, the gravity of the potential sentence and the risk of flight or reoffending weigh more heavily and for longer, so the realistic early objective may be a robust alternative measures package rather than immediate unconditional release.
The cost of challenging pre-trial detention in Spain varies widely with the complexity of the case, the city, and the number of remedies pursued. The following ranges are indicative only; counsel should confirm fees at the outset, and all figures should be treated as subject to case-specific variation.
| Cost item | Typical range / notes |
|---|---|
| Emergency lawyer (first 24–72 hours) | Varies by complexity and city; confirm at instruction |
| Ongoing defence counsel for a detention challenge | Depends on complexity and number of appeals; obtain a written estimate |
| Bail / fianza | Set by the court according to the case and the suspect’s means |
| Expert reports (medical, psychiatric, forensic) | Depends on the expert and scope |
| Court filing fees | Criminal proceedings are generally exempt from court fees for individuals, confirm with counsel |
| Translations and certified copies | Depends on volume |
| Appeal / amparo filing costs | Solicitor fees additional; confirm at instruction |
For a fuller discussion of the fee landscape, see our guide to Criminal lawyer fees Spain 2026.
A defendant who cannot afford private counsel may apply for legal aid (asistencia jurídica gratuita) under Law 1/1996 on Free Legal Assistance, which covers representation at the custody hearing and in subsequent challenges where the means and case-type criteria are satisfied. A duty lawyer is available from the outset of the detention.
Where an executive is detained in connection with corporate conduct, questions of indemnification and cost apportionment between the individual and the company arise early. In-house counsel should clarify representation and funding arrangements at once, since delay in instructing specialist criminal defence counsel can prejudice the first, and best, opportunity to oppose custody.
Practitioners should monitor several developments affecting pre-trial detention Spain in 2026. Legislative and procedural updates are published through the Boletín Oficial del Estado and the Ministry of Justice, and any amendment to the LECrim provisions on prisión provisional, including duration limits and review obligations, should be checked against the consolidated text before filing. A broader reform of Spanish criminal procedure has been under discussion, including proposals to reallocate investigative functions; counsel should verify the status of any such reform before relying on it.
Constitutional Court and Supreme Court decisions continue to refine the standards of reasoning that a custody order must satisfy, particularly on proportionality and the obligation to consider alternatives, and defence counsel should cite the most recent doctrine when framing challenges. At Convention level, evolving ECHR case law under Article 5 informs the domestic application of detention safeguards. The consistent judicial emphasis on the exceptional nature of custody and on the adequacy of reasons strengthens the position of a well-evidenced release motion. Counsel should verify each authority against the primary sources listed below before relying on it.
Most failed challenges share recurring, avoidable errors. The following practical points reflect what distinguishes an effective challenge from a formulaic one.
Escalation is appropriate once ordinary remedies are exhausted and a serious rights violation persists, for example, detention that has become disproportionate in length, custody conditions that engage humanitarian concerns, or a denial of effective defence. The amparo must be filed within the Constitutional Court’s statutory window, and any subsequent ECHR application must comply with the Convention’s exhaustion requirement and its four-month application deadline running from the final domestic decision.
Challenging pre-trial detention Spain requires speed, evidence and a clear sense of the escalation path. Because prisión provisional is exceptional in law, a well-prepared defence can hold the court to its obligation to justify custody by reference to concrete risks and to consider less restrictive alternatives. Act at the first custody hearing, build a documented release motion, respect the short appeal deadlines, and preserve the constitutional and ECHR routes for cases of genuine rights breach. Early instruction of specialist criminal defence counsel remains the single most important factor in securing release.
This article was produced by Global Law Experts. For specialist advice on this topic, contact Raúl Pardo-Geijo Ruiz at Pardo Geijo Abogados (Mejores abogados penalistas España), a member of the Global Law Experts network.
posted 6 minutes ago
posted 28 minutes ago
posted 1 hour ago
posted 2 hours ago
posted 2 hours ago
posted 3 hours ago
posted 4 hours ago
posted 5 hours ago
posted 5 hours ago
posted 6 hours ago
posted 6 hours ago
posted 7 hours ago
No results available
Find the right Legal Expert for your business
Send welcome message