WebDoctor Encyclopedia

Symptom

Vomiting Blood: Causes, Cancer Warning Signs and When to Get Help

What is vomiting blood?

Vomiting blood, which doctors call haematemesis, means bringing up blood from the upper part of the gut. The bleeding usually starts in the food pipe (oesophagus), the stomach or the first part of the small bowel (duodenum).

The vomit can look very different from person to person. Fresh bleeding is bright red and may contain clots. Blood that has sat in the stomach for a while is changed by stomach acid, so it turns dark brown or black and can look like used coffee grounds. The NHS advises that anyone vomiting blood should get medical help (NHS, 2026a).

Bleeding from the upper gut is a common emergency. A review in the BMJ put the death rate at between 2 and 10 in every 100 people admitted with it, with the risk highest in older people and those with other serious illness (Stanley and Laine, 2019). Most people recover well with prompt care, and cancer is only one of several possible causes.

Quick guide to vomiting blood

What you notice What it may mean
Bright red blood or clots Active bleeding that is happening now, often from the oesophagus or stomach
Dark brown “coffee grounds” vomit Slower bleeding, or blood that has been in the stomach for some time
A few streaks of blood after heavy retching A small tear at the lower end of the food pipe
Black, sticky, tar-like poo Blood that has passed through the gut; this is called melaena
Feeling faint, cold or sweaty Significant blood loss; call 999
Blood with long-standing indigestion or weight loss A stomach ulcer or, less often, a cancer of the stomach or oesophagus

Common non-cancer causes

Most people who vomit blood do not have cancer. The causes below are far more common, and several are linked to everyday medicines and alcohol.

Stomach and duodenal ulcers

Ulcers are open sores in the lining of the stomach or duodenum. They are the most common single cause of bleeding from the upper gut. The two main triggers are infection with Helicobacter pylori bacteria and regular use of anti-inflammatory painkillers such as ibuprofen, naproxen or aspirin (NHS, 2026b). Many ulcers cause burning pain in the upper tummy, but some bleed without any warning pain at all.

Inflammation of the stomach or gullet

Gastritis is inflammation of the stomach lining, and oesophagitis is inflammation of the food pipe, usually from acid reflux. Both can ooze small amounts of blood. Heavy drinking, smoking and anti-inflammatory painkillers make both worse.

A tear from retching

Forceful or repeated retching can split the lining where the food pipe meets the stomach. This is called a Mallory-Weiss tear. It typically happens after a bout of drinking, food poisoning or a stomach bug. The bleeding is usually small and stops on its own.

Swollen veins from liver disease

In people with cirrhosis, raised pressure in the liver’s blood supply causes swollen veins (varices) to form in the lower oesophagus and stomach. These can burst and bleed heavily. Variceal bleeding is always an emergency and needs specialist treatment in hospital.

Other causes

Swallowed blood from a nosebleed or after dental work can be vomited back up and look alarming. Blood-thinning medicines, including warfarin, the newer anticoagulants and antiplatelet drugs, make any bleeding heavier and harder to stop. Inherited bleeding disorders and poisoning are rarer causes (NHS, 2026a).

It is also worth checking where the blood is really coming from. Blood that is coughed up from the chest is frothy and bright red, and is covered on our coughing up blood page. Repeated vomiting without blood is explained on our nausea and vomiting page.

Cancers that can cause vomiting blood

Cancer is an uncommon cause of vomiting blood, but it matters because finding it early improves the chance of successful treatment. Tumours of the upper gut have fragile surface blood vessels that bleed easily, and some grow into larger vessels.

Cancer or tumour How it can cause vomiting blood
Gastric adenocarcinoma An ulcerated tumour in the stomach lining that oozes blood, often with indigestion, early fullness and weight loss
Oesophageal adenocarcinoma A tumour in the lower food pipe, often after years of reflux, which can bleed and cause trouble swallowing
Oesophageal squamous cell carcinoma A tumour in the middle or upper food pipe, linked to smoking and alcohol
Gastrointestinal stromal tumour A tumour in the stomach wall that can ulcerate and bleed suddenly, sometimes heavily
Hepatocellular carcinoma Liver cancer, usually on a background of cirrhosis, which raises the risk of bleeding varices
Marginal zone lymphoma MALT lymphoma of the stomach, linked to H. pylori, which can cause ulcers and bleeding
Diffuse large B-cell lymphoma Lymphoma in the stomach can form a bleeding ulcer
Gastrointestinal neuroendocrine tumours Rarely, a stomach or duodenal tumour bleeds
Kaposi sarcoma Purple patches in the gut lining, mainly in people with weakened immunity
Acute myeloid leukaemia Very low platelets can lead to bleeding from the stomach lining

