Thyroidectomy is the surgical removal of all or part of your thyroid gland. Your thyroid is a butterfly-shaped gland located at the base of your neck. It produces hormones that control every aspect of your metabolism, from your heart rate to how quickly you burn calories.