A stomach ulcer is an open sore that develops on the lining of your stomach. These sores can range in size from about a quarter-inch to several inches across. According to the National Institutes of Health, stomach ulcers affect approximately 500,000 Americans each year, though many cases go undiagnosed initially.
Learn About American Eagle Bill Pay Options →
The most common causes of stomach ulcers are two distinct factors. First, a bacterium called Helicobacter pylori (H. pylori) causes roughly 60 percent of ulcers worldwide. This bacteria lives in the stomach lining and can survive in stomach acid. Second, nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen and naproxen cause approximately 25 percent of ulcers. When taken regularly, these medications erode the protective stomach lining over time.
Less common causes include extreme stress (stress ulcers), Zollinger-Ellison syndrome, and Crohn's disease. Contrary to popular belief, spicy food and stress alone do not cause ulcers, though they can worsen symptoms in some people.
Symptoms of stomach ulcers vary widely. The most common sign is burning stomach pain, which typically occurs between meals or at night. Some people describe it as a gnawing or aching sensation. Other symptoms may include bloating, heartburn, nausea, loss of appetite, and weight loss. In severe cases, ulcers can cause vomiting blood (which may appear dark like coffee grounds) or black, tarry stools—signs of internal bleeding that require immediate medical attention.
Not everyone with an ulcer experiences symptoms. Some people discover they have an ulcer only after complications develop or during testing for other conditions. This is why understanding your risk factors matters. If you take NSAIDs regularly, have a family history of ulcers, smoke, or drink alcohol heavily, you face higher risk.
Practical takeaway: Track your stomach symptoms for one to two weeks. Note when pain occurs, what foods trigger it, and whether over-the-counter antacids provide relief. This information helps your doctor diagnose your condition more accurately.
Several testing methods can confirm whether you have a stomach ulcer. Your doctor will typically start with your medical history and a physical examination, but additional tests are usually needed for a definitive diagnosis.
Get Your Free Guide to Emoji Customization Options →
The breath test is one of the most common screening methods for H. pylori infection. For this test, you swallow a capsule or drink a liquid containing urea labeled with a radioactive or non-radioactive carbon atom. If H. pylori bacteria are present in your stomach, they break down the urea, releasing carbon that your body absorbs and exhales. You then blow into a bag, and the sample is analyzed for the presence of labeled carbon. This test has an accuracy rate of approximately 95 percent and is non-invasive.
The stool antigen test detects H. pylori proteins in your feces. This test is also highly accurate and is sometimes preferred for young children. Like the breath test, it requires no invasive procedures.
Blood tests can identify antibodies to H. pylori, indicating current or past infection. However, positive antibodies may persist even after successful treatment, so this test alone cannot confirm active infection.
An upper endoscopy is a more direct approach. During this procedure, a thin tube with a camera (endoscope) is inserted through your mouth and down to your stomach. This allows your doctor to visually examine the stomach lining and take small tissue samples (biopsies) if needed. While more invasive, endoscopy provides the most detailed view of any ulcers and allows doctors to evaluate severity and rule out other conditions like stomach cancer. The procedure typically takes 15 to 30 minutes.
Upper gastrointestinal X-rays using barium contrast are less commonly used today but may be ordered in some cases. You drink a chalky barium liquid that coats your stomach, making ulcers visible on X-ray images.
Practical takeaway: Before testing, tell your doctor about all medications you take, including over-the-counter NSAIDs and supplements. Some medications can interfere with H. pylori testing results. Stop NSAIDs and certain other drugs as directed before testing for most accurate results.
If testing confirms H. pylori bacteria, antibiotic treatment is the standard approach. Most doctors prescribe what's called triple therapy or quadruple therapy—combining multiple medications to eliminate the bacteria effectively.
Get Your Free Kia Connected Car Information Guide →
Triple therapy typically includes two antibiotics plus a proton pump inhibitor (PPI). Common antibiotic combinations include amoxicillin with clarithromycin, or metronidazole with clarithromycin. The PPI reduces stomach acid, creating an environment where antibiotics work more effectively. Treatment usually lasts 10 to 14 days. Studies show this approach successfully eliminates H. pylori in 80 to 90 percent of patients on the first attempt.
Quadruple therapy adds bismuth subsalicylate to the two-antibiotic, one-PPI combination. This approach is often used if triple therapy fails or if clarithromycin-resistant bacteria are suspected. Quadruple therapy success rates reach approximately 90 percent.
Side effects from H. pylori treatment are common but usually mild. Patients frequently report nausea, diarrhea, metallic taste in the mouth, and headaches. Taking antibiotics with food can reduce nausea. Diarrhea often improves if you take probiotics containing beneficial bacteria, though discuss this with your doctor first. Side effects typically disappear once treatment ends.
Completing the full course of antibiotics is critical, even if you feel better before the treatment period ends. Stopping early can lead to antibiotic resistance, making the bacteria harder to eliminate. After finishing treatment, your doctor may repeat H. pylori testing four weeks later to confirm the bacteria has been eliminated.
For patients allergic to standard antibiotics, alternative regimens exist. These might substitute different antibiotics or use different PPI medications. Your doctor can work with you to find tolerable options.
Practical takeaway: Set phone alarms or use a pill organizer to take antibiotics on schedule. Consistency matters for effectiveness. Keep a simple log of any side effects and when they occur. Report severe or persistent side effects to your doctor rather than stopping medication on your own.
If NSAIDs caused your ulcer, treatment focuses on stopping acid damage while the stomach lining heals. The most important first step is discontinuing NSAID use whenever possible.
Get Your Free Salt Lake City Concrete Contractor Guide →
Proton pump inhibitors (PPIs) are the primary medication for treating NSAID ulcers. PPIs like omeprazole, lansoprazole, and pantoprazole work by blocking the enzyme that produces stomach acid. By reducing acid production by up to 90 percent, they create conditions for the ulcer to heal. Typical healing time is four to eight weeks, depending on ulcer size. PPIs are taken once daily, usually in the morning before breakfast.
Histamine-2 receptor blockers (H2 blockers) like famotidine and ranitidine also reduce stomach acid but are less potent than PPIs. They're sometimes used when PPIs aren't tolerated or as secondary treatment. H2 blockers require twice-daily dosing and typically heal ulcers in six to eight weeks.
If you must continue taking NSAIDs for conditions like arthritis, your doctor may prescribe PPIs or H2 blockers as preventive therapy alongside the NSAID. Some research suggests taking NSAIDs with food may reduce ulcer risk, though medication is more reliable protection.
Misoprostol is another medication that protects the stomach lining when NSAIDs are necessary. It enhances mucus production and increases blood flow to the stomach. However, it requires multiple daily doses and can cause diarrhea, limiting its use.
Cox-2 selective inhibitors (COX-2 inhibitors) like celecoxib are NSAIDs designed to be gentler on the stomach lining. If NSAIDs are essential for pain management,
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.