The present invention concerns a polyelectrolyte coating comprising at least one polycationic layer consisting of at least one polycation consisting of n repetitive units having the formula (1) and at least one polyanionic layer consisting of hyaluronic acid. The polyelectrolyte coating has a biocidal activity and the invention thus further refers to the use of said polyelectrolyte coating for producing a device, in particular a bacteriostatic medical device, more particularly an implantable device, comprising said polyelectrolyte coating, and a method for preparing said device and a kit.