Artemisinin B is a drug which may improve spatial memory in dementia patients and alter the levels of inflammatory cytokines in the hippocampus and the cortex. Artemisinin B may inhibit neuroinflammation and exert neuroprotective effects on cognitive functions by modulating the TLR4-MyD88-NF-κB signaling pathway. Artemisinin B has shown potential in the treatment of neuroinflammatory diseases.