A composition including S-allyl-L-cysteine as an active ingredient and having an anti-Helicobacter pylori activity or a gastric mucosa protective effect, a composition for preventing, relieving, or treating gastrointestinal disorders, and a method of using the compositions.