Several rare-earth doped, heavy metal halides have been recently identified as potential next-generation luminescent materials with high efficiency at low cost. AB 2 I 5 :Eu 2+ (A=Li-Cs; B=Sr, Ba) is one such family of halides. Its members, such as CsBa 2 I 5 :Eu 2+ and KSr 2 I 5 :Eu 2+ , are currently being investigated as high performance scintillators with improved sensitivity, light yield, and energy resolution less than 3% at 662 keV. Within the AB 2 I 5 family, our firstprinciples based calculations reveal two remarkably different trends in Eu site occupation. The substitutional Eu ions occupy both eight-coordinated B1 (VIII) and the seven-coordinated B2 (VII) sites in the Sr-containing compounds. However, in the Ba-containing crystals, Eu strongly prefer the B2 (VII) sites. This random versus preferential distribution of Eu affects their electronic properties. The calculations also suggest that in the Ba-containing compounds one can expect formation of Eu-rich domains. These results provide atomistic insight into recent experimental observations about the concentration and temperature effects in Eu-doped CsBa 2 I 5. We discuss the implications of our results with respect to luminescent properties and applications. We also hypothesize Sr, Ba-mixed quaternary iodides ABa VIII Sr VII I 5 :Eu, as scintillators having enhanced homogeneity and electronic properties.