The crystal structures of newly discovered Li4Ge2D and Li4Si2D ternary phases were solved by direct methods using neutron powder diffraction data. Both structures can be described using a Cmmm orthorhombic cell with all hydrogen atoms occupying Li6-octahedral interstices. The overall crystal structure and the geometry of these interstices are compared with those of other related phases, and the stabilization of this novel class of ternary hydrides is discussed.