How to Fix a Computer That Turns On and Then Off (2023)

> Windows


409 people found this article helpful

What to do when your computer shuts off during the boot process


Tim Fisher

How to Fix a Computer That Turns On and Then Off (1)

Tim Fisher

Senior Vice President & Group General Manager, Tech & Sustainability

  • Emporia State University

Tim Fisher has more than 30 years' of professional technology experience. He's been writing about tech for more than two decades and serves as the SVP and General Manager of Lifewire.

lifewire's editorial guidelines

Updated on June 18, 2022


  • The Ultimate Laptop Buying Guide

Is your computer turning off by itself immediately or at some point before theoperating system loads? If so, you could be facing anything from an electrical short to a serious hardware problem.

How to Fix It When a Computer Randomly Restarts

Because there are several reasons that your PC might be shutting off by itself during the boot process, you must step through a logical troubleshooting process like the one we've described below.

If your computer is staying on, even if you don't see anything on the screen, see How to Fix a Computer That Won't Turn On for a more helpful troubleshooting guide.

This process could take minutes to hours, depending on why the computer turns off so quickly after being turned on.

  1. Troubleshoot the cause of the beep code, assuming you're lucky enough to hear one. A beep code will give you an excellent idea of exactly where to look for the cause of your computer turning off.

    If you don't fix the problem that way, you can always return here and continue troubleshooting with the more generic information below.

  2. Verify that the power supply voltage switch is set correctly. If the input voltage for the power supply doesn't match the correct setting for your country, your computer might not stay powered on.

    Chances are your computer wouldn't power on at all if this switch is wrong, but an incorrect power supply voltage might also cause your computer to turn off by itself.

  3. Make sure you're keeping the computer cool enough, or it might overheat to the point that it shuts down. Follow that link for easy tips anyone can follow to cool down their computer.

    Some computer cooling techniques for desktops require you to open your computer, but that's pretty easy to do.

  4. Check for causes of electrical shorts inside your computer. It's often the cause of the problem when the computer powers on for a second or two but then powers off completely.

    Inspect the inside of your computer for problems that cause shorting. If you don't take the time to troubleshoot this possibility thoroughly, you may end up missing a simple electrical short and performing costly hardware replacements later for no good reason.

  5. Test your power supply. Just because your computer came on for a few moments doesn't mean that the power supply unit in your computer is working correctly. The power supply tends to cause more problems than any other piece of hardware and is very often the cause of a computer turning off by itself.

    Replace your power supply if it fails any of your tests.

    If you end up replacing the PSU, keep the computer plugged in for at least five minutes before you try powering it on. This pause gives time for the CMOS battery to charge a little.

  6. Test the power button on the front of your computer's case. If the power button is shorting out or even just sticking to the case, it might be the reason your computer is turning off by itself.

    Replace the power button if it fails your testing or if you suspect it's not working correctly.

  7. Reseat everything inside your computer. Reseating will reestablish all the connections inside your computer, which may have wiggled loose over time.

    Try reseating the following and then see if your computer stays on:

    • Reseat all internal data and power cables
    • Reseat the memory modules
    • Reseat any expansion cards

    Unplug and reattach your keyboard and mouse as well. There's little chance that either one is the cause of this problem, but we shouldn't overlook them while we're reseating everything else.

  8. Reseat the CPU only if you suspect it might have come loose or wasn't installed correctly.

    We call this out separately only because the chance of a CPU coming loose is very slim and because installing one is a sensitive task. It isn't a big concern if you're careful, so don't worry!

  9. Clear CMOS to erase theBIOSmemory and return its settings to their factory default levels. A BIOS misconfiguration could be why your PC won't start up normally.

    If reseating the battery doesn't fix the problem, consider replacing the CMOS battery.

  10. Start your PC with essential hardware only. The purpose here is to remove as much hardware as possible while still maintaining your computer's ability to power on.

    If your computer turns on, and stays on, with essential hardware only, proceed to Step 11.

    If your computer continues to turn off by itself, proceed to Step 12.

    This troubleshooting step is easy enough for anyone to complete, takes no special tools, and could give a lot of precious information. It isn't a step to skip if your computer is still shutting off by itself after following the steps above.

  11. Reinstall each piece of non-essential hardware, one component at a time, testing your computer after each installation.

    Since your PC powered on with only the essential hardware installed, those components are working correctly. It means that one of the devices you removed is causing your computer to turn off by itself. By installing each device back into your computer and testing after each installation, you'll eventually find the hardware that caused your problem.

    Replace the faulty hardware once you've identified it.

  12. Test your PC using a Power On Self Test card. If your computer continues to power off by itself with nothing but essential PC hardware installed, a POST card will help identify which piece of remaining hardware is to blame.

    If you don't already own and are unwilling to purchase a POST card, skip to Step 14.

  13. Replace each piece of essential hardware in your computer with a "known good" identical or equivalent spare piece of hardware, one component at a time, to determine which part of the hardware is causing your computer to shut off automatically. Then test after each hardware replacement to determine which device is faulty.

    Most average computer users don't have a collection of working spare computer parts at their disposal. Our advice is to revisit Step 12. A POST card is not expensive and is a much more reasonable approach than stocking spare computer parts.

  14. Finally, if all else fails, you'll likely need to seek professional help from a computer repair service or your computer manufacturer's technical support.

    If you're without a POST card and spare parts to swap in and out, you're left not knowing which piece of your essential computer hardware is faulty. In these cases, you have little option but to rely on individuals or companies with these resources.

    How Do I Get My Computer Fixed?


  • Why does my PC screen keep turning on and off?

    If your monitor keeps turning off, it could be due to a faulty connection with your PC, or it could be overheating. Check the cables, clean your monitor, and take steps to keep it cool.

  • How do I turn off unnecessary startup apps on my PC?

    To change startup programs in Windows, open Task Manager and go to the Startup tab. Next, select the Status column to sort the applications into Disabled and Enabled. To disable any application, right-click anywhere in its row and select Disable.

  • How do I remotely turn my PC power on and off?

    First, log in to your Windows PC remotely. Then, use the Shutdown command to turn it off.

  • How do I fix it when my PC turns on but displays nothing?

    If your PC turns on but displays nothing, power off your computer by holding down the power button for 3-5 seconds. After the power is completely off, turn on your PC to see if it will boot normally. If not, verify that the power supply voltage switch is set correctly and check for signs of electrical shorts.

