World Watch/Spain/Cybersecurity

Cybersecurity · Spain

Cybersecurity regulation in Spain (2026)

Comprehensive lawReal Decreto-ley 12/2018 (transposing the NIS Directive) and its implementing Real Decreto 43/2021, plus the Esquema Nacional de Seguridad (Real Decreto 311/2022) for the public sector; partial NIS2 transposition via Real Decreto-ley 7/2025. Competent authorities: INCIBE-CERT (private sector), CCN-CERT (public sector/National Cryptologic Centre, CNI), and ESPDEF-CERT (defence). The full NIS2 law (Ley de Coordinación y Gobernanza de la Ciberseguridad) is still in the legislative process.Country index 96 · A+

Spain shaded by its cybersecurity status

Spain already has a comprehensive, horizontal cybersecurity legal framework in force: RDL 12/2018 (transposing the 2016 NIS Directive) with RD 43/2021, the public-sector National Security Scheme (RD 311/2022), and a partial NIS2 transposition via RDL 7/2025. The full NIS2 transposition — the draft Ley de Coordinación y Gobernanza de la Ciberseguridad approved by the Council of Ministers on 14 January 2025 — remains pending parliamentary approval as of 2026, and the European Commission issued a reasoned opinion against Spain in May 2025 for missing the 17 October 2024 deadline. Mandatory incident-reporting and breach-notification duties already apply under the in-force instruments.

Key points

In-force comprehensive law (NIS1)

RDL 12/2018 transposes EU Directive 2016/1148 (NIS) and, with implementing RD 43/2021, regulates the security of networks and information systems of essential-service operators and digital-service providers across sectors, sets the strategic/institutional framework, and grants inspection powers.

Public-sector security scheme (ENS)

RD 311/2022 regulates the Esquema Nacional de Seguridad, mandating security measures and incident-handling capabilities for the public sector and its technology suppliers, with CCN-CERT as central technical coordinator.

Partial NIS2 transposition in force

Real Decreto-ley 7/2025 partially transposes NIS2; its obligations are enforceable from entry into force while the full transposition law is finalised.

Full NIS2 law still pending

The Anteproyecto de Ley de Coordinación y Gobernanza de la Ciberseguridad, approved by the Council of Ministers on 14 January 2025 (creating a National Cybersecurity Centre and management-accountability rules), remains in the parliamentary process and is not yet published in the BOE.

Incident-reporting duties

Essential-service operators and digital-service providers must notify incidents with significant disruptive effects; under the ENS, public-sector entities report to CCN-CERT and private collaborating entities report incident responses to INCIBE-CERT.

EU infringement pressure

Spain missed the 17 October 2024 NIS2 deadline; the European Commission sent a reasoned opinion on 7 May 2025 (alongside 18 other Member States), a step toward referral to the Court of Justice of the EU with possible financial penalties.

Timeline - major decisions & events

May 7, 2025enforcementofficial
European Commission sends reasoned opinion to Spain for NIS2 non-transposition

After opening infringement proceedings in November 2024, the Commission escalated by issuing a reasoned opinion citing Spain's failure to fully transpose NIS2 (Directive EU 2022/2555) by the October 2024 deadline. Spain now risks referral to the Court of Justice of the EU and daily penalty fines.

European Commission – Digital Strategy
Apr 24, 2025guidanceofficial
National Security Council approves procedure for drafting Spain's third National Cybersecurity Strategy

The National Security Council agreed on 24 April 2025 to begin work on a new National Cybersecurity Strategy, superseding the 2023 edition; the decision was published in the BOE on 23 May 2025 as Orden PJC/522/2025. This signals a continued cycle of strategic renewal as threat landscapes evolve.

BOE – Boletín Oficial del Estado
Jan 14, 2025lawofficial
Council of Ministers approves Anteproyecto de Ley de Coordinación y Gobernanza de la Ciberseguridad (NIS2 transposition bill)

Spain's cabinet approved the draft Law on Cybersecurity Coordination and Governance to transpose NIS2, creating a National Cybersecurity Center under the Presidency as the single competent authority, designating CCN-CERT (public sector), INCIBE-CERT (private sector), and the Joint Cyber Space Command as reference CSIRTs, and imposing proportionate security and incident-reporting obligations on essential and important entities.

La Moncloa – Spanish Government
Nov 9, 2023guidanceofficial
Spain adopts Second National Cybersecurity Strategy and creates Cybersecurity Management and Cooperation Unit

