Attention in Spanish and English Schedule (Madrid) L–J 09:00–14:00 · 16:00–19:15 | Fri 08:00-15:00

The role of the Public Prosecutor's Office in Spain

The Public Prosecutor's Office is a key component of the Spanish judicial system. Its mission is to uphold the law, protect citizens' rights, and defend the public interest. It operates in all types of proceedings, especially criminal cases, with functional autonomy but within a hierarchical structure. What is the Public Prosecutor's Office and […]

The Public Prosecutor's Office is a key part of the Spanish judicial system.

Its mission is to defend legality, citizens' rights, and the public interest.

It acts in all types of processes, especially in the criminal field, and does so with functional autonomy, but within a hierarchical structure.

What is the Public Prosecutor's Office and what is its mission?

The Public Prosecutor's Office is a body of constitutional relevance, with its own legal personality, integrated with functional autonomy in the Judicial Power.

It does not judge or pass sentences, but rather promotes the administration of justice.

Its main mission is:

  • Defend legality.
  • Protecting citizens' rights.
  • Safeguard the public interest protected by law.
  • To ensure the independence of the courts.
  • To seek the satisfaction of the social interest before the courts.

It can act on its own initiative or at the request of a party , and its intervention covers all jurisdictional orders, with special weight in the criminal field.


Principles that guide the actions of the Public Prosecutor's Office

The actions of the Public Prosecutor's Office are governed by four main principles:

  • LegalityIt must strictly comply with the law.
  • Impartiality: defends the public interest and the rights of all parties, without favoring anyone.
  • Unit of actionAll prosecutors must act in a consistent and coordinated manner.
  • Hierarchical dependency: prosecutors act under the direction of their superiors, culminating in the Attorney General of the State.

These principles guarantee objective, consistent, and effective action throughout the territory.


Legal framework of the Public Prosecutor's Office in Spain

The regulations of the Public Prosecutor's Office are extensive and detailed.

It is part of the Constitution and is developed in organic laws, regulations and special rules.

Main rules governing the Public Prosecutor's Office

NormaMain content related to the Public Prosecutor's Office
Spanish Constitution of 1978 (art. 124)It defines the mission of the Public Prosecutor's Office: to promote the administration of justice in defense of legality, the rights of citizens and the public interest, ensuring the independence of the courts.
Law 50/1981, Organic Statute of the Public MinistryIt develops the constitutional mandate and regulates the organization, functions, powers, hierarchical structure, promotions, appointments and territorial and functional distribution of the prosecutor's offices.
Organic Law of the Judiciary (Organic Law 6/1985)It reinforces its mission, regulates its relationship with the judicial bodies and its intervention in the proceedings.
Law of Criminal Procedure (Royal Decree of September 14, 1882)It regulates the intervention of the Public Prosecutor's Office in the criminal process, its role in criminal and civil action, the investigation and protection of victims and those under investigation.
Regulations of the Public Prosecutor's Office (Royal Decree 305/2022)It updates the structure and operation of the Public Prosecutor's Office, strengthens its functional autonomy and its integration into the Judiciary, and regulates its interaction with the autonomous communities.
Organic Law 1/2004 (Gender Violence)It assigns specialized functions to the Public Prosecutor's Office, creates the figure of the Prosecutor against Violence against Women and specialized sections.
Organic Law 9 / 2021It contains the rules for the application in Spain of Regulation (EU) 2017/1939 on the European Public Prosecutor's Office and regulates the special investigation procedure by the delegated European prosecutors in crimes that harm the financial interests of the European Union, as well as their coordination with the Spanish Public Prosecutor's Office.

The Spanish Constitution and Article 124

Article 124 of the Constitution establishes the core of the institution.

It establishes its mission, its principles and its role as guarantor of the independence of the courts.

Furthermore, it stipulates that it will act through its own bodies and under the principles of:

  • Unit of action.
  • Hierarchical dependency.
  • Legality.
  • Impartiality.

It is also established that the Attorney General of the State is appointed by the King, on the proposal of the Government, after hearing the General Council of the Judiciary.

Organic Statute of the Public Prosecutor's Office

The Organic Statute (Law 50/1981) specifies the internal organization.

