Article 163 of the Spanish Criminal Code punishes the private individual who confines or detains another, depriving that person of liberty. The penalty of four to six years is severe because the offence protects freedom of movement in itself, and no further harm need be caused. The article rewards early release: freeing the person within the first three days, without having achieved the intended purpose, reduces the sentence by one degree. It also contains a much lighter offence in paragraph 4 for the citizen who apprehends someone in order to hand that person over to the authorities outside the cases the law permits.
Also cited as: article 163 Spanish Criminal Code · art. 163 CP · Spanish Penal Code article 163 · artículo 163 del Código Penal.
1. A private individual who confines or detains another, depriving that person of liberty, shall be punished with imprisonment of four to six years.
2. Where the offender releases the person confined or detained within the first three days of the detention, without having achieved the purpose he had intended, the penalty one degree lower shall be imposed.
3. Imprisonment of five to eight years shall be imposed where the confinement or detention has lasted more than fifteen days.
4. A private individual who, outside the cases permitted by law, apprehends a person in order to present that person immediately to the authorities shall be punished with a fine of three to six months.
Working translation prepared by Société Juridique from the consolidated Spanish text published by the Official State Gazette. It has no official status: the only authoritative version is the Spanish original, available at the Official State Gazette and reproduced verbatim in our Spanish-language entry for this provision. Source: Organic Law 10/1995 of 23 November, the Spanish Criminal Code.
| Protected interest | Freedom of movement, understood as the ability to determine one’s own position in space. |
|---|---|
| Classification | Serious offence under paragraphs 1, 2 and 3. Minor offence punishable by fine under paragraph 4. |
| Completion | Instantaneous. The offence is complete as soon as the victim is unable to move freely; no minimum duration is required. |
| Trial court | Provincial Court under paragraphs 1 to 3, the maximum penalty exceeding five years. Investigating Court sitting in the minor-offence trial under paragraph 4. |
| Procedure | Ordinary or abbreviated procedure, depending on the penalty actually sought by the prosecution. |
| Limitation period | Ten years for the basic offence and for the aggravated form under paragraph 3, under Article 131 of the Criminal Code. |
| Suspension of sentence | Ruled out for the basic offence, the minimum penalty exceeding the two-year threshold in Article 80, unless strongly qualified mitigating circumstances or the reduced form in paragraph 2 apply. |
| Common concurrence | With robbery with violence, sexual assault and domestic violence offences, where the deprivation of liberty may be absorbed if it was the necessary means of committing the main offence. |
Absorption by the principal offence. This argument resolves a great many cases. Where the restraint lasted only as long as was necessary to commit a robbery, a sexual offence or an assault, the deprivation of liberty is inherent in that offence and is not punished separately. The defence measures the duration and the place of the restraint against what the principal offence required, because prosecutors habitually charge unlawful detention in addition to the principal offence in order to increase the aggregate sentence.
Reclassification to coercion. Where the restraint was brief, where the person could have left but chose not to, or where the obstruction was to a particular movement rather than to freedom of movement as such, the correct provision is coercion under article 172, punished with imprisonment of six months to three years or a fine. Blocking a doorway during an argument, holding a car door closed and preventing someone from leaving a room for a few minutes are the recurring situations, and the distinction rests on the duration and on the effectiveness of the restraint.
The reduction for release within three days. Paragraph 2 is a statutory reduction of one degree, and it applies whenever the release was voluntary and the purpose was not achieved. It is frequently overlooked in the indictment. Establishing the exact hour of the release, and that it was the accused’s own decision rather than the consequence of police intervention, is a matter of documentary precision that changes the bracket and therefore the possibility of suspension.
The citizen’s arrest in paragraph 4. Where the accused held a person in order to hand that person to the police, whether after a theft in a shop or an incident in a bar, paragraph 4 applies and the penalty is a fine alone. Where the requirements of the citizen’s arrest permitted by the procedural legislation are actually satisfied, no offence is committed at all. Security staff and business owners are the usual defendants in this class of case, and the argument turns on the immediacy with which the authorities were called.
Defence in this area
If you or your company are facing proceedings in this area, the firm provides defence and prosecution in Alicante and Madrid, with 24-hour assistance to detained persons.
Are you under investigation or facing charges in Spain? Société Juridique acts for foreign nationals throughout Spain, with offices in Alicante and Madrid and a 24-hour custody line. +34 669 30 21 13 or enquire online.
This entry is provided for information only and does not constitute legal advice. The application of any provision depends on the circumstances of the individual case and requires examination of the case file by a qualified lawyer.
Last reviewed: 21 September 2026.
Four to six years of imprisonment for the basic offence. The penalty is reduced by one degree where the offender releases the detainee within the first three days without having achieved the purpose, and rises to five to eight years where the deprivation of liberty exceeds fifteen days.
No minimum duration is required. Case law treats the offence as complete as soon as the victim is unable to move freely, a matter of moments being enough. Brevity affects sentencing and may open the reduced form, but it does not exclude the offence.
Unlawful detention seeks to deprive the victim of freedom of movement in a stable way and cancels the ability to move; coercion seeks to compel a specific act or omission through a partial restriction. The dividing line looks at purpose, intensity and intent, as Supreme Court judgment 376/2017 of 24 May sets out.
Yes. Where the deprivation of liberty is the necessary means of committing robbery with violence, sexual assault or another offence, and goes no further than that commission requires, it is absorbed. If it continues beyond what was necessary, the offences concur.
Not for the basic offence, because the minimum penalty of four years exceeds the two-year threshold in Article 80 of the Criminal Code. Suspension is available only where strongly qualified mitigating circumstances or the reduced form for early release apply.
After ten years under Article 131 of the Criminal Code, the maximum penalty being imprisonment of more than five years.