Was this page helpful?

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day


Tell us why!


How to Fix a Computer That Turns On and Then Off? ›

Possibly defective power supply

Verify the power supply is functional. A faulty power supply can result in not enough, if any, power getting to the motherboard, causing the computer to shut off immediately or not turn on at all. Many online computer retailers sell power supply testing units for under $20.

Why does my PC turn on and then turn off? ›

Possibly defective power supply

Verify the power supply is functional. A faulty power supply can result in not enough, if any, power getting to the motherboard, causing the computer to shut off immediately or not turn on at all. Many online computer retailers sell power supply testing units for under $20.

How do you fix a computer that keeps turning off? ›

How to Fix a Windows PC that Randomly Shuts Off
  1. 1 Check the PC's Power Connection. ...
  2. 2 Check the Computer's Ventilation. ...
  3. 3 Clean & Oil the PC's Fans. ...
  4. 4 Revert Windows to an Earlier System Restore Point. ...
  5. 5 Check for Updates. ...
  6. 6 Reset Windows to its Original State.

Why does my laptop turn on then shuts off after a few seconds? ›

Battery problems, hardware conflicts, overheating and software conflicts are commonly at fault in this case. Troubleshoot those areas before considering expensive repairs or replacement.

How do you fix a computer that turns on then doesn't work? ›

Here are some methods to try to resolve the problem.
  1. Try a different power source. ...
  2. Check your monitor connection. ...
  3. Disconnect your devices. ...
  4. Listen for beeps. ...
  5. Start your PC in safe mode. ...
  6. Restore your computer to previous settings. ...
  7. Check for unresponsive apps.
  8. Unplug USB devices.
Aug 24, 2021

Top Articles
Latest Posts
Article information

Author: Terrell Hackett

Last Updated: 04/09/2023

Views: 6126

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.