AI Summary Guidelines from the American Association for the Study of Liver Diseases recommend screening endoscopy for people with cirrhosis who are at risk of varices.

Source: AASLD practice guidance on portal hypertension and varices in cirrhosis (2024)

Gastroenterologist: What They Do, Conditions They Treat & When to See One

A gastroenterologist is a doctor who specializes in the digestive system. The specialty covers the esophagus, stomach, and intestines, as well as the liver, gallbladder, pancreas, and bile ducts.

The liver is part of the digestive system, so gastroenterology and liver care overlap. Hepatology is the branch that focuses on the liver, and some gastroenterologists focus on it too.

Gastroenterologists may diagnose and manage liver, biliary, pancreatic, and digestive conditions. They order tests, treat many common problems, and refer you to a liver specialist when you need one.

AimyLiver Health AI Assistant
Ask about symptoms, tests, diet, or specialist care.
What does a FibroScan result mean?
I can explain the terms and help you prepare questions.
(opens in a new tab)

Ask Aimy

Turn confusion into a better next question.

Aimy answers from LiverDirectory’s reviewed health information — helping patients make sense of liver-health terms, prepare for specialist visits, and explore what to look up next.

By asking, you agree to the Terms & Conditions and Privacy Policy.

Overview

What Is a Gastroenterologist?

A gastroenterologist is a doctor who specializes in gastroenterology, the branch of medicine that focuses on the digestive system. The digestive system is the group of organs that break down food, absorb nutrients, and remove waste. The liver, gallbladder, and bile ducts are part of this system, so gastroenterology overlaps with liver and biliary care. Bile ducts are the small tubes that carry bile, a digestive fluid, from the liver.

Organs and Structures They Evaluate

  • Esophagus, the tube that carries food to the stomach
  • Stomach and small intestine
  • Large intestine (colon) and rectum
  • Liver
  • Gallbladder and bile ducts
  • Pancreas, which makes digestive enzymes

Role

What Does a Gastroenterologist Do?

A gastroenterologist works out why digestive symptoms happen, treats the cause when possible, and tracks long-term conditions over time. When your care needs more than one team, they work with other specialists.

Main Responsibilities

  • Evaluate digestive symptoms such as pain, heartburn, diarrhea, and bleeding
  • Diagnose digestive, liver, bile duct, and pancreatic conditions
  • Order and interpret blood, stool, and imaging tests
  • Perform endoscopic procedures, such as colonoscopy and upper endoscopy
  • Manage long-term conditions, such as inflammatory bowel disease, celiac disease, and fatty liver disease
  • Monitor your condition over time and adjust your treatment plan
  • Coordinate care with hepatologists, surgeons, oncologists, and dietitians when needed

Conditions

What Conditions Does a Gastroenterologist Treat?

This is an overview, not a full list. Your care depends on your diagnosis and how far the condition has progressed.

Digestive Conditions

These affect the esophagus, stomach, and intestines. Examples include gastroesophageal reflux disease (GERD), peptic ulcers, gastritis, irritable bowel syndrome (IBS), inflammatory bowel disease (IBD), celiac disease, and diverticular disease. IBS changes bowel habits without causing inflammation or damage to the gut lining. IBD, which includes Crohn's disease and ulcerative colitis, is chronic inflammation with periods of remission and flare-ups. Celiac disease is an immune response to gluten, a protein in wheat, barley, and rye.

Liver and Biliary Conditions

Gastroenterologists evaluate abnormal liver tests and common liver diseases, such as fatty liver disease (MASLD), alcohol-associated liver disease, viral hepatitis, and cirrhosis. They also care for gallbladder and bile duct problems. Gallstones can block bile flow and are often found during tests for another problem. Advanced or complex liver disease is often shared with a hepatologist.

Pancreatic Conditions

The pancreas makes digestive enzymes. Pancreatitis is inflammation of the pancreas. In acute pancreatitis, the most common causes are gallstones and alcohol use. Chronic pancreatitis is long-term inflammation that can affect digestion and blood sugar control. A gastroenterologist finds the cause and guides treatment.

Gastrointestinal Cancers

