The purpose of this study was to develop a suitable mucoadhesive in situ gel formulation of clotrimazole (CLO) for the treatment of vaginal candidiasis. For this aim, the mixture of poloxamer (PLX) 407 and 188 were used to prepare in situ gels. Hydroxypropyl methylcellulose (HPMC) K100M or E50 was added to in situ gels in 0.5% ratio to improve the mucoadhesive and mechanical properties of formulations and to prolong the residence time in vaginal cavity. After the preparation of mucoadhesive in situ gels; gelation temperature/time, viscosity, mechanical, mucoadhesive, syringeability, spreadibility and rheological properties, in vitro release behavior, and anticandidal activities were determined. Moreover vaginal retention of mucoadhesive in situ gels was investigated with in vivo distribution studies in rats. Based on the obtained results, it was found that gels prepared with 20% PLX 407, 10% PLX 188 and 0.5% HPMC K100M/E50 might be suitable for vaginal administration of CLO. In addition, the results of in vivo distribution studies showed that gel formulations remained on the vaginal mucosa even 24h after application. In conclusion, the mucoadhesive in situ gels of CLO would be alternative candidate for treatment of vaginal candidiasis since it has suitable gel properties with good vaginal retention.