The metabolite α-ketoglutarate (αKG) is required for chromatin demethylation, but mechanisms that control αKG abundance in the nucleus are poorly defined. We designed a biosensor to monitor this metabolite pool in human cells using an αKG-responsive cyanobacterial transcription factor, NtcA, and used it to identify genes that regulate αKG in the nucleus. We defined an interorganelle pathway in which sequential mitochondrial activities of glutamic-pyruvic transaminase 2 (GPT2) and the SLC25A11 transporter supply nuclear αKG. In a mouse model of GPT2 deficiency, an inborn error of metabolism, Gpt2 loss caused histone hypermethylation in the brain and dysregulated neurodevelopmental genes. Restoring αKG counteracted these changes and promoted mouse fitness. Our work provides a tool to directly monitor nuclear αKG and reveals nuclear αKG depletion as a key pathogenic mechanism underlying GPT2 deficiency.