This present disclosure discloses a bioadhesive boric acid formulation and its use and preparation method. Specifically, a preferred vaginal bioadhesive boric acid formulation mainly comprises of: methylparaben, propylparaben, potassium sorbate, chitosan, glycerin, carbopol 974, polycarbophil, boric acid, and purified water. The vaginal boric acid preparation are capable of retaining and releasing boric acid in the vagina. It is proved experimentally that boric acid acts as an antibacterial component of this gel and can be maintained at a relatively high concentration in vaginal fluid. Further, it is demonstrated that the vaginal bioadhesive boric acid formulation has a dynamic viscosity >;100000 cps, pH value of 2-5, good moisture retention capability. The formulation is non-allergenic, non-vaginal irritation, and capable of inhibiting bacteria and fungi.