Throughout the world, thousands of passengers travel by air, their quality depends on that of the equipment used. Predictive maintenance is increasingly used to estimate. The remaining useful life of system components and in particular turbofan engines as an essential component. It is used to predict failure before it occurs, optimize component design, extend equipment life, and reduce maintenance costs. However, the algorithms proposed in the literature to date to determine the remaining useful life lack precision with a quadratic error around 20 while the physical models have errors of the order of 0.02. The problem here is how to increase the accuracy of predicting the remaining useful life of a turbofan engine. The objective of this study is to develop a more realistic and accurate algorithm for calculating the remaining useful life of a turbofan engine. To do this, we considered the degradation of the high pressure compressor and the fan as essential organs of the turbojet engine and we used deep learning, known for its high precision linked to a great capacity for extracting information. More specifically, it involved acquiring data on a turbojet engine in operation, pre-processing this data, developing the prediction model, training the model and finally validating the approach in comparison with other diagnostic methods. and to model these defects. We compared two deep learning architectures per application against the CMAPSS dataset to assess their performance. The LSTM architecture we developed prevailed with an RMSE of 13.76, well positioned compared to the literature architecture.