A new quasi-planar semiconductor, named Mg2C monolayer is predicted. Mg2C monolayer exhibits an indirect band gap of about 0.68 eV. The electronic properties of Mg2C monolayer can be tuned by external stress and strain. Mg2C indicates considerable absorption in UV region.