In recent years, the utilization of medical devices has gradually increased and implantation procedures have become common treatments. However, patients are susceptible to the risk of implant infections. This study utilized chemical grafting to immobilize polyethylenimine (QPEI) and hyaluronic acid (HA) on the surface of the mesh to improve biocompatibility while being able to achieve antifouling antimicrobial effects. From the in vitro testing, PP−PDA-Q-HA exhibited a high antibacterial ratio of 93% against S. aureus, 93% against E. coli, and 85% against C. albicans. In addition, after five rounds of antimicrobial testing, the coating continued to exhibit excellent antimicrobial properties; PP−PDA-Q-HA also inhibits the formation of bacterial biofilms. In addition, PP−PDA-Q-HA has good hemocompatibility and cytocompatibility. In vivo studies in animal implantation infection models also demonstrated the excellent antimicrobial properties of PP−PDA-Q-HA. Our study provides a promising strategy for the development of antimicrobial surface medical materials with excellent biocompatibility.