The present invention relates to an antibacterial co-polymer comprising a water soluble backbone polymer having in at least one end a dendritic or hyperbranched polymer of generation 1 to 6 wherein at least one functional group comprising a carboxylic amine has been covalently attached to the periphery of the dendritic or hyperbranched polymer. The present invention also relates to said anti-bacterial co-polymer when said co-polymer has been cross-linked with a cross-linking agent and to uses of the cross-linked co-polymer in a hydrogel for the treatment or prevention of bacterial infections, particularly in surgical site infections (SSI's).La présente invention concerne un copolymère antibactérien comprenant un polymère squelette hydrosoluble comportant à au moins une extrémité un polymère dendritique ou hyperramifié de génération 1 à 6, au moins un groupe fonctionnel comprenant une amine carboxylique ayant été fixé de manière covalente à la périphérie du polymère dendritique ou hyperramifié. La présente invention se réfère également audit copolymère antibactérien lorsque ledit copolymère a été réticulé à l'aide d'un agent de réticulation, et à des utilisations du copolymère réticulé dans un hydrogel pour traiter ou prévenir des infections bactériennes, en particulier des infections du site opératoire (ISO).