Gastrointestinal diseases
Gastrointestinal diseases are conditions that affect any part of the digestive tube, from the esophagus through the stomach and intestines to the rectum.
Clinician view: includes diagnostic criteria, management and safety detail.

Overview
Gastrointestinal diseases, often called GI diseases or GI disorders, are problems that affect your digestive tract. The medical term is gastrointestinal diseases. Your gastrointestinal (GI) tract is the long, hollow tube that food travels through. It starts with the esophagus (the food pipe that runs from your throat to your stomach), then the stomach, the small intestine, the large intestine (colon) and finally the rectum, where stool is stored before it leaves the body.
This is a very large group of conditions, not one single disease. It includes short-lived problems like a stomach bug, long-term conditions like acid reflux or inflammatory bowel disease, and serious illnesses like bleeding or cancer. Almost everyone has a GI problem at some point in their life, and most are mild and easy to manage.
What these conditions share is that they change how your gut moves food, digests it, absorbs nutrients or gets rid of waste. That is why many of them cause similar symptoms, such as belly pain, bloating, heartburn, nausea, diarrhea or constipation.
Doctors often sort GI diseases in two broad ways:
- Structural or organic conditions, where a test can show a visible problem, such as inflammation, an ulcer (an open sore), a blockage, an infection or a growth.
- Functional conditions, sometimes called disorders of gut-brain interaction, where the gut looks normal on tests but does not work the way it should. Irritable bowel syndrome (IBS) and functional dyspepsia (ongoing indigestion with no clear cause) are common examples. These symptoms are real, and they can be treated.
Main types
GI diseases are often grouped by the part of the tract they affect or by the kind of problem.
By location
- Esophageal diseases: problems of the food pipe, such as gastroesophageal reflux disease (GERD), inflammation of the esophagus (esophagitis), trouble swallowing and narrowing of the esophagus.
- Stomach diseases: such as gastritis (inflammation of the stomach lining), peptic ulcers, infection with the bacteria Helicobacter pylori and gastroparesis (a stomach that empties too slowly).
- Intestinal diseases: problems of the small and large intestine, such as celiac disease, Crohn's disease, ulcerative colitis, diverticular disease, irritable bowel syndrome, bowel blockage and hemorrhoids.
By type of problem
- Gastroenteritis: an infection or irritation of the stomach and intestines, often called stomach flu, usually caused by viruses, bacteria or parasites.
- Gastrointestinal bleeding: bleeding anywhere in the tract, which can be slow and hidden or sudden and heavy.
- Gastrointestinal tumours: growths in the tract, both non-cancerous (such as polyps) and cancerous (such as cancers of the esophagus, stomach or colon).
- Gastrointestinal tuberculosis: a less common form of tuberculosis (TB) that affects the gut, usually the end of the small intestine.
- Rumination syndrome: a condition where food comes back up into the mouth soon after eating, without effort or nausea, and is often re-chewed or spat out.
- Visceral prolapse: when an organ, such as the rectum, slips out of its normal position.
Conditions of the liver, gallbladder and pancreas also affect digestion, but they belong to the wider group of digestive system diseases rather than the GI tract itself.
Symptoms
Symptoms depend on which part of the tract is affected and what is causing the problem. Common ones include:
- Pain, cramps or discomfort in the belly
- Heartburn (a burning feeling behind the breastbone) or acid coming up into the throat
- Bloating, gas or a feeling of fullness after small meals
- Nausea (feeling sick to your stomach) or vomiting
- Diarrhea (loose or frequent stools) or constipation (hard or infrequent stools)
- Trouble swallowing, or food feeling stuck
- Blood in your stool or vomit, or black, tar-like stools
- Losing weight without trying, or a poor appetite
- Tiredness, which can come from anemia (a low red blood cell count) if there is slow bleeding or poor absorption of iron
Some GI diseases cause symptoms that come and go for years. Others start suddenly. Some, like early polyps or cancers, may cause no symptoms at all, which is why screening tests matter.
Causes and risk factors
There are many different causes, and sometimes more than one plays a part.
Common causes
- Infections from viruses (such as norovirus), bacteria (such as Salmonella, Campylobacter or H. pylori) and parasites
- Inflammation caused by the immune system, as in Crohn's disease, ulcerative colitis or celiac disease
- Medicines, especially anti-inflammatory pain relievers such as ibuprofen and naproxen, which can irritate the stomach and cause ulcers
- Problems with movement of the gut muscles, or with how the gut and brain communicate
- Food intolerances, such as lactose intolerance
- Growths, such as polyps and cancers
- Structural problems, such as hernias, narrowing, pouches in the bowel wall (diverticula) or prolapse
Things that raise your risk
- Smoking and drinking a lot of alcohol
- Carrying extra weight, which raises the risk of reflux and some GI cancers
- A diet low in fibre and high in processed or red meat
- Not being physically active
- Getting older
- A family history of conditions such as colon cancer, inflammatory bowel disease or celiac disease
- Unsafe food or water, or poor handwashing, for infections
- Long-term stress, which can make functional symptoms worse
Diagnosis
Your doctor or nurse practitioner will start by asking about your symptoms, your diet, your medicines and your family history. They will also examine your belly. Depending on what they find, you may need some tests.
- Blood tests to look for anemia, infection, inflammation, celiac disease or problems with the liver and kidneys.
- Stool tests to check for infection, hidden blood or signs of inflammation in the bowel.
- Breath tests to look for H. pylori or certain food intolerances.
- Upper endoscopy (also called gastroscopy): a thin, flexible tube with a camera is passed through your mouth to look at the esophagus, stomach and first part of the small intestine. Small tissue samples (biopsies) can be taken.
- Colonoscopy: a similar tube is passed through the bottom to look at the colon and rectum. Polyps can often be removed during the test.
- Imaging, such as an ultrasound, CT scan or MRI, to look at the gut and nearby organs.
- Special tests of how well the esophagus or stomach moves food along, for some conditions.
For functional disorders, doctors make the diagnosis based on your pattern of symptoms, after checking that there are no warning signs of another condition. You may not need many tests.
Treatment
Treatment depends on the exact condition. Your care team will tailor it to you. Common approaches include:
Lifestyle and diet changes
- Eating smaller meals and avoiding foods that trigger your symptoms
- Adjusting fibre and fluid intake, which helps with constipation and some types of diarrhea
- A strict gluten-free diet for celiac disease
- A dietitian-guided eating plan, such as a low-FODMAP diet for IBS
- Stopping smoking and cutting down on alcohol
Medicines
- Acid-reducing medicines, such as omeprazole or pantoprazole (proton pump inhibitors) and famotidine, for reflux and ulcers
- Antibiotics for some bacterial infections, including combinations used to clear H. pylori
- Anti-inflammatory and immune-calming medicines, such as mesalamine, corticosteroids, azathioprine or biologic medicines like infliximab, for inflammatory bowel disease
- Laxatives, such as polyethylene glycol, for constipation, and medicines such as loperamide for some types of diarrhea
- Anti-nausea medicines, such as ondansetron
- Gut-brain medicines, such as low doses of certain antidepressants, which can calm pain signals from the gut in functional disorders
Procedures and surgery
- Endoscopy to stop bleeding, remove polyps or widen a narrowed area
- Surgery to remove damaged bowel, repair a hernia or prolapse, or treat cancer
Other support
- Fluids to prevent or treat dehydration, especially with gastroenteritis
- Gut-directed psychological therapies, such as cognitive behavioural therapy or hypnotherapy, which have good evidence for IBS
Always talk to your clinician before starting, stopping or changing any medicine.
Living with a GI condition
Many GI diseases are long-term, but most people can keep symptoms under control and live full, active lives.
- Keep a symptom diary. Writing down what you eat, how you feel and your bowel habits can help you and your care team spot patterns and triggers.
- Eat regularly and do not skip meals. Chew slowly and avoid eating large meals late at night if you have reflux.
- Stay active. Regular movement helps the gut work well and eases stress.
- Look after your mental health. The gut and brain are closely linked. Stress, anxiety and low mood can make symptoms worse, and gut symptoms can affect your mood. Asking for support is a normal part of care.
- Check before taking pain relievers. Ask a pharmacist or doctor which ones are safe for your stomach.
- Keep up with follow-up visits and any recommended tests, such as repeat colonoscopies.
Complications
Most GI problems do not lead to complications, especially when they are treated. But some can, including:
- Dehydration from severe vomiting or diarrhea, which is most dangerous for babies, young children and older adults
- Bleeding and anemia
- Malnutrition or vitamin shortages when the gut cannot absorb food well
- Narrowing or blockage of the bowel
- A hole (perforation) in the wall of the gut, which is a medical emergency
- A higher risk of some cancers with certain long-term conditions, such as long-standing ulcerative colitis or Barrett's esophagus (a change in the lining of the esophagus caused by long-term reflux)
Outlook
The outlook varies a great deal from one condition to another. Infections like gastroenteritis usually clear up within a few days. Reflux and ulcers often respond well to treatment. Long-term conditions such as inflammatory bowel disease and IBS can usually be well controlled, though symptoms may flare from time to time. GI cancers have the best outlook when they are found early, which is a major reason for screening.
Prevention
Not every GI disease can be prevented, but you can lower your risk of many of them:
- Wash your hands well, especially after using the toilet and before handling food.
- Cook and store food safely, and drink clean water.
- Eat plenty of vegetables, fruit, whole grains and other high-fibre foods, and limit processed and red meat.
- Drink alcohol only in moderation, if at all, and do not smoke.
- Aim for a healthy weight and stay active.
- Use anti-inflammatory pain relievers only as advised.
- Have your baby vaccinated against rotavirus, a common cause of severe diarrhea in young children.
- Take part in colorectal cancer screening when you reach the recommended age, or earlier if you have a strong family history.
In the United States
In the United States, the US Preventive Services Task Force recommends colorectal cancer screening for average-risk adults aged 45 to 75, using stool tests or colonoscopy. Hemoglobin is usually reported in g/dL. Most private insurance plans and Medicare cover recommended screening.
Scope and classification
The MeSH heading covers diseases of the luminal GI tract from esophagus to rectum, distinct from hepatobiliary and pancreatic disease. A practical split is organic disease (infectious, inflammatory, neoplastic, vascular, structural) versus disorders of gut-brain interaction defined by the Rome IV criteria (e.g. IBS, functional dyspepsia, rumination syndrome).
Assessment
- Screen for alarm features: age over about 50 to 60 with new symptoms, unintentional weight loss, dysphagia or odynophagia, persistent vomiting, GI bleeding or iron-deficiency anemia, palpable mass, nocturnal diarrhea, family history of GI cancer or IBD.
- Baseline tests: CBC, ferritin, CRP, electrolytes and renal function, liver tests; tissue transglutaminase IgA with total IgA for suspected celiac disease (on a gluten-containing diet).
- Stool: fecal calprotectin to separate IBD from IBS; FIT for hidden bleeding where locally used; pathogen testing in severe, bloody, prolonged or outbreak-related diarrhea.
- H. pylori test-and-treat (urea breath test or stool antigen) in uninvestigated dyspepsia without alarm features; withhold PPIs for 2 weeks and antibiotics or bismuth for 4 weeks before testing.
- Endoscopy (OGD, colonoscopy) for alarm features or failure of first-line therapy; cross-sectional imaging for suspected obstruction, perforation, abscess or malignancy.
Management principles
- GERD and dyspepsia: lifestyle measures, PPI trial at the lowest effective dose; eradication therapy for H. pylori with confirmation of cure (ACG 2024, Maastricht VI/Florence consensus, NICE CG184).
- IBD: induction and maintenance per ACG, AGA, ECCO or Canadian Association of Gastroenterology guidance; avoid long-term corticosteroids; screen for TB and hepatitis B before biologics and thiopurines (and check TPMT where available).
- IBS: diet (including dietitian-led low-FODMAP), soluble fibre, antispasmodics, laxatives or loperamide by subtype, low-dose tricyclics as neuromodulators, gut-directed psychological therapy (NICE CG61, ACG 2021).
- Acute gastroenteritis: oral rehydration first; antibiotics only for selected bacterial causes or severe illness; avoid antimotility agents in bloody diarrhea or suspected STEC.
- GI bleeding: risk stratify (e.g. Glasgow-Blatchford score), resuscitate, restrictive transfusion strategy, early endoscopy.
Cautions and monitoring
NSAIDs and aspirin increase ulcer and bleeding risk, particularly with anticoagulants, SSRIs and corticosteroids; consider gastroprotection. Review long-term PPI need periodically. Consider C. difficile in diarrhea after antibiotics or hospital exposure. Long-standing extensive colitis and Barrett's esophagus need surveillance endoscopy per guideline intervals. Consider GI tuberculosis in ileocecal disease in patients from high-incidence settings, as it can mimic Crohn's disease. Prognosis varies widely by condition; most functional and acid-related disorders are chronic but manageable.
When to get medical help
See your doctor or nurse practitioner if you have:
- Belly pain, heartburn, bloating or changes in bowel habits that last more than a few weeks or keep coming back
- Trouble swallowing or food getting stuck
- Weight loss you cannot explain
- Ongoing tiredness or signs of anemia, such as pale skin or shortness of breath with activity
- Diarrhea that lasts more than a few days, or a stomach bug that is not getting better
- New digestive symptoms after age 50, or a family history of GI cancer
Go to the emergency department or call emergency services if you have:
- Vomiting blood or material that looks like coffee grounds
- Black, tarry stools or a lot of blood from your bottom
- Sudden, severe belly pain, or a belly that is hard and very tender
- Vomiting that will not stop, or you cannot keep fluids down
- Signs of dehydration, such as very little urine, dizziness, confusion or, in babies, no wet diapers for many hours
- A swollen belly with no bowel movements or gas, and vomiting
- Fainting, a racing heartbeat or feeling cold and clammy
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Gastrointestinal Diseases. meshb.nlm.nih.gov
- MedlinePlus: Digestive diseases. medlineplus.gov/digestivediseases.html
- NIDDK: Digestive diseases. niddk.nih.gov/health-information/digestive-diseases
- NICE: Irritable bowel syndrome in adults: diagnosis and management (CG61). nice.org.uk/guidance/cg61
- NICE: Gastro-oesophageal reflux disease and dyspepsia in adults: investigation and management (CG184). nice.org.uk/guidance/cg184