What it is
Cybersecurity rules for essential and digital services
It is a royal decree-law. It was introduced on 7 September 2018. Introduced by: Gobierno.
Official title: Royal Decree-Law 12/2018, of 7 September, on the security of networks and information systems.
Source: Congreso de los Diputados, file 130/000039· updated 11 Nov
Automatic summary, not yet reviewed
- The rule governs the security of networks and information systems used to provide essential services and digital services, and creates a system for reporting incidents. It also sets up an institutional framework and coordination between authorities.
- It applies to operators of essential services established in Spain and to digital service providers based in Spain, such as online markets, search engines and cloud services. Micro and small businesses providing digital services are excluded.
- Operators and providers must take security measures proportionate to the risk and designate an information security officer. They must also report incidents with significant disruptive effects, through an initial report, interim reports and a final report.
- Anyone who reports incidents is protected: they cannot suffer negative consequences at work unless they acted in bad faith, and the reporting entity takes on no extra liability for reporting.
- Violations are classified as very serious, serious and minor, with fines of up to €1,000,000 in the most serious case. The rule prefers pushing for correction: in some cases a warning can replace a penalty.
- Oversight falls to the competent authorities depending on the type of operator, such as the CNPIC, the Secretaría de Estado para el Avance Digital or the Centro Criptológico Nacional, supported by the reference incident response teams (CSIRTs).
Who it affects
- Operators of essential services (energy, transport, health, water, finance, among other strategic sectors): They must adopt security measures, designate a security officer and report significant incidents.
- Digital service providers (online markets, search engines and cloud computing) based in Spain: They must report their activity within three months, apply security measures and report significant incidents.
- Workers who report incidents: They are protected against negative consequences at work.
- Competent public authorities and reference CSIRTs: They oversee compliance, receive the reports and can impose penalties.
Words worth knowing
- Servicio esencial (essential service)
- A service needed for basic social functions, health, safety or citizens' well-being, which depends on networks and information systems.
- CSIRT
- A team that analyzes risks, monitors computer security incidents, issues alerts and helps resolve them.
- Servicio de computación en nube (cloud computing service)
- A service that lets users access shared, scalable computing resources over the Internet.
- Real decreto-ley (royal decree-law)
- A rule with the force of law that the Government can pass urgently in extraordinary situations.
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.
- Introduced7 September 2018Someone registers the text in the Congreso.
- Admitted11 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.
- Plenary11 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
20 September 2018
How did the plenary vote?
Voted on: Processing as a Government bill by the urgent procedure of Royal Decree-Law 12/2018, of 7 September, on the security of networks and information systems.
This law had 2 votes; this is the latest with every deputy’s vote. See them all
Source: Congreso de los Diputados, vote 4 of sitting 143· 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 29 yes · 0 no
- Bizkaia More votes in favour 7 yes · 0 no
- 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 5 yes · 0 no
- Cuenca More votes in favour 3 yes · 0 no
- Gipuzkoa More votes in favour 5 yes · 0 no
- Girona More votes in favour 6 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 7 yes · 0 no
- León More votes in favour 4 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 34 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 6 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 7 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.
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 | 5 in favour |
| Mixto | 19 | 15 in favour · 4 did not vote |
| Ciudadanos | 32 | 31 in favour · 1 did not vote |
| Gcup-ec-em | 67 | 65 in favour · 2 did not vote |
| GER | 9 | 9 in favour |
| 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 12/2018, of 7 September, on the security of networks and information systems.
Sources
Where does all this come from?
- Congreso de los Diputados, file 130/000039
Official title, type, author, dates and stage.
Retrieved 11 November 2026
- Congreso de los Diputados, vote 4 of sitting 143
The count and every seat’s vote.
Retrieved 10 November 2026
- BOE, BOE-A-2018-12257
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.