What to do when your computer stops responding to clicks and keystrokes

A completely frozen computer — one that does not respond to your mouse, keyboard, or any input — usually means a single program has crashed and locked up the whole system, or your hard drive is working so hard it cannot keep up. The fix depends on which one it is, and you can tell the difference by watching what happens when you force-quit the stuck program.

Start by trying to close the frozen program without restarting your whole computer. If that works, you have solved the problem. If it does not, you will need to restart — but do it the right way so you do not lose data or damage your hard drive.

Key Takeaways

  • Force-quit the frozen program first using Task Manager on Windows or Force Quit on Mac before restarting the whole computer.
  • If the computer is completely unresponsive and will not open Task Manager, hold the power button for 10 seconds to shut it down, then wait 30 seconds before turning it back on.
  • After the computer restarts, check the Event Viewer on Windows or Console on Mac to see what caused the freeze so you can prevent it next time.
  • If freezes happen repeatedly, the problem is usually a driver that needs updating, a program running at startup that you do not need, or a hard drive that is almost full.

Force-quit the frozen program on Windows

If your mouse and keyboard are completely unresponsive, skip to the next section. If you can move the mouse or press keys but one program is not responding, use Task Manager to close just that program.

Press Ctrl + Shift + Esc all at once. Task Manager should open in a few seconds. Look for the program name in the list — it will usually say "Not Responding" next to it. Click on it once to select it, then click the End Task button in the bottom right corner. The program will close, and your computer should become responsive again.

If Task Manager does not open when you press Ctrl + Shift + Esc, try Ctrl + Alt + Delete instead. This opens a menu. Click Task Manager from the options shown. Then find and end the frozen program the same way.

Force-quit the frozen program on Mac

Press Command + Option + Esc all at once. A window called "Force Quit Applications" will appear. Look through the list for the program that is not responding — it will have the words "not responding" next to its name. Click on it once to select it, then click the Force Quit button. The program will close.

If Command + Option + Esc does not work, your computer may be too frozen to respond. Move to the section on restarting your computer.

Restart your computer the safe way when nothing responds

If you cannot open Task Manager or Force Quit, your computer is too frozen to respond to keyboard shortcuts. You will need to shut it down by holding the power button. This is safe to do — modern computers are designed to handle it — but you may lose unsaved work in any open programs.

Hold down the power button on your computer for 10 full seconds. Do not let go before 10 seconds have passed. The screen will go black and the computer will shut down completely. Wait 30 seconds with the computer off. This gives the hard drive time to finish any work it was doing. Then press the power button once to turn it back on normally.

When the computer restarts, it will run a check on the hard drive to make sure nothing was damaged. This check can take a few minutes. Let it finish — do not turn off the computer again while it is checking.

Check what caused the freeze after restart

Once your computer is back on and working normally, you should look at what caused the freeze so you can stop it from happening again. On Windows, open Event Viewer. Click the Windows logo in the bottom left, type "Event Viewer" in the search box, and press Enter.

In Event Viewer, click on Windows Logs on the left side, then click System. Look for entries marked "Error" or "Critical" that happened around the time your computer froze. The description will often tell you which program or driver caused the problem. Write down the name of anything marked "Critical" — you may need to update or uninstall it.

On Mac, open Console. Click the Spotlight search icon in the top right, type "Console", and press Enter. Look at the log entries from the time your computer froze. Search for the word "panic" or "kernel" — these entries show what crashed the system. The text after these words usually names the program or driver that caused the problem.

Stop freezes from happening again

If your computer froze because one program crashed, the freeze is probably over and you do not need to do anything else. But if freezes happen often, the cause is usually one of three things: a driver that needs updating, a program that runs at startup and uses too much power, or a hard drive that is almost full.

Check how full your hard drive is. On Windows, click the Windows logo, type "Storage", and press Enter. Look at the bar next to "C:" — if it is almost completely filled in, your hard drive is too full. Delete files you do not need, or move large files like videos to an external drive. On Mac, click the Apple logo in the top left, click About This Mac, then click Storage. If the colored bar is almost completely filled, your drive is too full.

Check what programs start when you turn on your computer. On Windows, press Ctrl + Shift + Esc to open Task Manager, then click the Startup tab. Look for programs you do not use every day. Right-click on them and click Disable. This stops them from starting automatically and using your computer's power. On Mac, click the Apple logo, go to System Settings, click General, then Login Items. Look for programs you do not need to start automatically and click the minus sign to remove them.

When to restart in Safe Mode

If your computer keeps freezing even after you have disabled startup programs and freed up hard drive space, try restarting in Safe Mode. Safe Mode starts your computer with only the most basic programs running, which helps you figure out if a program you installed is causing the problem.

On Windows, click the Windows logo, type "msconfig", and press Enter. Click the Boot tab, check the box next to Safe boot, and click OK. Your computer will restart in Safe Mode. If it does not freeze in Safe Mode, a program you installed is the problem — uninstall programs you added recently one at a time until the freezing stops. To go back to normal mode, open msconfig again, uncheck Safe boot, and click OK.

On Mac, shut down your computer completely. Turn it back on and immediately hold down the Shift key. Keep holding Shift until you see the login screen. This is Safe Mode. If your computer does not freeze in Safe Mode, restart normally and uninstall programs you added recently.

Frequently Asked Questions

Will holding the power button damage my computer?

No. Modern computers are designed to shut down safely when you hold the power button. You may lose unsaved work in open programs, but the computer itself will not be damaged. If your computer is completely frozen and will not respond to anything else, holding the power button is the correct thing to do.

What if my computer freezes again right after I restart it?

Restart in Safe Mode using the steps above. If it does not freeze in Safe Mode, the problem is a program you installed. Uninstall programs you added in the last week, one at a time, and restart after each one. If it still freezes in Safe Mode, the problem may be a hardware issue — contact a technician or your computer manufacturer.

Can I prevent freezes by cleaning up my computer?

Partially. Deleting files you do not need, disabling startup programs, and updating drivers will reduce freezes caused by a slow or overloaded system. But if a program has a bug or a driver is broken, cleaning up will not fix it — you will need to uninstall or update that specific program or driver.

Is it safe to use my computer right after it unfreezes?

Yes. Once your computer is responsive again and has finished any hard drive checks, it is safe to use normally. Save your work often in case a freeze happens again, and check Event Viewer or Console to see what caused the problem so you can prevent it in the future.