Maternal infection is a risk factor for neurodevelopmental disorders. Mouse models of maternal immune activation (MIA) may elucidate infection's impact on brain development and function. Here, general guidelines and a procedure are provided to produce reliably resilient and susceptible offspring exposed to MIA.