General information only. It does not replace advice from a health professional. Do not change or stop your medicines without advice. For vomiting blood, black stools, severe abdominal pain or jaundice with fever, call emergency services.

Why it matters
Upper gastrointestinal bleeding (above the ligament of Treitz, usually from a peptic ulcer or oesophageal varices) and lower gastrointestinal bleeding (diverticula, angiodysplasia, bleeding after polypectomy, colitis) are common causes of emergency admission. Endoscopy does three things at once: it finds the source, estimates the risk of further bleeding and treats the lesion in the same session. Before it became widespread, many of these patients needed emergency surgery; today surgery is exceptional.
Act immediately: call 112 (in Europe, or your local emergency number) if you vomit red blood or dark material like coffee grounds, have sticky, foul-smelling black stools (melaena), pass a lot of blood in your stools, feel dizzy on standing, faint, look very pale or have a racing heart. Do not drive yourself.
Before the endoscopy: stabilise first
Endoscopy never comes before resuscitation. The detailed pathway is in the upper GI bleeding treatment guide. Key points from the ESGE (2026 update on ulcer bleeding), the ACG (2021) and Baveno VII (2022):
- Assess severity with scores such as Glasgow-Blatchford (a score of 0-1 generally allows outpatient management) and Rockall (see bleeding scores).
- Restrictive transfusion: transfuse when haemoglobin falls below 7 g/dl, aiming for 7-9 g/dl; in people with cardiovascular disease, higher thresholds (around 8 g/dl, target 10 g/dl). With varices, over-transfusion raises portal pressure and the risk of rebleeding.
- Intravenous proton pump inhibitors before endoscopy if an ulcer is suspected (they must not delay it).
- Intravenous erythromycin 30-120 minutes beforehand, unless contraindicated, to clear blood from the stomach and improve the view.
- If varices are suspected (a person with cirrhosis): vasoactive drugs (terlipressin, somatostatin or octreotide) from the outset and for 2-5 days, and prophylactic antibiotics (for example ceftriaxone) for up to 7 days.
- Timing: endoscopy within 24 hours of stabilisation. The 2026 ESGE update advises against very early (≤ 6 hours) or urgent (≤ 12 hours) endoscopy for ulcer bleeding unless the person remains unstable despite resuscitation. For varices, Baveno VII recommends endoscopy within 12 hours.
- Anticoagulants and antiplatelets: stopping or reversing them is weighed against severity and thrombotic risk; the decision always rests with the team.
The techniques
| Technique | How it works | Main uses | Comment |
|---|---|---|---|
| Injection of diluted adrenaline | Compresses and constricts the vessel | Actively bleeding ulcer, to "clear" the field | Never alone: always combined with another method |
| Contact thermal coagulation (bipolar probe, heater probe, soft coagulation forceps) | Seals the vessel with heat and pressure | Ulcers with high-risk stigmata | As effective as clips |
| Argon plasma coagulation (APC) | Non-contact surface coagulation | Angiodysplasia, gastric antral vascular ectasia (GAVE), radiation injury | Superficial; not for large vessels |
| Through-the-scope clips | Mechanically clamp the vessel | Ulcers, Dieulafoy lesion, diverticula, post-polypectomy bleeding, Mallory-Weiss tear | The most widely used; no thermal injury |
| Over-the-scope clip (OTSC) | A large clip that grips more tissue | Ulcer rebleeding; selected large or high-risk ulcers as first-line | Requires expertise |
| Haemostatic powders (TC-325 and others) | Form a barrier over the bleeding area | Rescue or bridge, diffuse tumour bleeding | ESGE 2026 advises against using them alone as first-line for ulcers with high-risk stigmata |
| Band ligation | Strangles the varix with an elastic band; it necroses and falls off | Oesophageal varices, also some non-variceal lesions | Treatment of choice for oesophageal varices |
| Cyanoacrylate ("glue") | Blocks the varix as it hardens | Gastric varices (fundal: GOV2, IGV1) | Also with EUS-guided coils |
| Oesophageal metal stent | Compresses the varices from inside | Refractory variceal bleeding, as a bridge | Preferred to balloon tamponade (Baveno VII) |
Ulcers: the Forrest classification
The appearance of the ulcer shows the risk of rebleeding and whether it needs treatment:
| Forrest | Appearance | Rebleeding risk without treatment | Endoscopic treatment? |
|---|---|---|---|
| Ia | Spurting bleeding | Very high | Yes |
| Ib | Oozing bleeding | High | Yes |
| IIa | Non-bleeding visible vessel | High (about 40-50%) | Yes |
| IIb | Adherent clot | Intermediate | Consider removing the clot and treating the underlying vessel |
| IIc | Flat pigmented spot | Low | No |
| III | Clean, fibrin base | Very low | No; early discharge if stable |
The rebleeding figures come from classic series without endoscopic treatment and indicate relative risk. High-risk ulcers (Ia, Ib, IIa) are treated with clips or thermal coagulation, alone or combined with adrenaline. Some centres also use a Doppler probe to confirm there is no residual flow in the vessel.
Varices: band ligation
In acute bleeding from oesophageal varices, band ligation, together with vasoactive drugs and antibiotics, is the treatment of choice. Fundal gastric varices are treated with cyanoacrylate or, in experienced centres, with coils and cyanoacrylate guided by endoscopic ultrasound.
Afterwards, banding is also used as a planned treatment:
- Secondary prophylaxis (after a bleed): banding sessions every 2-4 weeks until the varices are eradicated, always combined with a non-selective beta-blocker (propranolol, nadolol or carvedilol). See cirrhosis medicines.
- Primary prophylaxis (large varices that have never bled): Baveno VII and the 2024 AASLD guidance prefer beta-blockers (especially carvedilol) in people with clinically significant portal hypertension, because they also prevent other decompensations; banding is the alternative if they are not tolerated or are contraindicated. The Baveno VIII consensus (published in August 2026) keeps in force the recommendations it does not specifically revise.
When endoscopy is not enough
- Ulcer: if it rebleeds, a second endoscopy (often with OTSC). If that fails, arterial embolisation by interventional radiology and, as a last resort, surgery.
- Varices: in people at high risk of treatment failure (Child-Pugh C with fewer than 14 points, or Child-Pugh B with more than 7 points and active bleeding at endoscopy), Baveno VII recommends a pre-emptive TIPS within 72 hours (ideally within 24), if there are no contraindications. If bleeding cannot be controlled, rescue TIPS (see TIPS and paracentesis) and, meanwhile, an oesophageal stent or balloon tamponade. See Child-Pugh and MELD scores.
- A routine planned second-look endoscopy is not recommended; it is reserved for doubts about the effectiveness of the first treatment.
Results
- Endoscopic treatment achieves initial haemostasis in over 90% of ulcers with high-risk stigmata; rebleeding after combined therapy is around 10% in modern series, and most cases are resolved with repeat endoscopy.
- For varices, the combination of banding, vasoactive drugs and antibiotics controls bleeding in the great majority of cases, but 6-week mortality remains around 10-20%, mainly because of the severity of the underlying cirrhosis.
Complications
| Complication | Frequency | Comment |
|---|---|---|
| Perforation | Rare (under 1%) | More likely with repeated thermal coagulation and in the duodenum |
| Transient increase in bleeding | Occasional when the lesion is handled | Controlled during the same procedure |
| Post-banding ulcer | A few days later; may bleed in a small percentage | Hence the 2-4 week gap between sessions |
| Chest pain and difficulty swallowing after banding | Common, mild and transient | Liquid or soft diet for 24-48 hours |
| Cyanoacrylate embolism | Rare | To the lungs or other organs |
| Pulmonary aspiration | Rare | Due to blood in the stomach; sometimes the airway is protected with intubation |
Afterwards: preventing further bleeding
- Ulcer: high-dose PPI for the first few days (bolus or infusion) and then by mouth, for as long as the team advises; test for Helicobacter pylori (H. pylori tests) and eradicate it if present, confirming cure afterwards; review NSAIDs and other medicines that harm the digestive tract.
- Antiplatelets and anticoagulants: aspirin for secondary cardiovascular prevention is usually restarted early (within a few days, or even immediately if risk is low), because stopping it increases cardiovascular mortality; the team decides.
- Eating: can be restarted early (within 24 hours) if haemostasis is effective; correct iron deficiency if present.
- Varices: beta-blocker and a banding programme until eradication, with check endoscopies to detect recurrence; liver transplantation is considered in advanced cirrhosis.
Frequently asked questions
Will I be asleep? Sedation is used; if bleeding is massive or there is a risk of aspiration, the procedure may be done with intubation in intensive care or theatre.
Do the bands stay inside? No: the strangled varix necroses and falls off with the band within days, and passes out in the stool.
Can I eat after banding? Usually cold fluids and a soft diet for the first 24-48 hours. If you have severe pain, fever or see blood again, seek advice.
Once treated, can I bleed again? Yes, which is why the cause must be treated: eradicate H. pylori, avoid NSAIDs, take the beta-blocker and complete the banding programme.
Sources
- European Society of Gastrointestinal Endoscopy. Endoscopic diagnosis and management of peptic ulcer bleeding: ESGE Guideline – Update 2026. Endoscopy. 2026 (published online ahead of print, May 2026). doi:10.1055/a-2863-8314. doi:10.1055/a-2863-8314
- Gralnek IM, et al. Endoscopic diagnosis and management of nonvariceal upper gastrointestinal hemorrhage (NVUGIH): ESGE Guideline – Update 2021. Endoscopy. 2021;53:300-32. doi:10.1055/a-1369-5274
- Laine L, et al. ACG Clinical Guideline: upper gastrointestinal and ulcer bleeding. Am J Gastroenterol. 2021;116:899-917. doi:10.14309/ajg.0000000000001245
- de Franchis R, et al. Baveno VII – Renewing consensus in portal hypertension. J Hepatol. 2022;76:959-74. doi:10.1016/j.jhep.2021.12.022
- Baveno VIII Faculty. Baveno VIII consensus on portal hypertension and advanced chronic liver disease. J Hepatol. 2026. doi:10.1016/j.jhep.2026.07.030.
- Kaplan DE, et al. AASLD Practice Guidance on risk stratification and management of portal hypertension and varices in cirrhosis. Hepatology. 2024;79:1180-211. doi:10.1097/hep.0000000000000647
- Gralnek IM, et al. Endoscopic diagnosis and management of esophagogastric variceal hemorrhage: European Society of Gastrointestinal Endoscopy (ESGE) Guideline. Endoscopy. 2022;54:1094-120. doi:10.1055/a-1939-4887
- Triantafyllou K, et al. Diagnosis and management of acute lower gastrointestinal bleeding: European Society of Gastrointestinal Endoscopy (ESGE) Guideline. Endoscopy. 2021;53:850-68. doi:10.1055/a-1496-8969
- Laine L, Peterson WL. Bleeding peptic ulcer. N Engl J Med. 1994;331:717-27. doi:10.1056/nejm199409153311107
- NICE. Acute upper gastrointestinal bleeding in over 16s: management (CG141).
- MedlinePlus. Gastrointestinal bleeding.
Sources reviewed and updated in November 2026.