For general information only. This library does not replace advice, diagnosis or treatment from a qualified health professional. In an emergency, call 911.

Library / Conditions

Gastrointestinal bleeding

Gastrointestinal bleeding is bleeding anywhere in the digestive tract, from the esophagus to the rectum, and can range from minor to life-threatening.

Clinician view: includes diagnostic criteria, management and safety detail.

Overview

Gastrointestinal bleeding, often called a GI bleed, means bleeding somewhere inside your digestive tract. The medical name is gastrointestinal hemorrhage. Your digestive tract (also called the GI tract) is the long tube that carries food from your mouth to your bottom. It includes the esophagus (the food pipe), the stomach, the small intestine, the large intestine (colon), the rectum and the anus.

GI bleeding is not a disease on its own. It is a sign that something is wrong somewhere along this tube. The cause can be something small, such as a tear near the anus, or something serious, such as a bleeding ulcer or a cancer. Some bleeding is slow and hidden, and you may only find out because a blood test shows a low red blood cell count. Other bleeding is sudden and heavy and needs emergency care.

Doctors usually split GI bleeding into two main groups:

  • Upper GI bleeding comes from the esophagus, stomach or the first part of the small intestine (the duodenum).
  • Lower GI bleeding comes from further down, most often the colon, rectum or anus.

Knowing where the bleeding comes from helps your care team choose the right tests and treatment. Many GI bleeds stop on their own, and most people recover well, especially when the cause is found and treated.

Symptoms

What you notice depends on where the bleeding is, how fast it is and how much blood is lost.

Signs you may see

  • Vomiting blood (hematemesis). It may be bright red, or dark brown and grainy like coffee grounds. This usually points to bleeding in the upper GI tract.
  • Black, sticky, tar-like stools (melena). These often have a strong smell. Black stools mean blood has been partly digested on its way through, which usually means the bleeding started higher up.
  • Bright red or maroon blood in or on your stool (hematochezia). This most often comes from the colon, rectum or anus. A very fast upper GI bleed can also cause it.
  • Blood on the toilet paper after wiping, which is often from hemorrhoids or a small tear.

Signs of blood loss

Slow, hidden bleeding may cause no obvious blood at all. Instead, you may notice signs of anemia (a low number of red blood cells), such as:

  • Feeling very tired or weak
  • Pale skin
  • Shortness of breath, especially with activity
  • A fast or pounding heartbeat

Heavy or sudden bleeding can cause dizziness or fainting, especially when you stand up, cold and clammy skin, confusion, and very little urine. These are signs of shock and need emergency care.

Some foods and medicines can turn stool dark without any bleeding, for example iron tablets, bismuth stomach medicines, black licorice and blueberries. If you are not sure, it is safest to check with a health professional.

Causes

Common causes of upper GI bleeding

  • Peptic ulcers: open sores in the lining of the stomach or duodenum. They are one of the most common causes. Ulcers are often linked to a stomach infection called Helicobacter pylori (H. pylori) or to pain medicines such as ibuprofen, naproxen and aspirin.
  • Inflammation of the esophagus or stomach (esophagitis or gastritis), often from acid reflux, alcohol or anti-inflammatory medicines.
  • Varices: swollen veins in the esophagus or stomach. They form in people with serious liver scarring (cirrhosis) and can bleed heavily.
  • Mallory-Weiss tear: a tear in the lining where the esophagus meets the stomach, usually after forceful vomiting or retching.
  • Tumours of the esophagus or stomach, which are less common.

Common causes of lower GI bleeding

  • Diverticular bleeding: bleeding from small pouches (diverticula) in the wall of the colon. This is a common cause in older adults and is usually painless.
  • Hemorrhoids: swollen veins in or around the anus. They often cause bright red blood on the toilet paper.
  • Anal fissures: small tears in the skin of the anus, which are often painful when you pass stool.
  • Angiodysplasia: small, fragile blood vessels in the gut wall, more common with age.
  • Inflammatory bowel disease, such as ulcerative colitis and Crohn's disease.
  • Infections that inflame the bowel and cause bloody diarrhea.
  • Ischemic colitis: injury to part of the colon from reduced blood flow.
  • Polyps and colorectal cancer. Polyps are growths in the colon. Some can bleed, and some can turn into cancer over time.
  • Bleeding after a polyp is removed during a colonoscopy, which can happen days later.

