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.

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 thresholdHb 70 g/L (80 if cardiovascular disease)Target 70–90 g/L; one unit then reassess
Glasgow-BlatchfordScore 0–1 = low riskSupports outpatient pathway with arranged endoscopy
Terlipressin2 mg IV every 4 hVariceal branch (UK/Europe); octreotide infusion is the US equivalent
Antibioticse.g. ceftriaxone 1 g IV dailyCirrhotic bleeding: improves survival — start on suspicion
IV PPIHigh-dose after endoscopic therapyFor high-risk ulcer stigmata; pre-endoscopy use reduces stigmata
Endoscopy≤24 h · ≤12 h variceal · now if unstableBanding, glue, clips, thermal therapy as found
EscalationIR embolization · TIPS · surgeryFor 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.

The Medical Videos NewsletterOne email a week — the best new videos and guides. Free.