Resistance and tolerance of biofilms to antibiotics is the greatest challenge in the treatment of bacterial infections. Therefore, developing an effective strategy against biofilms is a top priority. Liposomes are widely used as antibiotic drug carriers; however, common liposomes lack affinity for biofilms. Herein, biofilm-targeted antibiotic liposomes are created by simply adjusting their cholesterol content. The tailored liposomes exhibit significantly enhanced bacterial inhibition and biofilm eradication effects that are positively correlated with the cholesterol content of liposomes. The experiments further demonstrate that this enhanced effect can be ascribed to the effective drug release through the pores, which are formed by the combination of cholesterol microdomains in liposomal lipid bilayers with membrane-damaged toxins in biofilms. Consequently, liposome encapsulation with a high cholesterol concentration improves noticeably the pharmacodynamics and biocompatibility of antibiotics after pulmonary administration. This work may provide a new direction for the development of antibiofilm formulations that can be widely used for the treatment of infections caused by bacterial biofilms.