The peer-to-peer (P2P) energy trading concept has grown rapidly in the past few years due to the major penetration of distributed energy resources into residential communities. In P2P trading, all the participants both sellers and buyers play a crucial role to minimize the imbalance between total energy generation and load demand and also to enhance the financial benefits. This paper proposes the combination of a P2P energy trading model and an energy management scheme for multi-microgrid systems to obtain better optimal energy operations. In this model, the P2P trading process is initiated with the optimal outputs of all microgrids’ daily energy operation. The optimal energy operation problem of each microgrid in multi-microgrid system is designed as a mixed integer linear programming problem and solved by the MILP solver in the MATLAB toolbox. A group of five different microgrids is considered as a multi-microgrid community system to evaluate the performance and effectiveness of the proposed P2P model with energy management integration. The simulation results show the economic and technical benefits of the P2P energy trading and energy management combined model for the multi-microgrid systems. The proposed model can also maximize the renewable energy utilization within community microgrids.