What it is
Rules for how police and courts handle your personal data
It is a government bill. Introduced by the Government. It was introduced on 11 February 2021. Introduced by: Gobierno.
Official title: Government Organic bill on the protection of personal data processed for the purposes of prevention, detection, investigation and prosecution of criminal offenses and the execution of criminal sanctions.
Source: Congreso de los Diputados, file 121/000046· updated 11 Nov
Automatic summary, not yet reviewed
- The law regulates how personal data is handled by authorities that investigate crimes, enforce penalties and protect public security. Competent authorities include the security forces, prison administrations, criminal courts, the Public Prosecutor's Office and other bodies such as customs surveillance.
- Public administrations and any person or company must give courts, the prosecutor or the police the data needed to investigate crimes or prevent a serious danger to public security. As a rule, the person affected will not be told that their data was shared.
- Data may only be kept as long as necessary and must be reviewed at least every three years. As a general rule, data must be deleted within a maximum of twenty years, unless there are justified exceptions.
- The rights of access, rectification, erasure and restriction of processing are recognized. These rights can be restricted for limited reasons, for example to avoid obstructing an investigation or to protect public security.
- Especially sensitive data, such as genetic or biometric data, may only be processed when strictly necessary and with safeguards. Automated decisions that harm a person are banned unless authorized by a rule with the force of law.
- The law regulates cameras used by the security forces: fixed cameras require a prior assessment and public notice, and mobile ones need authorization for a maximum of one month, renewable once. Recordings must be handed to the judge within 72 hours if they show possible crimes, and destroyed within three months otherwise.
- Personal data security breaches must be reported to the data protection authority within 72 hours and, if there is high risk, also to the person affected. Data controllers must appoint a data protection officer, except for processing for judicial purposes.
- A sanctioning regime is established with minor, serious and very serious offenses. Fines range from €6,000 to €1,000,000 depending on severity, and offenses expire between six months and three years after being committed.
Who it affects
- Public administrations and companies or individuals: They must give data to courts, the prosecutor or the police when requested for criminal investigations, and must not tell the person affected.
- Competent authorities (police, prisons, prosecutors, etc.): They must follow processing principles, retention periods, record-keeping, security measures and appoint a data protection officer.
- People whose data is processed in criminal investigations or proceedings: They can exercise rights of access, rectification, erasure and restriction, although these can be restricted during investigations.
- Security forces using cameras: They must follow specific rules on installing, authorizing and keeping camera recordings.
Words worth knowing
- Responsable del tratamiento (data controller)
- The authority that decides which data is processed and for what purpose.
- Datos biométricos (biometric data)
- Data such as fingerprints or facial images that uniquely identify a person.
- Evaluación de impacto (impact assessment)
- A prior analysis of the risks that data processing may cause to people.
- Delegado de protección de datos (data protection officer)
- A person who advises and oversees that data processing complies with the law.
- Fines jurisdiccionales (judicial purposes)
- Those related to the courts' function of judging cases.
It summarizes the law as published in the BOE. It is written by artificial intelligence and may contain mistakes: the official text is what counts. Read the official text · How we make summaries
Where it stands
How far did it get?
It took 7 of 7 steps. It reached BOE, and today it is passed.
- Introduced11 February 2021Someone registers the text in the Congreso.
- Admitted16 February 2021The Bureau of the Congreso accepts it and, for a members’ bill, the plenary decides whether to consider it.
- Amendments19 February 2021Groups propose changes.
- Committee11 March 2021A committee goes through the text in detail.
- Plenary7 April 2021All 350 deputies vote.
- Senate15 April 2021The Senate can pass it, amend it or veto it.
- BOE20 May 2021It is published in the Official State Gazette (BOE) and comes into force.
See the 10 official steps on a timeline
20 May 2021
How did the plenary vote?
Voted on: Joint vote on the Organic Bill on the protection of personal data processed for the purposes of prevention, detection, investigation and prosecution of criminal offenses and the execution of criminal sanctions, due to its organic nature.
This law had 9 votes; this is the latest with every deputy’s vote. See them all
Source: Congreso de los Diputados, vote 26 of sitting 100· updated 11 Nov
Each dot is a seat. Tap one, or use the arrow keys, to see who it is.
Your province
How did the deputies from your province vote?
And your senators: the Senate does not link its votes to this law in its open data, so we cannot put them side by side here.
Or see how most of each province voted
- A Coruña More votes in favour 7 yes · 1 no
- Albacete More votes in favour 3 yes · 0 no · 1 abst.
- Alicante/Alacant More votes in favour 9 yes · 0 no · 3 abst.
- Almería More votes in favour 4 yes · 0 no · 2 abst.
- Araba/Álava More votes in favour 3 yes · 0 no · 1 abst.
- Asturias More votes in favour 6 yes · 0 no · 1 abst.
- Ávila More votes in favour 2 yes · 0 no · 1 abst.
- Badajoz More votes in favour 5 yes · 0 no · 1 abst.
- Barcelona More votes in favour 21 yes · 2 no · 9 abst.
- Bizkaia More votes in favour 8 yes · 0 no
- Burgos More votes in favour 4 yes · 0 no
- Cáceres More votes in favour 3 yes · 0 no · 1 abst.
- Cádiz More votes in favour 7 yes · 0 no · 2 abst.
- Cantabria More votes in favour 4 yes · 0 no · 1 abst.
- Castellón/Castelló More votes in favour 4 yes · 0 no · 1 abst.
- Ceuta Tie 0 yes · 0 no · 1 abst.
- Ciudad Real More votes in favour 4 yes · 0 no · 1 abst.
- Córdoba More votes in favour 5 yes · 0 no · 1 abst.
- Cuenca More votes in favour 3 yes · 0 no
- Gipuzkoa More votes in favour 5 yes · 0 no · 1 abst.
- Girona More votes in favour 4 yes · 0 no · 2 abst.
- Granada More votes in favour 6 yes · 0 no · 1 abst.
- Guadalajara More votes in favour 2 yes · 0 no · 1 abst.
- Huelva More votes in favour 4 yes · 0 no · 1 abst.
- Huesca More votes in favour 3 yes · 0 no
- Illes Balears More votes in favour 6 yes · 0 no · 2 abst.
- Jaén More votes in favour 4 yes · 0 no · 1 abst.
- La Rioja More votes in favour 4 yes · 0 no
- Las Palmas More votes in favour 7 yes · 0 no · 1 abst.
- León More votes in favour 3 yes · 0 no · 1 abst.
- Lleida More votes in favour 2 yes · 0 no · 2 abst.
- Lugo More votes in favour 4 yes · 0 no
- Madrid More votes in favour 30 yes · 0 no · 7 abst.
- Málaga More votes in favour 9 yes · 0 no · 2 abst.
- Melilla More votes in favour 1 yes · 0 no
- Murcia More votes in favour 7 yes · 0 no · 3 abst.
- Navarra More votes in favour 3 yes · 2 no
- Ourense More votes in favour 4 yes · 0 no
- Palencia More votes in favour 3 yes · 0 no
- Pontevedra More votes in favour 6 yes · 0 no
- Salamanca More votes in favour 3 yes · 0 no · 1 abst.
- Santa Cruz de Tenerife More votes in favour 6 yes · 0 no · 1 abst.
- Segovia More votes in favour 2 yes · 0 no · 1 abst.
- Sevilla More votes in favour 10 yes · 0 no · 2 abst.
- Soria More votes in favour 2 yes · 0 no
- Tarragona More votes in favour 4 yes · 0 no · 2 abst.
- Teruel More votes in favour 3 yes · 0 no
- Toledo More votes in favour 4 yes · 0 no · 2 abst.
- Valencia/València More votes in favour 12 yes · 0 no · 3 abst.
- Valladolid More votes in favour 4 yes · 0 no · 1 abst.
- Zamora More votes in favour 2 yes · 0 no · 1 abst.
- Zaragoza More votes in favour 6 yes · 0 no · 1 abst.
More details: how each group and each province voted
The groups
Who voted in favour and who against?
In favour, most of Euskal Herria Bildu, Socialista, Vasco (EAJ-PNV), Mixto, Ciudadanos, Gcup-ec-gc, GPlu and Popular en el Congreso. 7 deputies voted differently from their group.
By province: in 50 most voted in favour; in 0, against.
Coloured by how most of each province’s deputies voted.
- In favour: 50
- Against: 0
- Abstained: 1
- Tie: 1
| Group | Seats | How it voted |
|---|---|---|
| Euskal Herria Bildu | 5 | 3 in favour · 2 abst. |
| Republicano | 13 | 13 abst. |
| Socialista | 120 | 120 in favour |
| Vasco (EAJ-PNV) | 6 | 6 in favour |
| Mixto | 10 | 6 in favour · 4 against |
| Ciudadanos | 9 | 9 in favour |
| Gcup-ec-gc | 35 | 35 in favour |
| GPlu | 12 | 11 in favour · 1 against |
| Popular en el Congreso | 88 | 87 in favour · 1 did not vote |
| VOX | 52 | 52 abst. |
What happens next
What happens now?
It is law, or will be once published in the BOE. It comes into force on the date its own text sets.
The same initiative in the other chamber:
Sources
Where does all this come from?
- Congreso de los Diputados, file 121/000046
Official title, type, author, dates and stage.
Retrieved 11 November 2026
- Congreso de los Diputados, vote 26 of sitting 100
The count and every seat’s vote.
Retrieved 11 November 2026
- BOE, BOE-A-2021-8806
The law as published.
Retrieved 11 November 2026
- The data comes from the open files of the Congreso, the Senate and the BOE, unaltered.
- Each deputy’s province is the one of their seat on the day of the vote.
- We only say “passed” or “rejected” when the majority needed is certain; otherwise we say which side had more votes.