Gastroenterologists help detect and diagnose cancers of the digestive tract, including colorectal, esophageal, and stomach cancer. Colonoscopy can find and remove polyps and is used for colorectal cancer screening, which guidelines recommend starting at age 45. If cancer is found, your gastroenterologist works with surgeons and oncologists on treatment.

Diagnosis

What Tests and Procedures Does a Gastroenterologist Perform?

Your doctor picks tests based on your symptoms, history, and risk factors. Many people need only a few.

Blood and Liver Tests

Blood tests check for anemia, inflammation, and nutrient problems. Liver tests measure enzymes such as ALT, AST, and ALP, plus bilirubin. The pattern of enzyme rises helps separate liver cell injury from bile flow problems and narrows the possible causes.

Stool Tests

Stool samples can show infection, blood, or inflammation. The fecal immunochemical test (FIT) detects human blood in the stool and is used for colorectal cancer screening. A positive FIT is followed by a colonoscopy. Fecal calprotectin helps check for inflammatory bowel disease.

Colonoscopy

A doctor passes a flexible, lighted tube with a camera through the rectum to view the colon. It helps diagnose inflammatory bowel disease, find polyps, and screen for colorectal cancer. The doctor can take tissue samples (biopsies) during the exam.

Upper Endoscopy (EGD)

In an esophagogastroduodenoscopy (EGD), a flexible scope passes through the mouth to view the esophagus, stomach, and first part of the small intestine. Doctors use it for symptoms such as trouble swallowing, bleeding, or heartburn that does not respond to treatment. It is also used to confirm celiac disease with biopsies and to screen for enlarged esophageal veins (varices) in people with cirrhosis.

ERCP

Endoscopic retrograde cholangiopancreatography (ERCP) uses a scope and contrast dye to show the bile ducts and pancreatic ducts, under sedation. Doctors use it to find and remove bile duct stones, place stents, and treat narrowed ducts. It carries a small risk of pancreatitis, so doctors use it when treatment is needed.

Capsule Endoscopy

You swallow a pill-sized camera that takes pictures as it travels through the digestive tract. It is used to view the small intestine, which standard scopes do not reach well. The capsule passes naturally in the stool, usually within a couple of days.

Biopsy and Imaging

A biopsy takes a small tissue sample for lab study. It can be taken during an endoscopy or, for the liver, with a needle guided by ultrasound. Imaging includes ultrasound, CT, and MRI. Ultrasound is the usual first test for gallstones. Elastography measures liver stiffness to estimate scarring.

Timing

When Should You See a Gastroenterologist?

Your primary care doctor may refer you, or you can ask for an evaluation if symptoms last or worry you. Early liver disease often causes no symptoms, so a routine blood test may be the first clue. European (EASL) guidelines say people over 50, and people with type 2 diabetes or metabolic syndrome, should have liver enzyme and ultrasound screening as part of routine care. Only a doctor can tell you what is causing your symptoms.

Reasons to Book an Evaluation

  • Abdominal pain that keeps coming back or does not go away
  • Diarrhea that lasts more than one month, or ongoing constipation
  • Blood in the stool or rectal bleeding
  • Trouble swallowing
  • Heartburn that continues despite treatment
  • Weight loss you cannot explain
  • Abnormal liver blood tests
  • Yellow skin or eyes (jaundice)
  • Nausea or vomiting that does not go away
  • A family history of colon cancer or inflammatory bowel disease, or age 45 or older for colon cancer screening

Urgent Care

Signs That Need Urgent Attention

Routine symptoms call for an appointment. Some signs need care right away. Do not wait for a specialist visit if you have any of these.

Get Emergency Care for These Signs

  • Vomiting blood, or vomit that looks like coffee grounds
  • Black, tarry stools, or large amounts of bright red blood in the stool
  • Severe abdominal pain
  • Fever together with yellow skin or eyes
  • Shortness of breath
  • Confusion or a sudden change in behavior

Comparison

Gastroenterologist vs. Hepatologist

Both are doctors with advanced training. Neither is better for everyone. The right choice depends on your condition.

