Objectives: To improve the energy efficiency in IoT-based wireless sensor networks. To increase the sensor node lifetime in any wireless sensor network (WSN) based on the Energy-efficient cluster and routing in WSN. The advancement in the electronic industry has to develop the low powerconsuming and low-cost devices for multiple purposes. Methods: A new algorithm is proposed to improve the energy efficiency in IoT-based WSN for routing algorithms. The low power consuming devices are wisely chosen for the respected application and their power management. This study is intended to provide efficient routing algorithms with less energy consumption in wireless sensor networks. Findings: A wireless sensor network deployed with a number of non-static nodes in a communication network are beneficial for numerous fields such as the military, medical sector, structural health monitoring, transportation industries, etc. In this paper, the performance parameters like average throughput, average end-to-end delay, packet delivery ratio, average node energy, and normalized routing load are analyzed. Novelty: We designed and simulated the Distributed IoT-based wireless network system to analyze the information of nodes roaming in the vicinity of the zone area. In proposed technique energy efficiency is increased compared to the conventional algorithm. In node centric routing protocol, energy efficiency is increased from 55% to 68%. In data centric routing protocol, energy efficiency is increased from 65% to 75%. In source-initiated routing protocol, energy efficiency is increased from 68% to 80%. In destination-initiated routing protocol, energy efficiency is increased from 72% to 85%.