Stomach and oesophageal cancer

The NHS lists bleeding as one of the less common symptoms of stomach cancer. Indigestion that does not go away, feeling full after eating only a little, pain at the top of the tummy and losing weight without trying are more typical early clues (NHS, 2026c). Cancers of the oesophagus more often begin with difficulty swallowing, with food sticking on the way down.

Slow, hidden bleeding from these cancers is more common than vomiting blood. It shows up as iron deficiency anaemia, with tiredness, breathlessness and pale skin. Anaemia with no clear cause in an adult is a reason for doctors to look at the upper and lower gut.

Gastrointestinal stromal tumours

GISTs grow in the muscle wall of the gut, most often in the stomach. They may cause no symptoms for a long time and then bleed into the stomach, causing vomiting of blood or black stools. Many are found by chance on a scan done for another reason.

Liver cancer and varices

Most liver cancers develop in people who already have cirrhosis, from long-term alcohol use, hepatitis B or C, or fatty liver disease. Cirrhosis itself causes varices. A tumour that grows into the main vein of the liver can raise the pressure further and make a bleed more likely.

Bleeding during cancer treatment

Some cancer treatments raise the risk of bleeding from the stomach. These include chemotherapy that lowers platelet counts, steroids given with chemotherapy, and drugs that block blood vessel growth such as bevacizumab. Anyone having cancer treatment who vomits blood should contact their 24-hour cancer helpline or call 999.

Red flags and when to see a doctor

Vomiting blood should never be ignored. The table below shows how quickly to act, based on NHS guidance (NHS, 2026a).

Situation What to do
Vomiting blood and feeling faint, dizzy, confused or very unwell Emergency: call 999
Vomiting blood with fast or shallow breathing, or cold, clammy, pale skin Emergency: call 999
Vomiting blood with tummy pain or black, tarry poo Emergency: dial 999 or go straight to A&E
Vomiting blood if you have liver disease or take blood thinners Emergency: dial 999 or go straight to A&E
A small amount of blood that has stopped, with no other symptoms Urgent GP appointment the same day, or NHS 111
Blood-streaked vomit after heavy retching that has now settled Contact NHS 111 or your GP for advice the same day
Vomiting blood during chemotherapy or targeted treatment Call your cancer team’s 24-hour helpline straight away
Ongoing indigestion, trouble swallowing or weight loss over 55 See a GP soon; you may be referred for an endoscopy

Do not drive yourself to hospital. Ask someone to take you or call an ambulance. If you can, take a list of your medicines with you, especially any blood thinners or painkillers.

Signs that suggest a cancer

Doctors think more about cancer when vomiting blood comes with:

  • indigestion or upper tummy pain lasting several weeks
  • food sticking when swallowing
  • feeling full quickly or loss of appetite
  • unexplained weight loss
  • a lump in the upper tummy
  • anaemia with no obvious cause

Tests doctors use

In hospital, the first priority is to assess and replace lost blood. Once a person is stable, doctors look for the source of bleeding.

Test What it involves What it shows
Pulse, blood pressure and blood count Checks of circulation and a blood sample How much blood has been lost and whether a transfusion is needed
Risk score Doctors combine blood results and observations, often using the Glasgow-Blatchford score Who can safely go home and who needs urgent treatment
Liver and clotting tests Blood samples Liver disease and problems with blood clotting
Upper endoscopy (gastroscopy) A thin flexible camera passed through the mouth into the stomach The bleeding point, and whether it can be treated during the test
Biopsy Small samples taken during endoscopy Cancer, lymphoma or H. pylori infection
CT scan Detailed X-ray images of the chest and tummy The size and spread of a tumour, or a bleeding point the camera could not reach
CT angiography A CT scan with dye in the blood vessels Active bleeding when endoscopy has not found the cause
Breath, stool or blood test for H. pylori A simple outpatient test Infection that can cause ulcers

Timing of endoscopy

Guidance summarised in the BMJ review recommends endoscopy within 24 hours of arrival, and sooner for people whose blood pressure or pulse shows they are unstable once resuscitation has started (Stanley and Laine, 2019). People judged to be at very low risk can sometimes have their endoscopy as outpatients.

Treatment depends on the cause

Emergency care

Treatment in hospital starts with fluids through a drip and, if needed, a blood transfusion. Doctors stop or reverse blood thinners where it is safe. Acid-reducing medicines called proton pump inhibitors are usually started. People with liver disease are given antibiotics and medicines that lower the pressure in the varices.

