
Bail in Spain: Pretrial Detention and Release
Defence on precautionary measures in Spanish criminal proceedings for foreign nationals: pretrial detention, release with or without bail, passport surrender, court check-ins and appeals against the detention order.
Last updated:
For a foreign national arrested or under investigation in Spain, one of the first and most pressing questions is simple: will I have to wait for trial in prison, or can I be released? Spanish criminal procedure does not use a cash-bond system like the one many people know from films; it works through a graduated set of personal precautionary measures ranging from a simple duty to appear in court, through release on bail, to pretrial detention (prisión provisional). These measures are not an advance on the sentence — the presumption of innocence applies — but tools to ensure that the trial can take place and that any sentence can be enforced. Their requirements are strict and judicial control over them is continuous, which gives the defence real room to avoid detention, obtain release, or ease the conditions imposed.
What Precautionary Measures Are
Personal precautionary measures are provisional restrictions on a defendant's liberty or certain rights, ordered by the judge during the investigation or trial. They pursue three basic aims: securing the person's presence in the proceedings (preventing flight), protecting the sources of evidence from concealment or destruction, and preventing the repetition of criminal conduct. Alongside them are the real precautionary measures — attachment of assets and security for the financial liabilities under Art. 589 LECrim — which affect property rather than liberty.
Every personal precautionary measure is subject to three principles the defence invokes constantly. Legality: only measures provided for by law, and only on their statutory conditions. Exceptionality and proportionality: the measure must be the least restrictive one capable of achieving the aim. And provisionality and variability: measures can be modified or set aside at any time if circumstances change, because, as Art. 539 LECrim recalls, orders on detention, release and bail are reviewable throughout the proceedings. This last point is decisive: pretrial detention is never final and can be revisited when the grounds that justified it fall away.
Conditions for Pretrial Detention
Pretrial detention is the most severe measure and is therefore surrounded by safeguards. Art. 502 LECrim establishes its exceptional nature: it is ordered only where objectively necessary and where no less restrictive measure for the right to liberty can achieve the same aims. The judge must consider the impact the measure will have on the defendant, their circumstances, and the gravity of the penalty that could be imposed. And it can never be ordered where the investigation rationally shows that the act is not an offence or was committed under a ground of justification.
Art. 503 LECrim sets out the specific conditions, which must all be met together. First, the case must show one or more facts with the appearance of an offence carrying a maximum penalty of at least two years' imprisonment (or a lower penalty where the person has unspent prior convictions for an intentional offence). Second, there must be sufficient grounds to believe the person against whom the order is issued is criminally responsible. Third, the detention must pursue one of these legitimate aims: securing the person's presence given a risk of flight — assessing the nature of the act, the gravity of the penalty, the person's family, work and financial situation, and how soon trial will be held; preventing the concealment, alteration or destruction of evidence where there is a well-founded, specific danger; or preventing reoffending. The defence works precisely on showing that one or more of these conditions is absent or weak.
Limits and Duration of Pretrial Detention
Pretrial detention is not open-ended. Art. 504 LECrim provides that it lasts only the indispensable time to achieve its aims and only while the grounds that justified it persist. On top of that general rule, the law fixes maximum caps depending on the penalty and the aim pursued. Where detention is ordered for risk of flight or of reoffending, it may not exceed one year if the offence carries a penalty of three years or less, or two years if the penalty exceeds three years. Exceptionally, where it is foreseeable that the case cannot be tried within those periods, the judge may order a single extension — up to two years if the penalty exceeds three years, or up to six months if it is three years or less — under Art. 505 LECrim. Where detention was ordered to prevent the destruction of evidence, it may not exceed six months.
There are also less severe ways of serving it. Art. 508 LECrim allows detention to be served at home, under supervision, where because of illness imprisonment would seriously endanger health, or to be replaced by admission to a treatment centre where the person is undergoing detoxification and imprisonment might frustrate it. Exceeding the statutory deadlines requires release, and Art. 528 LECrim recalls that the person must be released at any stage of the case in which their innocence appears. Monitoring these limits is one of the most effective defence routes for shortening a deprivation of liberty.
Release With or Without Bail
Where pretrial detention is not warranted, the natural situation is provisional release, which may be granted with or without bail. Art. 529 LECrim provides that, if detention is not ordered, the judge will decide whether the person must give bail to remain at liberty and, if so, will fix in the same order its type and amount. Bail is a financial guarantee aimed above all at securing the person's presence in the proceedings: its forfeiture in the event of non-appearance deters flight. The amount must be proportionate to the person's financial circumstances, so that it is neither symbolic nor an indirect form of detention through inability to pay.
The decision on detention or release on bail is, as a rule, taken at an adversarial hearing. Art. 505 LECrim requires that, once the arrested person is brought before the court, a hearing be convened — within the following 72 hours — at which the Public Prosecutor and the prosecuting parties may seek detention or bail, and at which the defence, with access to the elements of the case file essential to challenge the measure, makes submissions and proposes evidence. This hearing, known in practice as the "505 hearing", is a critical procedural moment: much of the defendant's personal situation is decided there, so the defence's prior preparation is decisive. For foreign nationals, it is also the moment to address flight-risk concerns head-on with evidence of ties to Spain.
Bail, moreover, is neither the only possible guarantee nor necessarily a cash payment. The judge may accept different forms — a solvent third party's personal guarantee, a bank guarantee, a mortgage charge or a deposit — and fix the amount taking into account the nature of the offence, the person's social standing and record, and any other circumstance that might affect their willingness to evade justice. If the person provides the bail, they remain on provisional release subject to the duty to appear and not to leave without authorisation; if they could provide it and do not, or if they breach the conditions, the judge may review and, where appropriate, tighten the measure. For a foreign national without property or family in Spain, the practical challenge is often showing that the proposed guarantee is genuine; here the defence works to design a package — a guarantor, passport surrender, frequent check-ins — that the court will accept as sufficient, so that lack of local assets does not, in effect, turn into detention for purely economic reasons.
Passport Surrender and Court Check-Ins
Between detention and unconditional release lies a range of intermediate measures that secure the proceedings without depriving the person of liberty — the practical equivalent of "conditions of bail". The most common is the duty to report in court (apud acta): Art. 530 LECrim requires a person on provisional release to appear on the days set and whenever summoned by the court. To ensure compliance, the same provision allows the judge to order, with reasons, the surrender of the passport — a measure that is especially effective against the flight risk of people with ties abroad, and therefore frequent in cases involving foreign nationals.
These measures are, moreover, combinable and adjustable: weekly or fortnightly check-ins, passport surrender, a ban on leaving the national territory or on approaching certain people or places can be arranged as an alternative to pretrial detention, offering the judge a proportionate solution that covers the perceived risk without resorting to the most severe measure. The defence's strategy typically consists precisely of proposing a package of less restrictive measures to the court — frequent check-ins, bail, passport surrender — that neutralises the risk of flight or reoffending and makes detention unnecessary, in direct application of the subsidiarity principle of Art. 502.2 LECrim.
How to Appeal the Detention Order
Every ruling on personal situation takes the form of a reasoned order (Art. 506 LECrim), which must state the reasons why detention is considered necessary and proportionate to the aims that justify it. The law provides a remedy against that order. Art. 507 LECrim provides that orders that decree, extend or refuse pretrial detention — or that grant release — may be challenged by appeal, which is given priority handling and, in the case of the detention order, must be resolved within a maximum of 30 days. Alongside the appeal, a request for reconsideration (recurso de reforma) before the investigating judge is usually filed first.
Beyond the appeal, the variability of precautionary measures (Art. 539 LECrim) offers a second, permanent route of defence: at any point in the proceedings, a review of the personal situation can be sought when circumstances change — the investigation advances and the evidence weakens, the flight risk disappears, an additional guarantee is offered, ties to Spain or illness are established. Effective defence is therefore not confined to challenging the initial order; it monitors the case continuously to seek release or the replacement of detention by less restrictive measures as soon as the statutory conditions cease to apply. Once the ordinary route is exhausted, and where a breach of fundamental rights is invoked — notably the right to liberty — a final remedy lies in an amparo appeal before the Constitutional Court.
One reassurance worth knowing, finally: time spent in pretrial detention is not lost. If the case ends in conviction, that period is credited against the custodial sentence ultimately imposed. And if the proceedings end in acquittal or dismissal, or the detention proves to have been unjustified, a right to compensation for the functioning of the justice system may arise on the statutory conditions. These consequences reinforce the central idea running through this whole area: pretrial detention is an exceptional measure, subject to strict limits and continuous judicial control, and the defence has the tools — challenging the conditions, proposing alternatives, appeals and review requests — to keep any restriction of a defendant's liberty to the strictly indispensable minimum and for the shortest possible time. For a foreign national, that work is inseparable from explaining each step clearly and in plain English.
Penalty Chart
| Type / Scenario | Criminal Penalty |
|---|---|
| Pretrial detention (Arts. 502-504 LECrim) | Deprivation of liberty during the case; exceptional nature, listed aims and duration limits of 1 or 2 years with a single extension. |
| Release on bail (Art. 529 LECrim) | Remaining at liberty subject to a financial guarantee proportionate to the person's circumstances, whose forfeiture deters flight. |
| Passport surrender and check-ins (Art. 530 LECrim) | Duty to report apud acta and surrender of the travel document, as an alternative or complement, ordered on flight-risk grounds. |
* Penalties shown are indicative. The actual penalty depends on case circumstances, applicable mitigating and aggravating factors.
Our Defense Strategy
Preparing the '505 Hearing'
Anticipate the Art. 505 LECrim hearing with documentation of ties to Spain, an offer of bail and evidence that weakens the risk alleged by the prosecution.
Priority Appeal Against the Detention Order
File reconsideration and a priority appeal (Art. 507), demanding reinforced reasoning on the necessity and proportionality of the measure.
Supervening Review of the Measure
Seek modification of the personal situation (Art. 539) as the investigation advances, the risk recedes or illness or new guarantees arise.
Criminal Procedure in Spain: Fast Trials, Extraditions & Prison Law — Defence Guide
Beyond substantive criminal offences, Spanish law contains a complex procedural framework that directly affects defence strategy. Fast-track trials (juicios rápidos), extradition procedures (European Arrest Warrants and bilateral treaties), penitentiary law (classification grades, parole, sentence review) and juvenile justice (LO 5/2000) each demand specialised knowledge. Understanding procedural rights and deadlines is often decisive for the outcome of a case.
Key Procedural Frameworks
| Framework | Legal Basis | Scope | Key Feature |
|---|---|---|---|
| Fast-track trials | Arts. 795-803 LECrim | Offences punishable by up to 5 years prison | Trial within 15 days of arrest |
| European Arrest Warrant | LO 23/2014 | Cross-EU extradition | 60-day maximum execution |
| Prison classification | LO 1/1979 (LOGP) | Classification into grades 1, 2 or 3 | Open regime (grade 3) = semi-liberty |
| Conditional release | Arts. 90-93 CP | Release from prison on licence | ¾ of sentence served + good conduct |
| Juvenile justice | LO 5/2000 | Offenders aged 14-17 | Educative measures, not punishment |
| Criminal record expungement | Art. 136 CP | Deletion of criminal record | Timeframe varies by offence severity |
Key Defence Strategies
Fast-Trial Conformity Advantage
In fast-track proceedings, agreeing to a plea (conformidad) with the prosecution can yield a sentence reduction of up to one-third. This can make the difference between prison and a suspended sentence.
EAW Refusal Grounds
European Arrest Warrants may be refused on grounds of: ne bis in idem (double jeopardy), time-barred offence, minor's age, or if the person will serve the sentence in Spain. Each ground requires specific procedural challenges.
Prison Grade Review
Inmates may contest their classification grade before the Supervisory Judge (Juez de Vigilancia Penitenciaria). Progression to grade 3 (semi-liberty) requires demonstrating good conduct, personal development and reduced recidivism risk.
Juvenile Diversion
For juvenile offenders, the defence can request diversion (sobreseimiento) if the minor completes a mediation or reparation programme. This avoids formal proceedings and prevents a juvenile record entirely.
Key Case Law
The Court confirmed that defendants who reach a plea agreement in fast-track proceedings have an absolute right to the one-third sentence reduction. The judge cannot refuse the agreed sentence if it falls within the statutory range.
The CJEU established that execution of a European Arrest Warrant may be suspended if there is a real risk of inhumane treatment in the issuing state. The executing authority must request specific assurances before surrender.
The Constitutional Court holds that prison classification decisions must be reasoned and subject to periodic review, in line with the fundamental rights of sentenced persons under Art. 25.2 CE.
Why Choose Us?
Need a criminal defense lawyer for this type of offense? Here's how we work:
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.