To become an endocrinologist, one must complete a three-year residency in internal medicine, followed by two to three years of fellowship training in endocrinology, diabetes, and metabolism. Endocrinologists earn a salary ranging from $228,600 to $305,400, with a median salary of $262,100.