Croton zehntneri, a plant native to northeastern Brazil, is widely used in folk medicine to treat gastrointestinal problems and has rich essential oil content. The effects of the essential oil of Croton zehntneri (EOCZ) and its main constituent anethole on several models of gastric lesions were studied in mice and rats. Oral treatment with EOCZ and anethole, both at doses of 30-300 mg/kg, caused similar and dose-dependent gastroprotection against ethanol- and indomethacin-induced gastric damage, but did not change cold-restraint stress-induced ulcers in rats. Furthermore, EOCZ and anethole (both at 30 and 300 mg/kg) similarly and significantly increased the mucus production by the gastric mucosa, measured by Alcian blue binding, in ethanol-induced ulcer model. However, at the same doses, neither EOCZ nor anethole promoted significant alteration in gastric production of non-protein sulfhydryl groups. In pylorus-ligated model, neither EOCZ nor anethole (both at 30 and 300 mg/kg) had a significant effect on the volume of gastric juice, pH, or total acidity. The results of this study show for the first time that EOCZ possesses a gastroprotective potential, an effect mostly attributed to the action of anethole. This activity is related predominantly to the ability of EOCZ and anethole to enhance the production of gastric wall mucus, an important gastroprotective factor. Furthermore, they suggest that EOCZ has potential therapeutic application for the treatment of gastric ulcers.