A stomach ulcer often announces itself with a dull or burning pain in the upper belly, but that is not the only sign, and it is not always the first. Bloating that will not settle, pain that returns as soon as antacids wear off, black stools, and sudden dizziness can all point to an ulcer, and some of them mean it is already bleeding.
Ulcers are common and very treatable, usually with a few weeks of medication. The danger comes from ignoring them. Here are seven warning signs to know, starting with the everyday ones and ending with the emergencies.

Key Takeaways
- The most common sign of a stomach ulcer is dull or burning pain in the upper abdomen.
- Ongoing bloating, belching, heartburn, and nausea can also be ulcer symptoms.
- Black or tarry stools, vomiting blood, dizziness, and fainting suggest a bleeding ulcer and need urgent care.
- Sudden, sharp, severe abdominal pain can mean the ulcer has broken through the stomach wall.
- Many people with ulcers have no symptoms until a complication appears, so persistent stomach trouble deserves a check-up.
What a Stomach Ulcer Is
A stomach ulcer is an open sore in the lining of the stomach. Together with ulcers in the first part of the small intestine, it is known as a peptic ulcer. According to the National Institute of Diabetes and Digestive and Kidney Diseases, the two most common causes are infection with the bacterium Helicobacter pylori and regular use of nonsteroidal anti-inflammatory painkillers such as aspirin, ibuprofen, and naproxen.
Stress and spicy food are not the main causes, although they can make symptoms feel worse. Knowing the signs matters because, as both NIDDK and Mayo Clinic point out, many people with ulcers have no symptoms at all in the early stages.
1. Dull or Burning Pain in the Upper Stomach
This is the classic sign. The pain is usually felt between the belly button and the breastbone, and people describe it as burning, gnawing, or a dull ache. It can last minutes or hours and often comes and goes over days or weeks.
The timing varies from person to person. Mayo Clinic notes that for some people the pain is worse between meals and at night, while for others it is worse after eating. Pain that keeps returning to the same spot is worth reporting to a doctor, even when it is mild.
2. Pain That Returns After Antacids Wear Off
Antacids and acid-blocking medicines from the pharmacy can quiet ulcer pain, which is why many people manage on their own for months. The relief does not mean the ulcer has healed.
Mayo Clinic advises seeing a healthcare professional if these medicines ease your pain, but the pain comes back. Needing antacids again and again is a warning sign in itself, because the sore is still there underneath.
3. Bloating, Belching and Heartburn That Will Not Settle
Not every ulcer hurts. Some show up as stubborn indigestion, with a feeling of fullness or bloating, frequent belching, heartburn, and nausea. These symptoms are easy to blame on a heavy meal or a busy week.
Occasional indigestion is normal. Indigestion that lasts for weeks, keeps coming back, or slowly gets worse is different and should be checked, especially if you take painkillers regularly.
4. Feeling Full Quickly, Vomiting or Unexplained Weight Loss
Getting full after a few bites, vomiting after meals, and losing weight without trying can signal that an ulcer is causing swelling or scarring that blocks the passage of food. Mayo Clinic lists this kind of blockage as a complication of untreated ulcers, with early fullness, vomiting, and weight loss as its signs.
These symptoms can have other serious causes too, so they always deserve prompt medical attention.
5. Black, Tarry Stools or Vomiting Blood
This is an emergency. Stools that are black and sticky like tar, or that contain dark or red blood, can mean an ulcer is bleeding. So can vomiting blood, which may look bright red or dark like coffee grounds.
Do not wait to see whether it happens again. Go to a hospital or emergency clinic right away.
6. Dizziness, Fainting or Unusual Tiredness
A bleeding ulcer does not always produce visible blood. Slow blood loss over time can lead to anemia, which leaves you tired, weak, and pale. Heavier bleeding can cause dizziness, fainting, or a rapid pulse.
NIDDK lists dizziness, fainting, and a rapid pulse among the symptoms that need a doctor right away. If you feel faint and have had stomach pain or dark stools, treat it as urgent.
7. Sudden, Sharp Stomach Pain That Does Not Go Away
A sudden, severe pain in the abdomen that does not ease is the most dangerous sign on this list. It can mean the ulcer has eaten through the wall of the stomach or intestine, which doctors call a perforation. The abdomen may also feel swollen, hard, or very tender.
A perforated ulcer can cause a serious infection inside the abdomen and needs emergency treatment, often surgery. Call for emergency help immediately.
What Causes Ulcers and Who Is at Risk
Most ulcers come from H. pylori infection or NSAID painkillers. Your risk is higher if you take these painkillers often or at high doses, and Cleveland Clinic notes that smoking and alcohol can raise the risk as well.
Less commonly, ulcers follow other medicines, rare conditions, or a critical illness. In a small number of cases, no cause is found.
How Ulcers Are Diagnosed and Treated
A doctor can test for H. pylori with a breath, stool, or blood test, and may recommend an endoscopy, in which a thin camera is passed down the throat to look at the stomach lining directly.
Treatment works well. Cleveland Clinic notes that most ulcers heal with medication, usually within about two months. That typically means antibiotics if H. pylori is present, medicines that reduce stomach acid, and stopping or changing any painkiller that contributed. Bleeding ulcers can often be treated during an endoscopy.
What These Signs Do NOT Prove
None of these symptoms confirm an ulcer by itself. Upper stomach pain, bloating, and nausea are also caused by acid reflux, gastritis, gallstones, and many other conditions, and blood in the stool has several possible sources. Only testing can tell them apart.
The reverse is also true. Feeling fine does not rule out an ulcer, since many cause no symptoms until they bleed. That is one reason regular painkiller users should mention it to their doctor.
When To See a Doctor
Book an appointment if you have upper stomach pain that keeps returning, indigestion lasting more than a couple of weeks, pain that comes back after antacids, or unexplained weight loss.
Get emergency care immediately for any of the following:
- Black or tarry stools, or blood in your stool
- Vomiting blood or material that looks like coffee grounds
- Sudden, sharp or severe abdominal pain that does not go away
- Dizziness, fainting, a rapid pulse, or very pale skin
The Bottom Line
A stomach ulcer can show up as burning upper stomach pain, lingering indigestion, or pain that keeps returning after antacids. Black stools, vomiting blood, faintness, and sudden severe pain are signs of complications and should never be waited out.
The reassuring part is that ulcers are usually simple to diagnose and heal well with the right medication. If any of these seven signs sound familiar, get checked. If any of the emergency signs appear, go now.
Also Read | What Medical Research Says About Stress and Stomach Ulcers
References
- Mayo Clinic. (n.d.). Peptic ulcer: Symptoms and causes. https://www.mayoclinic.org/diseases-conditions/peptic-ulcer/symptoms-causes/syc-20354223
- National Institute of Diabetes and Digestive and Kidney Diseases. (n.d.). Symptoms and causes of peptic ulcers (stomach or duodenal ulcers). https://www.niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers/symptoms-causes
- Cleveland Clinic. (n.d.). Peptic ulcer disease. https://my.clevelandclinic.org/health/diseases/10350-peptic-ulcer-disease