Types of security measures in Article 96 and their length
Article 96 of the Criminal Code (Código Penal or CP) sets out an exhaustive list of the measures that can be imposed. The judge cannot invent others.
| Type | Measure | Duration |
|---|---|---|
| Custodial | Committal to a psychiatric institution | Up to the maximum prison sentence applicable |
| Custodial | Committal to a drug or alcohol rehabilitation centre | Up to the maximum prison sentence applicable |
| Custodial | Committal to a special education centre | Up to the maximum prison sentence applicable |
| Non-custodial | Supervised release | Up to 5 years; up to 10 where the Code so provides |
| Non-custodial | Family custody | Up to 5 years |
| Non-custodial | Loss of the right to drive motor vehicles and mopeds | Up to 10 years |
| Non-custodial | Loss of the right to possess and carry weapons | Up to 10 years |
| Non-custodial | Professional disqualification | 1 to 5 years |
| Non-custodial | Expulsion of a foreign national without legal residence | 10-year ban on returning |
The choice depends on how dangerous the person is and on the sentence that would otherwise have applied. If the offence was not punishable by imprisonment, only non-custodial measures can be imposed. The length of committal is capped at the prison sentence that would have been imposed.
Custodial security measures: the three forms of committal
Psychiatric committal for a mental disorder
Imposed on a person found not criminally responsible because of a mental disorder or impairment (Article 101). Its purpose is medical treatment or special education in an institution suited to the type of disorder. The person may not leave without the authorisation of the sentencing judge or court.
Committal to a drug or alcohol rehabilitation centre
Applies to a person who acted while fully intoxicated or suffering withdrawal symptoms from alcohol, drugs or other substances (Article 102). It may be a public centre or a duly accredited or approved private centre, which makes it possible to propose specific therapeutic communities to the court.
Special education centre and partial exemption
Reserved for people who, from birth or childhood, have perception impairments that seriously distort their awareness of reality (Article 103).
In cases of partial exemption from responsibility (eximente incompleta, Article 104), committal is combined with the corresponding sentence and can only be imposed if that sentence is custodial; its duration cannot exceed the sentence laid down in the Code for the offence.
What you do in the next few hours is decisive. Call us before making any statement.
Non-custodial security measures in Spain
Supervised release: the Article 106 obligations
Supervised release (libertad vigilada) is the most comprehensive non-custodial measure. It places the person under court supervision through one or more of the obligations in Article 106:
- being contactable at all times by means of electronic devices;
- reporting regularly to a designated place;
- immediately notifying any change of address or job;
- not leaving their place of residence or a given area without permission;
- not approaching or contacting the victim, their relatives or other people;
- not going to or living in certain places;
- not carrying on activities that could facilitate new offences of the same kind;
- taking part in training, employment, cultural, sex education or similar programmes;
- following outpatient medical treatment or undergoing regular medical check-ups.
Family custody as an alternative to committal
The person is placed under the care and supervision of a designated relative who agrees to take on custody, exercised in liaison with the prison supervision judge (juez de vigilancia penitenciaria) and without interfering with the person's schooling or work. It is a very useful measure when the patient is stable and the family can take responsibility for following up treatment.
Driving and weapons bans, disqualification and expulsion
Loss of the right to drive and of the right to hold weapons make sense where the danger is linked to those activities. Professional disqualification is imposed where the offence was committed by abusing the exercise of a profession or trade (Article 107). Expulsion of a foreign national without legal residence replaces the other measures, unless the court considers that the nature of the offence justifies serving them in Spain, and carries a ten-year ban on returning (Article 108).
Supervised release after prison: offences and procedure
Since the 2010 reform, supervised release can also be imposed on people who are fully criminally responsible, as an addition to the sentence. The court orders it in the judgment and it starts when the person leaves prison. It is only available where the Code expressly provides for it: sexual offences (Article 192), terrorism, homicide and murder, and certain offences of bodily harm and domestic abuse, among others.
The procedure is as follows:
- The judgment imposes the measure and its duration, without yet setting the specific obligations.
- At least two months before release from prison, the prison supervision judge sends a proposal to the sentencing court.
- The court, after hearing the convicted person, the prosecutor and the other parties, sets the specific obligations.
- While the measure is in force, the obligations can be changed, reduced or lifted if the prognosis is favourable.
It is wise to prepare for that moment well in advance, because the obligations set can shape working and family life for years. Supervised release should not be confused with parole (libertad condicional), which is a way of serving the last part of the prison sentence.
We review your case without obligation and explain your real options.
Enforcement and annual review of security measures
Enforcement is the responsibility of the sentencing judge or court, with the involvement of the prison supervision judge. The main rules are:
- Annual review: at least once a year the prison supervision judge proposes whether to maintain, end, replace or suspend the custodial measure, with reports from the professionals treating the person (Articles 97 and 98).
- The vicarial system: where a custodial sentence and a custodial measure are both imposed, the measure is served first and the time is credited against the sentence. Once it ends, the court may suspend the rest of the sentence if serving it would jeopardise the progress achieved, or apply a non-custodial measure (Article 99).
- Suspension: the measure can be suspended if the person does not reoffend within a set period, and reinstated if they do.
- Several measures: if several are imposed that cannot be carried out at the same time, they are served one after another in the order set by the court.
These reviews are the defence's opportunity to ask for the measure to be ended or replaced, with reports from the medical team, social services and the family. We cover this in more detail on our page on prison law.
Breaching a security measure: the consequences
Article 100 sets out the consequences of breach:
- If the person leaves the institution, the judge orders them to be readmitted to the same institution or another suited to their condition.
- If they breach a non-custodial measure, it may be replaced by committal where committal was an option in their case and is necessary.
- In both cases, the judge will refer the matter for a possible offence of breaching a sentence.
- Refusing to undergo or continue medical treatment is not a breach, although it may justify changing the measure.
With supervised release, breach of an obligation allows it to be changed; if the breach is repeated or serious and shows an intention not to comply, it is prosecuted as an offence under Article 468. Breaching supervised release is always punishable by six months to one year's imprisonment. More details on our page on breach of sentence.
Serving a security measure from Mallorca and the Balearics
Psychiatric committal within the prison system is served in the prison psychiatric hospitals of Alicante or Seville, far from the islands, and there are not always places nearby for other forms of committal. That is why, at reviews, it is worth proposing alternatives that allow treatment in Mallorca, Menorca, Ibiza or Formentera: outpatient treatment in the public mental health network, accredited rehabilitation centres or family custody with medical follow-up. Monitoring of supervised release and electronic devices is coordinated with the services that manage alternative sentences and measures.
What our criminal lawyer in Palma does during enforcement
At Castell Abogados, a Palma firm focused mainly on criminal law, we act both at trial and during enforcement. We propose the least restrictive measure with a specific treatment plan, prepare submissions before each annual review, defend the person concerned when a breach is alleged and, for supervised release after prison, argue over the content of the obligations before release. We see families in Palma and by video call from the other islands, in English, German, Spanish and Catalan. You can read more about our work as criminal lawyers in Palma.
Free first consultation without obligation, in Palma or by video call.
Frequently asked questions
What is the difference between supervised release and parole in Spain?
Parole (libertad condicional) is a way of serving the last part of a prison sentence outside prison, granted if certain requirements are met. Supervised release is a security measure: it is imposed in the judgment on people who are not criminally responsible or, for specific offences, on responsible offenders after their prison term, and subjects the person to controls and obligations for an additional period.
Can family custody replace psychiatric committal?
Yes, through family custody, provided the relative agrees and the court considers it sufficient to manage the risk. Treatment already under way and a stable environment are usually required. It is an alternative best proposed with medical and social reports, especially when committal would mean being moved off the islands.
Can a security measure be shortened or lifted early?
Yes. The measure ends when the person is no longer dangerous, even if the maximum period has not run out. At each review, at least annually for custodial measures, you can ask for the measure to be ended, replaced by a less restrictive one or suspended. Supervised release can also be reduced or lifted if the prognosis is favourable.
What happens if I remove my electronic tag on supervised release?
Disabling or not wearing the device is a breach that the court may take into account to tighten the obligations and, if serious or repeated, it can lead to an offence of breaching a sentence. Faults and technical problems should be reported immediately and recorded in writing, so that they are not interpreted as an intention not to comply.
Can a foreign national be expelled from Spain as a security measure?
If you are a foreign national without legal residence in Spain, the court may, after hearing you, replace the security measure with expulsion and a ten-year ban on returning. If you are legally resident, that substitution does not apply. That is why it is important to prove your immigration status from the start of the proceedings.