$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Lipopolysaccharide (LPS)-induced inflammation plays a crucial role in triggering and perpetuating the neurodegenerative diseases, including Parkinson's disease (PD). Hydroxysafflor yellow A (HSYA) is the main component of Carthamus tinctorius L.. This study aims to observe whether HSYA could ameliorate LPS-induced toxicity in dopaminergic neurons of zebrafish. Zebrafish were exposed to LPS and then treated with HSYA. Tests of behavior were conducted to evaluate the motor function of zebrafish. Dopaminergic neuronal injury and dopamine level were examined. TLR4, NF-κB, IL-1β, and TNF-α were also measured. It demonstrated that LPS (60 µg/mL, final concentration) induced toxicity in zebrafish and caused motor dysfunction and damage to tyrosine hydroxylase (TH)-positive neurons. LPS exposure not only decreased the content of dopamine but also increased levels of IL-1β, TNF-α, and expression of TLR4 and NF-κB. HSYA ameliorated the LPS-induced motor dysfunction. In addition, HSYA attenuated the loss of TH-positive neurons, which was accompanied by an increase in dopamine content. HSYA treatment also inhibited the expression of TLR4, NF-κB, and production of IL-1β, TNF-α. In conclusion, this study demonstrates that HSYA attenuates inflammation-induced injury in dopaminergic neurons of zebrafish by regulating the TLR4/NF-κB pathway, which provides an experimental basis for the prevention of inflammatory injury in PD.