The effects of a maternal hypercaloric diet (HD) during puberty and early adulthood on neuroimmune aspects in offspring were investigated. In female rats of the F0 generation and male rats of the F1 generation, bodyweight (BW) gain, retroperitoneal fat (RPF) weight, the number of hypodermic adipocytes (HAs) and expression of glial fibrillary acidic protein (GFAP) were measured in hypothalamic astrocytes. On Postnatal Day 50, the F1 pups were challenged with lipopolysaccharide (LPS, 100µgkg-1, s.c.) or an equal volume of saline (S), and behaviour in the open field test was evaluated, as were plasma neuropeptide and cytokine concentrations. The maternal HD caused the female F0 rats to become overweight. The F1 offspring of dams fed the HD and challenged with saline (HDS group) exhibited increases in BW gain, RPF weight and in the number of large HAs and a decrease in GFAP immunoreactivity. F1 offspring of dams fed the HD and challenged with LPS (HDLPS group) exhibited decreases in BW gain, RPF weight and GFAP immunoreactivity, but no differences were observed in the number of larger and small HAs. Plasma tumour necrosis factor-α concentrations were high in the HDS and HDLPS groups. Thus, the maternal HD during puberty and early adulthood caused the F1 generation to become overweight despite the fact that they received a normocaloric diet. These results indicate a transgenerational effect of the HD that may occur, in part, through permanent changes in immune system programming. The attenuation of neuroinflammation biomarkers after LPS administration may have resulted in a decrease in the number of adipocytes, which, in turn, reduced cytokine, adipokine and chemokine levels, which are able to recruit inflammatory cells in adipose tissue.