There is a lack of evidence regarding the optimal intra-operative glycaemic level of patients with ornithine transcarbamylase deficiency to prevent cerebral oedema due to protein catabolism and hyperammonemia. We describe a case of a two-year-old girl with ornithine transcarbamylase deficiency who underwent cardiac surgery requiring cardiopulmonary bypass. A high-dose dextrose infusion to prevent protein catabolism was given throughout surgery, which caused uncontrollable hyperglycaemia unresponsive to high-dose insulin administration. Factors contributing to the hyperglycaemia may have included surgical stress, steroid administration and hypothermia. During invasive surgery, anaesthetists should carefully adjust the rates of dextrose and insulin infusions, guided by close monitoring of blood ammonia, glucose and lactate.