Spanish Intelligence: CNI, CIFAS, and the Headlines

Read this page in: Español
Spanish intelligence is built around one national service, the Centro Nacional de Inteligencia (CNI), which handles foreign intelligence, counterintelligence, and the protection of classified information from a single headquarters in Madrid. The armed forces run their own intelligence centre, CIFAS, and the National Police and the Guardia Civil keep intelligence units of their own for terrorism and organized crime. In 2026 the services were in the news over Ceuta, over a court case on the CNI’s use of Pegasus against Catalan politicians, and over a snap election that put a new government in sight. This page is a working overview of who does what, how it got this way, and how to read the news about it.
Spanish intelligence at a glance
- National service: The Centro Nacional de Inteligencia (CNI), attached to the Ministry of Defence. Foreign intelligence, counterintelligence, and the protection of state secrets. It also houses the National Cryptologic Centre (CCN) and its cyber response team, CCN-CERT.
- Head of the CNI: Esperanza Casteleiro, Director since May 2022, with the rank of Secretary of State.
- Military intelligence: The Armed Forces Intelligence Centre (CIFAS), under the Chief of Defence Staff.
- Police intelligence: The National Police’s General Commissariat of Information (CGI) and the Guardia Civil’s Information Service, coordinated for terrorism and organized crime by the Interior Ministry’s CITCO.
- Judicial control: A Supreme Court judge must authorize in advance any CNI measure that affects the inviolability of the home or the secrecy of communications.
- Parliamentary oversight: A committee of the Congress of Deputies that hears classified briefings and controls reserved funds.
- Relationship with the United States: A NATO ally. The United States uses the naval base at Rota and the air base at Morón under a bilateral agreement.

History: from CESID to the CNI
Spain’s modern intelligence service dates from the transition to democracy. The Centro Superior de Información de la Defensa (CESID) was created in 1977 by merging the military and civilian intelligence offices of the late Franco years. It was a military body, run from the defence ministry, and it was hit by scandal in the 1990s when its eavesdropping on politicians and businessmen became public.
In 2002 Parliament replaced it with the CNI. Two laws passed that year still govern the service: Law 11/2002, which sets out the CNI’s functions and makes its director a Secretary of State appointed for five years, and Organic Law 2/2002, which requires a Supreme Court judge to authorize intrusive measures in advance. The CNI kept its place under the defence ministry but became a civilian agency with its own staff.
The service’s worst crisis came in 2022, when it emerged that the phones of Catalan independence leaders had been infected with Pegasus spyware. The CNI’s director, Paz Esteban, told a parliamentary committee that some of the surveillance had been judicially authorized. The government replaced her with Esperanza Casteleiro in May 2022.
How Spanish intelligence is organized today

