The mobile Ad Hoc network solves the problem of quickly establishing a temporary Ad Hoc network without the need for fixed facilities. However, problems such as network performance degradation, delay increase, and link interruption are endless. Aiming at the problem of shortening the survival time of Ad Hoc network nodes, this paper proposes an improved AODV routing algorithm RE-AODV based on energy consumption. RE-AODV takes energy as the starting point, determines the time extension according to the remaining energy of the current node, balances the energy consumption of each node, and extends the net-work lifetime. The network simulator NS-3 is used to realize the effectiveness of the RE-AODV routing algorithm. The simulation results show that the RE-AODV routing optimization algorithm can effectively extend the network survival time, reduce the number of dead nodes, and effectively solve the wireless Ad Hoc network compared with the AODV routing protocol. The problem of energy consumption can improve the overall performance of the network.