Endotracheal intubation is a vital means of saving critically ill patients. However, the inserted catheter often causes tissue damage and the formation of tenacious biofilms containing drug‐resistant bacteria and fungi, leading to severe ventilator‐associated pneumonia (VAP). Currently, the resolution of VAP is usually based on antibiotic treatment and lacks targeted prophylaxis. Here, a quaternary phosphonium salts functionalized hydrogel catheter that enhances tissue compatibility yet inhibits complex and tenacious pathogens in the catheter, thus preventing VAP is reported. By copolymerizing the quaternary phosphonium electrolyte and acrylic acid monomers, the hydrogel catheter demonstrates good shape‐supporting ability, and its strength and modulus can be adjusted over a wide range to meet the needs of different ages. Moreover, it possesses good tissue compatibility, antifouling properties, stable lubrication capability, and superior hydrophilicity, which may mitigate tissue damage caused by contact. Importantly, the hydrogel catheter demonstrates potent broad‐spectrum intrinsic antimicrobial activity, eradicating nearly 99% of multi‐drug resistant bacteria and 80% of fungi. To validate its role in preventing VAP, the real VAP pathogenesis process is mimicked, establishing a polymicrobial infections model considering time effects. The results prove that the hydrogel catheter effectively inhibits the invasion of various drug‐resistant pathogens and prevents biofilm formation.