Vomiting Blood

This is when you vomit blood. The blood might be bright red or look like coffee grounds. It usually means there's bleeding somewhere in your upper stomach or intestines.

Condition

What people with Vomiting Blood report

Every report comes from a Lived member, sent anonymously.

Have you had Digestive Endoscopy for Vomiting Blood?

NameHow it went

About Vomiting Blood

What It Is

Vomiting blood, called hematemesis in medical terms, means throwing up stomach contents that contain blood. The blood may be bright red or dark red, or it may look like coffee grounds, which happens when stomach acid has partly digested it. It can be mixed with food or be mostly blood. Vomiting blood is a symptom rather than a disease in itself. It usually means something is bleeding in the upper digestive tract: the esophagus (the tube that carries food to the stomach), the stomach or the first part of the small intestine. The same bleeding can also turn stool black and tarry. Because the amount of blood is hard to judge by eye and bleeding can increase quickly, vomiting blood is treated as a sign that needs prompt medical assessment. Some things can look similar. Blood coughed up from the lungs, or blood swallowed during a nosebleed or after dental work and then vomited, can be hard to tell apart from bleeding that starts in the stomach. Working out where the blood came from is one of the first steps in an assessment.

Causes & Risk Factors

Most vomited blood comes from a damaged spot in the lining of the upper digestive tract. Peptic ulcers, open sores in the stomach or the first part of the small intestine, are a leading cause. They most often result from infection with Helicobacter pylori (H. pylori), a common stomach bacterium, or from regular use of nonsteroidal anti-inflammatory drugs (NSAIDs) such as aspirin, ibuprofen and naproxen. Gastritis (an inflamed stomach lining) and esophagitis (an inflamed esophagus, often from acid reflux) can also bleed, and heavy alcohol use can contribute to gastritis. In people with cirrhosis, scarring of the liver raises pressure in the veins that drain the gut. This can create varices, enlarged veins in the esophagus or stomach that can burst and bleed heavily. Forceful or repeated vomiting and retching can tear the lining of the lower esophagus (a Mallory-Weiss tear), which often produces streaks of blood. Less common causes include tumors of the esophagus or stomach, abnormal blood vessels in the digestive tract and blood clotting disorders. Blood thinners, such as warfarin or apixaban (Eliquis), do not create a bleeding spot on their own, but they can make bleeding from an ulcer or other source more likely and more severe. The risk is higher when they are combined with NSAIDs or aspirin, and in people who have had digestive bleeding before.

How It's Diagnosed

Assessment starts with questions about how much blood there was, its color, when the vomiting began, recent nosebleeds or heavy coughing, alcohol use and every medicine taken, including over-the-counter pain relievers and blood thinners. A clinician checks blood pressure and heart rate, since a fast pulse or low blood pressure can signal significant blood loss. Blood tests show how much blood may have been lost and whether anemia (a low red blood cell count) has developed. They also check clotting and liver function. In the emergency department, this information helps clinicians judge risk: some people with very small, stable bleeds can safely go home with prompt follow-up, while others need to stay in the hospital. The main test is upper endoscopy, in which a thin, flexible tube with a camera is passed through the mouth to look at the esophagus, stomach and first part of the small intestine. For people admitted with bleeding, guidelines suggest endoscopy within 24 hours. It can usually find the source and often treat it during the same procedure, and small tissue samples can be taken, for example to test for H. pylori. If endoscopy does not find or control the bleeding, imaging such as a computed tomography (CT) scan or angiography (an X-ray of the blood vessels using dye) may be used.

Treatment Options

Treatment has two jobs: stabilize the person and stop the bleeding, then treat the cause so it does not happen again. Someone who has lost a lot of blood may receive intravenous fluids and, when needed, a blood transfusion. Guidelines favor deciding on a transfusion from the hemoglobin level in blood tests and how stable the person is, rather than giving blood routinely. During endoscopy, doctors can stop many bleeding points directly by injecting medicine, sealing a vessel with heat, placing small clips or spraying a powder that helps blood clot. When a bleeding ulcer is treated this way, high doses of a proton pump inhibitor (PPI), a medicine that strongly reduces stomach acid such as pantoprazole or omeprazole, are given for several days and then continued by mouth to help the ulcer heal and lower the chance of rebleeding. If endoscopy cannot control ulcer bleeding, a radiologist may block the bleeding vessel through a catheter, and surgery is occasionally needed. If H. pylori is found, a course of antibiotics combined with acid-reducing medicine treats the infection, followed by a test to confirm it is gone. Bleeding varices in people with cirrhosis are handled differently. Care usually combines medicines that lower pressure in the veins, preventive antibiotics, and banding, in which small rubber bands are placed around the veins through the endoscope. For some people at high risk, doctors create a shunt inside the liver (a transjugular intrahepatic portosystemic shunt, or TIPS) to reduce the pressure, and the same procedure can be used when bleeding continues despite banding and medicines.

What to Expect

What happens next depends mostly on the cause and how much blood was lost. A bleeding ulcer is treated with acid-reducing medicine while it heals, and treating H. pylori, when it is present, removes one of the main causes of ulcers. Bleeding from varices is more serious, because it reflects advanced liver disease and can recur, so it usually leads to ongoing liver care and follow-up endoscopies. Many people spend at least a night or two in the hospital for monitoring, and some need repeat endoscopy if bleeding returns. Feeling tired or short of breath for a while afterward can reflect anemia, which may need iron or follow-up blood tests. Afterward, a review of medicines is an important part of preventing another bleed. Your doctor may advise stopping or limiting NSAIDs, changing how a blood thinner is used, or adding a medicine that protects the stomach. Do not stop a prescribed blood thinner or aspirin on your own, since the reason it was prescribed still matters. Avoiding alcohol (stopping completely if the liver is affected) and not smoking also help ulcers and the liver heal.

When to Seek Help

Vomiting blood, whether bright red, dark red or like coffee grounds, should be examined right away. Go to an emergency department now, even if the amount seemed small or you feel well, because it is not possible to judge the size or source of the bleeding at home. Call 911 if you vomit a large amount of blood or keep vomiting blood, or if blood in the vomit comes with fainting, confusion, a racing heartbeat, or pale, cold and sweaty skin. These are signs of heavy blood loss and shock, which is life-threatening. After treatment, vomiting blood again or new black, tarry stools can mean the bleeding has returned and need urgent assessment right away, just like the first episode. Call 911 if they come with fainting, lightheadedness, a racing heartbeat or the other signs of shock above. Contact your care team promptly if you notice growing tiredness or shortness of breath with activity, which can mean anemia is worsening. Iron tablets can also darken stool, so ask your care team what to expect if you take them.

Questions to Ask Your Doctor

  1. 1.What do you think caused the bleeding, and how sure are we about the source?
  2. 2.Do any of my medicines, including pain relievers or blood thinners, need to change, and what should I do instead?
  3. 3.Did I have an H. pylori test, and if I was treated, when will we check that the infection is gone?
  4. 4.What signs would mean the bleeding has come back, and who should I contact?
  5. 5.Will I need a follow-up endoscopy or blood tests, and when?

Last reviewed • Oct 2026

Educational content, not medical advice.