The ability of dermatophytes to live in communities and resist antifungal drugs may explain treatment recurrence, especially in onychomycosis. Therefore, new molecules with reduced toxicity that target dermatophyte biofilms should be investigated. This study evaluated nonyl 3,4-dihydroxybenzoate (nonyl) susceptibility and mechanism of action on planktonic cells and biofilms ofT. rubrumandT. mentagrophytes. Metabolic activities, ergosterol, and reactive oxygen species (ROS) were quantified, and the expression of genes encoding ergosterol was determined by real-time PCR. The effects on the biofilm structure were visualized using confocal electron microscopy, scanning electron microscopy (SEM), and transmission electron microscopy (TEM).T. rubrumandT. mentagrophytesbiofilms were susceptible to nonyl and resistant to fluconazole, griseofulvin (all strains), and terbinafine (two strains). The SEM results revealed that nonyl groups seriously damaged the biofilms, whereas synthetic drugs caused little or no damage and, in some cases, stimulated the development of resistance structures. Confocal microscopy showed a drastic reduction in biofilm thickness, and transmission electron microscopy results indicated that the compound promoted the derangement and formation of pores in the plasma membrane. Biochemical and molecular assays indicated that fungal membrane ergosterol is a nonyl target. These findings show that nonyl 3,4-dihydroxybenzoate is a promising antifungal compound.