To meet high hygiene requirements, intensive studies are being carried out on antimicrobial materials. This study reports the synthesis of 3‐((1‐hydroxybenzo[d][1,2,3]diazaborinin‐2(1H)‐yl)sulfonyl)propyl methacrylate (DAZBMA) and its polymer, which is antimicrobial [tested with Staphylococcus aureus (ATCC 25923 and MU 40) and Escherichia coli ATCC 25922, Pseudomonas aeruginosa ATCC 27853, and Candida albicans ATCC 10239] on solid surfaces. Antibiofilm capability was tested against MU 40. Although DAZBMA and its polymer show a high quorum‐sensing inhibition property (tested with Chromobacterium violaceum CV 026 and CV 12472 and P. aeruginosa PA01), the lesser antibacterial activity of the polymer was improved by copolymerizing DAZBMA with quaternized 2‐dimethylaminoethyl methacrylate. The paint films containing the prepared copolymer are highly active against all tested bacteria and show an antibiofilm effect against hospital‐acquired multiple‐antibiotic‐resistant MU 40. The novel copolymer can be used in water‐soluble paints to reduce its biofilm production and pathogenicity, especially for paints used in hospitals. © 2018 Wiley Periodicals, Inc. J. Appl. Polym. Sci. 2019, 136, 46907.