In response to the urgent need for novel antifungal agents with improved activity and broader spectrum, computer modeling was used to rational design novel antifungal azoles. On the basis of the active site of lanosterol 14alpha-demethylase from Candida albicans (CACYP51), a series of new azoles with substituted-phenoxypropyl piperazine side chains were rational designed and synthesized. In vitro antifungal activity assay indicates that the new azoles show good activity against most of the tested pathogenic fungi. Interestingly, the designed compounds are also active against an azole-resistant clinical strain. Compared to fluconazole and itraconazole, several compounds (such as 12i, 12j and 12n) show higher antifungal activity and broader spectrum, which are promising leads for the development of novel antifungal agents.