The present invention relates to an oxadiazole compound and a preparation method thereof, wherein the molecular formula of the compound is as the follow, R1 is halogen, hydrogen, C1-C4 alkyl or alkoxy, R2 is halogen, hydrogen or alkyl, and R3 is methylamine, dimethylamine, isopropylamine, propylamine, butylamine, morpholine, piperidine or imidazole. Compared with the oxadiazole compound and the preparation method in the prior art, the oxadiazole compound and the preparation method of the present invention have the following characteristics that: the process is simple, the application range is wide, and the oxadiazole compound is suitable for prevention and control of health pests such as flies, mosquitoes, fleas and the like and agricultural pests such as lissorhoptrus oryzophilus, spodoptera exigua hiibner, mythimna separata (walker) and the like, can be provided for inhibiting growth of insects, especially mosquito larvae, and is an insecticide with an application prospect.