The widespread use of broad-spectrum antibiotics, the growing number of immunocompromised individuals, and the emergence of drug-resistant strains have resulted in the increasing incidence and mortality of invasive fungal infections. Azole drugs are the primary treatment for invasive fungal infections, and Iodiconazole is a potent azole drug with strong antifungal activity, but its stability is poor. In order to improve stability, a series of triazole compounds containing ethynyl group were designed and synthesized. Most of the compounds showed strong inhibitory activity against pathogenic fungi, among which compound 20l showed excellent inhibitory activity against pathogenic fungi and drug-resistant fungi. Importantly, and the stability of 20l (T1/2 = 30.2 min) was obviously improved compared with Iodiconazole (T1/2 = 4.39 min). In addition, the preferred compound 20l can prevent fungal phase transition and the formation of fungal biofilm, and show satisfactory fungicidal activity. In addition, the compound 20l was almost non-toxic to mammalian HUVEC cell and 293T cell. In vivo pharmacokinetic studies showed that 20l had acceptable pharmacokinetic properties. These results strongly demonstrate that compound 20l was worth further investigation as a potential antifungal inhibitor.