- The CNI. The only service with a mandate for foreign intelligence. It also runs counterintelligence at home, protects classified information, and through the CCN sets the security standards for government networks. Its director reports to the Minister of Defence and is appointed by royal decree on the minister’s proposal.
- CIFAS. The Armed Forces Intelligence Centre supplies military intelligence to the Chief of Defence Staff and to Spanish forces deployed abroad.
- Police intelligence. The National Police and the Guardia Civil both run intelligence services for terrorism, extremism, and organized crime. The Intelligence Centre for Counter-Terrorism and Organized Crime (CITCO) coordinates them.
- Oversight. The Supreme Court judge attached to the CNI authorizes wiretaps and searches in advance. A committee of the Congress of Deputies hears the director in closed session and approves the use of reserved funds.
Spanish intelligence in the news
Ceuta
On 30 and 31 July 2026 a large number of migrants entered the Spanish enclave of Ceuta from Morocco. The government said the CNI had issued no alert of an entry on that scale; current and former intelligence officials disputed that account. The episode became a campaign issue and fed tension between the services and the prime minister’s office.
Pegasus in court
In July 2026 the CNI acknowledged that it had spied on two former Catalan deputies, Carles Riera and David Fernàndez, with judicial authorization, after the cabinet declassified part of the file for a court. The government has declined to release most of the details judges have asked for, citing national security.
Counter-terrorism with Morocco
On 25 March 2026 the National Police’s CGI and Morocco’s DGST dismantled an Islamic State cell operating between Tangier and Mallorca, the latest of more than 30 joint operations since 2014.
A change of government
The general election of 29 November 2026 gave the Partido Popular and Vox a combined majority. Until a new prime minister is invested, the CNI answers to a caretaker government. Our post on the election sets out the calendar.
How to read coverage of Spanish intelligence
- “The CNI” is often used for everything. Police intelligence and CIFAS do much of the work on terrorism and military threats. Check which body is actually involved.
- Judicial authorization is the key question. In every surveillance story, ask whether the Supreme Court judge signed off. The CNI’s defence in the Pegasus cases rests on that point.
- Watch the reserved funds. Budget debates over the CNI’s reserved funds are one of the few public windows on the service.
- Morocco runs through everything. Migration, terrorism, and Ceuta tie Spanish intelligence to its Moroccan counterparts. See our Moroccan intelligence page.
Frequently asked questions
What is Spain’s intelligence agency called?
Spain’s national intelligence service is the Centro Nacional de Inteligencia (CNI). The armed forces have their own intelligence centre, CIFAS, and the National Police and Guardia Civil run intelligence units for terrorism and organized crime.
Who heads Spanish intelligence?
Esperanza Casteleiro has been Director of the CNI since May 2022. She joined the service in 1983 and was its Secretary General from 2004 to 2008.
Who oversees the CNI?
A Supreme Court judge must authorize in advance any CNI measure affecting the home or communications, and a committee of the Congress of Deputies hears the director in closed session.
Which ministry is the CNI under?
The CNI is attached to the Ministry of Defence. Its director has the rank of Secretary of State and is appointed by royal decree on the defence minister’s proposal.
Work with Competitive Futures
We help companies and governments understand foreign security services and the risks they create for people, data, and deals, from lawful sources. If you are working in or with Spain, tell us what you need, and we will be in touch.
Related reading
- Who Runs Spanish Intelligence?
- Moroccan Intelligence
- Spain Election 2026
- French Intelligence
- Intelligence Services by Country
References
- Ley 11/2002, de 6 de mayo, reguladora del Centro Nacional de Inteligencia. https://www.boe.es/buscar/act.php?id=BOE-A-2002-8628
- Ley Orgánica 2/2002, de 6 de mayo, reguladora del control judicial previo del Centro Nacional de Inteligencia. https://www.boe.es/buscar/act.php?id=BOE-A-2002-8627
- Centro Nacional de Inteligencia. https://www.cni.es/
- Moncloa.com. “CNI espionaje CUP: el centro admite haber espiado a dos exdiputados con autorización judicial,” 13 July 2026. https://www.moncloa.com/2026/07/13/cni-espionaje-cup-3399246/
- Artículo14. “Crece la tensión entre el CNI y Moncloa,” 13 September 2026. https://www.articulo14.es/politica/crece-la-tension-entre-el-cni-y-moncloa-hay-un-gran-malestar-entre-los-agentes-20260913.html
- Le360. “Coopération sécuritaire: démantèlement d’une cellule terroriste active entre le Maroc et l’Espagne,” 25 March 2026. https://fr.le360.ma/societe/cooperation-securitaire-demantelement-dune-cellule-terroriste-active-entre-le-maroc-et-lespagne_NHMOSPD4T5GETOJPWBVHY7IRFE/
- El Debate. “Otra veterana de ‘la casa’… así es la nueva directora del CNI,” 10 May 2022. https://www.eldebate.com/espana/20220510/otra-veterana-casa-persona-confianza-robles-pone-frente-inteligencia-espanola_36126.html
← Back to Intelligence Services of the World