<p>Aiming to obtain the more effective pathogen inhibitive ingredients and explore the influence of introducing different heterocyclic units to carvacrol and thymol esters, twenty ester derivatives with different heterocyclic units were synthesized. And the <i>in vitro</i> antifungal activity of title compounds against five plant pathogenic fungi was evaluated by mycelium growth rate method. The results showed that some carvacrol and thymol esters showed good to excellent antifungal activity, and compound 9d (4-bromo-5-isopropyl-2-methylphenyl picolinate) exhibited a broad antifungal spectrum. Preliminary study indicated that the introduction of furan, thiophene and pyridine unit could enhance the antifungal activity of carvacrol and thymol esters against <i>Botrytis cinerea</i> and a bromine atom on the <i>para</i> position of benzene moiety could enhance their antifungal activity.</p