|Abstract: Wireless Sensor Network (WSN) is a system composed of a large number of low-cost micro-sensors. This network is used to collect and send various kinds of messages to a base station (BS). WSN consists of low-cost nodes with limited battery power, and the battery replacement is not easy for WSN with thousands of physically embedded nodes, which means energy efficient clustering algorithm should be employed to offer a long-life work time. To achieve the aim, we need to develop an energy efficient hierarchical clustering algorithm to minimize not only total energy consumption but also to balance WSN load. Researchers have proposed many algorithms. In this paper, we propose an Energy Efficient Clustering Algorithm which introduces Swarm Intelligence Algorithm to provide the shortest and optimized path to the cluster heads and it also uses the two step clustering algorithm; first, the node with the highest residual energy is selected as the anchor cluster-head (ACH), and the candidate cluster-heads (CCHs) are determined according to their residual energy as well as the distance from the anchor cluster-head; second, the candidate cluster-heads compete to be the cluster-heads via a delayed broadcast mechanism. Simulation results show that the Proposed Algorithm has a better performance than other algorithms in prolonging the lifetime of WSN.