By offloading computing tasks to the edge of mobile network, mobile edge computing(MEC) solves the shortcomings of mobile devices in computing capacity and storage capacity. In order to reduce the computing delay of mobile terminal devices and the degree of workload balancing in MEC servers, a computing offloading solution based on information entropy immune algorithm is proposed. Firstly, the system model, delay model, load model and objective optimization model are constructed. Then, a task offloading scheme based on immune optimization is proposed .Finally, this scheme is compared with the Benchmark scheme and the offloading scheme in the literature. Simulation experiments show that the proposed scheme can effectively reduce the average offloading delay, and can effectively balance the load between MEC servers. At the same time, compared with the schemes in the literature, the performance of the scheme is improved to a certain extent.