Bacterial vaginosis (BV) is a common vaginal infection affecting millions of women. Vaginal anaerobic dysbiosis occurs whenLactobacillusspp., the dominant flora in healthy vagina is replaced by certain overgrown anaerobes, resulting in unpleasant symptoms such as vaginal discharge and odor. With a high recurrence rate, BV also severely impacts the overall quality of life of childbearing women by inducing preterm delivery and increasing the risks of pelvic inflammatory disease and sexually transmitted infections. Among various BV-associated bacteria,Gardnerella vaginalis(G. vaginalis) has been identified as a primary pathogen since it has been isolated from almost all women carrying BV and exhibits higher virulence potential over other bacteria. When dealing with BV relapse, intravaginal drug delivery systems are superior to conventional oral antibiotic therapies in improving therapeutic efficacy owing to more effective drug dose, reduced drug resistance and minimized side effects such as stomach irritation. Traditional intravaginal drug administration generally involves solids, semi-solids and delivery devices inserted into the vaginal lumen to achieve sustained drug release. However, they are mostly designed for continuous drug release and are not preventative therapies, resulting in severe side effects caused by excess dosing. Stimuli-responsive systems that can release drug only when needed ('on-demand') can help diminish these negative side effects. Hence, we developed a bacteria-responsive liposomal platform for the prevention and treatment of BV. This platform demonstrated sustained drug release in the presence of vaginolysin, a toxin secreted specifically byG. vaginalis. We prepared four liposome formulations and evaluated their responsiveness toG. vaginalis. The results demonstrated that the liposome formulations could achieve cumulative drug release ranging from 46.7% to 51.8% over a 3-5 d period in response toG. vaginalisand hardly any drug release in the presence ofLactobacillus crispatus(L. crispatus), indicating the high specificity of the system. Overall, the bacteria-responsive drug release platform has great potential, since it will be the first time to realize sustained drug release stimulated by a specific pathogen for BV prevention and treatment. This on-demand therapy can potentially provide relief to the millions of women affected by BV.