Objective: Bursaphelenchus xylophilus disease is a very destructive nematode disease in the forestry field, and its rapid spread and wide distribution pose a serious threat to forestry ecology. In view of the key role of phosphoethanolamine methyltransferase (PEAMASE) in the growth and development of pine wood nematodes, this study used computer-aided drug design technology to screen out potential small molecules of PEAMT enzyme inhibitors using PEAMT enzyme as the target, predicted the toxicity of small drug molecules through T.E.S.T. software, clarified its targeting, and developed an environmentally friendly inhibitor of PEAMT inhibitors to inhibit pine wood nematodes.