Regulation:

  • The direction by the Attorney General of the State.
  • The State Attorney General's Office (Fiscal Inspection, Technical Secretariat, Support Unit, Court Prosecutors).
  • The system of promotions and appointments.
  • The hierarchical structure.
  • The territorial and functional distribution of the prosecutor's offices.

Organic law of judicial power

The Organic Law of the Judiciary reaffirms the mission of the Public Prosecutor's Office in defense of:

  • Legality.
  • Citizens' rights.
  • The public interest.

It also regulates how it relates to the judicial bodies and how it intervenes in the different procedures.

Criminal Procedure Law

The LECrim specifies the role of the Public Prosecutor's Office in the criminal process.

Among other aspects, it regulates:

  • The promotion of criminal and civil action.
  • The protection of the rights of victims and those under investigation.
  • The carrying out of investigative procedures.
  • Abstention and replacement of prosecutors in case of conflict of interest.
  • Their involvement in promoting jurisdictional powers.

Regulations of the Public Prosecutor's Office

The Regulation of the Public Ministry (Royal Decree 305/2022) adapts the institution to current needs.

Reinforce:

  • Their functional autonomy.
  • Its integration into the Judiciary.
  • Its interaction with the regional administrations within the framework of the State of Autonomies.

Other special rules

In addition, several regulations assign specific functions to the Public Prosecutor's Office, such as:

  • La Organic Law on Comprehensive Protection Measures against Gender Violence, which creates the figure of the Prosecutor against Violence against Women.
  • La Organic Law 9 / 2021, regarding cooperation with the European Public Prosecutor's Office.

Case law and administrative decisions regarding the Public Prosecutor's Office

Relevant case law

Case law has shaped the position of the Public Prosecutor's Office:

  • La National Court It has highlighted its constitutional relevance, its functional autonomy, and its hierarchical organization.
    It lists bodies such as the State Attorney General's Office, the Supreme Court Prosecutor's Office, the Prosecutor's Office before the Constitutional Court, the Prosecutor's Office of the Court of Auditors, the Prosecutor's Office of the National Court, the Special Prosecutor's Offices and the Territorial Prosecutor's Offices.
  • El Constitutional Court He has emphasized his role as guarantor of legality and the independence of the courts.
    In particular, in disciplinary proceedings against judges and magistrates, where their intervention is exceptional but justified by their constitutional mission.

Circulars and instructions from the State Attorney General's Office

The circulars, instructions and consultations of the State Attorney General's Office develop the daily practice.

Among other aspects, they regulate:

  • Intervention in voluntary jurisdiction.
  • The creation of specialized sections (cybercrime, workplace accidents, road safety, immigration, minors, gender violence, environment).
  • International cooperation and cooperation with the European Public Prosecutor's Office.

These decisions complement the laws and allow the Public Prosecutor's Office to adapt its operations to new social and legal realities.


Functions and powers of the Public Prosecutor's Office

The main function of the Public Prosecutor's Office is to promote the administration of justice.

It does so in defense of legality, the rights of citizens and the public interest, both ex officio and at the request of a party.

General skills

Among its key competencies are:

  • To exercise, when provided for by law, the criminal and civil actions that arise from crimes and other offenses, especially in defense of the public interest.
  • Promote and defend the legality and the public interest in judicial and extrajudicial proceedings.
  • Protect Fundamental rights and public liberties.
  • Intervene in processes regarding civil status, smaller, people with disabilities or in situations of special vulnerability who require support measures.
  • Promote the establishment of guardianship bodies and participate in bodies for the protection of minors and vulnerable people.
  • watch over the independence of the courts and the satisfaction of social interest.

Intervention in different jurisdictional orders

Although its role is more prominent in the criminal field, the Public Prosecutor's Office also intervenes in:

  • Processes civilians.
  • Processes labor.
  • Processes administrative litigation, when required by law or public interest.

Investigative functions and measures in the criminal process

In the criminal sphere, the Public Prosecutor's Office can:

  • Perform investigative proceedings.
  • Empowering asset location and recovery related to crimes.
  • Request precautionary measures.
  • To exercise the public accusation.
  • Participate in the enforcement of judgments.

Principles of action of the Public Prosecutor's Office

