The right way to shut down your computer

Turning off a computer means using the operating system's shutdown command, not just pulling the power cord or closing the lid. When you use the proper shutdown process, your computer saves open work, closes programs cleanly, and prepares the hard drive to power down safely. Pulling the plug or forcing it off can corrupt files and damage the system.

The steps differ slightly depending on whether you use Windows, Mac, or Linux, but the principle is the same: tell the operating system to shut down, then wait for it to finish before the screen goes dark.

Key Takeaways

  • Always use your operating system's shutdown command instead of forcing the power off, because a forced shutdown can corrupt files and damage your hard drive.
  • On Windows, click the Start menu, select Power, and choose Shut down; on Mac, use the Apple menu and select Shut Down.
  • The shutdown process usually takes 30 seconds to two minutes — wait for the screen to go completely dark before assuming the computer is off.
  • If a program freezes and prevents shutdown, use Task Manager on Windows or Force Quit on Mac to close just that program, then try shutting down again.
  • Restarting your computer (which shuts down and powers back on automatically) fixes many common problems and is different from a full shutdown.

Shutting down Windows 10 and Windows 11

Click the Start button in the lower left corner of your screen. A menu will open showing your apps and settings.

Look for the Power button icon, which looks like a circle with a line at the top. Click it. A small menu will appear with three options: Sleep, Shut down, and Restart. Click Shut down.

Your screen will go black, and you will hear the hard drive stop spinning (if your computer has a traditional hard drive rather than a solid-state drive). This takes 30 seconds to two minutes. Do not press any buttons or unplug the computer during this time. When the screen stays dark and the lights on the computer stop blinking, the shutdown is complete.

Shutting down a Mac

Click the Apple menu in the upper left corner of your screen — it looks like an apple symbol. A dropdown menu will appear.

Select Shut Down from the list. A dialog box will ask you to confirm. Click Shut Down again. Your Mac will close all open programs and save your work, then the screen will go dark. Wait for all lights and sounds to stop before you move the computer.

If you have unsaved work in any program, a dialog box will appear asking whether you want to save before shutting down. Click Save to keep your work, or Don't Save if you do not need it. The shutdown will not complete until you answer.

What to do if your computer will not shut down

Sometimes a frozen program will prevent your computer from shutting down. You will see the shutdown screen, but nothing happens, or the screen stays frozen on a program.

On Windows, press Ctrl + Alt + Delete on your keyboard. A menu will appear. Click Task Manager. A window will open showing all running programs. Look for any program that says "Not responding" next to its name. Click on it to select it, then click the End Task button in the lower right. Repeat for any other frozen programs. Then try shutting down again using the Start menu.

On Mac, press Command + Option + Escape. A window called "Force Quit Applications" will open. Click on any program that says "not responding," then click Force Quit. Close this window and try shutting down again from the Apple menu.

Sleep mode versus shutdown

Sleep mode puts your computer into a low-power state where it uses very little electricity but stays ready to wake up when ready when you move the mouse or press a key. The screen goes dark, but the computer is still on. Sleep is useful if you are stepping away for a few minutes or an hour.

Shutdown turns the computer completely off. It uses no electricity (except a tiny amount to keep the clock running). Shutdown takes longer to start back up — usually 30 seconds to two minutes — but is better if you will not use the computer for several hours or longer. Shutdown also clears the computer's memory, which can fix problems that sleep mode does not.

If your computer is running slowly or acting strangely, a full shutdown and restart often fixes it better than sleep mode does.

Restart versus shutdown

Restart means the computer shuts down and then powers back on automatically without you doing anything. You do not have to press the power button again. Restart is useful when you install software updates, when a program is frozen, or when your computer is running slowly.

To restart on Windows, click Start, click the Power button, and select Restart. On Mac, click the Apple menu and select Restart. The computer will shut down, wait a few seconds, and power back on. This usually takes two to five minutes total.

If you need the computer to stay off, use Shutdown instead of Restart. Restart is only for when you want it to turn back on automatically.

Common mistakes when turning off a computer

Pulling the power cord or pressing the power button for ten seconds forces the computer off without letting it save work or close programs properly. This can corrupt files on the hard drive and cause problems the next time you start it. Always use the shutdown command from the operating system instead.

Closing the laptop lid without shutting down puts the computer to sleep, not off. It will still use battery power and may overheat if left closed for a long time. Always shut down or restart before closing a laptop for more than a few hours.

Unplugging the computer while the screen is still on means the shutdown process did not finish. Wait for the screen to go completely dark and stay dark for at least five seconds before unplugging.

Ignoring unsaved work warnings means you will lose changes you made to documents or files. When a dialog box asks if you want to save, click Save unless you are certain you do not need the changes.

Frequently Asked Questions

Is it bad to shut down my computer every day?

No. Shutting down your computer every day is normal and healthy for the machine. It gives the hard drive and other components a rest, clears the memory, and can prevent overheating. Most computers are designed to be shut down daily.

How long should I wait after shutting down before unplugging?

Wait at least five seconds after the screen goes dark to make sure the shutdown process is completely finished. If your computer has a traditional hard drive, you may hear it spin down during this time. Once the lights stop blinking and you hear nothing, it is safe to unplug.

What does it mean if my computer shuts down by itself?

Unexpected shutdowns usually mean the computer is overheating, the battery is failing, or there is a software problem. Check that the vents are not blocked by dust, make sure the room temperature is not too hot, and try restarting the computer. If it keeps shutting down on its own, the hardware may need repair.

Can I turn off my computer while it is installing updates?

No. Turning off your computer during a software update can corrupt the operating system and make it unable to start. Always wait for updates to finish installing, even if it takes a long time. The computer will usually restart automatically when the update is done.

Does restarting fix more problems than just shutting down?

Restart and shutdown both clear the computer's memory and close all programs. The difference is that restart powers the computer back on automatically, while shutdown leaves it off. For fixing problems, they work equally well — restart is just faster if you need to use the computer again right away.