The substitution of Ce by Y in YMn 2 leads to the destabilization of the Mn magnetic moment and inhibits both the transition to antiferromagnetism and the associated expansion of the crystal cell observed in pure YMn 2 . We show in this work how hydrogen uptake in the Y 1Ϫx Ce x Mn 2 series gives rise to the recovery of long-range magnetic ordering in these systems. The analysis of magnetic and x-ray-absorption spectroscopy experiments addresses the critical role played by the modification of the Ce electronic state in the stabilization of the Mn magnetic moment through the hybridization changes.