These principles underpin all of their interventions:

  • LegalityThe prosecutor must abide by the law, with no room for arbitrary decisions.
  • ImpartialityIts objective is the objective defense of legality and the public interest, not the success of a specific party.
  • Unit of action: ensures that the institution acts uniformly throughout the territory.
  • Hierarchical dependencyProsecutors receive instructions from their superiors, all the way up to the Attorney General of the State.

Thanks to these principles, the actions of the Public Prosecutor's Office are consistent, controlled, and geared towards the general interest.


Internal organization of the Public Prosecutor's Office

The Public Prosecutor's Office has a hierarchical and specialized organization.

This allows him to intervene effectively in very diverse matters.

Main bodies of the Public Prosecutor's Office

OrganPrincipal function
State Attorney GeneralCentral body headed by the Attorney General of the State. Includes Fiscal Inspection, Technical Secretariat, Support Unit and Court Prosecutors.
Prosecutor's Office of the Supreme CourtHe intervenes before the Supreme Court.
Prosecutor's Office before the Constitutional CourtHe intervenes before the Constitutional Court.
Office of the Public Prosecutor of the Court of AuditorsHe intervenes before the Court of Auditors.
Prosecutor's Office of the National CourtHe intervenes before the National Court.
Special Prosecutor's OfficesThe Special Prosecutor's Offices are the Anti-Drug Prosecutor's Office and the Prosecutor's Office against Corruption and Organized Crime.
Territorial Prosecutor's OfficesDistributed by autonomous communities, provinces and areas, led by Chief Prosecutors and organized into specialized sections.

Fiscal Council

The Fiscal Council is an advisory body.

It includes:

  • The Attorney General of the State.
  • The Deputy Attorney General of the Supreme Court.
  • The Inspector Prosecutor.
  • Several elected members.

Advisor on matters of organization and operation of the Public Prosecutor's Office.

Specialized sections and adaptation to new realities

The internal organization allows for the creation of specialized sections when the volume or complexity of a subject warrants it.

There is no fixed limit to the number of sections.

This facilitates adaptation to:

  • New forms of crime (for example, cybercrime).
  • New social needs (for example, protection of the environment or vulnerable groups).

Functional autonomy and institutional relations

The Public Prosecutor's Office does not exercise jurisdictional power: it does not judge or execute judgments, but acts before the courts.

Although the Constitution regulates it in the title dedicated to the Judicial Power, the Organic Statute defines it as an organ of constitutional relevance, with its own legal personality, integrated with functional autonomy in the Judicial Power, distinct from judges and magistrates.

It enjoys functional autonomy within the Judiciary, which means it can defend legality independently in proceedings.

At the same time, it is internally organized hierarchically and the appointment of the Attorney General depends on the Government and the King.

Case law and administrative doctrine insist that:

  • The intervention of the Public Prosecutor's Office is essential for the proper functioning of justice.
  • Its institutional position aims to protect the general interest.

Intervention of the Public Prosecutor's Office in the proceedings

Intervention in the criminal process

In the criminal sphere, the Public Prosecutor's Office:

  • It exercises the public prosecution and is obliged to promote the appropriate criminal action, without prejudice to the criminal action that can be exercised by the private prosecution and the popular prosecution (arts. 101 and 105 LECrim).
  • He defends legality and the public interest.
  • Protects the rights of victims and investigated.
  • You can initiate and direct investigative proceedings.
  • Requests precautionary measures and participates in the execution of sentences.

Intervention in other jurisdictional orders

In civil matters, the Public Prosecutor's Office intervenes in proceedings relating to:

  • Civil status.
  • Minors.
  • People with disabilities or in situations of special vulnerability who require support measures.

It may also intervene in labor and administrative litigation processes when the law so establishes or when the public or social interest so requires.


Specialization and modernization of the Public Prosecutor's Office

To respond to modern crime and protect vulnerable groups, the Public Prosecutor's Office has developed extensive specialization.

Adaptation to new social and legal realities

Through instructions and circulars (such as Circular 9/2015 or the Instructions of 2007 and 2011), the State Attorney General's Office:

  • Organizes the actions of specialized prosecutors.
  • Define intervention criteria.
  • Adapt the practice to new social, technological and criminal realities.

International cooperation and with the European Public Prosecutor's Office

