What causes a computer to freeze

A frozen computer—one that stops responding to your mouse, keyboard, or clicks—usually means your processor is overwhelmed, your hard drive is working too hard, or your RAM (memory) has run out of space. The screen locks up because Windows or macOS cannot process new commands fast enough. This is not always a sign of permanent damage; most freezes can be traced to one of a few specific causes that you can identify and fix yourself.

The most common culprit is too many programs running at once. Each open program, browser tab, and background service uses a portion of your computer's memory and processing power. When you exceed what your machine can handle, it slows to a crawl and may freeze entirely. A second major cause is a full or failing hard drive—when your storage is nearly full, Windows and macOS cannot write temporary files, which brings everything to a halt. A third is malware or viruses, which consume resources and interfere with normal operation. Fourth is overheating, which causes the processor to throttle (slow down) to protect itself.

Key Takeaways

  • Freezes most often happen because too many programs are running, your hard drive is nearly full, or your computer is overheating.
  • You can check what is using your memory and processor by opening Task Manager on Windows or Activity Monitor on Mac.
  • Restarting your computer clears memory and stops runaway programs, and should be your first step when a freeze happens.
  • If freezes happen during specific tasks—like opening a large file or using one program—that program or task is likely the cause.
  • Malware, a failing hard drive, or a broken fan can cause repeated freezes and may require professional repair or replacement.

How to check what is using your computer's resources

On Windows, open Task Manager by pressing Ctrl + Shift + Esc at the same time. A window will appear showing all running programs. Click the "Processes" tab if it is not already selected. Look at the columns labeled "CPU" and "Memory"—the programs with the highest numbers are using the most resources. If one program shows 80 percent or higher CPU usage while you are not actively using it, that program is likely causing the freeze.

On Mac, open Activity Monitor by pressing Command + Space, typing "Activity Monitor," and pressing Enter. Click the "CPU" tab at the top. Look at the "%CPU" column and sort by clicking the column header—programs at the top are using the most processor power. If a program shows sustained high CPU usage (above 50 percent) when you are not using it, that is a sign it is the problem.

In both cases, note the name of any program using excessive resources. If it is a program you recognize and do not need right now, you can close it by selecting it and clicking "End Task" (Windows) or the X button (Mac). Do not close programs you do not recognize without searching their name first—some are part of Windows or macOS and should not be stopped.

Restart your computer as a first response

Before troubleshooting further, restart your computer. This clears your RAM, stops all running programs, and often fixes temporary freezes caused by memory buildup. If your computer is completely frozen and will not respond to clicks or keyboard commands, hold the power button for 10 seconds until the screen goes black, then wait 30 seconds and press the power button again to turn it back on.

After restart, use your computer normally and note whether the freeze happens again. If it does not return for several hours or days, the problem was likely a temporary glitch. If the freeze returns within minutes or happens repeatedly, move to the next steps.

Check your hard drive storage space

On Windows, open File Explorer, right-click "This PC" in the left sidebar, and click "Properties." Look at the bar labeled "Local Disk (C:)"—if the blue section (used space) takes up more than 85 percent of the bar, your drive is too full. You need to delete files or move them to an external drive.

On Mac, click the Apple menu in the top left, select "About This Mac," and click the "Storage" tab. If the colored bar shows less than 10 percent gray space remaining, your drive is nearly full.

Start by emptying your Trash or Recycle Bin—files there still take up space until you permanently delete them. Next, look for large files you no longer need: old video files, installer programs, or duplicate photos. You can also move files to an external hard drive or cloud storage like Google Drive or OneDrive. If you cannot free up space this way, you may need to replace your hard drive with a larger one, which requires professional help or technical skill.

Look for malware and viruses

Malware and viruses can cause freezes by running hidden processes that consume your computer's resources. On Windows, use the built-in Windows Defender by clicking the Start menu, typing "Windows Security," and pressing Enter. Click "Virus & threat protection" and then "Scan options." Select "Full scan" and click "Scan now." This will take 30 minutes to several hours depending on your drive size, but it will check every file on your computer.

