There is nothing worse than playing a game with your friends or family and then having the console turn off on you mid-game. This issue is very common with Xbox One & Series S/X users and is frustrating for everyone involved. Thankfully, there are several solutions to this issue ranging from cleaning the console to checking for physical damage on the power cord. The best solution, however, is to ensure that the Xbox doesn’t overheat by performing a system check.
The most common cause for an Xbox to keep turning off is a problem with the power supply. This is usually due to a broken power brick or a bad power outlet. In these cases, the console will shut itself down to protect itself from further damage.
A faulty thermal sensor can also cause the Xbox to turn off. This sensor is responsible for detecting the temperature of the console and triggering the fans to start if it gets too hot. The sensor can be tested with a multimeter, and if it is faulty, the console will need to be replaced.
If your Xbox is still turning off on its own after trying the above fixes, it may be a software issue. In these cases, resetting the console in safe mode will help identify any problems and fix them. In some cases, you may need to update the software or even reinstall it from scratch. This will take some time, but it is the best way to get your console back to working properly.