The Public Prosecutor's Office actively participates in international cooperation, both:

  • Within the framework of European Union.
  • Like in the international judicial cooperation in a broad sense.

Relationship with the European Public Prosecutor's Office

La Organic Law 9 / 2021 adapts the Spanish legal system to the creation of the European Public Prosecutor's Office.
In crimes that affect the financial interests of the European Union, a division of functions occurs:

  • The European Public Prosecutor's Office assumes those powers.
  • The Spanish Public Prosecutor's Office cooperates and collaborates with her.

Relationship with Eurojust and other bodies

The State Attorney General's Office coordinates collaboration with Eurojust and other international organizations.

This ensures coordinated action against crimes with an international dimension.


Areas of mandatory and optional intervention and exceptions

Not all procedures require the intervention of the Public Prosecutor's Office to the same extent.

Exist:

  • Areas where their intervention is mandatory, according to the law.
  • Others where their intervention is optional, depending on the public interest.

In certain proceedings, such as disciplinary proceedings against judges and magistrates , the intervention of the Public Prosecutor's Office is exceptional.

It is justified by its function as guarantor of legality and judicial independence.

In crimes that affect the financial interests of the European Union, jurisdiction lies with the European Public Prosecutor's Office , which limits the intervention of the Spanish Public Prosecutor's Office.


Frequently asked questions about the Public Prosecutor's Office in Spain

Is the Public Prosecutor's Office part of the Judiciary?

It is not part of the Judiciary in the strict sense, because it does not exercise jurisdictional power (it neither judges nor enforces judgments). However, the Constitution and the Organic Statute establish it as a body of constitutional relevance integrated with functional autonomy within the Judiciary.

Who appoints the Attorney General of the State?

El State Attorney General is named after the Rey, at the proposal of Corporate, after a hearing of General Council of the Judiciary.
This formula reflects its institutional position and its relationship with the executive and judicial branches.

Can the Public Prosecutor's Office investigate on its own?

Yes, in the criminal field the Public Prosecutor's Office can carry out investigative proceedings.
Among other functions, it can boost the asset location and recovery related to crimes and prepare for potential criminal action.

Why does the Public Prosecutor's Office intervene in proceedings against judges and magistrates?

In the disciplinary proceedings against judges and magistratesThe intervention of the Public Prosecutor's Office is exceptional.
The Constitutional Court has considered that it is justified by its constitutional mission as guarantor of legality and the independence of the courts.


Conclusion

The Public Prosecutor's Office is an essential institution of the Spanish judicial system.

Its mission is to promote the administration of justice in defense of legality, the rights of citizens, and the public interest.

It features:

  • Un solid legal framework (Constitution, Organic Statute, LOPJ, LECrim and Regulations).
  • An hierarchical and specialized organization.
  • An action guided by the principles of legality, impartiality, unity of action and hierarchical dependence.

Specialization, international cooperation and the protection of the most vulnerable people are central to its activity.

All of this allows the Public Prosecutor's Office to adapt to current social and legal challenges, while maintaining its role as guarantor of legality and the general interest.


Promotional banner for RRYP Global, a law firm with offices in Córdoba, Málaga and MadridOffering specialized legal advice. Includes the message 'Do you need legal advice?' and contact details: phone +34 957 858 952, email info@rrypglobal.com. Background illustrations related to legal services and business.

RRYP Global.

RRYP / Legal Intelligence

You may now need to understand this

One international issue often opens up others. Continue from here without having to rebuild the problem from scratch.

Understanding the framework

Concepts and sources behind this analysis

Some international disputes can only be properly understood when the relevant legal concepts and the rules that structure the problem are distinguished.

Legal institutions

Concepts that should be distinguished

RRYP explanations of the legal institutions that appear in these types of matters.

Normative Library

legal framework of reference

Instruments that may be relevant depending on the country, facts, and legal issue.

From information to practice

When the issue ceases to be theoretical

Related practice area

Learn about this practice →
Applied experience

A real related matter

Mar Gámez, Managing Partner and Legal Director of RRYP Global
Legal Department

Mar Gamez

Managing Partner · Legal Department · RRYP Global

Practicing lawyer ICAM No. 137.007
Loyola University Private International Law and Comparative Law
International internship Legal department for matters connected with different countries
Learn about his career and publications →
To raise an issue