How Long Is Medical School and Residency: Full Timeline

Medical school takes four years, and residency adds another three to seven years depending on the specialty. That puts the minimum total training time at seven years after college, with some paths stretching to 14 years or more when fellowships are included.

The Four Years of Medical School

Both MD (Doctor of Medicine) and DO (Doctor of Osteopathic Medicine) programs follow a four-year structure split into two broad phases: classroom learning and hands-on clinical training. The exact breakdown varies by school, but the general pattern is consistent across the country.

The first phase, typically lasting about 14 months, covers foundational sciences like anatomy, physiology, pharmacology, and pathology. You’re in lecture halls and labs, learning how the body works and what goes wrong in disease. The second phase shifts to clinical clerkships, usually around 12 months of rotating through hospital departments like surgery, internal medicine, pediatrics, psychiatry, and obstetrics. You’re working directly with patients under supervision. The final stretch, roughly 18 months at many schools, allows for elective rotations and deeper focus in areas that align with the specialty you plan to pursue.

During medical school, you also take licensing exams. The first major exam tests your grasp of basic science, and the second evaluates your clinical knowledge and decision-making. Both must be passed before you graduate and move into residency.

How Long Residency Takes by Specialty

Residency is where you train in your chosen specialty under supervision, gradually taking on more responsibility until you can practice independently. The length is set by each specialty’s accrediting body, not by a single universal rule. Here’s how common specialties break down:

  • Family medicine: 3 years
  • Internal medicine: 3 years
  • Pediatrics: 3 years
  • Emergency medicine: 3 to 4 years
  • Psychiatry: 4 years
  • Obstetrics and gynecology: 4 years
  • General surgery: 5 years
  • Orthopedic surgery: 5 years
  • Neurosurgery: 7 years

Your first year of residency, sometimes called the intern year or PGY-1 (postgraduate year one), is the most intense. In a field like internal medicine, interns cycle through roughly a dozen inpatient rotations covering areas like the intensive care unit, cardiology, neurology, and general medicine, each lasting about three weeks. Between those rotations, they spend time in outpatient clinics seeing patients in subspecialties like gastroenterology, rheumatology, and endocrinology. It’s a steep learning curve by design.

Some residencies include a “preliminary” intern year, which is a standalone first year for residents who will then move into a different specialty program (like radiology or ophthalmology) for the remainder of their training. This preliminary year counts toward the total, but it sometimes happens at a different hospital than the rest of the residency.

Fellowships Add One to Three More Years

If you want to subspecialize, you’ll complete a fellowship after residency. This is optional for many physicians but effectively required if you want to practice in a narrow field. Fellowship lengths vary widely:

  • Cardiology: 3 years for the core cardiovascular diseases fellowship, plus 1 to 2 additional years for further subspecialization in areas like interventional cardiology or electrophysiology
  • Gastroenterology: 3 years, with optional additional years in advanced endoscopy or inflammatory bowel disease
  • Hematology and oncology: 3 years
  • Pulmonary and critical care: 3 years
  • Endocrinology: 2 to 3 years
  • Infectious diseases: 2 to 3 years
  • Rheumatology: 2 to 3 years
  • Nephrology: 2 to 3 years
  • Geriatric medicine: 2 years
  • Sleep medicine: 1 year
  • Hospice and palliative medicine: 1 year

A cardiologist who subspecializes in interventional procedures, for example, completes 4 years of college, 4 years of medical school, 3 years of internal medicine residency, 3 years of cardiology fellowship, and then 1 to 2 years of interventional fellowship. That’s 15 to 16 years of training after high school.

Total Timeline From College to Practice

The shortest path to practicing independently as a physician is 7 years after finishing a bachelor’s degree: 4 years of medical school plus 3 years of residency in a field like family medicine, internal medicine, or pediatrics. That means you’re at least 29 or 30 when you start working as an attending physician, assuming you went straight through without gap years.

Surgical specialties push that timeline out significantly. A general surgeon finishes training after 9 years (4 plus 5), and a neurosurgeon after 11 years (4 plus 7). Add a fellowship on top and you could be looking at 12 to 14 years of post-college training before you’re fully independent.

Here’s how the math works for a few common paths:

  • Primary care physician: 4 + 3 = 7 years
  • Psychiatrist: 4 + 4 = 8 years
  • General surgeon: 4 + 5 = 9 years
  • Cardiologist: 4 + 3 + 3 = 10 years
  • Neurosurgeon: 4 + 7 = 11 years

Accelerated Three-Year Medical School Programs

A small but growing number of schools offer three-year MD programs that shave a full year off the standard timeline. NYU Grossman School of Medicine, for example, runs a three-year directed pathway that covers nearly identical coursework to its standard curriculum but links students to an early conditional acceptance into one of 21 residency programs at NYU Langone Health. You can apply to this track when applying to medical school, or opt in during your first year.

These programs work by compressing or eliminating the elective time that normally fills the fourth year. They’re best suited for students who already know what specialty they want to pursue, since the tradeoff is less exploration time. The curriculum itself, including clinical rotations and research requirements, stays largely the same. A few schools also offer combined BS/MD programs that merge college and medical school into six or seven years total, skipping the traditional application cycle between the two.

For most students, though, the standard four-year path remains the norm. The fourth year provides flexibility for away rotations, residency interviews, and research that can strengthen applications for competitive specialties.