A method is disclosed for providing a medical device with antibacterial activity, comprising the steps of: providing a substrate material coated with a hydrophilic polymer, said hydrophilic polymer exhibiting a low friction when wetted providing a colloidal solution comprising chemically reduced particles of an oligodynamic metal and a hydrophilic polymer, said hydrophilic polymer being the same as in the coating of the substrate material and dipping said substrate material in the solution. A medical device prepared accordingly is also disclosed.By means of this method, very advantageous properties of the antibacterial coating are obtained. In particular, a relatively low release rate is obtained in the wetting fluid, and a relatively high release rate is obtained in the intended use situation, e.g. when inserted into the urethra.