Density functional theory calculations and electron energy loss spectroscopy indicate that the electronic structure of ordered orthorhombic MgSiN2 is similar to that of wurtzite AlN. A band gap of 5.7 eV was calculated for both MgSiN2 (indirect) and AlN (direct) using the Heyd-Scuseria-Ernzerhof approximation. Correction with respect to the experimental room-temperature band gap of AlN indicates that the true band gap of MgSiN2 is 6.2 eV. MgSiN2 has an additional direct gap of 6.3 eV at the Γ point.