SummaryA mobile ad hoc network (MANET) is a network with non‐wired communications and non‐centralized administration where all its nodes are mobile. Firstly, one of the leading drawbacks of wireless networks is their energy consumption because the constituent nodes of the network have a restricted battery capacity yet greater consumption caused by the mobility of the nodes, their processing power, the frequent sending of data, and so on. Secondly, data packets may be lost due to traffic, noise, or the mobility of nodes, whose data transmission in real‐time applications would be compromised by this loss. In order to resolve the problem of energy consumption and that of the loss of data packets for MANETs, we propose a new stable‐aware differential evolution‐based routing protocol (SDERP). We include a fitness function to select the best new path from all new paths issued at the end of this algorithm. This fitness function is based on energy constraints and link stability. The performance of our proposal is compared with OPAOMDV‐EE, FT‐AORP, EE‐LB‐AOMDV and AOMDV. The results show that our SDERP has better network performance than the other routing protocols. Specifically, it obtains a packet delivery ratio that is higher by up to 17%, an overhead ratio reduced by up to 33%, an energy efficiency better by up to 39%, and end‐to‐end delay reduced by up to 16%.