Explained by Dr. Babu Elangovan, Surgical Gastroenterologist & Liver Transplant Surgeon, Chennai
Medically reviewed by Dr. Babu Elangovan, MS · MCh (Surgical Gastro) · FMAS·Last reviewed
Upper GI bleeding comes from the oesophagus (food pipe), stomach or duodenum. It shows up as vomiting blood or “coffee-ground” material, or as black, tarry stools. It can range from a small, self-limiting bleed to a life-threatening emergency, and in most cases an urgent endoscopy both finds the source and stops it.
This can be an emergency. Severe or worsening abdominal pain, vomiting blood, black stools, fainting, or yellow eyes with confusion need same-day care — go to the nearest emergency department or call 108 / 112. Do not wait for a clinic appointment.
Signs & symptoms
Vomiting fresh blood or dark “coffee-ground” material
Black, sticky, foul-smelling stools (melaena)
Dizziness or fainting, especially on standing
Pale skin, breathlessness or a racing heart
Unexplained anaemia from slow, hidden bleeding
Symptoms that persist, keep coming back or are getting worse deserve a specialist assessment — book a consultation.
How we treat it
Resuscitation: IV fluids and blood transfusion if needed
Acid-suppressing medicine, and specific drugs for variceal bleeding
Urgent endoscopy with clips, injection, heat or band ligation
Interventional radiology (embolisation) if endoscopy fails
Surgery for bleeding that cannot be controlled otherwise
Your surgeon
Planned and followed through from diagnosis to recovery, with the hospital team.
Upper gastrointestinal bleeding is bleeding from the oesophagus, stomach or duodenum. Blood may be vomited fresh and red, or altered by stomach acid into dark material that looks like coffee grounds. Blood that passes through the bowel turns stools black, sticky and tar-like, with a distinctive smell; this is called melaena. Very brisk upper GI bleeding can occasionally cause dark red blood from the back passage.
Bright red blood on or mixed with stool usually comes from the lower bowel, and is covered in blood in stool: causes and when to see a doctor. Note that iron tablets and some foods can also darken stools, but true melaena is tarry and sticky.
Black Stools: Is It Really Blood?
Blood that has passed through the stomach and gut turns the stool jet-black, shiny and sticky, like tar, with a strong, distinctive smell. Doctors call this melaena, and it usually means a significant bleed higher up in the gut.
Iron tablets, bismuth-containing antacids, activated charcoal and some dark foods can also turn stools dark or black, but those stools keep a normal, formed consistency, have no tarry stickiness and come with no dizziness or weakness. They return to normal once the tablet or food is stopped.
If you are unsure, especially if you also feel light-headed or weak, treat it as bleeding and get checked the same day.
Varices: swollen veins in the food pipe or stomach caused by portal hypertension, usually from cirrhosis. Variceal bleeding can be heavy; see portal hypertension.
Gastritis and oesophagitis: inflammation from acid, alcohol or medicines.
Mallory-Weiss tear: a tear at the junction of the food pipe and stomach after forceful vomiting, often after alcohol.
Tumours: stomach or oesophageal cancers and GISTs can bleed, sometimes slowly, causing anaemia.
Blood thinners such as aspirin, clopidogrel, warfarin and newer anticoagulants increase the risk and severity of bleeding from any of these sources.
Assessment in Hospital
The first priority is resuscitation, which means securing intravenous access, giving fluids, checking haemoglobin, clotting and kidney function, and transfusing blood when needed. Doctors use validated scores, such as the Glasgow-Blatchford score, to judge how serious the bleed is and how urgently endoscopy is needed. A small number of very low-risk patients can be managed as outpatients.
Acid-suppressing medicine is started. If variceal bleeding is suspected, for example in someone with known cirrhosis, specific drugs that lower portal pressure and preventive antibiotics are given straight away. Blood-thinning medicines are reviewed with the prescribing doctor; some may be paused, but stopping them carries its own risks, so this is decided case by case.
Endoscopy: Finding and Stopping the Bleed
Upper GI endoscopy is the key test and, in most cases, the treatment. Guidelines recommend it within about 24 hours of admission, sooner for unstable patients. Through the endoscope, bleeding ulcers can be treated with metal clips, injection of adrenaline, heat (thermal coagulation) or haemostatic powder, often in combination. Varices are treated with band ligation, and stomach varices sometimes with glue injection. Biopsies are taken where needed, including testing for H. pylori. For what the procedure involves, see what to expect during a gastroscopy.
If Endoscopy Cannot Control the Bleeding
A second endoscopy is often tried if bleeding recurs. If that fails, an interventional radiologist can block the bleeding artery from inside (angio-embolisation), or surgery is performed to under-run the bleeding vessel or remove the bleeding area. For variceal bleeding that cannot be controlled, options include a temporary balloon or stent and a TIPS procedure. Having endoscopy, interventional radiology and surgical teams available together is what makes these escalation steps safe.
Preventing a Further Bleed
Eradicating H. pylori, avoiding NSAID painkillers, reviewing the need for blood thinners, stopping alcohol and continuing acid suppression for the prescribed period all reduce the chance of re-bleeding. People with varices continue banding sessions and medicines, with assessment of their liver disease; see living with liver cirrhosis.
When to Go to Hospital Now
Vomiting blood or coffee-ground material, even a small amount.
Black, tarry stools.
Dizziness, fainting, breathlessness, a racing heart or cold, clammy skin.
Any bleeding in someone with cirrhosis or on blood thinners.
Go directly to an emergency department, or call an ambulance (108 or 112 in India) if you feel faint. Do not drive yourself.
Related reading
Patient guides from Dr. Babu Elangovan on upper gi bleeding.
One booking line for every location; timings can change, so please confirm when you book. All locations
Frequently asked questions
Can iron tablets or food make my stools black?
Yes. Iron tablets, some antacids and dark foods can darken stools, but the stool stays formed and there is no dizziness. Bleeding produces black, sticky, tar-like stools with a strong smell. If in doubt, get checked the same day.
What causes vomiting of blood?
The most common causes are bleeding peptic ulcers, varices in people with liver disease, inflammation of the stomach or food pipe, and tears after forceful vomiting. Any vomiting of blood needs urgent medical assessment.
What do black stools mean?
Black, sticky, tar-like stools (melaena) usually mean bleeding from the upper digestive tract. Iron tablets can also darken stools, but if you are unsure, seek medical advice promptly.
How is an upper GI bleed stopped?
Most bleeds are controlled during endoscopy using clips, injections, heat treatment or band ligation. If that fails, angio-embolisation by interventional radiology or surgery may be needed.
How soon is endoscopy done?
Guidelines recommend endoscopy within about 24 hours of admission for most patients, and sooner for those who are unstable after resuscitation.
Should I stop my blood thinner after a bleed?
Do not stop it on your own. The decision balances the risk of further bleeding against the risk of a heart attack or stroke, and is made with your cardiologist or physician.
Will I need surgery for GI bleeding?
Most people do not. Surgery is reserved for bleeding that cannot be controlled by endoscopy or interventional radiology, or for underlying problems such as some tumours.