The invention relates to a system for preventing bacterial infections in needle trajectories, said system comprising: a percutaneous surgical instrument (1) that can be percutaneously introduced into a tissue (3) of a patient, such as a biopsy needle, that has an outer surface consisting of an electroconductive material; a contact electrode (4) applicable to the skin (3a) of a patient; a silver coating or element (P) arranged on, or forming part of, the instrument (1), and provided, dimensioned and designed so as to break down by electrochemical release when a current is applied thereto, releasing silver ions to the surroundings thereof; and an electrical current generator (2) arranged and designed so as to generate a current and induce the temporary circulation thereof between, respectively, the instrument (1) acting as an anode, the tissue (3), and the contact electrode (4) acting as a cathode, with a determined magnitude and duration, so as to produce a massive and sudden release of silver ions with the purpose of preventing post-treatment bacterial infections.Sistema para la prevención de infecciones bacterianas en trayectos de aguja Comprende: - un instrumento (1) quirúrgico percutáneo percutáneamente introducible en un tejido (3) de un paciente, tal como una aguja de biopsia, y con una superficie externa de material eléctricamente conductor; - un electrodo de contacto (4) aplicable a la piel (3a) de un paciente; - un revestimiento o elemento de plata (P) dispuesto en o constituyendo parte del instrumento (1 ), y configurado, dimensionado y previsto para descomponerse por liberación electroquímica cuando se le aplica una corriente, liberando iones de plata a su entorno; y - un generador de corriente eléctrica (2) dispuesto y configurado para generar una corriente e inducir su circulación transitoria entre, respectivamente, el instrumento (1) actuando como ánodo, el tejido (3) y el electrodo de contacto (4) actuando como cátodo, con una magnitud y una duración d