The Código Penal (Spanish Criminal Code) recognises the right to have a record cancelled once criminal liability has been extinguished and a set period has passed without reoffending. That period depends on the sentence imposed and runs from the date the sentence was extinguished, not from the date of the judgment. Calculating it correctly is often the decisive part of the process.
Two things that are often confused should be kept apart. Criminal records reflect final convictions and are the responsibility of the ministry in charge of justice. Police records (antecedentes policiales) are data held by the police and security forces about arrests or investigations, even where there was no conviction, and they have their own rules on retention and deletion.
01Situations
When it makes sense to cancel a criminal record
You have been asked for a criminal record certificate for a job
Before applying for the certificate, it is worth checking whether the old conviction could already be cancelled. If the requirements are met, you can apply for cancellation and then provide a certificate without that entry.
You served your sentence years ago and the record still appears
This can happen, for example, when the register does not show the date on which the sentence was extinguished. In that case the register must ask the court to update the information before deciding.
You need a clean record for an immigration application
Some residence or nationality procedures take criminal records into account. Knowing well in advance when a conviction can be cancelled helps you plan the application.
You had a suspended sentence
When the sentence was suspended and later remitted, the cancellation period is calculated in a particular way that can bring forward the date from which you can apply.
You were arrested, but the case was closed or ended in acquittal
You will have no criminal record because there was no conviction, but data may be held in police files. You can exercise your right, before the authority responsible, to have it deleted once it is no longer necessary.
02How we step in
How a lawyer can help with criminal record cancellation
Step 01
Review of your criminal record sheet
Review of each recorded conviction in the criminal record sheet (hoja histórico-penal), the sentence imposed and the date it was extinguished, to determine which records can already be cancelled and when the others can be.
Step 02
Application for cancellation to the Registro Central de Penados
Drafting and filing the application addressed to the ministry responsible for justice, stating the grounds for cancellation and enclosing the supporting documents, and following up the file.
Step 03
Steps before the court that enforced the sentence
When the register does not show the date on which the sentence was extinguished, the court is asked for the decision or certified copy (testimonio) that proves it, so that the file can be completed.
Step 04
Appeal against a refusal
If the ministry refuses cancellation or does not reply in time, the matter can be taken to the administrative courts (vía contencioso-administrativa). The lawyer assesses the reasons for the refusal before appealing.
Step 05
Deletion of police data
Written requests exercising the right to erasure before the police force responsible for the file and, if they are not dealt with, a complaint to the competent data protection authority.
03Before the consultation
Information that can help you prepare for the consultation
- A recent criminal record certificate, if you already have one.
- The judgment or judgments convicting you and, if any, the orders suspending or remitting the sentence.
- Any decision declaring the sentence extinguished, such as an order of final remission or of final release (licenciamiento definitivo).
- The court that handled enforcement and the enforcement file number (ejecutoria), if you know it.
- What you need the certificate for and whether you have a deadline for submitting it.
- For police data, the approximate date of the arrest and the outcome of the proceedings.
- There is no need to attach anything to the contact form: the documents are reviewed at the consultation.
04Common questions
Frequently asked questions about criminal records
Official legal references(7)
- Código Penal, art. 136 (BOE) (opens in a new tab)
- Código Penal, art. 22.8.ª (BOE) (opens in a new tab)
- Código Penal, art. 33 (BOE) (opens in a new tab)
- Real Decreto 95/2009, Sistema de registros administrativos de apoyo a la Administración de Justicia (administrative registers supporting the justice system), arts. 2, 18 and 19 (BOE) (opens in a new tab)
- Ministerio de la Presidencia, Justicia y Relaciones con las Cortes: Cancelación de Antecedentes Penales (official application procedure) (opens in a new tab)
- Ley Orgánica 7/2021, de protección de datos tratados para fines de prevención, investigación y enjuiciamiento de infracciones penales (data protection in criminal matters), arts. 1, 8 and 23 (BOE) (opens in a new tab)
- Ley Orgánica 7/2021, arts. 25 and 52 (BOE) (opens in a new tab)
The information on this page is general and is no substitute for a study of each specific case.
Find out more
Guides and articles on this topic.
- ArticleDriving without a licence: when it is a criminal offence, what the penalty is and how the fast-track trial worksDriving without a licence does not always have the same consequences. In three cases it is a criminal offence and can be tried under the fast-track trial procedure; in others it is a traffic offence.
- GuideHow to cancel a criminal record: requirements and time limitsThe requirements and time limits in article 136 of the Código Penal, how to apply to the Ministry for cancellation and why police records are something else.
05The team
Experience in the service of your defence.

Mónica Peñate Rodríguez
Criminal lawyer
More than 30years of practice
as a lawyer
Ilustre Colegio de la Abogacía de Las Palmas · Bar no. 1977

