La excelencia en Investigación Privada y la Seguridad Jurídica. Los códigos de Buenas Prácticas.
LA SOCIEDAD CLAVE GENERAL LA EXCELENCIA EN INVESTIGACIÓN PRIVADA Y LA SEGURIDAD JURÍDICA. LOS CÓDIGOS DE BUENAS PRÁCTICAS
Detective Stories comparte hoy un excelente artículo de David Sanmartin publicado el 4 de diciembre de 2025 en la plataforma Sociedad Clave.

Seguridad Jurídica y Excelencia
La excelencia es la cualidad de ser excepcionalmente bueno o sobresaliente en algo. Tiene una relación directa con la calidad de servicio que un profesional presta a sus clientes. La excelencia no es liderazgo ni implica una competición de uno contra el resto. Todos los profesionales pueden, y deben, ser excelentes en su trabajo.
Formación y experiencia son requisitos de la excelencia. Pero no son los únicos.
La excelencia profesional en la investigación privada depende directamente de la existencia de seguridad jurídica, entendida como la certeza y previsibilidad en la aplicación de las leyes. Esta seguridad permite a ciudadanos y empresas conocer sus derechos y obligaciones, y proporciona a los profesionales un marco normativo común para ejercer su labor. En profesiones reguladas, como la de Detective Privado, la ausencia de seguridad jurídica convierte la excelencia en una meta inalcanzable o, en el mejor de los casos, en una circunstancia fortuita. No es posible que dos profesionales sean excelentes en su trabajo si operan bajo marcos normativos distintos.
Lamentablemente, la Seguridad Jurídica en la prestación de servicios de Investigación Privada es insuficiente.
Disponemos de una Ley que, pese a todas las críticas posibles, es una buena Ley. Define qué es Investigación Privada. Bajo mi punto de vista, acertadamente. Define al único profesional habilitado para desarrollarla: el Detective Privado. Sienta las bases de cómo se debe prestar, tanto desde el punto de vista formal (a través de Despachos de Detectives Privados), como sustantivamente (por cuenta y en favor de quienes ostenten un interés legítimo, en defensa de los derechos de nuestro cliente, pero respetando los de la persona investigada, y, muy importante, de forma proporcional). Regula también los requisitos de contratación (exigencia de contrato) y el contenido de nuestros informes.
Pero, la Ley de Seguridad Privada no es suficiente para ofrecer un marco común en el que todos desarrollemos nuestra profesión de forma uniforme. ¿Cómo se concreta y plasma el interés legítimo de nuestros clientes? ¿Cuándo es proporcional realizar una observación? ¿Y tomar una fotografía o una filmación? ¿Y utilizar un dispositivo de geoposicionamiento? ¿Hasta dónde deben (pueden) llegar los funcionarios de Seguridad Privada en sus actuaciones inspectoras de oficio?
Ante esta insuficiencia, es necesario recurrir a instrumentos complementarios que refuercen la seguridad jurídica y permitan alcanzar la excelencia profesional. Existen, para lo que aquí importa, 4 posibilidades.
Instrumentos de seguridad jurídica
El primero sería un Reglamento que desarrolle la Ley, como esta misma exigía a la Administración, en el plazo de un año. No parece que vayamos por este camino y, lo que es más importante, no creo que, hoy, un Reglamento de desarrollo de la Ley 5/2014 sea deseable. Han cambiado demasiadas cosas, para bien, desde el año 2014. El borrador distribuido por la Administracion, el año 2018, es la demostración palmaria. Además, el problema de toda norma legal (incluidos los Reglamentos) es su poca resistencia frente a la obsolescencia y la demostrada demora en su adaptación a nuevas realidades.
El segundo instrumento son las actuaciones de la propia Administración. En el ámbito de la Investigación Privada, no parece que hayan aportado beneficios tangibles. Más bien lo contrario. En sus inspecciones anuales, las unidades Provinciales y Central de Seguridad Privada aplican criterios no homogéneos, ni territorialmente, ni en el tiempo. Si la Ley es la misma para todos, no parece razonable que los criterios de conformidad deban ser distintos en Guadalajara que en Zaragoza. Y, si la Ley no hay cambiado – no lo ha hecho-, no es razonable que, de un año para otro, se apliquen criterios distintos y que se señalen no-conformidades que el año anterior no lo eran.
El tercero son las decisiones de los juzgados, tribunales y otros entes con funciones fiscalizadoras, cuando analizan la labor realizada por un Detective Privado concreto, en un caso concreto. Hasta la fecha, este instrumento ha sido el que más seguridad jurídica ha aportado en el campo de la actuación de los Detectives Privados. Gracias a sentencias de nuestros tribunales, incluido el Constitucional, y de la Agencia Española de Protección de Datos, nuestro ejercicio profesional es mucho más seguro, en aspectos tan sustanciales como el ámbito de intimidad de nuestros investigados, la investigación de delitos en general, la reserva de nuestros informes o la competencia inspectora de las unidades de seguridad Privada, por poner solo algunos ejemplos.
El inconveniente de la jurisprudencia como instrumento de seguridad jurídica es su demora en el tiempo y su especificidad al caso concreto que está juzgando. La Jurisprudencia ayuda, mucho, pero no puede ser la solución principal.
El cuarto instrumento son las normas de soft-law o códigos de buenas prácticas.
Códigos de buenas prácticas
Los códigos de buenas prácticas son regulaciones que, aun careciendo de la fuerza vinculante de una Ley, un Reglamento o una sentencia, son aceptadas como válidas por todas las partes implicadas. Esa aceptación general las convierte en instrumentos válidos, no solo para entender cómo debe interpretarse una Ley, sino también para definir la plasmación práctica de esa interpretación.
Frente a la rigidez de un Reglamento y la especificidad y demora de la Jurisprudencia, los códigos de buenas aportan regulación in abstracto y adaptación constante. Además, no exigen la extensión de un Reglamento: pueden comenzar regulando aspectos concretos e ir ampliándose hacia otros, hasta conformar un cuerpo regulatorio completo.
El ejercicio profesional de la Investigación Privada es un campo propicio para la elaboración de estos instrumentos.
Sin ánimo de exhaustividad, este sería el proceso para desarrollar un código de buenas prácticas:
1.- Propuesta desde el sector
Todo código de buenas prácticas parte de una propuesta del propio sector, desde la participación y el consenso. Sólo aquellos que ejercen una profesión son los que pueden, con respeto a la Ley reguladora, plasmar su visión de cómo deben hacerse las cosas.
– Análisis por tercero independiente.
El principal inconveniente de una propuesta desde el sector es la posible falta de objetividad. Por ello, la propuesta debe ser validada por un profesional independiente, para certificar su adecuación a la Ley y su suficiencia. Este profesional puede ser un experto en normalización o, sencillamente, un abogado con experiencia en la materia concreta.
– Revisión y alegaciones por la Administración.
En el ámbito de la Investigación Privada, la Ley otorga a la Administración facultades de inspección y control. Por ello, el tercer paso es someter el texto a las autoridades competentes de la Administración. En nuestro caso, puede ser la propia Unidad Central de Seguridad Privada o la Secretaría General Técnica del ministerio del interior (en Cataluña y País Vasco, la administración autonómica). Tras el estudio del texto, este órgano podrá expresar sus objeciones al mismo y proponer modificaciones, siempre que se fundamenten adecuadamente. Finalmente, sería deseable una resolución del órgano, expresando que dicho código responde a una interpretación válida de la Ley.
Desde un punto de vista material, para la elaboración de un Código se requiere iniciativa y recursos económicos.
Como ejemplos, recientemente la asociación británica de detectives, la ABI, publicó un Código de Buenas Prácticas en materia de Tratamiento de Datos Personales en investigaciones. Otro: la entonces principal asociación alemana de detectives desarrolló un programa formativo, donde cada tema era un código de buenas prácticas.
¿Propuesta de materias?
Visto lo anterior, quedaría por decidir sobre qué materia empezamos. En mi opinión y en base a las principales discusiones en inspecciones a despachos, creo que lo más conveniente sería comenzar por la contratación de servicios de investigación privada. Esté código debería regular cuestiones como la determinación y plasmación del interés legítimo del cliente, el objeto del contrato, las menciones legales oportunas, la forma del propio documento, su conservación en el tiempo … pero también extenderse a cuestiones como la contratación en continuidad (contrataos marco y hojas de petición individuales), la reapertura de investigaciones, la ampliación del ámbito de la investigación o la contratación entre despachos de detectives.
Anticipo que sería un código bastante extenso, que servirá de base para los posteriores:
- Informes de investigación.
- Inspecciones a despachos.
- Apertura de despachos, modificaciones, altas y bajas de dependientes y cierre de despachos.
También es posible (y conveniente) desarrollar código o códigos sobre cuestiones de práctica profesional:
- Identificación de investigados.
- Adquisición y reproducción de imágenes y sonidos.
- Uso de dispositivos GPS en observaciones.
…
¿A qué estamos esperando?
Excellence in Private Investigation and Legal Certainty. Codes of Good Practice
CLAVE SOCIETY – EXCELLENCE IN PRIVATE INVESTIGATION AND LEGAL CERTAINTY. CODES OF GOOD PRACTICE
Detective Stories shares today an excellent article by David Sanmartín, published on December 4, 2025, on the Sociedad Clave platform.

