Spain is subject to the EU AI Act. It does not have a standalone, comprehensive regulation exclusively dedicated to AI, but has developed a framework through policy initiatives, specialised bodies, and sector-specific laws. Key components include the AI Strategy Spain 2024, together with the Spanish Agency for the Supervision of Artificial Intelligence (AESIA), and the AI Regulatory Sandbox. Various technology-neutral Spanish laws may also apply to entities who develop and use AI (for example, relating to data protection and privacy, intellectual property law, equality and employment law). Case law, including resolutions from relevant supervisory authorities, is also shaping the legal environment, especially in data privacy and employment law.

AI Strategy

Spain's AI policy is established through the Digital Rights Charter, adopted by the government in 2021, which provides a set of non-binding, guiding principles to ensure respect for fundamental rights in digital environments, including AI. The Charter continues to be promoted for integration in the application and interpretation of the Spanish regulatory framework.

AI Strategy Spain 2024, provides a framework to lead in AI training, research, innovation, and ethical use in key sectors, both public and private. The International Advisory Council on Artificial Intelligence, set up by the Ministry for Digital Transformation and Public Service in June 2024, is tasked with advising the government further on AI policy formation.

Digital Spain 2026 (España Digital 2026), also includes various AI initiatives:

  • The Protection Plan for Vulnerable Groups in Artificial Intelligence and the Awareness and Trust Plan for Artificial Intelligence.
  • The Observatory for the Social and Ethical Impact of Algorithms (OBISAL), established to monitor and assess societal and ethical impacts of algorithmic systems.
  • The Trustworthy AI Seal certification scheme, intended to promote transparency and reliability in AI systems.
  • The National Digital Skills Plan, which aims to close the digital divide and foster AI skills.
  • The National Plan for Algorithmic Bias Supervision, setting guidelines for monitoring and correcting biases in AI systems.

Helpful resources

  • The Spanish Association for Standardization (Asociación Española de Normalización) international AI management system standard (UNE-ISO/IEC 42001:2025)

Spain is subject to the EU AI Act. Read more about this Europe-wide regulation on the EU page here.

In addition, Spain has introduced complementary domestic initiatives:

  • The Spanish Agency for the Supervision of Artificial Intelligence (AESIA) has been established by Royal Decree 729/2023 with the aim of overseeing the ethical use of AI, promoting transparency, and ensuring compliance with national and EU regulations. Key functions include supervision of high-risk AI systems and assessment of the ethical and social impact of AI. It coordinates efforts with other regulatory authorities involved in AI, including the Spanish Data Protection Agency (AEPD), the National Commission for Markets and Competition (CNMC), and the inspectorate for labour (Inspección de trabajo).
  • The AI Regulatory Sandbox, laid down by Royal Decree 817/2023, establishes a controlled environment for testing high-risk AI technologies under regulatory supervision. Managed by AESIA, it aims to facilitate safe experimentation with AI and ensure compliance with the EU AI Act. In February 2026, AESIA published a set of 16 guidelines designed to support the implementation and compliance with the AI Act. These materials were developed within the framework of the Spanish AI regulatory sandbox pilot and are designed to provide a basis for the European Commission's working group in the drafting of its own future technical guidelines. While these guidelines are non-binding, they provide practical recommendations to help understand how to address key issues regulated in the AI Act, such as risk management, data quality and governance, transparency, human oversight, and security measures. The AESIA has indicated that these resources will be revised as European standards and guidelines are issued/evolve, and they are expected to be updated as the "Digital Omnibus" legislative amendments are approved.

