Bis(1H-pyrazol-1-yl)- and bis(1H-imidazol-1-yl)pyrimidines were synthesized and evaluated for cytoprotective effects. Among them, 4,6-bis(1H-pyrazol-1-yl)pyrimidine (3) showed a potent inhibitory effect on the HCl.ethanol-, ethanol-, and water immersion stress-induced gastric lesions in rats, and a very low acute toxicity. One of the major factors responsible for the cytoprotective effects of 3 is the increase in the bicarbonate secretion. This compound appears to be a promising cytoprotective drug for the treatment of gastric mucosal ulcers.