Over the last two decades, wireless body area networks (WBANs) have gained significant traction in healthcare applications. These networks facilitate connections among various sensors, which can be integrated into clothing, placed directly on the body, or implanted beneath the skin. While these sensors typically serve a single application, they generate traffic with diverse requirements. Managing this diversity necessitates tailored treatment to meet specific traffic needs while satisfying application requirements such as reliability and timeliness. In this paper, we propose a novel, flexible, and power-efficient medium access control (MAC) protocol designed to seamlessly complement existing solutions. Our protocol, available in two versions as an enhancement to the beacon-enabled mode of IEEE 802.15.4, aims to optimize quality of service (QoS) for periodic traffic applications within WBANs, irrespective of traffic and density conditions, without compromising energy efficiency. Our results demonstrate significant improvements compared to the standardized IEEE 802.15.4-MAC protocol across all test scenarios, even in the presence of selfish behaviors. These findings underscore the protocol’s efficacy in enhancing reliability and efficiency in wireless healthcare systems.