Due to the limitation of energy, the router protocol of wireless sensor network (WSN) must minimize energy consumption to extend the network lifetime. By analyzing the hierarchical routing low energy adaptive clustering hierarchy (LEACH) in WSN, a protocol is proposed to improve of setting up cluster and data transmission route. A timer is introduced to make sure of electing the optimal sensor node as cluster head in process of setting up cluster. During data transmission, using single hop and multi-hop hybrid routing to communicate can utilize energy more effectively and evenly. A simulation example is provided to demonstrate the usefulness of the algorithm which extended the network lifetime and reduced energy consumption greatly compared to LEACH algorithm.