This study investigates the molecular mechanisms of the ketogenic diet in regulating fatty acid metabolism and activating the ADCY3-initiated cAMP signaling pathway to enhance neuronal inhibition and thereby treat epilepsy.<h4>Methods and results</h4>Meta-analysis reveals that the ketogenic diet is superior to the conventional diet in treating epilepsy. This evidence concerns the gene ADCY3 and epilepsy.