The ketogenic diet is frequently used for children from two years of age upwards, although the diet can also be used for babies from as tiny as six months – and sometimes even younger.