Pyridox(am)ine 5'-phosphate oxidase (PNPO) catalyzes the rate-limiting step in the synthesis of pyridoxal 5'-phosphate (PLP), the active form of vitamin B6 required for the synthesis of neurotransmitters GABA and monoamines. Pathogenic variants in PNPO have been repeatedly identified in patients with neonatal epileptic encephalopathy and early-onset epilepsy. These patients often exhibit different types of seizures and variable comorbidities, including developmental impairment and intellectual disability. It is unclear how seizure types and associated comorbidities are linked to specific PNPO alleles and to what degree diet can modify their expression. Furthermore, the molecular characteristics of PNPO variants have not been examined in model systems. Using CRISPR/Cas9, we generated four knock-in Drosophila alleles, hWT, hR116Q, hD33V, and hR95H, in which the endogenous Drosophila PNPO (sugarlethal) was replaced by wild-type human PNPO cDNA and epilepsy-associated variants corresponding to R116Q, D33V, and R95H, respectively. We examined these knock-in flies at the molecular, circuitry, and behavioral levels. Collectively, we found a wide range of phenotypes in an allele- and diet-dependent manner. Specifically, the D33V mutation reduces the mRNA level, R95H reduces the protein stability, and R116Q alters the protein localization of PNPO in the brain. D33V and R95H mutations lead to partial and complete lethality during development, respectively and R116Q and D33V mutations shorten lifespan. At the behavioral level, hD33V/hR95H trans-heterozygous flies are hypoactive on all tested diets whereas hR116Q flies show diet-dependent locomotor activities. At the circuitry level, hD33V homozygotes show rhythmic burst firing and hD33V/hR95H trans-heterozygotes exhibit spontaneous seizure discharges. In hR95H homozygotes rescued with PLP supplementation, we uncovered that PLP deficiency abolishes development and causes extreme seizures in adults. Lastly, genetic and electrophysiological analyses demonstrate that hWT/hR95H heterozygous flies are prone to seizures due to a dominant-negative effect of hR95H on hWT, highlighting the possibility that human R95H carriers may also be susceptible to epilepsy. Together, this study demonstrates that human PNPO variants interact with diet to contribute to phenotypic variations; and that the knock-in Drosophila model offers a powerful approach to systematically examine clinical manifestations and the underlying mechanisms of human PNPO deficiency.