Magnesium selenide is an inorganic compound with the chemical formula MgSe. It contains magnesium and selenium in a 1:1 ratio. It belongs to the II-VI family of semiconductor compounds.