Stop and wait before you do anything else

When your computer freezes, your first instinct is usually to force it off. Don't. Wait at least 30 seconds to a minute. Many freezes are temporary — a single program using too much memory, or the system catching up after a large file transfer. Waiting gives the computer time to recover on its own.

During this wait, try moving your mouse or pressing a key. If the cursor moves or a key registers, the system is still responsive and may unfreeze without intervention. If nothing happens after a full minute, move to the next step.

Key Takeaways

  • Wait at least 30 seconds before forcing action, because many freezes resolve on their own once the system catches up.
  • Use Task Manager on Windows or Force Quit on Mac to close only the frozen program, not the whole computer.
  • A hard restart — holding the power button until the computer shuts down — should be your last resort, used only when the keyboard and mouse are completely unresponsive.
  • Freezes that happen repeatedly point to a specific cause: too many startup programs, insufficient disk space, overheating, or a failing hard drive.
  • Restarting your computer regularly, keeping your hard drive at least 20 percent free, and closing unused programs prevent most freezes.

Close the frozen program using Task Manager or Force Quit

On Windows: Press Ctrl + Shift + Esc to open Task Manager directly. Look at the list of running programs. The one that says "Not Responding" next to its name is the culprit. Click it once to select it, then click "End Task" at the bottom right. The program will close, and your computer should return to normal.

If Task Manager itself won't open, try Ctrl + Alt + Delete instead. This opens a menu. Select "Task Manager" from the options. The process is the same from there.

On Mac: Press Command + Option + Esc to open the Force Quit Applications window. Select the program that says "Not Responding" and click "Force Quit". The program closes when ready.

This method closes only the frozen program, leaving everything else running. You keep your other work open and avoid losing data in programs that are working fine.

Restart your computer if the whole system is frozen

If your keyboard and mouse are completely unresponsive — you can't open Task Manager, you can't move the cursor, nothing happens when you press keys — the entire system is frozen, not just one program. In this case, a restart is necessary.

On Windows: Hold the power button on your computer for 10 seconds until it shuts down completely. Wait 30 seconds, then press the power button again to turn it back on. This is called a hard restart.

On Mac: Hold the power button for 10 seconds until the screen goes black and the computer shuts down. Wait 30 seconds, then press the power button to restart.

A hard restart forces the computer off without going through the normal shutdown process. It can occasionally cause data loss in programs you had open, but it is the only option when nothing else responds.

Check what caused the freeze if it happens again

A single freeze is usually random and not a sign of a larger problem. But if your computer freezes regularly — more than once a week — something specific is causing it, and you can usually find and fix it.

Open Task Manager (Windows) or Activity Monitor (Mac) while your computer is running normally. On Windows, click the "Performance" tab. Look at CPU, Memory, and Disk usage. If any of these is at 90 percent or higher during normal use, that's your problem. On Mac, click the "Memory" tab and look for the same thing.

High memory or CPU use usually means a program is running in the background and consuming resources. Look at the list of running programs. Programs you don't recognize or don't use should be closed or uninstalled. Startup programs — software that runs automatically when you turn on your computer — are common culprits. On Windows, open Task Manager, click the "Startup" tab, and disable programs you don't need to run at boot.

If your Disk usage is constantly at 90 percent or higher, your hard drive is too full. Delete large files you don't need, uninstall programs you don't use, or move files to an external drive. Your computer needs at least 15 to 20 percent of your hard drive free to run smoothly.

Look for overheating as a cause

Computers that freeze when they get hot are overheating. Feel the vents on your computer — the slots where air comes out. If they are very hot to the touch or you see dust blocking them, overheating is likely the cause.

Shut down your computer and let it cool for 30 minutes. While it cools, use a can of compressed air to blow dust out of the vents. Hold the can upright and use short bursts. Do this outside or in a well-ventilated area, because dust will fly everywhere.

Make sure your computer has space around it. Laptops need at least a few inches of clearance on all sides. Desktops need clear vents and should not be in a closed cabinet. If your computer is in a hot room or direct sunlight, move it to a cooler location.

If freezing continues after cleaning and moving the computer to a cooler spot, the internal cooling fan may be failing. This requires opening the computer or taking it to a repair shop.

Update your operating system and drivers

Freezes sometimes happen because your operating system or device drivers — software that lets Windows or Mac talk to your hardware — are outdated. Updates often fix bugs that cause freezing.

On Windows: Open Settings, click "Update & Security", then click "Check for updates". Windows will read and install any available updates. You may need to restart your computer.

On Mac: Click the Apple menu in the top left, select "System Settings", click "General", then "Software Update". Mac will check for and install updates.

After updating, restart your computer and use it normally for a few days. If freezing stops, the update fixed the problem. If freezing continues, the cause is something else.

When to back up your data and consider professional help

If your computer freezes frequently even after you've closed background programs, freed up disk space, and cleaned the vents, the hard drive itself may be failing. A failing hard drive is a serious problem because it can cause data loss.

Back up your important files to an external drive or cloud storage right away. Do this before the freezing gets worse. Once your files are safe, you can take your computer to a repair shop to have the hard drive checked. A technician can run diagnostics to confirm whether the drive is failing and replace it if needed.

If your computer is very old — more than 5 or 6 years — and freezes happen regularly despite your efforts to fix them, the cost of repair may be close to the cost of a new computer. In that case, it makes sense to compare the repair cost against replacement.

Frequently Asked Questions

Is it bad to force restart my computer?

A hard restart should be your last resort, not your first move. It can cause data loss in programs you had open and occasionally corrupt files. But when your computer is completely frozen and nothing else works, a hard restart is the only way to regain control. Do it, then investigate what caused the freeze so you can prevent it next time.

Why does my computer freeze when I have lots of browser tabs open?

Each open browser tab uses memory. If you have 20 or 30 tabs open, your browser can use several gigabytes of RAM, leaving little for other programs. Close tabs you're not actively using. If you need to keep many pages open, use a tab manager extension or bookmark them instead.

Can a virus cause my computer to freeze?

Yes, malware can consume system resources and cause freezing. Run a full scan with your antivirus software — Windows Defender comes built into Windows, and Mac has built-in protection. If a virus is found, the antivirus will remove it. After removal, restart your computer and monitor whether freezing stops.

What's the difference between freezing and a slow computer?

A frozen computer doesn't respond to any input — the cursor won't move, keys don't register, nothing happens. A slow computer responds, but takes a long time to do things. Slow computers usually need more RAM, a faster hard drive, or fewer background programs. Frozen computers need when ready intervention to regain control.

Should I leave my computer on all the time to avoid freezes?

No. Restarting your computer regularly — at least once a week — actually prevents many freezes. A restart clears memory, closes background processes that have accumulated, and gives the system a fresh start. If your computer freezes often, try restarting it every few days and see if the problem improves.