4With the growth of wireless sensor network (WSN) technologies, the applications of IoT-based WSNs allow the interconnection of smart objects or sensors through the Internet. However, energy constraint is a major obstacle in WSN, which directly affects the lifespan of the network. Hence, many researchers have focused on how to program routing protocols to maximize energy conservation in WSNs. The clustering mechanism is demonstrated that separating the network into clusters may significantly decrease energy consumption. In this paper, we propose distributed tree-based clustering routing protocol for IoT applications (EE-DTC). In order to enhance efficient energy, EE-DTC chooses cluster head nodes based on the remaining energy, the location, and the density of nodes. In addition, to lengthen the network lifespan, we create multi-hop routes with short communication links intra-clusters by building the minimum spanning tree (MST) using the Kruskal algorithm. Our experiment results exhibit that the performance of EE-DTC overcomes the TBC and LEACH-VA protocols in terms of increasing network lifespan, reducing energy consumption, and improving efficient energy. Index Terms4Wireless sensor networks, routing protocol, energy-efficient, IoT, tree-based clustering.