An alignment guide for total ankle replacement surgery and a method of creating and using the alignment guide. The alignment guide has a surface that interfaces with a corresponding surface of a superior aspect a talus of a patient, and as second surface portion that interfaces with a corresponding distal surface of a section of a tibia of the patient. When the alignment guide is in position, it maintains the ankle of the patient in a preselected position.