Can Anxiety Cause Stomach Ulcers?

The question of whether anxiety can cause a stomach ulcer has persisted for decades, fueled by the common experience of stomach distress during periods of emotional turmoil. A stomach ulcer, or gastric ulcer, is an open sore that develops on the lining of the stomach or the first part of the small intestine (duodenum). Early medical understanding often pointed to stress and anxiety as direct culprits. However, scientific research has since identified the specific biological agents responsible for initiating the damage. This article examines the current scientific consensus, distinguishing between the direct causes of ulcers and the powerful role anxiety plays in influencing digestive health.

Primary Biological Causes of Peptic Ulcers

The vast majority of peptic ulcers are caused by two distinct biological factors: a bacterial infection and the use of certain medications. The most common cause is the bacterium Helicobacter pylori (H. pylori), which colonizes the protective mucous layer of the stomach and duodenum. This weakens the lining’s integrity, making the underlying tissue vulnerable to corrosive stomach acid.

The second leading cause involves the regular, long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen, naproxen, and aspirin. NSAIDs contribute to ulcer formation by inhibiting the cyclooxygenase-1 (COX-1) enzyme. This enzyme produces prostaglandins, compounds that help maintain the stomach lining’s protective mucus and promote cell repair.

By blocking COX-1, NSAIDs reduce the stomach’s natural defense mechanisms, allowing acid and digestive enzymes to erode the unprotected tissue. Both H. pylori and NSAIDs create an imbalance between the mucosal layer’s protective factors and the stomach’s destructive acid, which is the necessary condition for an ulcer to form.

How Anxiety Affects the Digestive System

While not a primary cause, anxiety and chronic stress profoundly affect the gastrointestinal tract through the gut-brain axis. This two-way system connects the central nervous system in the brain with the enteric nervous system. When anxiety activates the body’s “fight-or-flight” response, it triggers the release of stress hormones like cortisol and adrenaline.

These hormones prioritize immediate survival functions, leading to altered digestive processes. Chronic anxiety can cause fluctuations in stomach acid levels, sometimes leading to hyperacidity that irritates the stomach lining. The stress response also diverts blood flow away from the stomach and intestines toward the muscles. This reduction in blood supply impairs the stomach lining’s ability to repair itself and maintain its protective barrier. Chronic stress can also weaken the immune response, potentially slowing the clearance of an existing H. pylori infection.

Clarifying the Link: Exacerbation, Not Direct Cause

Current scientific understanding emphasizes that anxiety does not directly cause a peptic ulcer in an otherwise healthy stomach. Instead, chronic psychological stress acts as a risk factor and an amplifier of existing conditions. Anxiety can significantly worsen the symptoms of an ulcer already caused by H. pylori or NSAIDs by increasing acid production and gut sensitivity.

The physiological changes induced by stress, such as reduced blood flow and increased acid, can slow the healing process of a pre-existing ulcer. Anxiety creates a more hostile internal environment that prevents the damaged tissue from recovering effectively. Symptoms of burning pain, nausea, and indigestion are often intensified because the stress response makes the digestive system more reactive to irritation. A person with high anxiety is also more likely to engage in behaviors that raise ulcer risk, such as smoking, which increases acid production, or relying more heavily on NSAIDs for pain relief.

Recognizing Ulcer Symptoms and Seeking Treatment

Recognizing the signs of a peptic ulcer is important for preventing complications and achieving proper healing. The most common symptom is a burning or gnawing pain in the upper-middle abdomen, often felt between the breastbone and the belly button. This pain may worsen between meals or at night when the stomach is empty and acid can irritate the sore.

Other common signs include unexplained nausea, vomiting, bloating, and feeling full quickly after starting a meal. If you experience these symptoms, consulting a healthcare provider is important for a professional diagnosis.

Diagnosis often involves testing for the presence of H. pylori infection using a breath, stool, or blood test. Treatment typically involves a combination of medications to reduce stomach acid, such as proton pump inhibitors, and a course of antibiotics if H. pylori is detected. Managing underlying anxiety through lifestyle changes, therapy, or other interventions is also a necessary part of the recovery process, as it removes the physiological stressors that can impede healing and cause recurrence.