Primary care specialties had the highest number of unfilled residency positions: family medicine (1,272 unfilled positions), internal medicine (988 unfilled positions) and pediatrics (502 unfilled positions).