What causes a computer to freeze

A frozen computer—one that stops responding to your mouse, keyboard, or trackpad—usually means your processor is overwhelmed trying to do too many things at once, or a single program is using almost all of your computer's memory and processing power. The operating system is still running underneath, but it cannot keep up with your requests fast enough to show you a response.

The most common culprits are a program that has crashed but not closed, a browser with too many tabs open, malware running in the background, a hard drive that is failing, or a cooling fan that has stopped working and let the processor overheat. Sometimes a Windows or Mac update is installing in the background and consuming resources. Occasionally a single file or process gets stuck in a loop, repeating the same action over and over until the system grinds to a halt.

Key Takeaways

  • A frozen computer usually means one program or process is using almost all your memory or processor power, leaving nothing for the operating system to respond with.
  • The most common causes are too many browser tabs, a crashed program that did not close, malware, overheating, or a failing hard drive.
  • Force-quitting the frozen program (using Task Manager on Windows or Force Quit on Mac) often unfreezes the computer without losing other work.
  • Restarting your computer clears memory and stops runaway processes, which solves most freezes that happen once or twice.
  • Freezes that happen repeatedly point to a deeper problem—overheating, malware, or hardware failure—that requires investigation.

How to unfreeze your computer right now

If your computer is frozen and you cannot move the cursor or click anything, your first step is to force-quit the program that is likely causing the problem. On Windows, press Ctrl + Shift + Esc to open Task Manager. Look for any program that shows high CPU or memory usage (the numbers will be in the rightmost columns). Click on it and select End Task at the bottom right. On a Mac, press Command + Option + Esc to open Force Quit Applications, select the frozen program, and click Force Quit.

If you cannot open Task Manager or Force Quit, or if the computer is completely unresponsive, hold down the power button for 10 seconds until the computer shuts off completely. Wait 30 seconds, then turn it back on. This is a hard shutdown and will close all open programs without saving, but it is safe to do and will clear whatever was causing the freeze.

After the computer restarts, check whether the freeze was a one-time event or whether it happens again. A single freeze that does not repeat is usually not a sign of a serious problem. Repeated freezes point to an underlying issue that needs investigation.

When a program keeps freezing your computer

If the same program freezes your computer every time you use it, the program itself is the problem. The most common cause is that the program is outdated and incompatible with your current operating system. Check the developer's website to see whether a newer version is available, or whether they have posted known issues with your version of Windows or Mac.

If an update is available, uninstall the old version completely (on Windows, use Settings > Apps > Apps and Features; on Mac, drag the process to the Trash), restart your computer, and install the new version. If no update exists and the program is essential, you may need to replace it with an alternative that is actively maintained.

Browser freezes are usually caused by a single tab or extension consuming too much memory. Try disabling extensions one at a time (in Chrome, Firefox, or Safari settings) and restarting the browser to see which one is the culprit. If a particular website always freezes your browser, that website has a problem on its end—try using a different browser to access it, or contact the website's support team.

Overheating as a cause of freezing

If your computer freezes after running for an hour or more, or if the bottom or back of the laptop feels hot to the touch, overheating is likely the cause. When a processor gets too hot, it automatically slows itself down to cool off, which makes the computer freeze or run very slowly. If the processor cannot cool down, the computer will shut itself off to prevent damage.

Check whether the cooling vents (usually on the sides or back of a laptop, or the back of a desktop tower) are blocked by dust, pet hair, or objects. Use a can of compressed air to blow out the vents from the outside, holding the can upright and using short bursts. Do not open the computer yourself unless you are comfortable doing so—if cleaning the vents does not help, a technician can open it safely and clean the internal fans.

If you use a laptop, make sure you are not blocking the vents with your hands or a pillow. Use a laptop cooling pad (a flat stand with built-in fans) if you use the laptop on your lap or on soft surfaces for long periods. Keeping the laptop on a hard, flat surface like a desk allows air to flow underneath and around it.

Malware and viruses causing freezes

Malware running in the background can consume so much processor power and memory that your computer freezes. If you have not run a malware scan recently, do so now. On Windows, use the built-in Windows Defender (search for "Windows Security" in the Start menu, then select "Virus and threat protection" and "Scan options"). Choose a Full Scan, which takes 30 minutes to an hour but checks every file on your computer.

