The right way to shut down depends on your operating system

Shutting down your computer is not the same as putting it to sleep or closing the lid. A proper shutdown closes all running programs, saves your work, and powers off the machine completely. On Windows, you use the Start menu. On Mac, you use the Apple menu. On Linux, the method varies by desktop environment, but the principle is the same: you tell the system to close gracefully rather than just cutting the power.

Pulling the power cord or holding the power button for a long time can corrupt files and damage your hard drive. A proper shutdown gives your operating system time to finish what it is doing, close programs safely, and prepare the hardware for power-off. This takes 30 seconds to two minutes depending on how many programs you have open.

Key Takeaways

  • On Windows 10 or 11, click the Start button, select the power icon, and choose Shut down from the menu.
  • On Mac, click the Apple menu in the top left, select Shut Down, and confirm when prompted.
  • On Linux, the shutdown command varies by desktop environment—GNOME uses the system menu in the top right, while KDE uses the process menu.
  • Always save your work and close programs before shutting down to avoid losing data.
  • A proper shutdown takes one to three minutes and is safer for your hardware than forcing power off.

Shutting down Windows 10 and Windows 11

Click the Start button in the bottom left corner of your screen. A menu will open showing your installed programs and a list of options on the left side. At the bottom of that left panel, you will see a power icon—it looks like a circle with a line at the top. Click it.

A small menu appears with three options: Sleep, Shut down, and Restart. Click Shut down. Your screen will go black, and the computer will power off completely. This usually takes 30 to 60 seconds. Wait until the screen is completely dark and the power light on your computer case has turned off before you unplug anything or move the machine.

If you have unsaved work in any open programs, Windows will warn you before shutting down. Save your files first, then repeat the steps above.

Shutting down a Mac

Click the Apple menu in the top left corner of your screen—it is the black apple symbol. A dropdown menu appears. Near the bottom, you will see Shut Down. Click it.

A dialog box will ask you to confirm. It may also offer to reopen your windows when you turn the computer back on. Click the Shut Down button in the dialog to proceed. Your Mac will close all open programs, save your session information, and power off. This takes one to two minutes. The screen will go black and stay black when the shutdown is complete.

If you have unsaved documents, macOS will ask you to save them before shutting down. You can choose to save, discard, or cancel the shutdown at that point.

Shutting down Linux

The shutdown process on Linux depends on which desktop environment you are using. The two most common are GNOME and KDE.

On GNOME (used by Ubuntu and Fedora), click the system menu in the top right corner of your screen. It usually shows the time and network status. A dropdown menu appears. Look for a power icon or a menu labeled "Power Off" or "Shut Down". Click it, then confirm when prompted.

On KDE (used by Kubuntu and openSUSE), click the process menu button (usually in the bottom left or top left, depending on your setup). Search for "Shut Down" or look for a power option in the system settings menu. Click it and confirm.

If you are comfortable using the terminal, you can also type sudo shutdown -h now and press Enter. This command shuts down the system when ready. You may be asked to enter your password.

What to do if your computer will not shut down

Sometimes a program will freeze and prevent the shutdown from completing. If the shutdown screen appears but nothing happens for more than five minutes, you can force the shutdown. Hold down the power button on your computer case for 10 seconds. The machine will power off when ready.

After a forced shutdown, your computer may run a disk check the next time you turn it on. This is normal and helps prevent file corruption. Let it finish—do not interrupt it.

If your computer regularly freezes during shutdown, one of your programs may be the cause. Try closing programs one at a time before shutting down, and note which one was open when the freeze happened. You may need to update or uninstall that program.

Sleep mode versus shutdown

Sleep mode puts your computer into a low-power state while keeping your session open. When you wake it, you return to exactly where you left off. Shutdown closes everything and powers off completely. You should use sleep if you will be away for a few hours. Use shutdown if you will be away for a day or more, or if you are not using the computer.

Sleep uses less power than running normally but more power than shutdown. If you leave a computer in sleep mode for weeks, it will use noticeably more electricity than if you had shut it down. Shutdown is the right choice for overnight or longer.

Restarting instead of shutting down

A restart powers off your computer and turns it back on automatically. Use restart when you install software updates, when a program is behaving strangely, or when you want to clear your computer's memory without waiting for a full shutdown and restart cycle.

On Windows, click Start, click the power icon, and select Restart. On Mac, click the Apple menu and select Restart. On Linux, use the same menu where you would find Shut Down and select Restart instead. A restart takes two to five minutes depending on how much your computer has to load when it comes back up.

Frequently Asked Questions

Is it bad to shut down my computer every day?

No. Shutting down your computer daily is normal and healthy for the hardware. It gives components time to cool down and reduces wear on the power supply. Most computers are designed to be shut down and restarted regularly.

What is the difference between shutdown and restart?

Shutdown powers off the computer completely. Restart powers off and then automatically turns the computer back on. Use restart when you install updates or troubleshoot problems. Use shutdown when you are done using the computer for the day.

Can I unplug my computer instead of shutting it down?

You can, but you should not make it a habit. Unplugging without shutting down can corrupt files, damage your hard drive, and cause data loss. Always use the proper shutdown method. Unplugging is only acceptable in an emergency, such as a fire or electrical hazard.

How long should I wait after the screen goes black?

Wait 10 to 15 seconds after the screen goes completely black and the power light turns off. This ensures the hard drive has finished writing data and the system is fully powered down. Then it is safe to unplug or move the computer.

Why does my computer take so long to shut down?

A slow shutdown usually means you have many programs open or a program is not closing properly. Close programs manually before shutting down. If one program always causes delays, try updating it or uninstalling and reinstalling it. If the problem persists, a technician can help diagnose the cause.