Internal medicine is a three year residency. Dermatology is a four year residency, including an internship year in either medicine, peds, or transitional.
On the same note, would anyone mind posting the length of time/ requirements for residencies in different areas of medicine. When is a fellowship necessary? preliminary years? etc. (I am obviously not seeking a residency yet, but just curious...)