The excellent roles of mesopores were revealed clearly in preventing Ni metal from sintering as well as in preventing inactive coke accumulation under severe reaction conditions of methane steam reforming over ordered mesoporous Ni-Mg-Al oxide catalysts.