How to shut down a computer

Updated: 03/10/2024 by Computer Hope
Shut down screen on Windows 10

Shutting down a computer closes all open programs and exits the operating system safely so hardware isn't damaged and your files aren't corrupted. To learn how to properly shut down your computer, choose your operating system from the list below and follow the steps.

Tip

If you are unsure what OS (operating system) your computer is running, see: How to find what operating system is on a computer.

Note

If the computer appears to be frozen, see: What should I do when a computer freezes or locks up?

Shut down in Windows 11

  1. Press the Windows key on the keyboard, or click Start.
  2. In the Start menu, click the Power icon in the lower-right corner.
  3. Select Shut down from the power menu.

-or-

Press Ctrl+Alt+Del, click the power icon in the bottom-right corner of the screen, and select Shut down from the menu.

-or-

From the Windows desktop, press Alt+F4 (which may also be used to terminate programs) until you get to the Shut Down Windows screen shown here. Then, select Shut down from the drop-down menu and click the OK button in Windows. button.

Windows 11 Shut down

Tip

If you don't have a mouse, use the Tab and arrow keys to switch between fields. Use the Enter or spacebar key to select the Shut down option.

Shut down in Windows 10

  1. Press the Windows key on the keyboard, or click Start.
  2. In the Start menu, click the Power icon.

Power button in Windows 10.

  1. Select Shut down from the pop-up menu.

Shut down selector in Windows 10.

-or-

Press Ctrl+Alt+Del, click the power icon in the bottom-right corner of the screen, and select Shut down from the menu.

-or-

From the Windows desktop, press Alt+F4 (which may also be used to terminate programs) until you get to the Shut Down Windows screen shown here. Then, select Shut down from the drop-down menu and click the OK button in Windows. button.

Windows 10 Shut down

Tip

If you don't have a mouse, use the Tab and arrow keys to switch between fields. Use the Enter or spacebar key to select the Shut down option.

Shut down in Windows 8 and 8.1

Windows 8 power options

Windows 8 and 8.1

Neither of these versions of Windows has the Start menu. However, with the 8.1 update, Microsoft added the power options button to the upper-right corner of the Start screen that allows users to shut down or restart. Click the power options icon (squared in red in the image) and select Shut down from the drop-down menu.

-or-

Press Ctrl+Alt+Del, click the power icon in the bottom-right corner of the screen, and select Shut down from the menu.

-or-

From the Windows desktop, press Alt+F4 (which may also be used to terminate programs) until you get to the Shut Down Windows screen. Then, select Shut down from the drop-down menu and click the OK button in Windows. button.

-or-

With Windows 8, Shut down is available in Settings of the Windows Charms.

Tip

If you don't have a mouse, use the Tab and arrow keys to switch between fields. Use the Enter or spacebar key to select the Shut down option.

Shut down in Windows Vista and Windows 7

Press the Windows key on the keyboard or Start and click the Shut down button.

-or-

Press Ctrl+Alt+Del, click the power icon in the bottom-right corner of the screen, and select Shut down from the menu.

-or-

From the Windows desktop, press Alt+F4 (which may also be used to terminate programs) until you get to the Shut Down Windows screen. Then, select Shut down from the drop-down menu and click the OK button in Windows. button.

Tip

If you don't have a mouse, use the Tab and arrow keys to switch between fields. Use the Enter or spacebar key to select the Shut down option.

Shut down in Microsoft Windows 95, 98, NT, Me, 2000, and XP

All these versions of Microsoft Windows can be shut down through the Start menu.

  1. Press the Windows key on the keyboard or click Start.
  2. From the Start menu, click Shut Down.

Shut down in MS-DOS and the Windows command line

  1. Press the Windows key, type cmd, and press Enter to open the command line.
  2. In the prompt, type shutdown -s and press Enter.
  3. After a few moments, the computer shuts down.
Tip

To restart the computer, type "shutdown -r" and press Enter.

To log off the current user account, type "shutdown -l" and press Enter.

Tip

Alternatively, shut down your computer using a batch file and optionally run it with a keyboard shortcut. For more information, see: How to shut down or restart the computer with a batch file.

Shut down in a Chromebook

Chromebook Shut down

To shut down a Chromebook, follow these steps.

  1. Click the time in the bottom-right corner of the screen.
  2. Click the Power button icon.

Shut down in Apple macOS

To shut down a macOS computer, follow these steps.

  1. Click the Apple menu icon in the top-left corner of the screen.
  2. In the Apple menu, click Shut Down.

Choosing to shut down a Mac.

  1. In the prompt, click the Shut down button to confirm your choice.

Confirming shut down in macOS.

How to force shut down a computer

Computer power button

If your computer does not shut down using the shut down options in the operating system, you may need to force a shut down. Sometimes, a program gets stuck and does not stop running, hardware drivers may be causing issues, the operating system has corrupt system files, or the computer is frozen and nothing works. Each of these cases may require a forced shutdown to turn off the computer.

To force a computer to shut down, find the computer's power button. The picture shows an example of a power button on a computer. Press and hold the power button until the computer turns off, then release the power button.

Warning

Performing a forced shutdown can cause damage to program and operating system files and hardware drivers. The files could be corrupted, resulting in errors when you turn the computer on again. A forced shutdown should only be done as a last resort.