The invention belongs to the technical field of medicine, and particularly relates to novel application of Plerixafor in preparation of drugs for treating or preventing diseases related to GSDMD protein. The affinity between Plerixafor and the human GSDMD protein is detected through an MST technology, and the effects of Plerixafor on the mortality of macrophages of humans and mice and secretion amount of IL-1 beta inflammatory factors and the control effect of Plerixafor on mouse EAE and mouse sepsis are evaluated through pharmacodynamic tests. It is shown that the mortality of macrophages ofhumans and mice can be reduced significantly by Plerixafor, secretion of the IL-1 beta inflammatory factors can be reduced, and Plerixafor has a high binding force on the human GSDMD protein; meanwhile, the symptoms of mouse EAE can be alleviated significantly, and the survival rate of sepsis model mice can be improved; and it is indicated that Plerixafor is a human GSDMD protein-targeting drug, the symptoms of MS and sepsis can be alleviated through prevention of cell pyrolysis and inflammatory factor release, and therefore Plerixafor can be used as novel and optional drugs for prevention ortreatment of MS, sepsis and other autoimmune diseases and infectious inflammatory diseases, and has a broad development and application value.