A series of vinylimidazoles containing a hetero atom such as sulfur or oxygen at a beta-position of the vinyl group was prepared and the antifungal activities were tested. It was found that sulfur-substituted derivatives such as (E)-1-[2-(methylthio)-1-[2-(pentyloxy)phenyl]ethenyl]-1H-imidazole (5a-5) and (E)-1-[1-[2-(hexyloxy)phenyl]-2-(methylthio)ethenyl]-1H-imidazole (5a-6) showed excellent antifungal