On Mac, Apple's built-in protections are strong, but you can also run a free scan using Malwarebytes. read it from malwarebytes.com, install it, and run a full scan. If malware is found, both tools will remove it automatically.

If a scan finds malware, restart your computer after removal and monitor whether freezes stop. If freezes continue after a full malware scan, the cause is likely hardware-related rather than software.

Check if your computer is overheating

Overheating causes your processor to slow itself down to avoid damage, which can feel like a freeze. On Windows, read a free temperature monitor like HWInfo (from hwinfo.com). Install it and run it—look for your CPU temperature in the main window. If it shows above 80°C (176°F) during normal use, your computer is overheating.

On Mac, read Macs Fan Control (from crystalidea.com). Open it and look at the CPU temperature. If it is above 80°C during normal use, overheating is likely.

If your computer is overheating, first make sure the vents are not blocked by dust or objects. Use a can of compressed air (held upright) to blow dust out of the vents and fan openings. If the temperature does not drop after cleaning, the fan may be failing or the thermal paste between the processor and heatsink may have dried out. Both of these require opening the computer or professional repair.

Identify if one program is causing the freeze

Pay attention to when the freeze happens. Does it occur only when you open a specific program, like Photoshop or a video editor? Does it happen when you visit certain websites? Does it freeze when you try to open a large file? If the freeze is tied to one activity, that program or task is the cause.

If a specific program freezes your computer, try updating it first—outdated software often has bugs that cause freezes. Go to the program's menu, look for "Check for Updates" or "About," and install any available updates. Restart the program and try again. If it still freezes, try uninstalling and reinstalling the program. If the problem persists, the program may not be compatible with your computer, and you may need to find an alternative.

If a website causes freezes, try a different web browser. If the freeze follows you to a new browser, the website itself is the problem—avoid it or contact the website owner. If the freeze stops in a different browser, your original browser may need updating or have a problematic extension installed.

When to seek professional help

If you have restarted your computer, freed up hard drive space, run a malware scan, and checked for overheating, but freezes continue, the problem is likely a hardware failure. A failing hard drive, broken RAM, or damaged motherboard requires professional diagnosis and repair. Take your computer to a local repair shop and describe what you have already tried—this will help them narrow down the cause and give you an accurate repair estimate.

If your computer is still under warranty, contact the manufacturer's support line before paying for repairs. Some hardware failures are covered and can be fixed or replaced at no cost.

Frequently Asked Questions

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

That program is likely using more resources than your computer can provide, or it may have a bug that causes it to crash. Try updating the program first. If freezes continue, uninstall it and reinstall a fresh copy. If the problem persists, your computer may not have enough RAM or processor power for that program, and you may need to upgrade your hardware or use a lighter alternative.

Can a virus cause my computer to freeze?

Yes. Malware and viruses run hidden processes that consume your processor and memory, causing freezes and slowdowns. Run a full malware scan using Windows Defender or Malwarebytes. If malware is found and removed, restart your computer and monitor whether freezes stop. If freezes continue after a clean scan, the cause is likely hardware-related.

What should I do if my computer freezes completely and will not respond?

Hold the power button for 10 seconds until the screen goes black. Wait 30 seconds, then press the power button again to restart. After restart, open Task Manager or Activity Monitor to check what programs are running and using resources. Close any programs you do not recognize or need.

Does a full hard drive cause freezing?

Yes. When your hard drive is more than 85 percent full, Windows and macOS cannot write temporary files, which causes slowdowns and freezes. Check your storage space and delete or move files you no longer need. Aim to keep at least 10 to 15 percent of your drive empty.

How hot is too hot for a computer?

Most processors should stay below 80°C (176°F) during normal use. If your temperature monitor shows sustained readings above 80°C, your computer is overheating. Clean the vents and fan with compressed air. If the temperature does not drop, the fan may be failing and will need replacement.