Disclosed is the provision of a DNA for a glycoalkaloid biosynthetic enzyme in a plant belonging to the family Solanaceae such as potatoes. Also disclosed is a protein having the enzymatic activity of a glycoalkaloid biosynthetic enzyme of a plant belonging to the family Solanaceae such as potatoes and a method for producing and examining a novel organism using a gene encoding this protein.