Sometimes the bleeding comes from the small intestine, which is harder to reach with standard tests.

Risk factors

You may be more likely to have GI bleeding if you:

  • Take nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen, naproxen or diclofenac, especially often or at high doses
  • Take aspirin, even at a low daily dose for your heart
  • Take blood thinners (anticoagulants), such as warfarin, apixaban, rivaroxaban or dabigatran, or antiplatelet medicines such as clopidogrel
  • Take certain other medicines along with NSAIDs, such as steroids or some antidepressants
  • Have an H. pylori infection or have had an ulcer before
  • Drink a lot of alcohol
  • Have liver cirrhosis
  • Smoke
  • Are older, especially over 60
  • Have kidney disease, heart disease or a bleeding disorder
  • Have diverticular disease or inflammatory bowel disease

Never stop a blood thinner or aspirin that was prescribed for you without talking to your doctor first. Stopping suddenly can raise your risk of a stroke or heart attack.

Diagnosis

If you are bleeding heavily, your care team will first make sure you are stable. Finding the cause comes next. They will ask about your symptoms, the colour of any blood or stool, your medicines and alcohol use, and any past ulcers or liver problems.

Common tests

  • Blood tests to check your red blood cell level (hemoglobin), how well your blood clots, your kidney and liver function, and your blood type in case you need a transfusion.
  • A rectal exam, where a doctor gently checks the rectum with a gloved finger to look for blood or dark stool.
  • Upper endoscopy (also called gastroscopy or EGD). A thin, flexible tube with a camera goes through your mouth into the esophagus, stomach and duodenum. It is the main test for upper GI bleeding, and doctors can often treat the bleeding during the same test.
  • Colonoscopy. A similar tube goes in through the anus to look at the colon and rectum. You will usually drink a bowel-cleansing liquid first so the doctor can see clearly.
  • Flexible sigmoidoscopy, a shorter version that looks at the lower part of the colon.
  • CT angiography. A CT scan with a contrast dye injected into a vein can show where active bleeding is coming from.
  • Capsule endoscopy. You swallow a pill-sized camera that takes pictures of your small intestine. It is used when other tests do not find the cause.
  • Stool tests that look for hidden blood you cannot see.

Your doctor may also use a scoring system that combines your test results and symptoms. It helps decide whether you can safely be cared for at home or need to stay in hospital.

Treatment

Treatment depends on how much you are bleeding, where it comes from and what is causing it. Many bleeds stop on their own, but you still need the cause treated so it does not come back.

Emergency care for heavy bleeding

  • Fluids through a vein (an IV) to support your blood pressure.
  • Blood transfusion if your red blood cell level is low or you are still bleeding heavily.
  • Treatment to help your blood clot if you take a blood thinner or have a clotting problem.

Treatment during endoscopy or colonoscopy

Doctors can often stop bleeding during the test itself. They may inject medicine into the bleeding spot, seal it with heat, place tiny metal clips, or put small rubber bands around bleeding varices (called band ligation).

Medicines

  • Proton pump inhibitors (PPIs), such as pantoprazole, omeprazole and esomeprazole, strongly reduce stomach acid. They help ulcers heal and lower the chance of the ulcer bleeding again.
  • Antibiotics to clear an H. pylori infection if you have one. This greatly lowers the chance of the ulcer coming back.
  • Octreotide or terlipressin, which lower blood pressure in the veins of the gut, may be used for bleeding varices. People with cirrhosis who are bleeding are also given antibiotics to prevent serious infections.
  • Medicines to treat inflammatory bowel disease or other causes, if those are found.

Antacids such as calcium carbonate, magnesium hydroxide and aluminum hydroxide can ease heartburn, but they are not a treatment for GI bleeding. Do not try to treat bleeding yourself with stomach remedies.

