The effect of ranitidine, administrated 2 or 4 hours prior to induction of anesthesia, on volume and pH of gastric juice was investigated in patients undergoing elective surgery. Three-hundred mg of ranitidine was administrated orally in 54 patients 2 hours prior to anesthesia and in 50 patients 4 hours prior to anesthesia. The volume and pH of gastric juice were measured immediately after induction of anesthesia. In more than 90% of patients of both groups, volume of gastric juice was smaller than 25 ml and its pH was more than 2.5. Ranitidine 450 mg was administrated orally in 7 patients, and its plasma concentration was measured 2, 4 and 6 hours after administration. In one patient, volume of gastric juice was larger than 25 ml and its pH was less than 2.5. Ranitidine concentration in this patient was below the effective level 2 hours after administration and it was above the level after 4 hours. We concluded that oral administration of ranitidine 300 mg, 4 hours preoperatively, could be more effective to prevent aspiration pneumonitis than when it is given 2 hours preoperatively.