Vomiting Blood
Overview
Vomiting blood means bringing up blood from your stomach or from your food pipe (the esophagus — the tube that carries food from your mouth down to your stomach). Doctors call it hematemesis (say "hee-mat-EM-uh-sis"). The blood may look bright red and fresh, or dark brown and grainy like coffee grounds — the colour depends on how long the blood has been sitting in your stomach. It is not the same as coughing up blood, which comes from the lungs. Vomiting blood is always a reason to get medical help quickly, because it can come from a bleeding ulcer, an inflamed stomach lining, or swollen veins in the food pipe, and some of these need urgent treatment.
Key facts
- Vomiting blood is treated as an emergency until a doctor proves otherwise — seek help the same day, and call emergency services if the bleeding is heavy or you feel faint.
- Bright red blood and dark "coffee ground" material both count as vomiting blood.
- Black, sticky, tar-like stools can be another sign of bleeding somewhere in the stomach or upper gut.
- Many causes are treatable, and most people recover well with prompt medical care.
It is not common in everyday life, but it is one of the more frequent reasons people are taken to hospital with a digestive problem. Most people who vomit blood need tests, and many need to stay in hospital for a short while.
It can affect anyone at any age. It is more likely in adults who have stomach ulcers, liver disease or a history of heavy alcohol use, and in people who take blood-thinning medicines or regular anti-inflammatory painkillers. In children, swallowed blood from a nosebleed or a mouth injury is a common cause.
Symptoms
- Vomiting a large amount of blood, or blood that keeps coming
- Vomiting blood and then feeling faint, passing out, or being hard to wake
- Cold, clammy, pale or bluish skin
- Fast or difficult breathing
- Confusion, restlessness or unusual sleepiness
- Black, tar-like stools together with weakness, dizziness or a racing heart
- Severe belly pain with a hard or swollen tummy
- Vomiting blood in someone with known liver disease or a history of heavy alcohol use
- ⚠Small streaks of blood in vomit, even if you feel well
- ⚠One episode of coffee-ground vomit
- ⚠Black stools noticed in the last day or two
- ⚠Vomiting that will not stop, or keeps coming back
- ⚠Feeling very tired, breathless or unusually pale
Common symptoms
- Vomiting bright red blood
- Vomiting dark brown or black material that looks like coffee grounds
- Feeling sick or retching before the blood comes up
- Pain or a burning feeling in the upper belly
- Black, sticky, tar-like stools (called melena — say "muh-LAY-nuh")
- Feeling dizzy, lightheaded or weak
- Pale, cold or clammy skin
- A fast heartbeat, or feeling like your heart is pounding
- Feeling very thirsty, or passing much less urine than usual
- Confusion or difficulty staying awake (this is an emergency sign)
Symptoms in children
- Swallowed blood from a nosebleed or a cut in the mouth is a very common cause in children
- Vomit that looks bloody or coffee-coloured, sometimes after a forceful coughing or vomiting illness
- Pale skin, tiredness or being unusually floppy or sleepy
- Young children may not be able to explain what is wrong — trust what you see
- Take a photo of the vomit, or keep the container, so the doctor can see exactly what it looked like
Symptoms in older adults
- Bleeding can be heavier and start faster, especially in people taking blood thinners
- There may be little or no belly pain, even with a serious cause
- Confusion, dizziness, a fall, or sudden weakness can be the first sign
- Black stools or worsening tiredness may be the main clue
- Older adults can become unwell quickly, so it is safer to get help early rather than wait
Causes
Main causes
- A peptic ulcer — an open sore in the stomach or the first part of the gut
- Inflammation of the stomach lining (gastritis), often from alcohol, infection or painkillers
- A small tear at the join between the food pipe and the stomach, caused by forceful retching or vomiting
- Swollen veins in the food pipe (varices), usually linked to liver disease
- Swallowed blood from a nosebleed, mouth injury or dental work
- Inflammation or irritation of the food pipe (esophagitis)
- Growths in the stomach or food pipe, including cancer — less common but important to rule out
- Blood-thinning medicines or regular anti-inflammatory painkillers that make the stomach lining bleed more easily
- Bleeding problems caused by a liver condition or a blood-clotting disorder
Risk factors
- A past ulcer, or infection with the stomach germ Helicobacter pylori (say "hee-lick-oh-BAK-ter pie-LOR-eye")
- Liver disease or scarring of the liver (cirrhosis)
- Heavy or long-term alcohol use
- Smoking
- Regular use of anti-inflammatory painkillers or blood-thinning medicines
- A bleeding or clotting disorder
- Severe illness with repeated vomiting
- Older age, especially when combined with the factors above
When to see a doctor
See a doctor urgently if:
- You have vomited any amount of blood, even a small streak
- You have vomited material that looks like coffee grounds
- You have noticed black, tar-like stools
- You feel dizzy, lightheaded, breathless or unusually tired
- You have ongoing belly pain or a burning feeling in your upper tummy
- You take blood thinners and notice any bleeding
Book a routine appointment if:
- You have had heartburn, indigestion or stomach discomfort for more than a few weeks
- You have been told before that you have an ulcer or Helicobacter pylori infection
- You regularly take anti-inflammatory painkillers and want to review them
- You have a family history of stomach or food-pipe problems
- You want advice about alcohol, smoking or weight and how they affect your stomach
Diagnosis
A doctor will start by asking what the blood looked like, how much there was, and how you feel. They will check your pulse, blood pressure and belly, and look for signs of blood loss such as paleness or dizziness. Blood tests and a camera test of the stomach are usually the next steps. The aim is to find the exact source of the bleeding and how much blood you have lost.
Tests that may be done
- Blood tests to check your blood count, clotting and liver and kidney function
- A camera test called an endoscopy (say "en-DOSS-kuh-pee") — a thin, flexible tube with a light passes down your throat while you are sedated, so the doctor can see the bleeding point and often treat it at the same time
- A stool test to confirm bleeding in the gut
- Tests for Helicobacter pylori infection
- A scan such as an ultrasound or CT scan if the endoscopy does not find the cause
- A sample (biopsy) taken during the endoscopy if the doctor needs to look at the tissue more closely
What to expect at your appointment
In hospital you will usually be asked not to eat or drink until the doctors have assessed you. You may be given fluids through a drip, and your blood pressure and pulse will be checked regularly. An endoscopy is usually done within a day, and you will be given medicine to keep you comfortable. Most people find the test easier than they expected, and it often allows the doctor to stop the bleeding straight away.
Treatment
Treatment depends on the cause, but the first step is always the same: make sure you are safe, replace any lost fluid, and stop the bleeding. Many people need a short stay in hospital for monitoring and an endoscopy. After the bleeding is controlled, the focus shifts to treating the underlying problem and lowering the chance of it happening again.
Self-care at home
- Do not eat or drink anything until a doctor has assessed you — this keeps you safe if a procedure is needed
- Arrange for someone to stay with you and to drive you home if you are seen as an outpatient
- Avoid alcohol completely while you are recovering and while your stomach heals
- Do not take anti-inflammatory painkillers or blood thinners unless your doctor has reviewed them — never stop a prescribed medicine without asking first
- Eat small, gentle meals and build back up gradually as you feel better
- Keep a note of your symptoms, including the colour of your vomit and stools, so you can tell your doctor
- Take any iron or other supplements your doctor recommends, and keep follow-up appointments
Medical treatments
Doctors first steady your circulation with fluids through a drip and, if you have lost a lot of blood, a blood transfusion. An endoscopy is usually the main treatment: the doctor can inject, clip, seal or band the bleeding point to stop it. Medicines are also used — for example, acid-reducing medicines to help ulcers heal, antibiotics if a stomach infection is found, and medicines to lower the pressure in swollen veins when liver disease is the cause. Any medicine you take at home for another condition, such as a blood thinner, will be reviewed carefully so the balance of risks is right for you.
When is surgery considered?
Surgery is needed only in a small number of cases — for example, when bleeding cannot be stopped during an endoscopy, when it keeps coming back, or when a growth or a badly damaged part of the gut needs to be removed. Most people are treated with an endoscopy and medicines and do not need an operation.
Living with this condition
Most people recover well, but it can take a few weeks to get your strength and appetite back, especially if you lost a lot of blood. Tiredness is common at first. Build your activities back up slowly, and follow your doctor's advice about work, driving and exercise. Keep taking any prescribed medicines, and go to your follow-up appointments even if you feel fine.
Lifestyle tips
- Cut out alcohol while you heal, and consider staying well within low-risk limits afterwards
- If you smoke, ask for help to stop — smoking slows healing and raises the risk of ulcers returning
- Tell every doctor, dentist and pharmacist that you have had a bleed in your stomach
- Check with a pharmacist or doctor before taking any over-the-counter painkiller
- Eat regular meals and avoid long gaps without food if you have had an ulcer
- Manage stress where you can, and protect your sleep
- Keep a simple symptom diary if you are prone to stomach problems
Diet and exercise
There is no single "ulcer diet", but gentle, regular meals suit most people while they recover. Some find that very spicy, fatty or acidic foods, coffee and fizzy drinks make symptoms worse — if so, cut back and see how you feel. Eat slowly and avoid very large meals. Once you feel ready, gentle activity such as walking helps your circulation and mood; wait for your doctor's go-ahead before returning to heavy lifting or strenuous exercise.
Mental health and emotional wellbeing
Vomiting blood is frightening, and it is completely normal to feel shaken afterwards. Some people worry constantly that it will happen again, have trouble sleeping, or feel low for a while. These feelings usually ease with time and support. Talk to your doctor if anxiety or low mood is affecting your sleep, appetite or daily life — effective help is available.
Prevention
Not every case can be prevented, but you can lower your risk. Get stomach ulcers and Helicobacter pylori infection treated, keep alcohol within low-risk limits, do not smoke, and use anti-inflammatory painkillers only when needed and as advised. If you take blood thinners, keep your review appointments so your dose and monitoring stay right. Tell your doctor promptly about indigestion, black stools or any bleeding.
Vaccines
There is no vaccine that prevents vomiting blood itself. Some liver conditions that can lead to bleeding in the food pipe can be prevented — hepatitis B vaccination, for example. Ask your doctor which vaccinations are recommended for you.
Screening programmes
There is no general screening test for vomiting blood. Testing and treating Helicobacter pylori is recommended for some people with ulcers or a strong family history, and people with liver disease are offered regular checks for swollen veins. Ask your doctor whether any of these apply to you.
Complications
If left untreated
- Losing a large amount of blood, which can cause severe anaemia and dangerous falls in blood pressure
- Shock, where the body's organs do not get enough blood — this is life-threatening
- Breathing problems if vomited blood gets into the lungs
- The bleeding coming back, sometimes days later
- Complications of the underlying cause, such as a liver condition getting worse
- Ongoing tiredness and weakness while the blood count recovers
Long-term outlook
The outlook is good for most people, especially when help is sought early. Many causes, such as ulcers and inflammation, can be treated effectively, and the bleeding usually stops with an endoscopy and medicines. Some people need a longer period of care, particularly if they have liver disease. The most important thing you can do is act quickly when symptoms appear and keep your follow-up appointments.
Find support
External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.
Always verify with your doctor
Health guidance differs by country and region. This page is general education and may not match the guidelines, medicines, or practice where you live. Discuss your concerns with your own doctor or healthcare provider, and follow local guidance where it exists.
Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.
Related conditions
Sources and guidance
No guideline names this topic
No health guideline or clinical chapter that names this exact topic is cited here. This page is for general education and information only. It is not a diagnosis, a treatment plan, or personal medical advice. Check with your own doctor and follow their advice. If symptoms are severe, sudden, or worrying, get medical care promptly, and call your local emergency number in an emergency. Ruqelo LLC is not responsible for medical or legal outcomes from decisions based on this information.
Last updated: November 3, 2026
Educational note: This information is for education only and is not a diagnosis.
Use it to support, not replace, advice from a licensed clinician.
If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.
Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.