Law firm in Palma de Mallorca

Criminal law guide

Pre-trial detention: requirements, length and how to apply for release

Pre-trial detention (prisión provisional) is the most serious precautionary measure: depriving someone of their liberty before they have been tried. It can only be ordered in specific cases and for a limited time. We explain its requirements, how long it can last and what the defence can do to avoid it or to secure release.

Requirements for pre-trial detention

Article 503 of the Criminal Procedure Act requires all of the following at the same time:

  1. An offence of a certain seriousness: punishable by a maximum penalty of 2 years' imprisonment or more, or less if the suspect has unexpunged previous convictions for an intentional offence.
  2. Sufficient grounds to believe the suspect is responsible for the offence.
  3. A legitimate purpose:
    • Ensuring the suspect's presence in the proceedings where there is a risk of flight, taking into account the seriousness of the penalty, their family, employment and financial situation and how close the trial is.
    • Preventing them from hiding, altering or destroying relevant evidence, if there is a well-founded and specific danger.
    • Preventing them from acting against the victim's legal interests, especially in gender-based or domestic violence.
    • Preventing the risk of further offences.

In addition, it must be the last resort: if other less restrictive measures (reporting to the court, surrender of the passport, bail, a restraining order) are enough for the same purpose, detention is not appropriate.

The hearing

Pre-trial detention can only be ordered at a hearing in which the public prosecutor, the other prosecuting parties and the suspect, assisted by their lawyer, take part (art. 505 of the Criminal Procedure Act). It is usually held at the duty court after the arrest. At that hearing the defence can propose evidence to be examined on the spot and provide documents showing roots in the community (arraigo): a tenancy agreement or title deed, an employment contract, municipal registration (empadronamiento), family situation. Preparing that paperwork properly within a few hours is decisive. For foreign residents and visitors, showing ties to Mallorca is often the key to avoiding detention.

Have you been summoned or arrested?

What you do in the next few hours is decisive. Call us before making any statement.

Maximum length

CaseMaximumExtension
Offence punishable by up to 3 years (risk of flight, to the victim or of reoffending)1 yearOnly one, of up to 6 months
Offence punishable by more than 3 years2 yearsOnly one, of up to 2 years
To prevent the destruction of evidence6 monthsNo
After a conviction under appealUp to half of the sentence imposed

In any event, detention must last only as long as strictly necessary and while the grounds that justified it remain (art. 504.1). The time spent in pre-trial detention is later credited towards serving the sentence.

How to apply for release

  • Appeal for reconsideration and appeal (recurso de reforma y apelación) against the detention order.
  • Application for release at any time if circumstances change: progress in the investigation, new documents showing roots in the community, medical reports.
  • Provisional release with conditions: regular reporting to the court, surrender of the passport, a ban on leaving Spain, bail or a restraining order.

Remember that a person in pre-trial detention is still protected by the presumption of innocence. In arrests under a European Arrest Warrant or extradition request, specific rules apply before the National High Court (Audiencia Nacional).

Has something similar happened to you?

Tell us about your case: the first consultation is free and without obligation.

Frequently asked questions

How long can pre-trial detention last?

Up to 1 year if the penalty for the offence is 3 years or less, and up to 2 years if it is higher, with only one extension of 6 months or 2 years respectively. If it was ordered to prevent the destruction of evidence, a maximum of 6 months.

What is the risk of flight?

The likelihood that the suspect will evade the proceedings. The court considers the seriousness of the penalty, their family, employment and financial situation and how close the trial is.

Is time spent in pre-trial detention deducted from the sentence?

Yes. All the time spent in pre-trial detention is credited towards serving the sentence imposed in that case.

Can I be released by paying bail?

The judge can order release on bail as an alternative to detention, together with other measures such as reporting to the court or surrendering the passport.

What happens if I am acquitted after being held in pre-trial detention?

In certain cases compensation can be claimed from the State for the time spent in custody.

You may also be interested in

Criminal law

Extradition and the European Arrest Warrant

Extradition lawyers in Mallorca: European Arrest Warrant and surrender, passive extradition before the National High Court, deadlines, safeguards and defence.

Read →