Gestational inflammation may contribute to brain abnormalities associated with childhood neuropsychiatric disorders. Limited knowledge exists regarding the associations of maternal cytokine levels during pregnancy with offspring neurocognitive development. We assayed the concentrations of five cytokines (interleukin (IL)-6, IL-1β, IL-8, tumor necrosis factor alpha (TNF-α), and IL-10) up to four times in the 2nd and 3rd trimesters of pregnancy using stored prenatal sera from 1366 participants in the New England Family Study (enrollment 1959-1966). Intelligence (IQ), academic achievement, and neuropsychological functioning of singleton offspring were assessed at age 7 years using standardized tests. We used linear mixed models with random effects to estimate the cumulative exposure to each cytokine during 2nd and 3rd trimesters, and then related cumulative cytokine exposure to a wide range of offspring neurocognitive outcomes. We found that children of women with higher levels of the pro-inflammatory cytokine, TNF-α, in the 2nd and 3rd trimesters had lower IQ (B = -2.51, 99% CI: -4.84,-0.18), higher problem scores in visual-motor maturity (B = 0.12, 99% CI: 0.001,0.24), and lower Draw-a-Person test scores (B = -1.28, 99% CI: -2.49,-0.07). Higher gestational levels of IL-8, another pro-inflammatory molecule, were associated with better Draw-a-Person test scores and tactile finger recognition scores. Other cytokines were not associated with our outcome of interest. The opposing directions of associations observed between TNF-α and IL-8 with childhood outcomes suggest pleiotropic effects of gestational inflammation across the domains of neurocognitive functioning. Although the path to psychopathological disturbances in children is no doubt multifactorial, our findings point to a potential role for immune processes in the neurocognitive development of children.