Peptic ulcer is a common disease characterized by lesions that affect the mucosa of the esophagus, stomach and/or duodenum, and may extend into the muscular layer of the mucosa. Natural products have played an important role in the process of development and discovery of new drugs, due to their wide structural diversity and present, mostly specific and selective biological activities. Among natural products the alkaloids, biologically active secondary metabolites, that can be found in plants, animals or microorganisms stand out. The alkaloids are compounds consisting of a basic nitrogen atom that may or may not be part of a heterocyclic ring. This review will describe 15 alkaloids with antiulcer activity in animal models and in vitro studies.