Types of custodial sentence in Spain (Art. 35 CP)
Within the general classification of penalties, custodial penalties (penas privativas de libertad) are those that restrict the offender's freedom of movement. Art. 35 of the Criminal Code (Código Penal, CP) lists four:
| Penalty | Length | Where it is served |
|---|---|---|
| Reviewable permanent imprisonment | Indefinite, reviewable from 25 years | Prison |
| Prison | From 3 months to 20 years, with the exceptions in Art. 76 | Prison |
| Permanent home detention | From one day to 6 months | Home or another place set by the judge |
| Subsidiary personal liability | One day for every two unpaid daily fine units | Prison, home detention or community service |
Arrest and remand in custody, although they deprive a person of liberty, are not penalties: they are precautionary measures (Art. 34 CP).
Reviewable permanent imprisonment: what it is and when it applies
Reviewable permanent imprisonment (prisión permanente revisable) was introduced by Organic Law 1/2015 and is the most severe penalty in Spanish law. Its length is not fixed in the judgment: the offender remains in prison until a court, after a minimum number of years and once certain requirements are met, decides to suspend its execution. It was challenged before the Constitutional Court (Tribunal Constitucional), which in 2021 held it to be compatible with the Constitution. It is the closest Spanish equivalent to a life sentence.
Offences punishable by reviewable permanent imprisonment
- Aggravated murder under Art. 140 CP: a victim under 16 or particularly vulnerable because of age, illness or disability; murder following a sexual offence committed against the victim; murder committed by a member of a criminal group or organisation.
- Murder committed by someone who has been convicted of the deaths of more than two people (Art. 140.2 CP). The wording is debated: the preamble to the law refers to repeated or serial murders.
- Homicide of the King, the Queen or the Prince or Princess of Asturias (Art. 485 CP).
- Terrorist offences causing the death of a person.
- Homicide of a foreign head of state or of a person protected by an international treaty (Art. 605 CP).
- The most serious forms of genocide and crimes against humanity (Arts. 607 and 607 bis CP).
Review after 25 years: requirements under Art. 92 CP
Art. 92 CP allows execution to be suspended when the offender has served 25 years, is classified in the third grade (open regime) and there is a favourable prognosis of social rehabilitation, assessed by the court after hearing the Public Prosecutor and the offender. Before that point the regime is very restrictive: the third grade cannot be granted until 15 years have actually been served and prison leave not until 8, periods that are longer for terrorist offences. If the sentence covers several offences, Art. 78 bis raises the minimum review periods to 28, 30 or 35 years. Once suspension is granted, a probation period of five to ten years is set; if it is completed successfully, the penalty is extinguished. If suspension is refused, the court must re-examine the situation at least every two years.
What you do in the next few hours is decisive. Call us before making any statement.
Prison sentences in Spain: minimum and maximum length
This is the reference penalty of the system. Its minimum length is three months and its maximum twenty years (Art. 36.2 CP). Where the sentencing rules would produce a prison term of less than three months, it must be replaced by a fine, community service or permanent home detention (Art. 71.2 CP). It is a serious penalty if it exceeds five years and a less serious one from three months to five years, a distinction that decides, among other things, which court tries the case: as a general rule, the criminal court (Juzgado de lo Penal) up to five years in prison, and the Provincial Court (Audiencia Provincial) above that.
Maximum time served for several offences: 20, 25, 30 or 40 years
Sentences for several offences are served one after another, but with a double cap: the time actually served cannot exceed three times the most serious sentence or, as a rule, twenty years. That maximum rises:
- to 25 years, if any of the offences carries up to 20 years in prison;
- to 30 years, if any carries more than 20 years in prison;
- to 40 years, if at least two of the offences carry more than 20 years in prison, or in the case of terrorist offences carrying more than 20 years.
Aggregation can be requested even if the convictions come from different proceedings, provided the facts could have been tried in a single case. It is a technical procedure in which a well-prepared consolidation of sentences (refundición) can save years of time served.
Difference between a prison sentence and remand in custody
Prison is a penalty imposed in a judgment. Remand in custody (prisión provisional) is a precautionary measure: it is ordered before trial, without any finding of guilt. Arts. 502 to 504 of the Criminal Procedure Act (Ley de Enjuiciamiento Criminal) require sufficient grounds to believe the person responsible for the offence and that the measure pursue one of these aims: preventing flight, preventing evidence from being hidden, altered or destroyed, or preventing the suspect from acting against the victim's interests or committing further offences. It has maximum time limits that depend on the penalty at stake and the aim pursued.
Time spent on remand is not lost. Under Art. 58 CP, it is credited in full against the sentence imposed in the case in which it was ordered, unless it coincided with another deprivation of liberty already credited or creditable in another case. It may also be credited in a different case if the precautionary measure came after the facts giving rise to the sentence to which it is applied.
Avoiding prison or early release: suspension, open prison and parole
- Suspension of the sentence. The judge may suspend custodial sentences of no more than two years if the offender is a first-time offender and has paid the compensation owed or made a serious commitment to pay (Art. 80 CP). We cover this on our page on suspended sentences.
- Prison classification. The sentence is served in the first, second or third grade. The third grade (open regime) allows the prisoner to go out to work and, where applicable, to sleep at a social integration centre (centro de inserción social). For sentences of more than five years, the court may impose a security period that prevents the third grade until half the sentence has been served, and for certain offences that period is mandatory.
- Parole. As a general rule, after serving three quarters of the sentence, in the third grade and with good conduct, the remainder may be suspended. There are early-release options at two thirds and, for first-time offenders with sentences of up to three years, at half. See parole in Spain.
- Expulsion of foreign nationals. Prison sentences of more than one year imposed on a foreign national may be replaced, wholly or partly, by expulsion from Spain (Art. 89 CP), with exceptions for those with strong ties here.
Other custodial penalties: home detention and unpaid fines
Permanent home detention: serving the sentence at home
Permanent home detention (localización permanente) requires the offender to stay at home or at the place the judge sets in the judgment or later by reasoned order (Art. 37 CP). It lasts a maximum of six months: it is a minor penalty up to three months and a less serious one beyond that. Today it is provided mainly for minor offences within the family, as an alternative to a fine so as not to harm the victim's own household finances, and as a way of serving liability for an unpaid fine.
It works like house arrest. The rule is continuous serving, but if the offender asks and the circumstances warrant it, the judge, after hearing the Public Prosecutor, may allow it to be served on Saturdays and Sundays or non-continuously. The Code also provides for serving it at the prison nearest the offender's home on Saturdays, Sundays and public holidays, but only where home detention is the main penalty and the specific provision allows it because of repeated offending, a situation that applies very rarely.
To ensure compliance, Art. 37.4 CP allows mechanical or electronic devices to be used to locate the offender. If the offender leaves the designated place, the court refers the matter for prosecution for breach of sentence.
Unpaid criminal fines: subsidiary personal liability
This appears in the catalogue of custodial penalties, but it does not always end in deprivation of liberty. It is the substitute for the fine when the fine is not paid: it prevents the offender's insolvency from leaving the offence without a response. Art. 53.1 CP requires that the fine has not been paid either voluntarily or through enforcement proceedings. The offender does not choose between paying and serving: if they do not pay, the court first tries to seize their assets, and only if they prove insolvent does subsidiary liability come into play.
Conversion can take three forms:
- into a prison sentence;
- into permanent home detention, an option expressly provided for minor offences;
- into community service, which requires the offender's consent.
The conversion rates are these:
- Every two unpaid daily units are equivalent to one day of deprivation of liberty, in prison or at home.
- Each day of deprivation of liberty is equivalent to one day of work, so every two unpaid daily units amount to one day of work.
- For a proportional fine (one set according to the harm, the value of the object or the profit), the court sets subsidiary liability at its discretion, up to a maximum of one year (Art. 53.2 CP).
When it is served as home detention, the six-month limit in Art. 37.1 CP does not apply, so it may last longer.
There is an important limit in Art. 53.3 CP: subsidiary liability is not imposed on anyone sentenced to more than five years' deprivation of liberty. Furthermore, serving it extinguishes the obligation to pay the fine, even if the offender later becomes better off (Art. 53.4). And, as a custodial penalty, it can also be suspended under Art. 80 CP.
Legal persons cannot be deprived of liberty, but Art. 53.5 CP, introduced by the 2010 reform, deals with non-payment by them: the fine may be paid in instalments over a period of up to five years where the amount endangers the survival of the entity or the preservation of jobs, or where the general interest so requires. If the entity does not pay, voluntarily or through enforcement, within the period set, the court may order receivership until the fine is paid in full.
We review your case without obligation and explain your real options.
Serving a prison sentence in Mallorca and the Balearic Islands
Sentences imposed by the courts on the islands are generally served in the prisons of Mallorca (Palma), Menorca (Mahón) and Ibiza, although the prison administration may send the prisoner to a prison on the mainland for reasons of classification, security or occupancy. For families, a transfer off the island means a real cost in visits, and a transfer closer to home can be requested on the grounds of family ties. Foreign prisoners from EU countries may also, in certain cases, ask to serve their sentence in their home country under the mutual recognition rules.
Decisions on prison leave, grades, disciplinary sanctions and parole are supervised by the prison supervision court (Juzgado de Vigilancia Penitenciaria), while those on suspension, aggregation or calculation of the sentence are for the court that handed down the judgment. We cover day-to-day issues in prison on our page on prison law.
Criminal lawyer in Palma to avoid or reduce prison time
The sentence in the judgment rarely matches the time actually spent in prison. At Castell Abogados we work on that difference:
- Before trial: a realistic assessment of the sentence that may be imposed, the mitigating circumstances that apply and whether a plea agreement could keep the sentence within the limit for suspension.
- After judgment: an application for suspension, payment of compensation in instalments, and a request to defer entry into prison while a pardon or an appeal is pending, where appropriate.
- During enforcement: credit for time on remand, aggregation of sentences under Art. 76 and review of the sentence calculation.
- In prison: appeals on classification, prison leave and parole.
- Unpaid fines: deferrals and serving through community service to avoid going to prison.
If you or a family member are facing a prison sentence in Mallorca, Menorca, Ibiza or Formentera, you can put your case to us in a free first consultation, in English, German, Spanish or Catalan.
Free first consultation without obligation, in Palma or by video call.
Frequently asked questions
What length of sentence means going to prison in Spain?
There is no automatic figure. Sentences of up to two years can be suspended if it is a first offence and the compensation is paid or guaranteed, but suspension is at the judge's discretion and not a right. Above two years, the rule is that the offender goes to prison, with limited exceptions. Previous convictions, personal circumstances and efforts to repair the harm also play a part.
Is reviewable permanent imprisonment a life sentence?
Formally no, because the law requires it to be reviewed. In practice it is a sentence of indefinite length: the first review does not come until 25 years have been served, or more if there are several offences, and it requires the third grade and a favourable rehabilitation prognosis. If the court does not find those requirements met, the offender remains in prison and the situation is re-examined periodically.
Is time spent on remand deducted from the sentence?
Yes. Art. 58 of the Criminal Code requires time on remand to be credited in full against the sentence imposed in the same case. Other precautionary measures, such as the withdrawal of a driving licence or regular reporting to court, are also offset to the extent the judge decides. It is worth checking the sentence calculation, because counting errors are not uncommon.
What happens if I cannot pay a criminal fine in Spain?
The court will try to collect it by seizing assets or income. If you are insolvent, subsidiary personal liability applies: one day of deprivation of liberty for every two unpaid daily units. Before that point you can ask to defer payment or pay in instalments and, if you still cannot pay, ask for it to be served through community service or suspended.
Can I go to work while serving permanent home detention?
The penalty consists precisely of not leaving your home, so on the days you are serving it you cannot go to work. What you can ask for is non-continuous serving, for example at weekends, so that it is compatible with your job. The judge decides after hearing the prosecutor, taking into account your work and family circumstances.
What is the maximum prison sentence in Spain?
For fixed-term prison sentences, the maximum time actually served is 20 years, which can be extended to 25, 30 or 40 depending on the seriousness of the combined offences. Reviewable permanent imprisonment has no legal maximum: it lasts until the court decides to suspend it.