Previous studies have shown that the renin–angiotensin system (RAS) is affected by adverse maternal nutrition during pregnancy. The aim of this study was to investigate the effects of a maternal low-protein diet on proinflammatory cytokines, reactive oxygen species and RAS components in kidney samples isolated from adult male offspring. We hypothesized that post-weaning losartan treatment would have beneficial effects on RAS activity and inflammatory and oxidative stress markers in these animals. Pregnant Sprague–Dawley rats were fed with a control (20% casein) or low-protein diet (LP) (6% casein) throughout gestation. After weaning, the LP pups were randomly assigned to LP and LP-losartan groups (AT1 receptor blockade: 10 mg/kg/day until 20 weeks of age). At 20 weeks of age, blood pressure levels were higher and renal RAS was activated in the LP group. We also observed several adverse effects in the kidneys of the LP group, including a higher number of CD3, CD68 and proliferating cell nuclear antigen-positive cells and higher levels of collagen and reactive oxygen species in the kidney. Further, our results revealed that post-weaning losartan treatment completely abolished immune cell infiltration and intrarenal RAS activation in the kidneys of LP rats. The prevention of augmentation of angiotensin (Ang II) concentration abolished inflammatory and fibrotic events, indicating that Ang II via the AT1 receptor is essential for pathological initiation. Our results suggest that the prenatal programming of hypertension is dependent on the up-regulation of local RAS and presence of immune cells in the kidney.