A residency usually takes about 3 years but doctors who want to specialize in some parts of the body, like the brain, require more time to learn more and understand how such systems work correctly.