The present invention discloses a method for preparing an anti-bacterial surface on a medical material surface, including the steps of: (1) conducting chemical graft of amino silane after performing oxygen plasma pretreatment to the medical material surface and then reacting the medical material with the amino silane surface with an acyl compound; (2) placing the medical material with an initiator-modified surface into an anti-adhesion monomer aqueous solution for a graft polymerization reaction; (3) placing the medical material with an anti-adhesion polymer brush-modified surface into an azide compound-containing dimethylformamide solution; and (4) placing the medical material with an azide surface into an anti-bacterial agent click solution for a click reaction, obtaining an anti-adhesion polymer layer—;and anti-bacterial agent layer-comodified anti-bacterial surface. The method prevents mutual interference of the anti-adhesion ability and bactericidal ability, and has good long-acting anti-bacterial performance.