Avisena Specialist Hospital Logo
Emergency Hotline +(603) 5515 1999
Appointments +(603) 5515 1966
General Line +(603) 5515 1888
Highlights / Articles

Articles

October 10, 2026

Understanding Gastric Pain: Symptoms, Triggers & Red Flags

Gastric pain is a common way people describe discomfort, burning or pain in the upper part of the abdomen. It may happen occasionally after a heavy meal or become a recurring problem that affects eating, sleeping and everyday activities.

The term “gastric pain” does not describe one specific disease. It can be associated with indigestion, gastritis, peptic ulcers, acid reflux and other digestive conditions. In some cases, pain that feels like it comes from the stomach may have a different cause altogether. Dyspepsia, for example, refers to a group of upper digestive symptoms that can include upper abdominal pain or discomfort, early fullness, bloating, nausea and belching.

Understanding the pattern of your symptoms can help you recognise possible triggers and, importantly, know when medical assessment is needed.


Gastric Pain Symptoms to Look Out For

Gastric pain can feel different from one person to another. Some people describe a burning sensation in the upper abdomen, while others experience aching, pressure, discomfort or a feeling of fullness.

Common symptoms associated with indigestion or conditions affecting the stomach include upper abdominal pain or discomfort, bloating, nausea, belching, feeling full sooner than expected and feeling excessively full after eating.

The timing of symptoms can also provide useful information. Pain may occur before or after meals, while some people notice discomfort when the stomach is empty or at night. Peptic ulcers, for example, can cause dull or burning upper abdominal pain that comes and goes, although symptoms vary considerably between individuals.

Gastric pain may occur alongside heartburn or acid reflux, but these are not necessarily the same condition. Heartburn is typically felt as a burning sensation in the chest, whereas indigestion can involve discomfort centred in the upper abdomen.


Common Causes of Gastric Pain

Identifying the cause of gastric pain is important because treatment depends on what is causing the symptoms.

Indigestion and Functional Dyspepsia

Indigestion, also known as dyspepsia, is one of the common explanations for recurring upper abdominal discomfort. Functional dyspepsia is diagnosed when typical digestive symptoms occur without another structural explanation being found.

The relationship between the digestive system and the brain can influence symptoms. Factors such as altered stomach sensitivity, how the stomach relaxes after eating and psychological factors may contribute to functional dyspepsia.

Gastritis

Gastritis refers to inflammation of the stomach lining, while gastropathy describes damage to the stomach lining without necessarily involving significant inflammation. Some people with gastritis have no symptoms. When symptoms occur, they may include upper abdominal discomfort, nausea or vomiting, early fullness, loss of appetite and, in some cases, weight loss.

Gastritis can have several causes. Helicobacter pylori, commonly called H. pylori, is an important cause. Long-term or frequent use of non-steroidal anti-inflammatory drugs (NSAID), can also irritate and damage the stomach lining. Alcohol and bile reflux are additional possible causes.

Peptic Ulcers

A peptic ulcer is a sore that develops in the lining of the stomach or duodenum. Upper abdominal pain is a common symptom, although some people with ulcers may have few or no symptoms until a complication develops.

The two most common causes of peptic ulcers are H. pylori infection and NSAID use. These factors can damage the stomach’s protective lining and increase the risk of ulcer formation.

H. Pylori Infection

H. pylori (Helicobacter pylori) is a bacterium that can live in the stomach and cause chronic gastritis and peptic ulcers. It is also associated with an increased risk of stomach cancer. This bacterium are particularly relevant when assessing gastric symptoms in Malaysia. A Malaysian expert consensus recommends testing people with uninvestigated dyspepsia for H. pylori and recommends treatment when infection is confirmed.

Testing may involve a breath test, stool antigen test or, in appropriate circumstances, testing during an upper gastrointestinal endoscopy. The choice depends on the person’s symptoms, medical history and clinical assessment.

Acid Reflux and Other Digestive Conditions

Acid reflux can cause burning discomfort and may coexist with indigestion. Certain medicines, dietary factors, being overweight, smoking, stress and anxiety can contribute to or worsen indigestion and reflux symptoms.

Not all upper abdominal pain originates from the stomach. Gallbladder, pancreatic and intestinal conditions can produce pain in nearby areas. Heart-related problems can also sometimes resemble indigestion or upper abdominal discomfort, which is why persistent or unusual symptoms should not automatically be assumed to be “gastric”. Cardiac and biliary disease should be considered when assessing dyspepsia.


Common Gastric Pain Triggers

Some people notice that their symptoms become worse after certain foods or drinks. Spicy or fatty foods, coffee, cola, chocolate and alcohol may aggravate indigestion or reflux in susceptible individuals. Eating close to bedtime can also worsen reflux symptoms.

However, there is no single “gastric diet” that works for everyone. For example, evidence does not support a specific restrictive diet for preventing or treating peptic ulcers. Instead, it is more useful to identify foods and habits that consistently worsen your individual symptoms.

Medication is another important consideration. NSAIDs such as aspirin, ibuprofen and naproxen can increase the risk of stomach irritation and peptic ulcers, particularly with prolonged use or higher doses.

If you regularly take painkillers and develop persistent gastric pain, speak to a healthcare professional rather than simply stopping prescribed medication on your own. Your doctor can assess whether an alternative medicine or protective treatment is appropriate.


When Is Gastric Pain a Red Flag?

Most episodes of indigestion are not caused by a serious condition. However, certain symptoms require prompt medical attention.

Seek urgent medical care if gastric pain is severe, sudden or persistent, particularly if it does not improve. Vomiting blood or vomit that looks like coffee grounds, passing black or tar-like stools, fainting, dizziness or symptoms of shock can indicate gastrointestinal bleeding.

