How Does Stress Cause Ulcers: Physical and Psychological

Stress can damage the stomach lining, but it works differently than most people assume. For decades, doctors blamed everyday work and life stress for peptic ulcers. That thinking has largely been overturned. The vast majority of peptic ulcers are now linked to either a bacterial infection called H. pylori or regular use of common pain relievers like ibuprofen and aspirin. But stress does play a real role in stomach damage, particularly severe physical stress in critically ill patients, and psychological stress appears to make existing ulcers worse and harder to heal.

Why Doctors Stopped Blaming Your Boss

Before the 1980s, ulcers were considered a classic stress disease. The standard advice was to slow down, reduce pressure at work, and manage your emotions. Then researchers discovered H. pylori, a spiral-shaped bacterium that burrows into the stomach lining and triggers chronic inflammation. That discovery, which earned a Nobel Prize in 2005, fundamentally changed how medicine understood ulcers.

Today, roughly one in five peptic ulcers is associated with H. pylori infection. Most of the rest are caused by nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen, naproxen, and aspirin, which directly erode the stomach’s protective barrier. A large study of over one million patients who had upper endoscopy procedures found that only about one-fourth of duodenal ulcers and one-sixth of gastric ulcers were linked to H. pylori. As The Lancet put it, “We rarely blame our boss for our ulcers now, and rarely call a surgeon to treat them.”

How Severe Physical Stress Damages the Stomach

There is one scenario where stress directly causes ulcers, and it involves serious physical trauma rather than a tough week at work. Patients in intensive care units, those recovering from major surgery, burns, or organ failure, can develop what clinicians call stress ulcers. These are erosions in the stomach lining driven by the body’s crisis response, and the mechanism is well understood.

Your stomach is lined with a thick mucous layer that acts as a shield between your tissue and the highly acidic digestive juices inside. This barrier normally keeps acid from eating into the stomach wall. During severe physiological stress, blood flow to the stomach lining drops significantly. This reduced blood supply, called ischemia, starves the cells that produce protective mucus and bicarbonate (a compound that neutralizes acid). Without adequate mucus, acid penetrates the exposed tissue and causes erosions or full ulcers.

Interestingly, acid production doesn’t actually increase during this process. It stays the same or even decreases. The problem isn’t too much acid. It’s the collapse of the stomach’s defenses. The mucous layer thins, bicarbonate production falls, and the normal acid that’s always present suddenly has direct access to vulnerable tissue. Older adults face higher risk because age-related narrowing of blood vessels further limits blood supply to the stomach wall, making the protective lining more fragile under stress.

In critically ill patients, the risk factors that most clearly predict stress-related stomach bleeding are blood clotting disorders, shock, and chronic liver disease. Among these patients, overt bleeding occurs in about 4.4% of cases, with clinically significant bleeding (the kind that requires intervention) occurring in about 1.5%.

What Psychological Stress Actually Does

Everyday psychological stress, the kind caused by work deadlines, financial problems, or relationship conflict, doesn’t produce ulcers the same way critical illness does. But it isn’t harmless to your stomach either. When stress and anxiety become severe or chronic, the body increases production of acidic digestive juices while simultaneously reducing the mucus and prostaglandins that protect the stomach lining. Prostaglandins are molecules your body makes to maintain that protective barrier, and when their levels drop, the lining becomes more vulnerable.

This creates a double problem: more acid on one side, less protection on the other. The result isn’t necessarily a full ulcer on its own, but it sets the stage for one. If you’re already carrying an H. pylori infection or regularly taking NSAIDs, chronic psychological stress can tip the balance toward tissue damage. It can also slow healing of existing ulcers and increase the likelihood of recurrence.

Stress also changes behavior in ways that compound the problem. People under chronic stress are more likely to smoke, drink alcohol, skip meals or overeat, use pain relievers more frequently, and sleep poorly. Each of these habits independently irritates the stomach lining or weakens its defenses. The combination of a stressed body producing more acid and a stressed person making choices that further damage the stomach creates a cycle that’s hard to break without addressing both the physical and psychological components.

The Gut-Brain Connection

Your brain and your gut communicate constantly through a large nerve called the vagus nerve, along with hormones and immune signals. This two-way communication system explains why you feel nausea when you’re anxious, lose your appetite during grief, or get stomach cramps before a stressful event. Chronic activation of the body’s stress response keeps this system in a heightened state, continuously signaling the stomach in ways that alter acid secretion, blood flow, and the rate at which the lining repairs itself.

Cortisol, the primary stress hormone, plays a central role. Short bursts of cortisol are normal and manageable. But when cortisol stays elevated for weeks or months, it suppresses immune function and tissue repair throughout the body, including in the stomach. This makes it harder for minor damage to heal before it progresses to something more serious.

How Stress Management Affects Ulcer Outcomes

Because ulcer treatment now focuses on eliminating H. pylori with antibiotics or stopping NSAID use, stress reduction alone won’t cure an active ulcer. But it does appear to matter for long-term outcomes. Research on patients with peptic ulcer disease found that training in emotion regulation significantly improved how patients coped with stress, and these improvements persisted at least three months later. Patients who relied on avoidance strategies (ignoring the problem, distracting themselves) experienced more recurring stomach pain and ulcer flare-ups over time, because the underlying stress remained unresolved even as symptoms temporarily faded.

The practical takeaway is that stress management works best as a complement to medical treatment, not a replacement. If you have a diagnosed ulcer, treating the root cause (infection or medication-related damage) comes first. But managing chronic stress through cognitive strategies, regular physical activity, adequate sleep, and reducing alcohol and tobacco use can help the stomach lining heal faster and reduce the chance of the ulcer coming back. For people without an active ulcer who notice that stress consistently triggers stomach pain, bloating, or nausea, those gut symptoms are real physiological responses worth addressing before they progress.