The present invention relates to an antimicrobial coating of a substrate, the coating being obtained by applying the coating on a surface of the substrate by means of an electrostatic spraying method, and the coating comprising at least one metal oxide and/or at least one metal salt.Furthermore, the present invention relates to an electrostatic spraying method for coating at least one substrate with an antimicrobial coating.In addition, the present invention relates to a use of a coating material for producing an antimicrobial coating on a surface of a substrate, with the coating comprising at least one metal oxide and/or at least one metal salt.