Abstract: The invention provides a method of inhibiting biofilm formation or development of Candida albicans, comprising applying to an object in need thereof an effective amount of methyl cinnamate whereby formation or development of Candida albicans biofilm can be inhibited or prevented. Also provided is a method of treating Candida albicans biofilm-associated infections, comprising administrating to a subject in need thereof a therapeutically effective amount of methyl cinnamate.