The National Security Council approved Spain's Second National Cybersecurity Strategy, updating the 2019 edition to address AI-powered threats, hybrid warfare, and supply-chain attacks. Simultaneously, a new Cybersecurity Management and Cooperation Unit was established under the DSN to coordinate cross-sectoral and public-private cyber policy.

Departamento de Seguridad Nacional (DSN)
Mar 5, 2023incidentofficial
RansomHouse ransomware attack paralyses Hospital Clínic de Barcelona

The RansomHouse group attacked Hospital Clínic de Barcelona, forcing cancellation of 150 surgeries and ~3,000 outpatient appointments, taking laboratory, pharmacy, and emergency systems offline for weeks. Attackers demanded €4.5 million; the Spanish government refused to pay. The incident intensified debate over mandatory cybersecurity standards in healthcare ahead of NIS2 transposition.

INCIBE-CERT
May 3, 2022lawofficial
Real Decreto 311/2022 modernises the Esquema Nacional de Seguridad (ENS)

This Royal Decree replaced the 2010 ENS, tightening mandatory security requirements for all public-sector information systems and private suppliers providing services to the state. It introduced tailored compliance profiles for local authorities, universities, and cloud environments, and required entities to achieve full conformity within 24 months.

BOE – Boletín Oficial del Estado
Jan 26, 2021lawofficial
Real Decreto 43/2021 fully implements NIS Directive obligations

This Royal Decree developed the 2018 NIS transposition law (RDL 12/2018) in detail: it specified procedures for designating operators of essential services, mandated appointment of a CISO within each operator, and set precise incident-notification thresholds and timelines for reporting to CSIRTs. It remained the primary operative NIS compliance instrument until NIS2 transposition.

BOE – Boletín Oficial del Estado
Apr 26, 2019guidanceofficial
National Cybersecurity Strategy 2019 published (Order PCI/487/2019)

Approved by the National Security Council and published via Order PCI/487/2019, this strategy superseded the 2013 edition by addressing ransomware, hybrid threats, and critical infrastructure vulnerabilities. It set objectives for full ENS implementation, critical-infrastructure protection, cybersecurity culture, and support for the domestic cybersecurity industry.

BOE – Boletín Oficial del Estado
Sep 7, 2018lawofficial
Royal Decree-Law 12/2018 transposes EU NIS Directive — Spain's first comprehensive cybersecurity law

RDL 12/2018 implemented Directive (EU) 2016/1148 (NIS), imposing binding security measures, risk-assessment obligations, and mandatory incident notification to CCN-CERT (public-sector entities) or INCIBE-CERT (private-sector operators) on operators of essential services and digital service providers. It established a supervisory and sanction framework, and was the foundation of Spain's modern cybersecurity legal order.

BOE – Boletín Oficial del Estado
Dec 5, 2013decisionofficial
National Cybersecurity Council established

Created by agreement of the National Security Council on 5 December 2013 and formally constituted on 24 February 2014, the Consejo Nacional de Ciberseguridad became Spain's apex inter-ministerial cybersecurity body, coordinating policy across public administrations, intelligence agencies, and the private sector, and advising the President on national cyber-risk.

Departamento de Seguridad Nacional (DSN)
Apr 28, 2011lawofficial
Law 8/2011 on Protection of Critical Infrastructures (PIC Law) enacted

Law 8/2011 and implementing Royal Decree 704/2011 created CNPIC (National Centre for Critical Infrastructure Protection) and required designated operators across 12 strategic sectors (energy, water, transport, ICT, finance, health, etc.) to appoint security officers, prepare specific protection plans, and report cyber-incidents — the first legally binding cybersecurity obligations for critical-sector operators in Spain.

BOE – Boletín Oficial del Estado
Jan 8, 2010lawofficial
Royal Decreto 3/2010 establishes the Esquema Nacional de Seguridad (ENS)

The original National Security Scheme mandated minimum information-security measures for all Spanish public administrations and e-government services delivered to citizens. It introduced a risk-based security categorisation system (low / medium / high), mandatory audits, and a controls catalogue — establishing the foundational cybersecurity framework for the public sector that remains operative today in updated form.

BOE – Boletín Oficial del Estado

Spain - other topics

Last verified 5/25/2026 · Orientation, not legal advice - verify against the primary sources linked above. Explore the full world map →