Upper GI Bleed (UGIB) Treatment Algorithm
✓ Medically reviewed by Mohamed Magdy Ibrahim, MD, PhD — Assistant Professor of Medicine, Transplant Nephrology, University of Maryland School of Medicine · Board certified in Internal Medicine (ABIM) · Last reviewed: November 2026
An upper GI bleed is managed in a strict order: resuscitation before investigation, and risk stratification before disposition. This page walks the pathway step by step: ABCDE and large-bore access, restrictive transfusion, a Glasgow-Blatchford score, completely different drug treatment if the bleed is variceal, and endoscopy within 24 hours — immediately if the patient cannot be stabilized.
Use the interactive walk-through below with a real patient in front of you, or read the full algorithm laid out underneath it. The pathway follows the ACG guideline on upper GI and ulcer bleeding (2021) and NICE guideline NG141 on acute upper GI bleeding.
Emergency note: this page is an educational reference for clinicians and students. It does not replace your local protocol or senior clinical judgment. A GI bleed with shock, ongoing hematemesis or a falling conscious level is a medical emergency — resuscitate, activate your major hemorrhage pathway if needed, and get senior, endoscopy and critical care help immediately.
Walk the algorithm
Step 1 of 2 — stability first; then variceal or not splits the drug treatment.
Is the patient hemodynamically unstable?
Systolic BP under 100 mmHg or heart rate over 100 despite initial fluids · ongoing hematemesis · syncope, confusion or clammy peripheries · a hemoglobin falling fast.
Is a variceal bleed suspected?
Known cirrhosis or portal hypertension, previous varices, stigmata of chronic liver disease, or a heavy alcohol history with liver signs.
Unstable bleed — resuscitate, transfuse, urgent endoscopy
- ABCDE: airway first — a drowsy patient vomiting blood needs anaesthetic help and often intubation before endoscopy. Two large-bore cannulae (14–16G), bloods including group-and-save/crossmatch, coagulation, and a catheter for urine output.
- Activate the major hemorrhage protocol if bleeding is torrential; transfuse to physiology, not to a number, while unstable — the restrictive threshold below applies once resuscitation has caught up.
- Correct coagulopathy with hematology: platelets if under 50 × 10⁹/L and bleeding; reverse warfarin with vitamin K + PCC if bleeding is life-threatening; DOAC reversal agents per agent and local policy.
- If cirrhosis is in the picture, treat as variceal too: start a vasoactive drug and antibiotics from the variceal panel in parallel — unstable patients do not wait for the classification to be proven.
- Urgent endoscopy as soon as resuscitation allows — an unstable bleeder is scoped now, not within 24 hours. If endoscopy fails or is impossible: balloon tamponade as a bridge for varices, interventional radiology embolization or surgery for non-variceal bleeding — senior decisions, made early.
- Critical care referral for every unstable bleeder.
Variceal bleed — vasoactive drug + antibiotics + urgent endoscopy
- Vasoactive drug immediately: terlipressin 2 mg IV every 4 hours (usual UK/European practice) or octreotide infusion (usual US practice) — started on suspicion, before endoscopy confirms varices.
- Prophylactic antibiotics: e.g. ceftriaxone 1 g IV daily — in cirrhotic GI bleeding antibiotics improve survival, not just infection rates; this is treatment, not an optional extra.
- Transfuse restrictively (threshold 70 g/L): over-transfusion raises portal pressure and restarts variceal bleeding. Correct coagulopathy judiciously with hematology — the INR of liver disease does not behave like warfarin's.
- Endoscopy within 12 hours of admission after resuscitation (sooner if unstable): band ligation for esophageal varices; cyanoacrylate glue for gastric varices.
- If banding fails or bleeding recurs: balloon tamponade as a bridge (with airway protection), and early TIPS discussion — high-risk patients (advanced Child-Pugh) benefit from TIPS within 72 hours at a specialist center.
- Lactulose and the hepatic encephalopathy watch run alongside; involve hepatology from the start.
Stable non-variceal bleed — Blatchford, restrictive transfusion, scope in 24 h
- Score with Glasgow-Blatchford (urea, hemoglobin, systolic BP, pulse, melena, syncope, liver disease, heart failure). A score of 0–1 identifies patients who can often be managed as outpatients with an arranged urgent outpatient endoscopy — a senior decision, documented.
- Transfuse restrictively: threshold hemoglobin 70 g/L, target 70–90 g/L. Use a threshold of 80 g/L for patients with significant cardiovascular disease. One unit, then reassess.
- Stop the offenders: NSAIDs stopped; anticoagulants and antiplatelets reviewed with the teams who prescribed them — aspirin taken for secondary prevention is usually restarted promptly once hemostasis is achieved, because the cardiac risk outlives the bleed; clopidogrel and anticoagulant restarts are individualized (stents change everything — ask cardiology).
- IV PPI may be started (it reduces high-risk stigmata at endoscopy); the proven high-dose PPI regimen belongs after endoscopic treatment of a high-risk lesion.
- Endoscopy within 24 hours of admission: ulcer therapy (clips, thermal, injection) as found; test for and later eradicate H. pylori in ulcer disease.
- Rebleeding after endoscopy → repeat endoscopy once, then interventional radiology or surgery; document the plan before it is needed at 3 a.m.
The full algorithm, step by step
The same pathway, laid out in full — the version to print, teach from, or follow without the walk-through.
Step 0 · Resuscitate
ABCDE before endoscopy, always
Airway (blood in the airway is the early killer), breathing, circulation with two large-bore cannulae, bloods: FBC, urea and electrolytes, LFTs, coagulation, group-and-save or crossmatch. Crystalloid to restore perfusion while blood is arranged. A nasogastric tube is not routine. Tell endoscopy, and tell them early.
Step 1 · Transfuse restrictively
Threshold 70 g/L (80 with cardiovascular disease)
Restrictive transfusion improves outcomes in UGIB — including in portal hypertension, where over-filling raises portal pressure. Transfuse below 70 g/L, target 70–90; use 80 as the threshold with significant cardiovascular disease. Correct platelets under 50 and major coagulopathy with hematology; reverse anticoagulants when bleeding is severe or life-threatening.
Step 2 · Risk-stratify
Glasgow-Blatchford before endoscopy
Blatchford (0–23) predicts the need for intervention: 0–1 supports outpatient management with arranged endoscopy. Rockall (completed after endoscopy) estimates mortality and rebleeding. Scores support — never replace — the clinical read of the patient in front of you.
Step 3 · Branch the drugs
Variceal and non-variceal diverge here
Suspected variceal: vasoactive drug (terlipressin or octreotide) plus prophylactic antibiotics from the door. Non-variceal: IV PPI reasonable pre-endoscopy; high-dose PPI after endoscopic therapy of high-risk lesions. Both branches: stop NSAIDs; manage antiplatelets/anticoagulants with their prescribing teams.
Step 4 · Endoscopy, timed
Within 24 h; within 12 h if variceal; now if unstable
Endoscopy diagnoses and treats: banding for varices, glue for gastric varices, clips/thermal/injection for ulcers. Failure or rebleeding escalates to a second endoscopy, then IR embolization, TIPS (variceal) or surgery. An unstable patient is scoped after resuscitation begins — the scope is part of the resuscitation.
Step 5 · Aftercare
Prevent the second bleed
High-dose PPI after treated high-risk ulcer lesions; H. pylori eradication for ulcer patients; a written NSAID/antiplatelet/anticoagulant restart plan agreed with cardiology and hematology; iron studies and replacement; for varices, secondary prophylaxis (non-selective beta-blocker plus banding program) and hepatology follow-up. Most rebleeds happen in the first 72 hours — observe accordingly.
Treatments at a glance
| Transfusion threshold | Hb 70 g/L (80 if cardiovascular disease) | Target 70–90 g/L; one unit then reassess |
| Glasgow-Blatchford | Score 0–1 = low risk | Supports outpatient pathway with arranged endoscopy |
| Terlipressin | 2 mg IV every 4 h | Variceal branch (UK/Europe); octreotide infusion is the US equivalent |
| Antibiotics | e.g. ceftriaxone 1 g IV daily | Cirrhotic bleeding: improves survival — start on suspicion |
| IV PPI | High-dose after endoscopic therapy | For high-risk ulcer stigmata; pre-endoscopy use reduces stigmata |
| Endoscopy | ≤24 h · ≤12 h variceal · now if unstable | Banding, glue, clips, thermal therapy as found |
| Escalation | IR embolization · TIPS · surgery | For failed endoscopic control — decide early |
Where is the blood coming from? Causes to work through
- Peptic ulcer — the commonest cause: NSAIDs and H. pylori are the drivers; a visible vessel or active spurting at endoscopy sets the rebleed risk.
- Varices — esophageal and gastric, from portal hypertension of any cause; smaller blood volume losses, far deadlier physiology.
- Erosive disease and Mallory-Weiss tears — gastritis/duodenitis (alcohol, NSAIDs, stress), and mucosal tears after vomiting.
- Vascular lesions — Dieulafoy lesions, angioectasia, aorto-enteric fistula (the herald bleed in a patient with an aortic graft is a surgical emergency until proven otherwise).
- Malignancy and the rest — gastric and esophageal tumors, severe esophagitis; and remember swallowed blood from epistaxis or hemoptysis masquerading as hematemesis.
For liver disease context see the Conditions A–Z hub; the AKI algorithm covers the kidney injury that so often accompanies a major bleed.
Questions clinicians and students ask
Why transfuse less? Surely a bleeding patient needs blood.
They need perfusion, not a normal hemoglobin. The landmark restrictive-transfusion trial in UGIB showed better survival with a 70 g/L threshold — transfusion raises portal pressure (restarting variceal bleeds), dilutes clotting factors and carries its own risks. The exception logic is physiological: significant cardiovascular disease earns an 80 threshold, and the frankly unstable patient is transfused to physiology while resuscitation catches up.
Why antibiotics in a variceal bleed — the problem is bleeding, not infection.
Because in cirrhosis the two are welded together: bacterial infection is both a trigger for variceal bleeding and its commonest lethal complication, and randomized trials show prophylactic antibiotics reduce infections, rebleeding and death. It is one of the few drug interventions in this algorithm with a mortality benefit — which is why it starts on suspicion, at the door.
Terlipressin or octreotide?
Regional twins. Terlipressin (a vasopressin analogue) is the UK/European standard with trial evidence for improved control and survival in variceal bleeding; octreotide infusion is the entrenched US practice. Both aim to cut portal inflow while endoscopy is arranged. Use your formulary's agent, start it on suspicion, and do not let the choice delay the scope.
When can a GI bleed patient go home without admission?
When the Glasgow-Blatchford score is 0–1, the patient is otherwise well, and an urgent outpatient endoscopy is genuinely arranged — a pathway endorsed by NICE for exactly this group. The score's ingredients (urea, hemoglobin, blood pressure, pulse, melena, syncope, liver and cardiac disease) are all cheap and immediate; the decision, and its documentation, are senior ones.
Why scope within 24 hours if the patient is stable?
Because endoscopy is treatment, not just diagnosis: it finds the lesion, grades its rebleed risk by stigmata, treats high-risk lesions, and converts guesswork about discharge into a plan. Earlier than 24 hours has not shown benefit for stable patients — but "within 24 hours" is a ceiling, not a target to drift toward, and instability collapses the timing to now.
Sources and review
This algorithm follows the ACG clinical guideline on upper gastrointestinal and ulcer bleeding (2021) — restrictive transfusion, endoscopy timing, post-endoscopy PPI — and NICE guideline NG141, Acute upper gastrointestinal bleeding in over 16s — Blatchford-based disposition and variceal management — with portal-hypertension details consistent with Baveno VII. Doses are adult doses; always confirm against your local formulary and protocol before prescribing. Educational content for clinicians and students; not a substitute for clinical judgment.
MedicalVideos.com. Upper GI Bleed Algorithm — Step by Step. MedicalVideos.com; 2026 Nov [cited 2026 Nov 22]. Available from: https://www.medicalvideos.com/algorithms/upper-gi-bleed/
MedicalVideos.com (2026, November). Upper GI Bleed Algorithm — Step by Step. MedicalVideos.com. https://www.medicalvideos.com/algorithms/upper-gi-bleed/
MedicalVideos.com. “Upper GI Bleed Algorithm — Step by Step.” MedicalVideos.com, Nov. 2026, https://www.medicalvideos.com/algorithms/upper-gi-bleed/. Accessed 22 Nov. 2026.
@misc{medicalvideos2026_algorithms_upper_gi_bleed,
author = {MedicalVideos.com},
title = {Upper GI Bleed Algorithm — Step by Step},
howpublished = {MedicalVideos.com},
year = {2026},
month = {11},
url = {https://www.medicalvideos.com/algorithms/upper-gi-bleed/},
urldate = {2026-11-22}
}Vancouver (NLM) is the manuscript standard for medical journals. RIS imports into EndNote, Zotero and Mendeley.
Medical Videos
Free medical and surgery videos for patients, students and professionals — trusted since 2007.
Founded by Dr. Mohamed Ibrahim, MD, PhD — physician-scientist.
Follow us on Facebook · Instagram · Telegram