In order to maximize its own benefits and achieve low carbon, an integrated energy microgrid model considering carbon emission based on model predictive control is established in this paper. A comprehensive energy microgrid model including electric heating and gas cooling energy flow is established, the carbon emission penalty cost is included in the cost of the integrated energy microgrid to adjust the output of each equipment and the user side response. In order to reduce the error caused by the prediction action, the model predictive control method is used to optimize the system with the goal of maximizing the total benefit of the system in the next 24 hours, and the simulation is carried out on Matlab. The simulation results show that the proposed strategy can maximize the benefits of the integrated energy microgrid and reduce the total carbon emission of the system at the same time.