Plant-parasitic nematodes pose a serious threat to crops and cause substantial financial losses due to control difficulties. Tioxazafen (3-phenyl-5-thiophen-2-yl-1,2,4-oxadiazole) is a novel broad-spectrum nematicide developed by the Monsanto Company, which shows good prevention effects on many kinds of nematodes. To discover compounds with high nematocidal activities, 48 derivatives of 1,2,4-oxadiazole were obtained by introducing haloalkyl at the 5-position of tioxazafen, and their nematocidal activities were systematically evaluated. The bioassays revealed that most of 1,2,4-oxadiazole derivatives showed remarkable nematocidal activities against Bursaphelenchus xylophilus, Aphelenchoides besseyi, and Ditylenchus dipsaci. Notably, compound A1 showed excellent nematocidal activity against B. xylophilus with LC50 values of 2.4 μg/mL, which was superior to that of avermectin (335.5 μg/mL), tioxazafen (>300 μg/mL), and fosthiazate (436.9 μg/mL). The transcriptome and enzyme activity results indicate that the nematocidal activity of compound A1 was mainly related to the compound which affected the acetylcholine receptor of B. xylophilus.