Other procedures

  • Embolization: a specialist passes a thin tube through a blood vessel to the bleeding site and blocks the vessel. This is used when endoscopy cannot stop the bleeding.
  • TIPS (a shunt placed inside the liver) for some people with varices that keep bleeding.
  • Surgery, which is needed less often today but may be used if other treatments do not work.

Your regular medicines

Your care team will review any NSAIDs, aspirin or blood thinners you take. They will decide whether to pause, change or restart them, and when. Do not make these changes on your own.

Recovery and self-care

After a GI bleed, you may feel tired for a few weeks while your body rebuilds its blood supply. These steps can help:

  • Take your medicines exactly as prescribed, including the full course of any antibiotics for H. pylori.
  • Ask whether you need a test later to confirm the H. pylori infection has gone.
  • Avoid NSAIDs such as ibuprofen and naproxen unless your doctor says they are safe for you. Check labels on cold and flu products, which sometimes contain them. Ask a pharmacist which pain reliever is safest for you.
  • Limit or avoid alcohol, and get help to stop smoking.
  • Eat iron-rich foods, and take iron supplements if your doctor recommends them. Iron can turn your stool dark, which is expected.
  • Eat enough fibre and drink enough water to keep stools soft, which helps with hemorrhoids, fissures and diverticular disease.
  • Go to all follow-up visits and repeat tests, such as a repeat endoscopy or blood counts.
  • Learn the warning signs of bleeding again and know when to get help.

Complications

  • Anemia from blood loss, which can cause tiredness and shortness of breath.
  • Shock from heavy, fast blood loss, which can damage the kidneys, heart and brain if not treated quickly.
  • Heart strain, including chest pain or a heart attack, especially in people who already have heart disease.
  • Rebleeding, when bleeding starts again after it has stopped.
  • Aspiration, when vomited blood is breathed into the lungs.

Outlook

Most people with GI bleeding recover, and the bleeding often stops on its own or with treatment during endoscopy. The outlook depends mostly on the cause, how much blood was lost, your age and your other health conditions. Bleeding from varices in people with cirrhosis, and bleeding in older adults with serious heart, lung or kidney disease, carry higher risks. Treating the cause, such as clearing H. pylori or stopping NSAIDs, greatly lowers the chance that bleeding will return.

Prevention

  • Use NSAIDs only when needed, at the lowest effective dose for the shortest time, and ask your doctor or pharmacist first if you have had an ulcer or take a blood thinner.
  • If you need long-term NSAIDs or aspirin and are at high risk, ask whether a stomach-protecting medicine such as a PPI is right for you.
  • Get tested and treated for H. pylori if your doctor recommends it.
  • Limit alcohol, and do not smoke.
  • If you have cirrhosis, follow your liver team's advice on screening and treatment for varices.
  • Take part in colorectal cancer screening when you are eligible. It can find polyps before they bleed or become cancer.
  • Eat a high-fibre diet and stay hydrated to help prevent constipation and hemorrhoids.

In the United States

In the United States, hemoglobin is usually reported in g/dL. The US Preventive Services Task Force recommends colorectal cancer screening for average-risk adults aged 45 to 75, using stool tests or colonoscopy. Most private insurance plans and Medicare cover recommended screening.

Assessment and risk stratification

Classify as upper (proximal to the ligament of Treitz) or lower; small-bowel bleeding accounts for a minority of cases. Melena and hematemesis suggest an upper source; brisk hematochezia with hemodynamic instability can also be upper. An elevated BUN-to-creatinine ratio favours an upper source.

  • Initial work-up: CBC, coagulation profile, renal and liver panels, group and crossmatch, review of anticoagulants, antiplatelets and NSAIDs.
  • Upper GI bleeding: the Glasgow-Blatchford score identifies very low-risk patients suitable for outpatient management (score 0 to 1 per ACG 2021; score 0 per NICE CG141). Use the full Rockall score after endoscopy.
  • Lower GI bleeding: the Oakland score helps identify low-risk patients for discharge.

