In order to treat the problems of the blindness of cluster head selection and the imbalance of energy consumption in the cluster in LEACH,an improved algorithm LEACH-ED based on nodes,residual energy and distance factor of inter-cluster communication was proposed.The cluster head election mechanism based on the estimate of the node residual energy was optimized.Both the energy of the nodes and the distance between the cluster member nodes and the sink node were considered.The cluster member nodes communicated with sink node directly rather than culster head nodes,which were closer to the sink node than culster head.Compared with LEACH protocol,the results of simulation showed that the improved algorithm prolongs the network’s lifetime nearly 50 percent and the ability of data transmission of nodes is improved greatly.