Spain is also progressing regional regulatory measures, including:

  • The Draft bill for the proper use and governance of AI and its regulatory impact report, issued on 11 March 2025 to align Spanish law with the EU AI Act, prohibits certain practices and contains obligations to identify AI-generated content to prevent deepfakes. The bill would be enforced by the Spanish Data Protection Agency, the General Council of Judiciary, the Central Electoral Board, and the AESIA. The public hearing of the bill concluded on 26 March 2025.
  • The Extremadura Decree-Law 2/2023 advocates for ethical and trustworthy AI aligned with EU recommendations. It promotes digital literacy and workforce development in AI, encourages public-private collaboration for AI innovations and establishes testing environments.
  • The Galicia Law 2/2025, of 2 April, for the Development and Promotion of Artificial Intelligence aims to ensure "ethical, safe, reliable, and human-centred" implementation and use of AI. This law regulates the use of AI in public administration and services, the oversight of design and application processes, tools for management and collaboration, and measures to facilitate and promote the use of AI in various sectors.
  • Principado de Asturias Decree 98/2025, of 22 July, which regulates the use of Artificial Intelligence in the Administration of the Principality of Asturias and its public sector. The objective of this Decree is to regulate the use of AI systems by setting the criteria and processes for the development, implementation, monitoring and evaluation of these systems; to develop the AI governance framework in the Administration of the Principality of Asturias; and to establish measures to create and maintain an enabling environment for the development of innovation and for the provision of better AI-based public digital services.

From consumer protection law to online safety, AI continues to stretch existing legal frameworks. See the latest updates below.

Spain is subject to EU General Data Protection Regulation (GDPR). It has passed Organic Law 3/2018 Protection of Personal Data and guarantee of digital rights (LOPDGDD) adapting the Spanish legal system to GDPR requirements on personal data, as required. The legislation regulates the use of personal data in AI systems and grants the right to avoid being subject to automated decisions that significantly impact individuals.

The Spanish Data Protection Agency (AEDP) provides various guidelines on the AI-data interaction, including by way of compliance with the GDPR:

In addition, on 15 July 2025 the AEPD has clarified that it is already empowered to take action against artificial intelligence systems that unlawfully process personal data, even before Spain enacts its national AI law. 

The AEDP as also been active in enforcing non-compliance with Spain's data regulations:

  • In December 2024, the AEPD sanctioned (AEPD (resolution no. PS-00484/2023) on 20 December 2024, La Liga Nacional de Fútbol Profesional) the National Professional Football League with a fine of €1,000,000 for infringements related to the processing of personal data at the entrances to football stadiums due to the implementation of a biometric recognition system without complying with GDPR requirements.
  • GSMA Ltd, which organized the 2021 Mobile World Congress in Barcelona, was fined €200,000 in April 2023 by the AEPD for using a facial recognition system without complying with GDPR requirements. The fine was due to the company's failure to conduct the required impact assessment before processing data. It is unclear whether GSMA challenged the AEPD resolution in court. 
  • Similarly, on 3 December 2024, the football club Osasuna was fined €200,000 by the Spanish Data Protection Agency (AEPD) for using a facial recognition system at the El Sadar stadium during the 2022-2023 season. The AI system allowed club members who opted in to access the stadium using AI-based facial recognition technology, while traditional access methods remained available. Osasuna plans to appeal the fine to Spain's National Court, arguing that the AEPD's decision was based on outdated facial recognition technologies and not the specific system implemented by the club. Osasuna noted that the Spanish National Intelligence Agency´s National Cryptologic Center (CCN-CNI) recommended using access control systems based on RBR biometric templates for high-security settings (also in December 2024).

In addition, the AEPD has launched an initiative on the responsible use of AI, focusing on deepfakes, and providing practical guidance for the public on the use of AI. In particular, the AEPD emphasizes the need to take into account the following aspects: (i) becoming informed about how AI works and its legal implications, bearing in mind the potential negative effects that deepfakes may have on the personal, professional, or social lives of the individuals concerned; (ii) obtaining consent whenever images or personal data of third parties are to be used; and (iii) verifying information before disseminating content that may be false or manipulated.

