Collectively, our present study suggests that solamargine alleviated proliferation, migration, and invasion of cervical cancer cells by blocking the CXCL3-mediated Erk signaling pathway, and solamargine inhibited the tumor growth of mice in vivo. Here, CXCL3 is linked to cervical carcinoma.