Exposure to repetitive painful procedures in the neonatal intensive care unit results in long‐lasting effects, especially visible after a “second hit” in adulthood. As the nociceptive system and the hypothalamic–pituitary–adrenal (HPA) axis interact and are vulnerable in early life, repetitive painful procedures in neonates may affect later‐life HPA axis reactivity. The first aim of the present study was to investigate the effects of repetitive neonatal procedural pain on plasma corticosterone levels after mild acute stress (MAS) in young adult rats. Second, the study examined if MAS acts as a “second hit” and affects mechanical sensitivity. Fifty‐two rats were either needle pricked four times a day, disturbed, or left undisturbed during the first neonatal week. At 8 weeks, the animals were subjected to MAS, and plasma was collected before (t0), after MAS (t20), and at recovery (t60). Corticosterone levels were analyzed using an enzyme‐linked immunosorbent assay, and mechanical sensitivity was assessed with von Frey filaments. Results demonstrate that repetitive neonatal procedural pain reduces stress‐induced plasma corticosterone increase after MAS only in young adult females and not in males. Furthermore, MAS does not affect mechanical sensitivity in young adult rats. Altogether, the results suggest an age‐ and sex‐dependent effect of repetitive neonatal procedural pain on HPA axis reprogramming.