The gut microbiota has been linked to various neurological disorders via the gut–brain axis. Diet influences the composition of the gut microbiota. The ketogenic diet (KD) is a high-fat, adequate-protein, low-carbohydrate diet established for treatment of therapy-resistant epilepsy in children. I…