Legal Certainty and Excellence
Excellence is the quality of being exceptionally good or outstanding at something. It is directly related to the quality of service that a professional provides to their clients. Excellence is not leadership, nor does it imply competition between one professional and the rest. All professionals can—and must—be excellent at their work.
Training and experience are requirements for excellence. But they are not the only ones.
Professional excellence in private investigation depends directly on the existence of legal certainty, understood as certainty and predictability in the application of laws. This certainty allows citizens and companies to know their rights and obligations and provides professionals with a common regulatory framework within which to perform their work. In regulated professions, such as that of the Private Detective, the absence of legal certainty turns excellence into an unattainable goal or, at best, a fortuitous circumstance. It is not possible for two professionals to be excellent at their work if they operate under different regulatory frameworks.
Unfortunately, legal certainty in the provision of private investigation services is insufficient.
We have a Law which, despite all the possible criticisms, is a good Law. It defines what Private Investigation is—correctly, in my view. It defines the only professional authorized to carry it out: the Private Detective. It establishes the foundations of how it must be provided, both from a formal perspective (through Private Detective Agencies) and from a substantive one (on behalf of and for the benefit of those who hold a legitimate interest, in defense of our client’s rights, while respecting those of the person being investigated, and—very importantly—in a proportional manner).
It also regulates contracting requirements (mandatory contracts) and the content of our reports.
However, the Private Security Law is not sufficient to offer a common framework in which we can all practice our profession uniformly. How is our clients’ legitimate interest determined and documented? When is it proportionate to conduct surveillance? And to take a photograph or record video? And to use a geolocation device? How far should (or can) Private Security officials go in their ex officio inspection activities?
Faced with this insufficiency, it is necessary to resort to complementary instruments that reinforce legal certainty and make professional excellence possible. For our purposes, there are four such possibilities.
Instruments of Legal Certainty
The first would be a Regulation implementing the Law, as the Law itself required the Administration to produce within one year. It does not seem that we are heading in this direction and, more importantly, I do not believe that, today, an implementing Regulation for Law 5/2014 would be desirable. Too many things have changed—mostly for the better—since 2014. The draft circulated by the Administration in 2018 is clear proof of this. Moreover, the problem with any legal norm (including Regulations) is its limited resistance to obsolescence and the proven delay in adapting to new realities.
The second instrument consists of actions by the Administration itself. In the field of Private Investigation, these do not appear to have brought tangible benefits—quite the opposite. In their annual inspections, the Provincial and Central Private Security Units apply criteria that are neither territorially nor temporally consistent. If the Law is the same for everyone, it does not seem reasonable for compliance criteria to differ between Guadalajara and Zaragoza. And if the Law has not changed—and it has not—it is not reasonable for different criteria to be applied from one year to the next, identifying non-conformities that did not exist the previous year.
The third instrument is the decisions of courts, tribunals, and other oversight bodies when they analyze the work carried out by a specific Private Detective in a specific case. To date, this has been the instrument that has provided the greatest legal certainty in the field of Private Detectives’ actions. Thanks to rulings by our courts—including the Constitutional Court—and by the Spanish Data Protection Agency, our professional practice is much safer in such essential matters as the scope of privacy of those investigated, the investigation of crimes in general, the confidentiality of our reports, or the inspection powers of Private Security units, to name just a few.
The drawback of case law as an instrument of legal certainty is the time it takes and its specificity to the particular case being judged. Case law helps—a great deal—but it cannot be the main solution.
The fourth instrument consists of soft-law rules or codes of good practice.
Codes of Good Practice
Codes of good practice are regulations which, although lacking the binding force of a Law, a Regulation, or a court ruling, are accepted as valid by all parties involved. This general acceptance turns them into valid instruments not only for understanding how a Law should be interpreted, but also for defining the practical application of that interpretation.
Compared to the rigidity of a Regulation and the specificity and delay inherent in case law, codes of good practice provide abstract regulation and constant adaptability. In addition, they do not require the breadth of a Regulation: they can begin by regulating specific aspects and gradually expand to others until they form a complete regulatory body.
The professional practice of Private Investigation is a particularly suitable field for the development of these instruments.
Without aiming to be exhaustive, this would be the process for developing a code of good practice:
Proposal from the sector.Every code of good practice begins with a proposal from the sector itself, based on participation and consensus. Only those who practice a profession can, in compliance with the governing Law, express their vision of how things should be done.
Analysis by an independent third party.
The main drawback of a sector-driven proposal is the potential lack of objectivity. Therefore, the proposal must be validated by an independent professional to certify its compliance with the Law and its adequacy. This professional may be a standardization expert or simply a lawyer with experience in the specific subject matter.
Review and objections by the Administration.
In the field of Private Investigation, the Law grants the Administration inspection and oversight powers. Therefore, the third step is to submit the text to the competent administrative authorities. In our case, this could be the Central Private Security Unit or the Technical Secretariat General of the Ministry of the Interior (in Catalonia and the Basque Country, the regional administration). After reviewing the text, this body may express objections and propose modifications, provided they are properly justified. Finally, it would be desirable for the authority to issue a resolution stating that the code represents a valid interpretation of the Law.
From a practical standpoint, drafting a Code requires initiative and financial resources.
As examples, the British detectives’ association (ABI) recently published a Code of Good Practice on the Processing of Personal Data in investigations. Another example: the then leading German detectives’ association developed a training program in which each subject constituted a code of good practice.
Proposed Topics?
In light of the above, the question remains: which subject should we start with? In my opinion, and based on the main discussions arising during agency inspections, the most appropriate starting point would be the contracting of private investigation services. This code should regulate matters such as the determination and documentation of the client’s legitimate interest, the object of the contract, mandatory legal disclosures, the form of the document itself, and its retention over time. It should also extend to issues such as ongoing contracting (framework contracts and individual request forms), reopening investigations, expanding the scope of an investigation, or contracting between detective agencies.
I anticipate that this would be a fairly extensive code, which would serve as the basis for subsequent ones:
- Investigation reports
- Agency inspections
- Opening of agencies, modifications, registration and deregistration of staff, and agency closures
It is also possible—and advisable—to develop one or more codes addressing matters of professional practice:
- Identification of investigated persons
- Acquisition and reproduction of images and sounds
- Use of GPS devices in surveillance
…
What are we waiting for?