Is Gastroenterology a Subspecialty of Internal Medicine?

Gastroenterology is a subspecialty of internal medicine. Every gastroenterologist trains first as an internist, completing a full internal medicine residency before pursuing additional fellowship training focused on the digestive system. The American Board of Internal Medicine oversees certification in both fields, and physicians must be board-certified in internal medicine before they can sit for the gastroenterology certification exam.

How Training Connects the Two Fields

Becoming a gastroenterologist requires a specific, sequential training path that runs directly through internal medicine. After four years of medical school, physicians complete a three-year internal medicine residency. During those three years, they learn to diagnose and manage a wide range of adult diseases, including heart, lung, kidney, and digestive conditions. Only after finishing that residency can they enter a gastroenterology fellowship, which lasts another two to three years.

That fellowship is where the specialization happens. Fellows learn to perform endoscopic procedures, interpret complex imaging of the gut, and manage diseases of the esophagus, stomach, intestines, liver, pancreas, and gallbladder. But the internal medicine foundation is non-negotiable. The total post-college training adds up to roughly 13 to 14 years: four years of undergrad, four years of medical school, three years of residency, and two to three years of fellowship.

What Gastroenterologists Do That Internists Don’t

A general internist can evaluate digestive symptoms, order labs, prescribe medications for acid reflux or irritable bowel syndrome, and even perform basic screening procedures in some settings. But the complexity gap between the two is significant. Research published in the Journal of General Internal Medicine found that when general practitioners performed GI procedures, those procedures were more likely to be simple and diagnostic, often for routine screening. Gastroenterologists, by contrast, were far more likely to perform biopsies, remove polyps, and treat conditions like GI bleeding or cancer. Their patients also tended to be sicker overall.

Gastroenterologists have an extensive procedural toolkit that general internists simply don’t use. This includes diagnostic and therapeutic endoscopy, placement of stents in the bile ducts or esophagus, treatment of esophageal varices (swollen veins that can bleed dangerously), endoscopic ultrasound, radiofrequency treatment for precancerous changes in the esophagus, motility testing for conditions like chronic constipation or non-cardiac chest pain, and evaluation for liver transplant. These procedures require years of hands-on fellowship training that internal medicine residency doesn’t provide.

When an Internist Refers to a Gastroenterologist

Your internist or primary care doctor serves as the first line for digestive complaints, but certain symptoms and situations call for a gastroenterology referral. Alarm symptoms that typically trigger a referral include rectal bleeding combined with a change in bowel habits, unexplained iron deficiency anemia, difficulty swallowing, unintentional weight loss, persistent vomiting, or a palpable mass in the abdomen.

Age plays a role too. New digestive symptoms appearing after age 50 to 55, particularly in someone with no prior history, raise more concern. For people with dyspepsia (chronic upper abdominal discomfort), referral guidelines recommend early endoscopy when alarm symptoms are present, when there’s a history of ulcer disease, or when the patient uses anti-inflammatory medications heavily. Even for conditions like irritable bowel syndrome, which internists manage routinely, a referral makes sense if the diagnosis is uncertain, if symptoms are atypical, or if the patient has red-flag features like nocturnal symptoms or a family history of colon cancer.

Organs and Systems Covered

Gastroenterologists treat the entire digestive system. That starts with the esophagus and moves through the stomach and both the small and large intestines. But the specialty extends well beyond the gut tube itself. It also covers what’s called the biliary system: the liver, gallbladder, bile ducts, and pancreas. These organs produce bile and digestive enzymes that flow into the intestines, and diseases affecting them (hepatitis, gallstones, pancreatitis, liver cirrhosis) fall squarely within a gastroenterologist’s domain.

This broad organ coverage is one reason the fellowship takes two to three years on top of an already lengthy residency. Managing liver disease alone is complex enough that some gastroenterologists pursue even further training in transplant hepatology, which adds another year of fellowship focused on advanced liver disease and transplant care. Transplant hepatology has its own board certification, jointly offered for both adult and pediatric patients.

Gastroenterology by the Numbers

The workforce data helps illustrate the relationship between these fields. Based on 2023 figures, there are roughly 92,578 active general internal medicine physicians in the United States compared to about 17,981 gastroenterologists. Gastroenterology is one of the larger internal medicine subspecialties, but it still represents a fraction of the broader internal medicine workforce. This ratio reflects the referral-based nature of the specialty: most digestive issues are managed by internists and primary care doctors, with gastroenterologists handling the cases that need specialized procedures or expertise.

Pediatric Gastroenterology Is Different

One important distinction: pediatric gastroenterology is not a subspecialty of internal medicine. It falls under pediatrics. Pediatric gastroenterologists complete a pediatrics residency instead of an internal medicine residency, then pursue a GI fellowship focused on children. Some training programs do offer combined adult and pediatric tracks, but the two pathways are governed by different boards. The American Board of Internal Medicine certifies adult gastroenterologists, while the American Board of Pediatrics certifies pediatric ones.