The cloud computing center can dynamically respond to various needs, schedule computing resources, and provide users with convenient IT services. As the demand for cloud computing services continues to increase, the scale of the data center is getting larger and larger, and the problem of high energy consumption of equipment is becoming more and more prominent. Therefore, building a green data center is key to ensuring the development of the technology industry. Virtual machine online migration technology has been widely used in energy consumption management, which plays an important role in the energy‐saving management of large‐scale data centers. Considering the problem of energy consumption in a multi‐data center environment, a cross‐data center virtual machine migration strategy is proposed, EVMA. First, the target data center of the virtual machine migration is determined according to the bandwidth between data centers, and then the overload host and virtual machine selection strategy is determined according to the historical CPU load. The experimental results showed that the algorithm had a good performance in reducing the energy consumption of the data center and ensuring the quality of service.