The fastest keyboard shutdown on Windows and Mac
You can shut down your computer without touching the mouse. On Windows, press Alt + F4 to close the active window, then press the down arrow key to highlight "Shut down" and press Enter. On Mac, press Control + Command + Power (or Control + Command + Eject on older keyboards) to shut down when ready without saving unsaved work, or use Command + Q to quit the active process first.
The method you choose depends on whether you want to save your work and whether you need the shutdown to happen right away. Windows gives you a moment to cancel; Mac's Control + Command + Power shuts down in seconds with no confirmation.
Key Takeaways
- Windows Alt + F4 closes your current window and opens a menu where you can select shutdown with arrow keys and Enter.
- Mac Control + Command + Power forces an when ready shutdown without saving, while Command + Option + Power gives you a chance to cancel.
- Windows also offers the Start menu route: press the Windows key, then arrow down to Power and select Shut down.
- If your keyboard does not have a Power key, you can use Alt + F4 on Windows or Command + Q on Mac to close programs first.
Windows shutdown using Alt + F4
Press Alt + F4 while you are on the desktop or in any open window. This closes the active window. If you have multiple programs open, you may need to press Alt + F4 several times until you reach the desktop, or the system will ask you to save unsaved work in each program.
Once you are at the desktop or after closing all windows, press Alt + F4 one more time. A shutdown menu appears with options for "Switch user," "Sign out," "Lock," "Restart," and "Shut down." Use the down arrow key to highlight "Shut down," then press Enter. Your computer will shut down.
Windows shutdown using the Start menu
Press the Windows key (the key with the Windows logo) to open the Start menu. Press the down arrow key repeatedly to navigate to the Power button, which is usually near the bottom of the menu. When Power is highlighted, press Enter or the right arrow key to see shutdown options.
Highlight "Shut down" and press Enter. Your computer will begin the shutdown process. This method works on Windows 10 and Windows 11. The exact position of the Power button in the menu may vary depending on your Windows version and recent updates.
Mac shutdown using Control + Command + Power
Control + Command + Power forces your Mac to shut down when ready without saving unsaved work or giving you a chance to cancel. Use this only when your Mac is frozen or unresponsive, or when you need a shutdown to happen right away and you have already saved your work.
If you want a gentler shutdown that saves your work and lets you cancel, press Control + Command + Eject instead (on older Mac keyboards) or Command + Option + Power on newer models. A dialog box appears asking whether you want to restart, shut down, or cancel. Highlight "Shut down" and press Enter.
Mac shutdown by quitting all applications first
Press Command + Q to quit the active process. Repeat this for each open program. Once all applications are closed, press Command + Control + Power to shut down, or use the Apple menu by pressing Control + F2 (or fn + Control + F2 on newer Macs), then arrow down to "Shut Down" and press Enter.
This method gives each process a chance to save its work and close cleanly. Some programs may ask you to confirm before closing if they have unsaved changes.
What to do if your keyboard does not have a Power key
Older keyboards and some laptop keyboards do not have a dedicated Power key. On Windows, use Alt + F4 to reach the shutdown menu. On Mac, use Command + Control + Eject if your keyboard has an Eject key, or navigate through the Apple menu using Control + F2 and arrow keys.
If neither of these works, you can also try pressing Tab to move between menu options instead of arrow keys, depending on your system settings. Some accessibility keyboards and external keyboards may have different key combinations—check your keyboard's manual if the standard shortcuts do not work.
Troubleshooting when keyboard shutdown does not work
If Alt + F4 or Control + Command + Power does not respond, your computer may be frozen. On Windows, try pressing Ctrl + Alt + Delete to open the Task Manager, then use arrow keys to navigate to the Power button in the bottom right corner. On Mac, try pressing Command + Option + Escape to force-quit the frozen process, then try the shutdown command again.
If your keyboard itself is not responding, the problem is likely a hardware issue rather than a software one. Check that the keyboard is plugged in (if wired) or charged (if wireless). Restart your computer using the Power button on the case as a last resort, though this can cause data loss if you have unsaved work.
Frequently Asked Questions
Can I schedule a shutdown for a specific time using the keyboard?
On Windows, you can use the Command Prompt to schedule a shutdown. Press Windows key + R, type "cmd," press Enter, then type "shutdown /s /t 3600" (where 3600 is the number of seconds until shutdown). On Mac, open Terminal (Command + Space, type "Terminal," press Enter) and type "sudo shutdown -h +60" (where 60 is minutes from now).
What is the difference between shutdown and restart on the keyboard menu?
Shutdown turns off your computer completely. Restart shuts down and then turns the computer back on automatically. Both are accessed the same way through the keyboard—just highlight "Restart" instead of "Shut down" in the menu.
Will Alt + F4 close my programs without saving?
Alt + F4 will prompt you to save unsaved work in most programs before closing them. If you press Alt + F4 multiple times quickly, some programs may close without saving. Always save your work manually before using keyboard shutdown commands if you have unsaved changes.
Does Control + Command + Power work on all Macs?
Control + Command + Power works on most Macs, but very old models may use different key combinations. If it does not work, try Control + Command + Eject instead. Check your Mac's manual or Apple's support site for your specific model if neither works.
Can I use these keyboard shortcuts on a Mac connected to an external keyboard?
Yes, the same keyboard shortcuts work with external keyboards connected to a Mac. If your external keyboard does not have a Power key or Eject key, use Command + Control + F2 to access the Apple menu instead, then navigate to Shut Down with arrow keys.