The synthesis of glycogen from glucose (glycogenesis) involves multiple enzymatic steps that takes place in the cytosol. Glucose is first converted to glucose-6-phosphate by hexokinase or glucokinase in muscle and liver respectively. It is then converted to UDP-glucose which acts as the donor of glucose units. A glycogen primer, initiated by the enzyme glycogen synthase, is required to begin glycogen synthesis. Glycogen is then elongated through alpha-1,4 glycosidic linkages by glycogen synthase and branched through alpha-1,6 linkages by the branching enzyme glucosyltransferase. This leads to the formation of the branched glyc