Stopping the bleeding

Most bleeding points can be treated during the endoscopy itself:

  • injections around an ulcer to narrow the vessel
  • heat treatment or small metal clips to seal a bleeding vessel
  • rubber bands placed around oesophageal varices

If endoscopy does not work, a radiologist can block the bleeding artery from inside (embolisation), or a surgeon may need to operate.

Treating ulcers and inflammation

Ulcers heal with several weeks of acid-reducing medicine. If H. pylori is found, a course of two antibiotics and an acid reducer is given to clear it (NHS, 2026b). Stopping anti-inflammatory painkillers and cutting down on alcohol help prevent the problem coming back.

When cancer is the cause

Treatment depends on the type of cancer and how far it has spread (National Cancer Institute, 2026). Early stomach and oesophageal cancers may be removed by surgery or, for very early tumours, through the endoscope. Chemotherapy is often given before and after surgery. GISTs are removed surgically, and those that cannot be removed or that have spread are treated with tablets such as imatinib (see imatinib and other TKIs).

When a tumour keeps bleeding and cannot be removed, a short course of palliative radiotherapy is often effective at stopping it. Bleeding from liver cancer may be treated with procedures that block the tumour’s blood supply, such as TACE.

Living with the risk of bleeding

After a bleed

Recovering from a large bleed can leave you tired and short of breath for several weeks while your body rebuilds its red blood cells. Iron tablets or an iron infusion may be advised. Eat regular balanced meals and build up activity gradually.

Medicines

Always tell a doctor or pharmacist that you have had a gut bleed before starting any new medicine. Avoid anti-inflammatory painkillers unless a doctor advises otherwise, and do not stop prescribed blood thinners without talking to your doctor first, as stopping them suddenly can be dangerous.

Alcohol and smoking

Cutting down on alcohol protects the stomach lining and the liver. Stopping smoking helps ulcers heal and lowers the long-term risk of cancers of the oesophagus and stomach.

When you have cancer

If you have a cancer of the stomach, oesophagus or liver, ask your team what to do if you notice blood in your vomit or black stools. Keep the 24-hour helpline number with you. People with low platelets during treatment should also watch for unexplained bruising or bleeding elsewhere.

Frequently asked questions

Is vomiting blood always serious?

It should always be checked. A few streaks after hard retching are often from a small tear, but you cannot be sure without medical advice. Large amounts, or blood with dizziness or black stools, are an emergency.

What does coffee grounds vomit mean?

It means blood has been in the stomach for some time and has been darkened by stomach acid. The bleeding may be slower, but it still needs urgent assessment.

Can stomach cancer cause vomiting blood?

Yes, but it is not the most common first symptom. Indigestion that does not settle, feeling full quickly and weight loss are more usual early signs.

How can I tell vomited blood from coughed-up blood?

Vomited blood usually comes with nausea and may be dark or mixed with food. Coughed-up blood is usually bright red, frothy and comes after coughing.

Can red food or drink look like blood?

Yes. Red wine, beetroot, tomato soup and red sweets can colour vomit. If you are unsure, get it checked.

Can I go home after vomiting blood?

Some people with a small bleed and a low risk score are allowed home and have tests as outpatients. This decision should be made by a doctor.

Does ibuprofen cause stomach bleeding?

It can. Anti-inflammatory painkillers are a common cause of ulcers and bleeding, especially in older people and those who also take aspirin, steroids or blood thinners.

Can I have black stools without vomiting blood?

Yes. Black, tarry stools can be the only sign of bleeding from the stomach. See our blood in stool page for more on this.

Sources & References

  1. NHS (2026a) Vomiting blood. Available at: https://www.nhs.uk/symptoms/vomiting-blood/ (Accessed: November 2026).
  2. NHS (2026b) Stomach ulcer. Available at: https://www.nhs.uk/conditions/stomach-ulcer/ (Accessed: November 2026).
  3. NHS (2026c) Symptoms of stomach cancer. Available at: https://www.nhs.uk/conditions/stomach-cancer/symptoms/ (Accessed: November 2026).
  4. National Cancer Institute (2026) Stomach Cancer Treatment (PDQ) – Patient Version. Available at: https://www.cancer.gov/types/stomach/patient/stomach-treatment-pdq (Accessed: November 2026).
  5. Stanley, A.J. and Laine, L. (2019) ‘Management of acute upper gastrointestinal bleeding’, BMJ, 364, l536. Available at: https://pubmed.ncbi.nlm.nih.gov/30910853/