The invention relates to 2-(1,2,4-triazole-1-methyl)-2-(coumarone-5-radical)-1,3-dioxolane with a chemical formula I shown in the description, where R is selected from C1-C2 alkyl radical and C3-C4 linear alkyl radical or branched alkyl radical, R1 selected from H and C1-C2 alkyl radical, X selected from chlorine,bromine,iodine, mesyloxy,trifluoro-mesyloxy, benzenesulfonyl oxy radical, and p-toluenesulfonyl oxy radical, and Y selected from hydrogen, C1-C2 alkoxy, C3-C4 linear alkoxy or branched alkoxy, chlorine, bromine, fluorine or iodine. The chemical formula I is prepared from a key intermediate II of a chemical formula II shown in the description; and a compound I can be applied to preparation of bactericide.