Provided herein are methods and compositions related to treating or preventing seizures. In some aspects, provided herein are methods of treating or preventing seizures in a subject by administering to the subject a composition comprising Parabacteroides and Akkermansia bacteria.