The right way to turn off your computer
Shutting down your computer means closing all programs and turning off the power in the correct order, rather than just unplugging it or holding the power button. A proper shutdown saves your work, closes files safely, and prevents damage to your hard drive or solid-state drive. The steps differ slightly depending on whether you use Windows, macOS, or Linux, but the principle is the same: let the operating system close everything before the power cuts off.
Forcing your computer off by holding the power button or cutting the power can corrupt files, lose unsaved work, and shorten your computer's lifespan. Taking 30 seconds to shut down properly protects both your data and your machine.
Key Takeaways
- On Windows, click the Start button, select Power, and choose Shut down to let the system close all programs safely.
- On macOS, click the Apple menu, select Shut Down, and confirm when prompted to close applications.
- Always save your work in each open program before starting the shutdown process.
- If your computer freezes during shutdown, hold the power button for 10 seconds to force it off, then restart normally.
- Restarting (which shuts down and restarts automatically) is different from shutting down and is useful when programs stop responding.
How to shut down on Windows
Click the Start button in the bottom left corner of your screen. A menu will open showing your installed programs and system options.
Look for the Power button icon near the bottom right of the Start menu. Click it, and a small menu will appear with three options: Sleep, Shut down, and Restart. Select Shut down. Windows will close all open programs and turn off your computer. This process usually takes 30 to 60 seconds.
If you have unsaved work in any program, Windows will ask you to save it before closing. Save your files when prompted, or click "Don't Save" if you want to discard changes. Do not unplug the computer or press the power button while the shutdown is happening — wait until the screen goes black and the computer is completely silent.
How to shut down on macOS
Click the Apple menu in the top left corner of your screen. A dropdown menu will appear. Select Shut Down from the list.
A dialog box will ask if you want to shut down now. Click Shut Down to confirm. macOS will close all open programs and turn off your computer. If you have unsaved documents, each program will ask you to save before closing. You can click "Save" to keep your work or "Don't Save" to discard it.
macOS may also ask if you want to reopen windows when you turn the computer back on. Choose based on your preference — if you select "Reopen windows," the same programs and files will open automatically next time you start up. Wait for the screen to go dark and the computer to stop making noise before you walk away.
How to shut down on Linux
The steps depend on which desktop environment you are using (GNOME, KDE, Xfce, or another). In most Linux distributions, click the system menu in the top right or bottom right corner of the screen, depending on your setup.
Look for a Power Off or Shut Down option. Click it and confirm when prompted. Linux will close all running programs and power down. If you are using a command-line interface instead of a graphical desktop, type sudo shutdown -h now and press Enter to shut down when ready, or sudo shutdown -h +5 to shut down in 5 minutes.
What to do if your computer freezes during shutdown
If your computer does not respond to the shutdown command and the screen is frozen, hold down the power button for 10 to 15 seconds. The computer will force itself off. This is not ideal, but it is better than leaving it frozen indefinitely.
After a forced shutdown, wait 30 seconds before turning the computer back on. When it restarts, it may run a disk check or recovery process — let it finish without interrupting. If your computer freezes during shutdown repeatedly, a program or driver may be causing the problem. Try shutting down with fewer programs open, or restart in Safe Mode (on Windows) to see if the issue persists.
Restart versus shut down
Restarting means shutting down and turning back on automatically, without you having to press the power button. Shutting down means turning off completely and staying off until you press the power button again. Use restart when a program is not responding, when you install updates, or when your computer is running slowly. Use shut down when you are done for the day or before moving the computer.
To restart on Windows, click Start, select Power, and choose Restart. On macOS, click the Apple menu, select Restart, and confirm. On Linux, use sudo reboot in the terminal or select Restart from the system menu. Restart usually takes one to two minutes and closes all programs automatically.
Common mistakes to avoid
Do not hold the power button to shut down unless the computer is completely frozen. Holding the power button forces the computer off without closing files properly, which can corrupt your hard drive and cause data loss.
Do not unplug the power cable or turn off a power strip while the computer is running. This is the same as forcing it off and can damage hardware and files. If you need to move the computer, shut it down first, wait for it to cool, and then unplug it.
Do not close the laptop lid as a way to shut down. Closing the lid puts the computer to sleep, not shut down — it is still using power and can overheat if left closed in a warm space. Always use the proper shutdown command.
Do not ignore update prompts before shutting down. If Windows or macOS is asking you to install updates, let it finish before you shut down. Interrupting an update can break your operating system.
Frequently Asked Questions
Is it bad to shut down my computer every day?
No. Shutting down your computer every day is normal and does not harm it. In fact, turning off your computer when you are not using it saves electricity and can extend the lifespan of the components. Modern computers are designed to be shut down and restarted regularly.
What is the difference between shut down and sleep mode?
Sleep mode keeps your computer powered on but uses very little electricity — your programs and files stay open in memory, so you can wake it up when ready. Shut down turns off the power completely and closes everything. Use sleep if you will be away for a few minutes or hours. Use shut down if you are done for the day or will be away for many hours.
Why does my computer take so long to shut down?
A slow shutdown usually means a program is not closing properly or your hard drive is very full. Close programs manually before shutting down, or restart your computer to clear temporary files. If shutdown is always slow, run a disk cleanup tool or check your hard drive for errors using your operating system's built-in tools.
Can I shut down my computer remotely?
Yes, if you have remote access software installed (like TeamViewer or Windows Remote Desktop). You can also shut down a computer on your network using command-line tools if you have administrator access. For most home users, you will need to be at the computer to shut it down properly.
What should I do before shutting down my computer?
Save all your work in every open program, close any external drives or USB devices you are using, and close programs that might ask to save changes. If you are installing updates, let them finish before shutting down. These steps prevent data loss and may support a smooth shutdown.