On Mac, built-in protections are strong, but you can run a scan using a free tool like Malwarebytes for Mac. read it from the official Malwarebytes website, install it, and run a full scan. If malware is found, the tool will remove it and ask you to restart.

If you see unfamiliar programs in your installed applications list, or if your browser homepage or search engine has changed without your action, malware may be present. Uninstall suspicious programs through Settings (Windows) or Applications (Mac), then run a full malware scan. If the problem persists, consider taking your computer to a technician for a deeper inspection.

Hard drive failure and freezing

A failing hard drive can cause freezes because the computer is constantly trying to read or write data that is becoming corrupted. If your computer freezes and you also hear clicking, beeping, or grinding sounds from inside the tower or laptop, the hard drive is likely failing. This is a hardware problem that requires professional repair or replacement.

You can check the health of your hard drive yourself on Windows using the built-in SMART tool. Search for "Command Prompt," right-click it, and select "Run as administrator." Type wmic logicaldisk get name to see your drives, then type wmic logicaldisk where name="C:" get status (replace C with your drive letter if different). If the status shows anything other than "OK," the drive is failing.

On Mac, open Disk Utility (in Applications > Utilities), select your hard drive, and click the First Aid button. If errors are found and cannot be repaired, your hard drive is failing. In either case, back up your important files when ready to an external drive or cloud storage, then take your computer to a technician for replacement.

Preventing freezes in the future

Close browser tabs you are not using. Each open tab consumes memory, and 20 or 30 tabs can slow a computer noticeably. If you need to keep many tabs open, use a tab manager extension that suspends inactive tabs and reloads them only when you click on them.

Keep your operating system and all programs up to date. Updates often include fixes for memory leaks and performance problems. On Windows, go to Settings > Update and Security and check for updates. On Mac, go to System Preferences > Software Update. Set updates to install automatically if possible.

Restart your computer once a week. Restarting clears memory, stops background processes that have accumulated, and closes programs that may have developed memory leaks. A weekly restart takes 5 minutes and prevents many freezes before they happen.

Keep your hard drive at least 10 percent free. When a drive is nearly full, the operating system cannot write temporary files, which causes slowdowns and freezes. Check how much space you have left (right-click your drive on Windows and select Properties; on Mac, click the Apple menu and select About This Mac > Storage). If you are above 90 percent full, delete old files or move them to external storage.

Frequently Asked Questions

Is it safe to force-shut down my computer by holding the power button?

Yes, it is safe to do occasionally when your computer is completely frozen and you have no other way to respond. You will lose any unsaved work in open programs, but the operating system and hard drive will not be damaged. Avoid making it a habit—if you are force-shutting down more than once a month, something is wrong and needs investigation.

Why does my computer freeze only when I am using a specific program?

That program is either using more memory or processor power than your computer has available, or it is incompatible with your operating system version. Update the program first. If freezing continues, check the program's system requirements against your computer's specs (right-click your drive on Windows and select Properties; on Mac, click the Apple menu and select About This Mac). If your computer does not meet the requirements, you may need to upgrade or switch to a lighter alternative.

Can a virus cause my computer to freeze?

Yes. Malware running in the background consumes processor power and memory. Run a full malware scan using Windows Defender (Windows) or Malwarebytes (Mac). If malware is found and removed but freezing continues, the malware may have damaged system files, and a technician should inspect your computer.

What should I do if my computer freezes every single day?

Daily freezes point to a serious underlying problem: overheating, malware, a failing hard drive, or insufficient memory for your typical workload. Start by running a malware scan and checking your hard drive health (see the sections above). If both are clear, check whether your computer is overheating by feeling the vents and listening for fan noise. If none of these reveal the problem, take your computer to a technician for diagnosis.

Does adding more RAM stop my computer from freezing?

Only if your computer is running out of memory. Open Task Manager (Windows) or Activity Monitor (Mac) while your computer is doing the things that cause it to freeze. If memory usage is consistently above 90 percent, more RAM will help. If memory usage is below 80 percent, the problem is something else, and adding RAM will not solve it.