Medical residency in the United States lasts between three and seven years, depending on the specialty. The shortest residencies are in primary care fields like family medicine and pediatrics (three years), while the longest is neurosurgery at seven years. These timelines represent the minimum postgraduate training required for board certification, and many physicians add even more time through research years or fellowship training.
Residency Length by Specialty
The year count for residency starts on day one after medical school graduation, beginning with the intern year (also called PGY-1, for “postgraduate year one”). That first year is part of the total residency length, not a separate requirement. So when a specialty lists three years of residency, that includes the intern year.
Here’s how the major specialties break down:
- 3 years: Family medicine, internal medicine, pediatrics, emergency medicine (most programs)
- 4 years: Anesthesiology, dermatology, emergency medicine (some programs), obstetrics and gynecology, pathology, psychiatry, radiology
- 5 years: General surgery, orthopedic surgery, otolaryngology (ENT), urology
- 6 years: Plastic surgery (integrated programs)
- 7 years: Neurosurgery
A one-year transitional or preliminary residency also exists. This is typically a standalone year that serves as a prerequisite before entering certain specialties like radiology, ophthalmology, or dermatology. If your specialty requires a preliminary year before the main residency begins, the total training time adds up accordingly.
Why Some Specialties Take Longer
The length of a residency roughly tracks with how broad or technically demanding the specialty is. Surgical fields take longer because residents need to accumulate enough operative experience to perform procedures independently. Neurosurgery, the longest at seven years, covers the brain, spinal cord, and peripheral nerves, requiring proficiency in an enormous range of complex operations.
Primary care residencies are shorter not because the work is simpler, but because the training model is different. Internal medicine and family medicine residents see high patient volumes across a wide variety of conditions, building diagnostic and management skills through repetition rather than through years of procedural training.
The 3-Year vs. 4-Year Emergency Medicine Question
Emergency medicine is unusual in offering two program formats. About 80% of EM residencies follow a three-year structure, while the remaining 20% use a four-year format. As of late 2021, there were 221 three-year programs and 55 four-year programs nationwide.
The four-year format doesn’t exist because three years is insufficient. Both formats produce physicians who pass board exams at similar rates, and the differences in performance between graduates are statistically trivial. Fourth-year residents in four-year programs do score highest on in-training exams, which makes sense given the extra year of practice. But three-year graduates pass the qualifying exam at a slightly higher rate (93.1% vs. 90.8%), and the practical gap between the two tracks is too small to favor one over the other. If you’re considering EM, the format matters less than the individual program’s quality and culture.
Research Years Can Add to the Total
Some residency programs include dedicated research time that extends the total training beyond the standard length. This is most common in surgical specialties. Among the 313 general surgery residency programs in the U.S., about 41% offer a dedicated research year. In most of those programs (32% of all programs), the research year is optional. Only 8% of programs make it mandatory.
Research years typically slot in after the second or third postgraduate year. Some programs allow residents to pursue an advanced degree during this time, like a master’s in public health or clinical research. These years don’t count toward the clinical training requirements, so a five-year general surgery residency with a research year becomes six years in practice. Academic medical centers and competitive programs are more likely to expect or encourage this extra time.
Fellowships After Residency
Residency gets you board-certified in a broad specialty, but many physicians then pursue fellowship training in a subspecialty. Fellowships typically last one to three additional years. A cardiologist, for example, completes three years of internal medicine residency followed by a three-year cardiology fellowship, totaling six years of postgraduate training. A hand surgeon might finish five years of orthopedic surgery residency and then do a one-year fellowship.
Common fellowship lengths include one year for sports medicine, hospice and palliative care, or surgical subspecialties like trauma. Two to three years is standard for cardiology, gastroenterology, pulmonary and critical care, and hematology/oncology. Subspecialties of subspecialties exist too. An interventional cardiologist adds another year on top of the general cardiology fellowship, pushing total training past a decade after medical school.
Total Timeline From College to Practice
To put residency length in full context, here’s what the complete path looks like. Four years of undergraduate education, four years of medical school, then three to seven years of residency. A family medicine physician finishes training about 11 years after starting college. A neurosurgeon finishes closer to 15 years out, and even longer with fellowship.
For those in pharmacy or dental fields, the structure is different. Pharmacy residencies follow a PGY-1 and PGY-2 model, with each year lasting 12 months. PGY-1 provides broad clinical training, while PGY-2 focuses on a specialty area and requires completion of a PGY-1 first. Dental residencies vary from one year for a general practice residency to six years for oral and maxillofacial surgery, though most dental specialties like orthodontics or periodontics require two to three years.
Residency is the longest stretch of training most physicians experience, but the actual number of years depends entirely on which branch of medicine you choose and whether you pursue subspecialty training afterward. The range from three to seven years is wide enough that two physicians who graduated medical school on the same day might finish training four years apart.

