Spices have been widely used as food flavorings and folk medicines for thousands of years. Numerous studies have documented the antioxidant, anti-inflammatory and immunomodulatory effects of spices, which might be related to prevention and treatment of several cancers, including lung, liver, breast, stomach, colorectum, cervix, and prostate cancers. Several spices are potential sources for prevention and treatment of cancers, such as Curcuma longa (tumeric), Nigella sativa (black cumin), Zingiber officinale (ginger), Allium sativum (garlic), Crocus sativus (saffron), Piper nigrum (black pepper) and Capsicum annum (chili pepper), which contained several important bioactive compounds, such as curcumin, thymoquinone, piperine and capsaicin. The main mechanisms of action include inducing apoptosis, inhibiting proliferation, migration and invasion of tumors, and sensitizing tumors to radiotherapy and chemotherapy. This review summarized recent studies on some spices for prevention and treatment of cancers, and special attention was paid to bioactive components and mechanisms of action.