Chest pain, pain spreading to the jaw, neck or arm, shortness of breath, difficulty swallowing, frequent vomiting, unexplained weight loss, loss of appetite or yellowing of the skin or eyes should also be assessed promptly.

Persistent or progressive digestive symptoms should not simply be managed with over-the-counter medication indefinitely. Symptoms such as unintentional weight loss, persistent vomiting, iron-deficiency anaemia, an abdominal mass and progressive dyspepsia require further assessment. Significant acute gastrointestinal bleeding requires immediate referral.


Gastric Pain and Stomach Cancer: What Malaysians Should Know

It is important not to assume that recurring gastric pain means stomach cancer. Most people with indigestion do not have cancer. Nevertheless, persistent symptoms should be assessed when they change, worsen or occur with warning signs.

According to Malaysia’s National Cancer Registry Report, 4,007 stomach cancer cases were registered during the five-year period. The report also found that stomach cancer incidence increased with age, with a more noticeable rise after age 60, and that a large proportion of cases with available staging information were diagnosed at late stages.

This reinforces an important message for gastric pain in Malaysia; do not ignore persistent or changing symptoms, particularly when they occur alongside unexplained weight loss, anaemia, vomiting, bleeding or difficulty swallowing.


How Is Gastric Pain Diagnosed?

There is no single test for gastric pain. A doctor will usually begin by asking about the location, duration, severity and pattern of the pain. You may also be asked whether symptoms are related to meals, whether you experience reflux or vomiting, what medicines you take and whether you have a personal or family history of digestive conditions.

Depending on your symptoms and risk factors, further investigations may be recommended. These can include testing for H. pylori, blood tests and, when appropriate, an upper gastrointestinal endoscopy.

An endoscopy allows a doctor to examine the lining of the oesophagus, stomach and duodenum and, when necessary, take tissue samples for laboratory analysis. It may be particularly useful when there are concerning symptoms or when symptoms persist despite initial treatment. The appropriate investigation varies from patient to patient. A medical assessment is therefore more useful than trying to identify the cause based on symptoms alone.


Gastric Pain Treatment Depends on the Cause

Treatment for gastric pain should address the underlying cause rather than simply masking the discomfort.

For indigestion, treatment may involve lifestyle changes and medicines that reduce or neutralise stomach acid. Proton pump inhibitors and H2 blockers are among the medicines that may be used depending on the diagnosis and clinical circumstances.

If H. pylori is detected, treatment involves a combination of medicines designed to eradicate the infection. Malaysian consensus recommendations emphasise appropriate testing and treatment, while the exact antibiotic regimen should be selected by a doctor based on current guidance, previous antibiotic exposure and local resistance considerations.

For ulcers associated with NSAIDs, a doctor may review the need for the medicine, adjust the treatment or prescribe medication to help protect and heal the stomach. Because different conditions can produce similar symptoms, self-treating recurrent gastric pain without identifying its cause may delay appropriate care.


What You Can Do About Recurring Gastric Pain

If you experience occasional mild gastric discomfort, pay attention to the pattern of your symptoms. Keeping track of meals, medicines and the timing of pain can help you and your doctor identify possible triggers.

Avoiding foods or drinks that consistently worsen your symptoms may help. Limiting alcohol, stopping smoking and avoiding unnecessary NSAID use can also reduce some risks associated with stomach irritation and ulcers.

If symptoms keep returning, become more frequent or interfere with your daily life, arrange a medical assessment. This is especially important if you have a history of ulcers, H. pylori infection or a family history of gastric cancer.


When Should You See a Doctor for Gastric Pain in Malaysia?

Occasional mild indigestion may settle with simple measures, but recurring gastric pain deserves attention. Make an appointment with a doctor if your symptoms persist, repeatedly return, become more severe or do not respond to usual measures.

Seek urgent medical attention for severe or constant abdominal pain, vomiting blood, coffee-ground-like vomit, black stools, fainting, significant dizziness, chest pain, shortness of breath or other symptoms that feel severe or unusual.


Understanding Gastric Pain Can Help You Act Early

Gastric pain is common, but recurring discomfort should not always be dismissed as ordinary “gastric”. Indigestion, gastritis, H. pylori infection and peptic ulcers are among the possible causes, while some symptoms can point to conditions that require more urgent investigation.

Knowing the common triggers, recognising red flags and seeking medical advice when symptoms persist can help ensure the right cause is identified and treated. If gastric pain is new, recurrent or changing, a healthcare professional can help determine whether you need simple symptom management, H. pylori testing, medication or further investigation.


Frequently Asked Questions

Is gastric pain the same as gastritis?

No. Gastric pain is a general description of discomfort that may occur in the upper abdomen. Gastritis is a specific condition involving inflammation of the stomach lining. Gastric pain can also occur with indigestion, peptic ulcers, reflux and other conditions.

What does gastric ulcer pain feel like?

A gastric or peptic ulcer may cause dull or burning pain in the upper abdomen. The pain may come and go and can sometimes be related to meals or occur when the stomach is empty. However, symptoms vary and some people with ulcers have no noticeable symptoms.

Can H. pylori cause gastric pain?

Yes. H. pylori can cause chronic gastritis and is a major cause of peptic ulcers, both of which can produce upper abdominal discomfort.

Should I avoid spicy food if I have gastric pain?

Not everyone needs to avoid spicy food. Certain foods and drinks can worsen indigestion or reflux in some people, but there is no universal diet that treats peptic ulcers. Identifying your own triggers is generally more useful than following an unnecessarily restrictive diet.

When should gastric pain be treated as an emergency?

Seek urgent medical care if gastric pain is sudden, severe or persistent, or if it occurs with vomiting blood, coffee-ground-like vomit, black or bloody stools, fainting, severe dizziness, chest pain, shortness of breath or other serious symptoms.



Back to Articles