The ketogenic diet (KD) is often considered as a treatment option for medication-resistant focal epilepsies and symptomatic generalized epilepsies, but is perhaps less commonly considered for idiopathic generalized epilepsies. The evidence for the use of the KD in two common idiopathic generalized epilepsy syndromes, childhood absence epilepsy and juvenile myoclonic epilepsy, is presented here.