With the increasing energy demand, developing renewable fuel production strategies such as photoelectrocatalytic hydrogen production is critical to mitigating the global climate change. In this work, we experimentally validate a new stable and photoactive material, Mg2MnO4, from the exhaustive theoretical exploration of the chemical space of X (=Mg and Ca), Mn and O.