A new lattice Boltzmann (LB) model to solve the phase change problem, which is based on the enthalpy-transforming model has been developed in this paper. The problems of two-region phase change, natural convection of air, and phase change by convection are solved to verify the present LB model. In two-region phase change, the results of the present LB model agree well with that of analytical solution. The benchmark solutions are applied to evaluate the present LB model in natural convection of air and phase change material (PCM) as well. The results show that the present LB model is able to simulate the temperature distribution and capture the location of solid–liquid interface in the cavity accurately. Moreover, the present LB model is effective in computing owing to the fact that no iterations are necessary during the simulations.