The suppression of prolactin production with bromocriptine (BRO) in the last 3 d of lactation reduces milk yield (early weaning) and increases the transfer of leptin through the milk, causing hyperleptinaemia in pups. In adulthood, several changes occur in the offspring as a result of metabolic programming, including overweight, higher visceral fat mass, hypothyroidism, hyperglycaemia, insulin resistance, hyperleptinaemia and central leptin resistance. In the present study, we investigated whether overweight rats programmed by early weaning with maternal BRO treatment have hypothalamic alterations in adulthood. We analysed the expression of neuropeptide Y (NPY), cocaine- and amphetamine-regulated transcript (CART), pro-opiomelanocortin (POMC) and α-melanocyte-stimulating hormone (α-MSH) by immunohistochemistry in the following hypothalamic nuclei: medial and lateral arcuate nucleus (ARC); paraventricular nucleus (PVN); lateral hypothalamus (LH). Additionally, we sought to determine whether these programmed rats exhibited hypothalamic inflammation as indicated by astrogliosis. NPY immunostaining showed a denser NPY-positive fibre network in the ARC and PVN (+82% in both nuclei) of BRO offspring. Regarding the anorexigenic neuropeptides, no difference was found for CART, POMC and α-MSH. The number of astrocytes was higher in all the nuclei of BRO rats. The fibre density of glial fibrillary acidic protein was also increased in both medial and lateral ARC (6·06-fold increase and 9·13-fold increase, respectively), PVN (5·75-fold increase) and LH (2·68-fold increase) of BRO rats. We suggest that early weaning has a long-term effect on the expression of NPY as a consequence of developmental plasticity, and the presence of astrogliosis indicates hypothalamic inflammation that is closely related to overweight and hyperleptinaemia observed in our model.