Magnesium-based transition-metal hydrides are attractive hydrogen energy materials because of their relatively high gravimetric and volumetric hydrogen storage capacities combined with low material costs. However, most of them are too stable to release the hydrogen under moderate conditions. Here we synthesize the hydride of Mg2FexSi1-x, which consists of Mg2FeH6 and Mg2Si with the same cubic structure. For silicon-rich hydrides (x < 0.5), mostly the Mg2Si phase is observed by X-ray diffraction, and Mössbauer spectroscopy indicates the formation of an octahedral FeH6 unit. Transmission electron microscopy measurements indicate that Mg2FeH6 domains are nanometer-sized and embedded in a Mg2Si matrix. This synthesized metallographic structure leads to distortion of the Mg2FeH6 lattice, resulting in thermal destabilization. Our results indicate that nanometer-sized magnesium-based transition-metal hydrides can be formed into a matrix-forced organization induced by the hydrogenation of nonequilibrium Mg-Fe-Si composites. In this way, the thermodynamics of hydrogen absorption and desorption can be tuned, which allows for the development of lightweight and inexpensive hydrogen storage materials.