B-doped Mg-based hydrogen storage system is designed based on density functional theory. Nonmetal B has better improvement effect than most of transition metals for Mg-based system. Desorption temperature is reduced to less than 80 °C, the ultimate goal of US DOE. It provides new insights into the light nonmetal-doped Mg-based hydrogen storage materials.