<i>Bacillus subtilis</i> administration prevented cognitive deficits, maintained <i>Tnfa</i> at control levels, and significantly reduced <i>Il1b</i> and <i>Il6</i> expression compared to the LPS + ZDV group. Here, TNF is linked to Cognitive impairment.