The right way to turn off your computer

Shutting down your computer means closing all programs, saving your work, and powering off the machine safely. On Windows, click the Start button in the lower left, then click the power icon and select "Shut down." On Mac, click the Apple menu in the upper left, select "Shut Down," and confirm. On Linux, the method varies by desktop environment, but usually involves clicking a power or system menu and selecting shutdown. The shutdown process takes a minute or two—let it finish rather than holding the power button.

A proper shutdown is different from sleep or restart. Sleep puts your computer into a low-power state but keeps it running; restart closes everything and boots the machine back up. Shutdown closes everything and powers off completely. Each serves a different purpose depending on whether you plan to use the computer again soon or want to save power.

Key Takeaways

  • Windows users click Start, then the power icon, then "Shut down" to close all programs and power off safely.
  • Mac users click the Apple menu, select "Shut Down," and confirm the action.
  • Letting the shutdown process complete on its own prevents data loss and file corruption.
  • Sleep mode keeps your computer running at low power; shutdown powers it off completely and uses no electricity.
  • Holding the power button forces an when ready shutdown and should only be used if the computer is frozen or unresponsive.

Windows shutdown step by step

On a Windows computer, locate the Start button in the lower left corner of your screen. Click it to open the Start menu. In the lower left of the menu that appears, you will see a power icon—it looks like a circle with a line at the top. Click that icon.

A small menu will pop up with three options: Sleep, Shut down, and Restart. Click "Shut down." Windows will then close all open programs (it may ask you to save unsaved work first), close background processes, and power off the machine. This usually takes 30 seconds to two minutes. Do not unplug the computer or hold the power button during this time.

Mac shutdown step by step

On a Mac, click the Apple menu in the upper left corner of the screen. 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 power off. Like Windows, this process takes a minute or two and should be allowed to complete.

If you have unsaved work in any open program, macOS will ask whether you want to save it before shutting down. You can choose to save, discard, or cancel the shutdown. If you cancel, the shutdown stops and your Mac stays on.

What to do if your computer won't shut down

Sometimes a frozen program or stuck process prevents normal shutdown. If your computer does not respond to the shutdown command after waiting two minutes, try restarting instead. Click Start (Windows) or the Apple menu (Mac) and select "Restart" rather than "Shut down." A restart often clears stuck processes and allows the machine to power cycle properly.

If restart does not work or the computer is completely frozen, hold the power button for 10 to 15 seconds until the screen goes black and the machine powers off. This is a forced shutdown and should be a last resort—it can cause data loss if you have unsaved work. After a forced shutdown, wait 30 seconds before pressing the power button again to turn the computer back on.

Sleep versus shutdown: when to use each

Sleep mode turns off your display and slows down most processes, but your computer stays powered on and ready to wake when ready when you move the mouse or press a key. Sleep uses much less electricity than normal operation but more than shutdown. Use sleep if you plan to return to your computer within a few hours.

Shutdown powers off the machine completely and uses no electricity. It takes longer to boot back up (usually 30 seconds to two minutes), but it is the right choice if you will not use the computer for several hours or longer, or if you want to save power. Shutdown is also the safest option before unplugging the computer, moving it, or performing maintenance.

Restarting your computer

A restart closes all programs and reboots the machine—it powers off and back on automatically. Restart is useful when a program is misbehaving, after installing updates, or when your computer is running slowly. On Windows, click Start, then the power icon, then "Restart." On Mac, click the Apple menu and select "Restart," then confirm.

During restart, Windows or macOS will save your work and close programs, then the screen will go black and the boot process will begin. You will see the Windows or Apple logo, and the machine will load the operating system. This takes longer than waking from sleep but is faster than a full shutdown and power-on cycle.

Shutting down on Linux

Linux shutdown varies by which desktop environment you use—GNOME, KDE, Xfce, and others each have slightly different menus. Most commonly, you will find a power or system menu in the upper right or lower right corner of the screen. Click it and look for "Shut Down," "Power Off," or "Exit." Select that option and confirm.

If you prefer the command line, you can also type sudo shutdown -h now in a terminal to shut down when ready, or sudo shutdown -h +10 to shut down in 10 minutes. The -h flag means "halt" (power off). If you want to restart instead, use sudo reboot.

Frequently Asked Questions

Is it bad to shut down my computer every day?

No. Shutting down your computer daily is normal and safe. It saves electricity and gives the machine a fresh start each time you power it on. Many people shut down at the end of the workday or before bed without any problems.

What is the difference between shutdown and restart?

Shutdown powers off the computer completely. Restart closes all programs and reboots the machine—it powers off and back on automatically. Use restart when a program is frozen or after installing updates; use shutdown when you are done for the day.

Can I unplug my computer instead of shutting it down?

You should avoid unplugging without shutting down first. An improper shutdown can corrupt files and damage the operating system. Always use the shutdown command, wait for the machine to power off, and only then unplug it.

Why does my computer take so long to shut down?

Shutdown can be slow if you have many programs open, large files being saved, or background processes running. Close programs before shutting down to speed up the process. If shutdown takes more than five minutes, the computer may be frozen—try a forced shutdown by holding the power button.

Will shutting down my computer damage the hard drive?

A proper shutdown does not damage the hard drive. The shutdown process closes all files and programs safely before powering off. A forced shutdown or unplugging without shutting down can cause problems, but normal shutdown is safe.