Objective To study the antifungal activity of N2 derivatives. Methods The anti-fungal activity of N2 compounds was investigated by micro-liquid dilution. Then the activity of N2 compounds on hyphal and biofilm formation was investigated. Results N2 compounds had significant antifungal activity against Candida albicans. It also expressed actively inhibitory effect on hyphal and biofilm formation. The mechanism of its fungicidal function was to damage the structure of candida albicans’ cell membrane and cell wall. Conclusion The results showed that N2 had obvious antifungal activity against Candida albicans., which provided a new idea for the development of antifungal drugs and the solution of antifungal drugs resistance.