A wireless sensor network consists of numerous sensor nodes which are capable of entering and departing from the network according to their wish. The implementation of sensor networks is done at far places and they are small-sized. Thus, energy consumption becomes the main issue of WSN. Due to the limited energy of sensor nodes, the data that is collected from the intended environment is sent directly to the main station. The sink node receives the data that several sensor nodes send. The decision-making process is implemented by identifying and removing similarities between the data from various sensor nodes. In addition, the sink makes the deployment of obtained data locally as well as transmits these data to the networks which are executed far away. The existing research work employs CTNR, an energy-efficient protocol that is capable of enhancing the duration of WSN. The CTNR protocol consists of two-level hierarchies for mitigating the energy utilized in WSN. This protocol assists in choosing the CHs (cluster heads) on the basis of distance and energy. This work will focus on enhancing the CTNR routing algorithm so that the life span of the network can be prolonged.