Copyright

  • According to Spain's Intellectual Property Law (Royal Legislative Decree 1/1996), only natural persons can be reputed authors of a work, meaning works created entirely by AI are not protected unless significant creative intervention from a human concurs.
  • Training of AI systems is one of the key areas where copyrights may be affected by AI systems. AI developers often intend to be covered by text and data mining exemptions. In line with the relevant EU directives, Spain’s Intellectual Property Law (Royal Legislative Decree 1/1996) allows text and data mining without authorisation for scientific research purposes by public or non-profit entities, provided copies are securely stored and not used for other purposes. It also permits text and data mining of publicly accessible content for commercial or non-commercial purposes, except where rights holders explicitly opted out by clearly indicating exclusions.
  • Albeit a non-regulatory initiative, the Guidelines on Best Practices in the Use of AI (2024) issued by the Ministry of Culture aim to ensure that AI is used as a support tool for creators and cultural professionals while respecting copyrights. The guidelines stipulate that, in the hiring of creative services, human work should be prioritized, with AI only being used as a complementary tool. Additionally, for national awards on culture, it promotes the inclusion of clauses preventing the recognition of works created entirely by generative AI, and for subsidies it recommends including clauses to ensure compliance with current regulations on AI and intellectual property. In this regard, the Minister of Culture (Ernest Urtasan) has submitted to the European Commission a letter for the reviewing of the Guidelines on Best Practices in the Use of AI to protect the copyright of creators on which the Commission has been working in recent months.

Patents

  • The Spanish Patent and Trademark Office (OEPM) Law 24/2015 on Patents stipulates that the right to a patent belongs to the inventor or their successors, being a natural person. This means that even AI significantly contributes to the invention process, it cannot be legally recognised as an inventor itself. The Spanish Patent and Trademark Office (OEPM) has stated that no changes to current legislation are needed, as a natural person can always be identified as the inventor in cases of AI-assisted inventions.

Actors and actresses

  • On 28 July 2025, the Second Vice-President of the Government and Minister of Labour and Social Economy, Yolanda Díaz, together with the Minister of Culture Ernest Urtasun, presented the proposal to regulate the employment relationship of artists, technicians, auxiliaries in the field of the performing, audiovisual and musical arts. The proposal includes the provision of intellectual property rights for artists against AI, the first of its kind in labour legislation.

  • Spain prohibits algorithmic discrimination in labour and social contexts under Organic Law 3/2007 for Effective Equality Between Women and Men (as amended in 2022) and requires audits in order to detect biases in algorithms which could lead to discrimination.
  • The Statute of Workers' Rights (Royal Legislative Decree 2/2015) further establishes that the legal representatives of employees are entitled to be informed about the parameters, rules, and instructions on which algorithms or artificial intelligence systems are based, that may impact working conditions, access to and retention of employment, including the creation of worker profiles.

Several cases are being brought in criminal courts involving counts of child pornography or moral integrity as result of the use of AI applications to manipulate images of persons and sharing such images in social media groups, including in the context of deepfake technologies.

In November 2025, the Madrid Bar Association announced it has commenced work on a legislative initiative to promote the creation of a State Registry of Algorithms with an impact on consumer protection. The initiative seeks to ensure automated systems that influence prices, business decisions and contractual conditions are transparent, controlled and accountable. The proposal is still in the drafting phase.

In addition, the Community of Madrid has initiated the procedure of its first Digital Administration and Artificial Intelligence Law to ensure the ethical and safe use of this technology. The deadline for submitting allegations is until 19 December 2025. The purpose of this regulation is to establish rules for the use of artificial intelligence within the Administration of the Community of Madrid, governing procedures as well as guaranteeing citizens’ rights in their interactions with the Administration when it employs AI systems in the delivery of public services.


Key contacts

Pablo García Mexía photo

Pablo García Mexía

Consultant - Head of Digital Law, Madrid, Madrid

Stay in the know

We’ll send you the latest insights and briefings tailored to your needs

Subscribe now
Sydney Perth Brisbane Melbourne Technology, media and entertainment, and telecommunications Emerging technology Artificial intelligence Technology Artificial Intelligence Tech Regulation Digital Transformation Emerging Technologies AI and Emerging Technologies Iria Calviño Pablo García Mexía Rebeca Oriol