The effect of hydrogenation on the crystal structure and the magnetic properties of Ce 2 Pd 2 InH x was studied up to the hydrogen content x=4. In the entire range of x, the system retains the tetragonal unit cell of the parent compound, and nearly isotropic expansion of the crystal lattice was observed for x≤2.5. Below x≈1.5, the hydrides exhibit ferromagnetic properties, while at larger hydrogen content antiferromagnetic behaviour was found in samples with the composition up to x≈2.5. In the entire Ce 2 Pd 2 InH x series the magnetic behaviour is governed by the well-localized magnetic moments carried by trivalent cerium ions with fairly stable 4f 1 electronic configuration.