New drugs for the treatment of bacterial vaginosis (BV) are yet to be developed due to concerns that they may contribute to the increase in antibiotic resistance in BV. Antimicrobial peptides (AMPs) are one of the most promising options for next-generation antibiotics. In this study, we investigated the bacteriostatic activity of the AMPs Pexiganan, plectasin, melittin, and cathelicidin-DM against Gram-negative and Gram-positive bacteria both in vitro and in a mouse model of BV infection. The results showed that Pexiganan, melittin, and cathelicidin-DM had significant antibacterial activity against both Gram-negative and Gram-positive bacteria. AMPs have great potential for clinical application in the treatment of vaginitis, and this study provides an experimental basis for their use in the active immunoprophylaxis of BV.