A pancreas transplant is most often used as treatment for type 1 diabetes. But it is not the standard treatment. There are possible life-threatening side effects of the medicine prescribed to prevent the body from rejecting the new pancreas.