GastroenterologistHepatologist
Main focusThe whole digestive systemThe liver and related conditions
Organs coveredEsophagus, stomach, intestines, pancreas, liver, gallbladder, bile ductsLiver, gallbladder, bile ducts, and pancreas as they relate to liver disease
Common reasons to visitHeartburn, bowel problems, abnormal liver tests, colon cancer screening, gallstonesCirrhosis, liver failure, complex hepatitis, transplant evaluation
ProceduresColonoscopy, upper endoscopy, ERCP, biopsyLiver biopsy, varices screening, and management of liver complications

Many people start with a gastroenterologist and are referred to a hepatologist if their liver disease needs more specialized care.

Referral

When You May Need a Hepatologist

A hepatologist is a doctor who specializes in liver disease. Your gastroenterologist may refer you to one, or work alongside one, in these situations.

When a Hepatologist May Lead Your Care

  • Advanced or complex liver disease
  • Cirrhosis and its complications, such as fluid buildup or bleeding veins
  • Liver failure
  • Evaluation for a liver transplant
  • Complex or hard-to-treat viral hepatitis
  • Rarer liver conditions that need specialized care

Your Visit

What to Expect at a Gastroenterology Appointment

Most visits start with a conversation, then an exam. Your doctor may order tests or schedule a procedure. Ask about any food or drink limits before the visit. If you receive sedation for a procedure, arrange for someone to drive you home.

What to Bring and Share

  • Your symptoms, when they started, and how they have changed
  • A list of all medications, vitamins, and supplements
  • Your eating habits, and whether you smoke or drink alcohol
  • Your other health conditions and your family history
  • Past test results, such as ultrasound images, MRI scans, endoscopy, or biopsy reports
  • A family member or friend who can help you remember what the doctor says
  • Expect a gentle exam of your abdomen, where the doctor presses on the skin to check your liver's size and texture

Next Steps

How to Find a Gastroenterologist

Start with your primary care doctor, who can refer you. You can also search LiverDirectory below. Before you book, a few questions can help you choose a doctor who fits your needs.

Questions to Ask the Office

  • Does the doctor treat liver conditions like mine, and how often?
  • Does the doctor perform the procedure I may need, such as an endoscopy?
  • Can I see a hepatologist if my liver disease needs more specialized care?
  • Does the practice accept my insurance?
  • Do I need a referral or any tests before the first visit?

Find a Gastroenterologist near You

Common Questions

Answers to Common Gastroenterologists Questions

Should I See a Gastroenterologist or a Hepatologist for Liver Problems?

Either can start the evaluation. A hepatologist is a liver specialist, and a gastroenterologist treats the digestive system, which includes the liver. Ask the office how often they treat liver conditions like yours. If your liver disease is advanced, a hepatologist may join your care team.

Does an Abnormal Liver Blood Test Mean I Have Liver Disease?

Not always. Elevated liver enzymes can be temporary, but you should still find the cause to catch problems early. Common causes include fatty liver disease, alcohol, viral hepatitis, and some medications. Some non-liver conditions, such as thyroid disease or hard exercise, can also raise enzymes.

What Symptoms Should Make Me Book a Visit?

Yellow skin or eyes, dark urine, pale stools, upper right abdominal pain, abdominal swelling, itching, easy bruising, and unexplained weight loss are common signs. Fatigue, nausea, and vomiting can also occur. Many people have no symptoms early on, so routine checks matter.

What Happens at a First Visit?

Expect questions about your symptoms, medications, diet, and alcohol use, plus an exam of your abdomen. Your doctor may order blood tests and an ultrasound. Depending on the results, you may have elastography to measure scarring, an MRI or CT scan, a liver biopsy, or an endoscopy.

Can a Gastroenterologist Treat Hepatitis C?

Yes, hepatitis C can often be cured. Direct-acting antivirals are pills taken for a set period, usually 8 to 24 weeks. The goal is a sustained virologic response (SVR), which means a cure. Your treatment length depends on your virus genotype, treatment history, and whether you have cirrhosis.

Medical disclaimer: LiverDirectory provides educational information and a directory of providers. It does not provide medical advice, diagnosis, or treatment. Always consult a licensed physician regarding any medical condition.