Stop, wait, and force-quit before you restart

When your computer freezes, your first instinct is often to hit the power button. Don't. Most freezes are temporary—a single program has stopped responding, not your whole system. Forcing a restart can corrupt files and damage your hard drive.

Instead, wait 30 to 60 seconds. Many freezes resolve on their own as the system catches up. If nothing changes, try to force-quit the frozen program. On Windows, press Ctrl + Alt + Delete, click Task Manager, find the program that says "Not Responding," click it, and select "End Task." On Mac, press Command + Option + Escape, select the frozen program, and click "Force Quit."

If the entire screen is frozen and you cannot move the mouse or keyboard, only then should you hold the power button for 10 seconds to shut down. Wait 30 seconds, then turn it back on normally.

Key Takeaways

  • Wait 30 to 60 seconds before taking action, because many freezes clear on their own.
  • Use Task Manager (Windows) or Force Quit (Mac) to close a frozen program without restarting your whole computer.
  • Only force a shutdown by holding the power button if your keyboard and mouse are completely unresponsive.
  • After a freeze, check your hard drive space, update your operating system, and close programs running in the background to prevent it from happening again.
  • Freezes that happen repeatedly during the same task may point to a specific program or driver that needs updating.

Check your hard drive space and free up room

A computer that is running out of storage space will slow down and freeze because it cannot write temporary files to disk. Check how much space you have left. On Windows, open File Explorer, right-click "This PC," and select "Properties." On Mac, click the Apple menu, select "About This Mac," and go to "Storage." If you have less than 10 percent of your total drive space free, you need to delete files.

Start by emptying your Recycle Bin (Windows) or Trash (Mac)—deleted files still take up space until you empty it. Then delete old downloads, duplicate photos, or files you no longer need. If you are unsure what is taking up space, use a free tool like WinDirStat (Windows) or Disk Diag (Mac) to see which folders are largest.

If you are consistently running low on space, consider moving large files like videos or photo libraries to an external hard drive or cloud storage. This keeps your main drive running smoothly.

Restart your computer properly and check for updates

A proper restart clears your computer's memory and closes background processes that may be causing slowness. Shut down completely (not sleep mode), wait 30 seconds, and turn it back on. This is different from a forced shutdown and gives your system time to close files safely.

Once your computer is back on, check for operating system updates. On Windows, go to Settings > Update & Security > Check for Updates. On Mac, go to System Preferences > Software Update. Install any available updates and restart if prompted. Updates often include fixes for freezing and performance problems.

After updating, restart one more time to make sure everything loads correctly.

Close programs running in the background

Programs that run in the background consume memory and processing power even when you are not actively using them. Too many background programs can cause your computer to freeze. Check what is running and close what you do not need.

On Windows, open Task Manager (Ctrl + Alt + Delete), click the "Processes" tab, and look at the CPU and Memory columns. Programs using high percentages are slowing you down. Right-click and select "End Task" for programs you recognize and do not need running. Be cautious—do not close anything labeled "System" or "Windows."

On Mac, open Activity Monitor (Applications > Utilities), click the CPU or Memory tab, and look for programs using high percentages. Select the program and click the X button to quit it. Again, avoid closing system processes.

You can also prevent certain programs from launching at startup. On Windows, go to Settings > Apps > Startup and toggle off programs you do not need to start automatically. On Mac, go to System Preferences > General > Login Items and remove programs from the list.

Update drivers and check for malware

A driver is software that lets your operating system communicate with hardware like your graphics card, network adapter, or printer. Outdated drivers can cause freezing. On Windows, go to Device Manager (right-click the Start menu), expand each category, right-click devices, and select "Update driver." Choose "Search automatically for updated driver software."

On Mac, drivers usually update through the regular Software Update process, so if you have already checked for updates, your drivers are current.

Malware and viruses can also cause freezing by consuming resources or corrupting system files. Run a malware scan using Windows Defender (built into Windows) or a free tool like Malwarebytes. On Mac, use Malwarebytes or the built-in XProtect. Quarantine or delete anything the scan finds.

Monitor your computer's temperature

If your computer is overheating, it will slow down and freeze to protect itself. Feel the vents on your computer—if they are hot or blowing warm air, overheating may be the problem. Dust buildup inside the case blocks airflow and traps heat.

Clean the vents and fans with compressed air. Hold the can upright, use short bursts, and keep the nozzle a few inches away. Do this outside or in a well-ventilated area because dust will fly out. Make sure your computer is off and unplugged before you do this.

Also check that your computer is in a cool location with good airflow. Do not place it in a closed cabinet, on a bed, or in direct sunlight. If freezing continues after cleaning and your computer still feels hot, the internal cooling system may be failing—this is a sign to contact a repair technician.

Identify which program is causing the freeze

If your computer freezes only when you use a specific program, that program or a related driver is the problem. Try updating the program—go to its Help menu and look for "Check for Updates" or visit the developer's website. Uninstall and reinstall the program if updating does not work.

If freezing happens during a particular task (like opening a large file or printing), the problem may be with that file or device. Try the task with a different file or printer to narrow it down. If a different file works fine, the original file may be corrupted.

Keep a note of when freezes happen—what program you were using, what you were doing, and whether it was the first time or a repeat. This information helps a technician diagnose the problem if you need to take your computer in for repair.

When to call a professional

If freezing continues after you have restarted, freed up disk space, updated your system, and closed background programs, the problem may be hardware-related. A failing hard drive, bad memory (RAM), or power supply can cause repeated freezes that software fixes cannot solve.

Contact a local computer repair shop or the manufacturer's support line if your computer is still under warranty. Describe what you have already tried—this saves time and helps the technician focus on the real cause. If your computer is old and repair costs are high, it may be time to consider replacing it.

Frequently Asked Questions

Is it safe to force shutdown my computer by holding the power button?

Force shutdown should be your last resort, used only when your keyboard and mouse are completely unresponsive. It can corrupt files and damage your hard drive if done repeatedly. Always try Task Manager or Force Quit first.

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

Each browser tab uses memory. If you have 20 or 30 tabs open, your computer may run out of available memory and freeze. Close tabs you are not using, or use a browser extension that suspends inactive tabs to free up memory.

Can a virus cause my computer to freeze?

Yes. Malware consumes processing power and memory, slowing your system and causing freezes. Run a malware scan with Windows Defender or Malwarebytes to check. If malware is found, remove it and monitor your computer for improvement.

What does it mean if my computer freezes during startup?

Freezing during startup often points to a driver or software conflict, or a corrupted file. Try restarting in Safe Mode (Windows: press F8 during startup; Mac: restart and hold Shift) to load only essential programs. If it works in Safe Mode, a recently installed program or update is likely the cause.

How do I know if my hard drive is failing?

Signs include repeated freezing, clicking or beeping sounds from inside the case, files disappearing, or the computer not recognizing the drive. Back up your files when ready to an external drive or cloud storage, then contact a repair technician. A failing drive can stop working without warning.