Shutting down a computer closes all open programs and exits the operating system safely so hardware isn’t damaged and your operating system isn’t corrupted. The sections below explain how to shut down a computer, with instructions for different operating systems.
Shut down in Windows 11
- Press the Windows key on the keyboard, or click Start.
- In the Start menu, click the Power icon in the lower-right corner, then select Shut down in the power menu.
-or-
If you are unsure what OS your computer is running, see: How to find what operating system is on a computer.
If the computer appears to be frozen, see: What should I do when a computer freezes or locks up?
- Windows 11.
- Windows 10.
- Windows 8 and 8.1.
- Windows Vista and Windows 7.
- Microsoft Windows 95, 98, NT, ME, 2000, and XP.
- MS-DOS and the Windows command line.
- Chromebook.
- Apple macOS.
- How to turn off, restart, and shut down Linux.
- How to force shut down a computer.
Press Ctrl+Alt+Del and click the power button in the bottom-right corner of the screen.
From the Windows desktop, press Alt+F4 to get the Shut Down Windows screen shown here.
Shut down in Windows 10
- Press the Windows key on the keyboard, or click Start. The Start menu opens.
- In the Start menu, click the Power icon, then click Shut down.
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 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 restart their computer quickly. Click the power options icon (squared in red in the image) and select Restart from the drop-down menu that appears.
From the desktop, press Alt+F4 to get the Shut Down Windows screen.
With Windows 8, Shut down is found in the Settings of the Windows Charms.
Shut down in Windows Vista and Windows 7
- Press the Windows key on the keyboard or click Start.
- Click the Shut down button.
From the Windows desktop, press Alt+F4 to get the Shut down Windows screen and select Shut down.
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.
- Press the Windows key on the keyboard or click Start.
- From the Start menu, click Shut Down.
Shut down in MS-DOS and the Windows command line
- Press the Windows key, type cmd, and then press Enter to open the command line.
- In the prompt that appears, type shutdown -s and press Enter.
- After a few moments, the computer shuts down.
Shut down in a Chromebook
To shut down a Chromebook, follow these steps.
You can restart the computer by typing “shutdown -r”.
You can log off the current user account by typing “shutdown -l”.
You can also 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.
- Click the digits showing the time in the bottom-right corner of the screen.
- Click the Power button icon.
Shut down in Apple macOS
To shut down a macOS computer, follow these steps.
- Click the Apple menu icon in the top-left corner of the screen.
- In the Apple menu, click Shut Down.
How to force shut down a computer
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 shut down to turn off the computer.
To force a computer to shut down, find the computer’s power button. The picture is 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.
Performing a forced shut down 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 shut down should be done as a last resort.
Related information
- How to fix Microsoft Windows not shutting down.
- How to restart Microsoft Windows.
- How to restart a Mac.
- Is it better to leave the computer on or turn it off?
- Why does my computer not turn off?
- See our shutdown definition for further information and related links.
- Software help and support.