Lu 2 Fe 17 is a ferromagnet below T C~1 40 K and antiferromagnet up to T N =275 K. Hydrogen absorption leads to a stabilization of the ferromagnetism over the whole range of magnetic order and to an increase of the ordering temperature up to T C =354 K in Lu 2 Fe 17 H. The external pressure compensates the lattice expansion upon hydrogenation, and a reentrance of antiferromagnetism is observed.