The absence of CXCL10 resulted in improved retinal function after B. cereus infection. Eyes of CXCL10−/− and C57BL/6J (C57) male and female mice were infected with 100 CFU B. cereus. Retinal function was assessed by ERG at 8, 10, 12, 14, and 16 hours postinfection. Compared to infected C57BL/6J mice eyes, A‐ wave responses were significantly retained at 8 (P < 0.0001) and 10 (P < 0.0001) hours postinfection, whereas B-wave responses were significantly retained at 8 (P = 0.0170), 10 (P = 0.0289), and 12 (P = 0.0423) hours postinfection (A and C). No sex-related differences in retinal function were observed at any time point. Values represent means ± SEM of n ≥ 6 eyes at each time point with at least 3 independent experiments. *P ≤ 0.05, ****P ≤ 0.0001, and nsP ≥ 0.05.