The invention discloses antibacterial gel for gynecology and a preparation method thereof. The antibacterial gel is prepared from the following raw materials in percentage by weight: 1-5% of cecropinantibacterial peptide, 1-5% of gastrodia elata polypeptide, 1-5% of luteolin, 10-30% of a thickener, 2-6% of a wetting agent, 1-5% of tocopherol, 1-3% of sodium hyaluronate, 0.5-2% of menthol, a proper amount of a pH regulator and the balance of purified water. The antibacterial gel for the gynecology uses cecropin B and gastrodia elata polypeptide as antibacterial peptide active ingredients, which has a synergistic antibacterial effect, and can treat gynecological diseases such as cervical erosion, vaginitis and pelvic inflammation. The antibacterial gel disclosed by the invention is non-irritant to vaginal mucosa cells, high in safety, and excellent in stability and easy to absorb by a human body, and after the gynecological antibacterial gel is used, the skin of the private parts of women can be moisturized, fresh and healthy.