Theoretically, the injection of cyanoacrylate may be effective for peptic ulcer bleeding, but randomized clinical trials are rare. The aim of this study was to compare the efficacy of N-butyl-2-cyanoacrylate (Histoacryl) and hypertonic saline-epinephrine (HSE) in the endoscopic treatment of major peptic ulcer hemorrhage. A total of 126 patients with major peptic ulcer hemorrhage and active bleeding or a nonbleeding visible vessel were randomly allocated to endoscopic injection with HSE (63 patients; group 1) or to injection with Histoacryl (63 patients; group 2). The two groups were well matched for age, sex, initial hemoglobin values, ulcer size and location, and bleeding stigmata. Initial hemostasis was achieved in 58 cases (92.1%) in group 1 and in 60 cases (95.2%) in group 2 (P=0.717). Rebleeding rates were 16 of 58 in group 1 and seven of 60 in group 2 (P=0.051). There were no significant differences regarding the rates of permanent hemostasis (51 of 63 in group 1 vs. 57 of 63 in group 2, P=0.203), emergency surgery (seven of 58 in group 1 vs. three of 60 in group 2, P=0.200), or hospital mortality due to bleeding (0 in group 1 and 0 in group 2). With regard to the rebleeding rate, there was a significant difference between group 1 and group 2 in the subgroup with active arterial bleeding (11 of 26 in group 1 and four of 29 in group 2, P=0.039) but not in the subgroup with a nonbleeding visible vessel (five of 32 in group 1 and three of 31 in group 2, P=0.708). There were no statistically significant differences in hemostatic results between the two treatment groups in the subgroups with gastric ulcers or duodenal ulcers. Although no complications followed HSE therapy, arterial embolization with infarction occurred in two patients in the Histoacryl group, of whom one died. Compared with HSE injection, Histoacryl injection showed no statistically significant differences in hemostatic results, except for decreasing the rebleeding rate in the patients with active arterial bleeding. However, the use of Histoacryl to control peptic ulcer bleeding should be reserved as a last resort before surgery, because of possible embolic complication.