Under experimental circumstances, ovariectomy attenuates gastric mucosal injury where nitric oxide (NO)-mediated pathways are involved. In this study, we have examined the changes in constitutive (cNOS) and inducible NO synthase (iNOS) enzyme activities (assessed by the citrulline assay), and the role of endogenous bacteria in overiectomy-provoked mucosal defence. Gastric lesions were induced by indomethacin (50 mg/kg, s.c.) over a 4 h period in sham-operated and ovariectomized female Wistar rats. Groups of animals received the wide-spectrum antibiotic ampicillin (800 mg/kg/day, p.o., for 3 days), and others were injected with bacterial endotoxin ( E. coli, 3 mg/kg, i.v., 5 h before autopsy). We found that ovariectomy increased iNOS and decreased cNOS activity (resulting an elevated total gastric NOS level), and protected the stomach, effects reversed by ampicillin treatment. In ovary-intact rats, administration of bacterial endotoxin enhanced gastric iNOS activity and reduced lesion-formation. These results suggest that ovariectomy improves gastric mucosal defence perhaps by endogenous bacteria-triggered induction of iNOS.