Diabetes mellitus commonly causes complications of the foot that can lead to surgery. The appropriate perioperative management of diabetic patients can reduce the morbidity and mortality associated with diabetic foot surgery and enhance wound healing. The authors review the effects of hyperglycemia, detail preoperative, intraoperative, and postoperative care, and describe anesthetic choices. An algorithm for management of hypoglycemia is offered.