Management

  • Resuscitation: large-bore IV access, crystalloid, and a restrictive transfusion strategy (hemoglobin threshold around 70 g/L (7 g/dL), around 80 g/L (8 g/dL) with cardiovascular disease). Avoid over-transfusion in variceal bleeding.
  • Upper GI bleeding: endoscopy within 24 hours of presentation after resuscitation. Endoscopic therapy for high-risk stigmata (active bleeding, non-bleeding visible vessel), using thermal coagulation, clips, or epinephrine injection combined with a second modality. Pre-endoscopy IV erythromycin may improve visualisation. High-dose PPI after successful hemostasis of high-risk ulcers, continued for about 72 hours, then oral PPI. Test for H. pylori and eradicate; repeat testing if initial biopsy or test is negative during acute bleeding.
  • Suspected variceal bleeding: vasoactive therapy (octreotide or terlipressin) started early, prophylactic antibiotics (e.g. ceftriaxone) in cirrhosis, and band ligation within 12 hours (Baveno VII). Consider pre-emptive TIPS in high-risk patients.
  • Lower GI bleeding: colonoscopy after bowel preparation for most admitted patients. CT angiography first in hemodynamically unstable patients, followed by catheter embolization where a source is identified. Consider upper endoscopy to exclude an upper source in unstable patients or when an upper source is suspected (e.g. elevated BUN-to-creatinine ratio).
  • Antithrombotics: hold warfarin and DOACs in serious bleeding and reverse as needed (prothrombin complex concentrate and vitamin K for warfarin; specific reversal agents for DOACs in life-threatening bleeding). Generally continue aspirin for secondary prevention or resume within days; involve cardiology for dual antiplatelet therapy. Discuss timing of anticoagulant resumption, often around 7 days for warfarin, individualised to thrombotic and rebleeding risk.
  • Tranexamic acid is not recommended for GI bleeding (HALT-IT trial showed no mortality benefit and more venous thromboembolism).

Red flags and prognosis

Red flags include hemodynamic instability, ongoing hematemesis or hematochezia, cirrhosis, age over 65 with comorbidity, and anticoagulant use. Rebleeding after endoscopic therapy warrants repeat endoscopy; failure should prompt transcatheter embolization or surgery. Overall mortality for upper GI bleeding is driven largely by comorbidity and is higher in variceal bleeding. Secondary prevention includes H. pylori eradication, avoiding NSAIDs, and PPI co-therapy for patients who need ongoing antithrombotics.

When to get medical help

See a doctor soon if you:

  • Notice blood on toilet paper or in your stool, even a small amount, especially if it is new or keeps happening
  • Have black stools and you are not taking iron or bismuth
  • Feel more tired, short of breath or pale than usual
  • Have a change in bowel habits that lasts more than a few weeks
  • Are over 45 and have any rectal bleeding you have not had checked

Call emergency services or go to the nearest emergency department right away if you:

  • Vomit blood or material that looks like coffee grounds
  • Pass large amounts of red or maroon blood, or black, tarry stools
  • Feel dizzy, faint or confused, or pass out
  • Have a fast heartbeat, cold and clammy skin or trouble breathing
  • Have severe belly pain
  • Have any of these signs and take a blood thinner or have liver disease

In an emergency, call 911.

References

  1. U.S. National Library of Medicine. MeSH: Gastrointestinal Hemorrhage. meshb.nlm.nih.gov
  2. MedlinePlus: Gastrointestinal bleeding. medlineplus.gov/gastrointestinalbleeding.html
  3. NIDDK: Gastrointestinal bleeding. niddk.nih.gov/health-information/digestive-diseases/gastrointestinal-bleeding
  4. NICE: Acute upper gastrointestinal bleeding in over 16s: management (CG141). nice.org.uk/guidance/cg141
  5. ACG Clinical Guideline: Upper Gastrointestinal and Ulcer Bleeding (Laine et al., 2021). doi.org/10.14309/ajg.0000000000001245