Gastric cancer remains high prevalence and fatality rates in China even though its morbidity has been decreased drastically. Allicin, which is from an assistance food-garlic (Allium Sativum L), was found to be effective in gastric cancer treatment. It is a defensive substance with a board biological properties: inhibition of bacteria, fungus, virus, controlled hypertension, diabetes, and chemoprevention of several cancers, etc. Experiments have shown that allicin can be chemopreventive to gastric cancer by inhibiting the growth of cancer cells, arresting cell cycle at G2/M phase, endoplasmic reticulum (ER) stress, and mitochondria-mediated apoptosis, which includes the caspase-dependent/-independent pathways and death receptor pathway. Those mechanisms probably involve in modulating enzymatic activity, restraining DNA formation, scavenging free radicals, and affecting cell proliferation and even tumor growth. Therefore, this review is focus on the mechanism of allicin in gastric cancer.