Kynurenine-3-monooxygenase (KMO) broadly inhibits viral infections via triggering NMDAR/Ca2+ influx and CaMKII/ IRF3-mediated IFN-β production. Here, KMO is linked to viral infectious disease.