We generated knock-in flies carrying different epilepsy-associated pyridox(am)ine 5′-phosphate oxidase (PNPO) alleles and studied the developmental, behavioral, electrophysiological, and fitness effects of each mutant allele under different dietary conditions. Here, PNPO is linked to epilepsy.