Ternary RE 3-x Mg x Ni 9 intermetallics are promising battery electrode materials. Studies of the structure-properties relationships in the (La,Pr,Nd) 3-x Mg x Ni 9 H 10-13 hydrides and initial intermetallics revealed the following: a) Increase of magnesium content causes a gradual shrinking of the trigonal unit cells (a, c, V) for all studied RE metals, with the highest solubility range of Mg reached in REMg 2 Ni 9 ; b) Significant lowering of the thermodynamic stability follows an increase in magnesium content from x =1.0 to 1.1-1.2 and a replacement of La by Pr and Nd, with desorption pressures changing in a broad range, from 0.01 bar to 20 bar H 2 ; c) Neutron powder diffraction shows a nearly equal distribution of D atoms within the REMgNi 4 and RENi 5 layers; d) Local hydrogen ordering occurs within the H-sublattice built from MgH 6 octahedra and NiH 4 tetrahedra displaying a directional metal-hydrogen bonding. A partial substitution of Mg for RE allows the electrochemical discharge capacity of the (La,Pr,Nd) 3-x Mg x Ni 9 hydrides to become 25% greater than that of the commercial AB 5 -type electrodes, reaching 400 mAh/g. Synthesis of the materials with a high degree of homogeneity is important and has been achieved by choosing an appropriate synthesis route, content of Mg in the initial mixtures, and time and temperature of the homogenisation process.