CYP51 inhibitor, scaffold hopping was used to design structurally diverse new compounds and expand the structure–activity relationships of the lead structure. Five kinds of scaffolds, namely benzimidazole, benzoxazole, benzothiazole, quinazolin-4-one and carboline, were chosen for synthesis. In vitro antifungal activity data and results from molecular docking revealed that the scaffold was important for