The Internet of Things (IoT) is gaining a tons of attention in numerous industries due to its low-cost autonomous sensor operations. IoT devices in healthcare and medical activities establish an environment that recognizes the patients’ health status such as stress levels, oxygen supply, pulse and warmth, and responds quickly in the event of an emergency. Moreover, various systems founded on low-powered biosensor nodules have been proposed to monitor patients’ medical conditions utilizing Wireless Body Area Network (WBAN); despite the fact that controlling increasing power usage and communication expenses is time-consuming and attention-demanding. Another difficult research problem is data privacy and integrity in the presence of malicious traffic. Therefore, to overcome the above-stated limitations, this research introduces a Safe and the Energy-Efficient Framework for e-Healthcare using Internet of Medical Things (IoMT), whose main goal is to reduce transmission cost but also power usage among biomaterials while sending health records conveniently and, on the other hand, to protect patients’ medical data from unverified and malevolent base stations to increase internet confidentiality and protection.