What it is
Adapts Spanish data protection rules to the EU regulation
It is a royal decree-law. It was introduced on 30 July 2018. Introduced by: Gobierno.
Official title: Royal Decree-Law 5/2018, of 27 July, on urgent measures for the adaptation of Spanish law to European Union regulations on data protection.
Source: Congreso de los Diputados, file 130/000032· updated 11 Nov
Automatic summary, not yet reviewed
- Investigation activity by the Spanish Data Protection Agency will be carried out by Agency officials or by outside officials expressly authorized by its Director. Investigators act as officers of the law, must keep information secret, and can inspect equipment, request documents and copies. Entering homes requires following procedural rules and, when needed, prior judicial authorization.
- The penalty regime applies to data controllers and processors, their representatives, certification bodies and bodies supervising codes of conduct. Data protection officers are excluded. Violations are those in Article 83(4), (5) and (6) of the EU regulation.
- Violations under Article 83(5) and (6) of the regulation expire after three years, and those under Article 83(4) after two. Fines expire in one year (up to €40,000), two years (€40,001 to €300,000) or three years (over €300,000).
- It sets out how the Agency handles complaints: it must decide whether to admit them, with notification within three months, and determine whether the case is national or cross-border before anything else. If the Agency is not the main supervisory authority, it forwards the complaint to the one that is and provisionally closes the procedure.
- Deadlines are set: six months to resolve complaints about failure to answer rights requests, nine months for penalty procedures (which lapse when the deadline passes) and twelve months for preliminary investigations. Deadlines are suspended when information must be requested from the EU or from authorities of other member states.
- The Agency can adopt provisional measures, such as the precautionary blocking of data or the immediate duty to honor the requested right. It also represents Spain on the European Data Protection Board and will publish many of its decisions. The rule remains in force until the new organic data protection law takes effect.
Who it affects
- Companies and entities that process personal data: They can be fined under the EU regulation and be subject to inspections by the Agency.
- Individuals who file complaints with the Spanish Data Protection Agency: Their complaints have admission and resolution deadlines, and they can consider the complaint upheld if no decision comes within six months.
- Data protection officers: They cannot be penalized under this rule.
- Spanish Data Protection Agency: It gains specific rules to investigate, fine, represent Spain on the European Board and publish its decisions.
Words worth knowing
- Prescripción (statute of limitations)
- The maximum time to impose or collect a penalty; once it passes, no action can be taken.
- Responsable del tratamiento (data controller)
- Whoever decides how and why personal data is used.
- Encargado del tratamiento (data processor)
- Whoever processes data on behalf of the controller, for example a service provider.
- Tratamiento transfronterizo (cross-border processing)
- Data processing affecting several countries, so several supervisory authorities are involved.
- Caducidad (lapse of proceedings)
- If the procedure does not finish within the set deadline, it closes and the case file is archived.
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.
- Introduced30 July 2018Someone registers the text in the Congreso.
- Admitted4 September 2018The Bureau of the Congreso accepts it and, for a members’ bill, the plenary decides whether to consider it.
- Amendmentsno dateGroups propose changes.
- Committeeno dateA committee goes through the text in detail.
- Plenary4 September 2018All 350 deputies vote.
- Senateno dateThe Senate can pass it, amend it or veto it.
- BOEno dateIt is published in the Official State Gazette (BOE) and comes into force.
See the 4 official steps on a timeline
6 September 2018
How did the plenary vote?
Voted on: Royal Decree-Law 5/2018, of 27 July, on urgent measures for the adaptation of Spanish law to European Union regulations on data protection.
Source: Congreso de los Diputados, vote 1 of sitting 137· updated 10 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 8 yes · 0 no
- Albacete More votes in favour 4 yes · 0 no
- Alicante/Alacant More votes in favour 12 yes · 0 no
- Almería More votes in favour 6 yes · 0 no
- Araba/Álava More votes in favour 4 yes · 0 no
- Asturias More votes in favour 8 yes · 0 no
- Ávila More votes in favour 1 yes · 0 no
- Badajoz More votes in favour 6 yes · 0 no
- Barcelona More votes in favour 30 yes · 0 no
- Bizkaia More votes in favour 7 yes · 0 no · 1 abst.
- Burgos More votes in favour 4 yes · 0 no
- Cáceres More votes in favour 4 yes · 0 no
- Cádiz More votes in favour 9 yes · 0 no
- Cantabria More votes in favour 5 yes · 0 no
- Castellón/Castelló More votes in favour 5 yes · 0 no
- Ceuta More votes in favour 1 yes · 0 no
- Ciudad Real More votes in favour 5 yes · 0 no
- Córdoba More votes in favour 6 yes · 0 no
- Cuenca More votes in favour 3 yes · 0 no
- Gipuzkoa More votes in favour 4 yes · 0 no · 1 abst.
- Girona More votes in favour 5 yes · 0 no
- Granada More votes in favour 7 yes · 0 no
- Guadalajara More votes in favour 3 yes · 0 no
- Huelva More votes in favour 5 yes · 0 no
- Huesca More votes in favour 3 yes · 0 no
- Illes Balears More votes in favour 8 yes · 0 no
- Jaén More votes in favour 5 yes · 0 no
- La Rioja More votes in favour 4 yes · 0 no
- Las Palmas More votes in favour 8 yes · 0 no
- León More votes in favour 3 yes · 0 no
- Lleida More votes in favour 4 yes · 0 no
- Lugo More votes in favour 4 yes · 0 no
- Madrid More votes in favour 35 yes · 0 no
- Málaga More votes in favour 11 yes · 0 no
- Melilla More votes in favour 1 yes · 0 no
- Murcia More votes in favour 10 yes · 0 no
- Navarra More votes in favour 5 yes · 0 no
- Ourense More votes in favour 4 yes · 0 no
- Palencia More votes in favour 3 yes · 0 no
- Pontevedra More votes in favour 7 yes · 0 no
- Salamanca More votes in favour 4 yes · 0 no
- Santa Cruz de Tenerife More votes in favour 7 yes · 0 no
- Segovia More votes in favour 3 yes · 0 no
- Sevilla More votes in favour 12 yes · 0 no
- Soria More votes in favour 2 yes · 0 no
- Tarragona More votes in favour 5 yes · 0 no
- Teruel More votes in favour 3 yes · 0 no
- Toledo More votes in favour 6 yes · 0 no
- Valencia/València More votes in favour 16 yes · 0 no
- Valladolid More votes in favour 5 yes · 0 no
- Zamora More votes in favour 3 yes · 0 no
- Zaragoza More votes in favour 6 yes · 0 no
More details: how each group and each province voted
The groups
Who voted in favour and who against?
In favour, most of Socialista, Vasco (EAJ-PNV), Mixto, Ciudadanos, Gcup-ec-em, GER and Popular en el Congreso. 2 deputies voted differently from their group.
By province: in 52 most voted in favour; in 0, against.
Coloured by how most of each province’s deputies voted.
- In favour: 52
- Against: 0
| Group | Seats | How it voted |
|---|---|---|
| Socialista | 84 | 84 in favour |
| Vasco (EAJ-PNV) | 5 | 4 in favour · 1 did not vote |
| Mixto | 19 | 16 in favour · 2 abst. · 1 did not vote |
| Ciudadanos | 32 | 31 in favour · 1 did not vote |
| Gcup-ec-em | 67 | 66 in favour · 1 did not vote |
| GER | 9 | 7 in favour · 2 did not vote |
| Popular en el Congreso | 134 | 131 in favour · 3 did not vote |
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.
Published in the BOE: Royal Decree-Law 5/2018, of 27 July, on urgent measures for the adaptation of Spanish law to European Union regulations on data protection.
Sources
Where does all this come from?
- Congreso de los Diputados, file 130/000032
Official title, type, author, dates and stage.
Retrieved 11 November 2026
- Congreso de los Diputados, vote 1 of sitting 137
The count and every seat’s vote.
Retrieved 10 November 2026
- BOE, BOE-A-2018-10751
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.