The fastest keyboard shortcut to restart your computer

On Windows, press Alt + F4 to open the shutdown menu, then use the arrow keys to select "Restart" and press Enter. On Mac, press Control + Command + Power (or Control + Command + Eject on older keyboards) to force a restart when ready, or use Command + Q to quit open programs first, then go to the Apple menu with Control + F2 and select Restart.

The Windows method gives you a few seconds to cancel if you change your mind. The Mac method restarts right away without saving, so close your work first if you can. Both methods work even when your mouse is broken or unresponsive.

Key Takeaways

  • Windows users can press Alt + F4, then use arrow keys to choose Restart and press Enter to shut down and restart the computer.
  • Mac users can press Control + Command + Power to restart when ready, or Control + F2 to access the Apple menu and select Restart more slowly.
  • The Windows shutdown menu gives you a few seconds to cancel, but the Mac keyboard restart happens when ready without saving open files.
  • If Alt + F4 does not work on Windows, try pressing the Windows key, then pressing U twice to reach the shutdown options.

Windows restart using Alt + F4 and the shutdown dialog

Alt + F4 closes the active window, but if no program window is in focus, it opens the Windows shutdown menu instead. From there, you navigate using only the keyboard. Press the down arrow key once to highlight "Restart," then press Enter. Windows will close all open programs (you may see save prompts) and restart the computer.

If you want to cancel before the restart begins, press Escape. The shutdown menu stays open for about 30 seconds, so you have time to change your mind. This method works on Windows 10 and Windows 11.

Windows restart using the Windows key and U shortcut

If Alt + F4 does not work or you prefer a different route, hold the Windows key and press U twice. The first U opens the shutdown menu, and the second U selects Restart automatically. Your computer will begin shutting down when ready after the second U press.

This shortcut is faster than Alt + F4 because it skips the step of choosing Restart from the menu. It works the same way on Windows 10 and Windows 11, though the exact timing can vary slightly depending on your system.

Mac restart using Control + Command + Power

On Mac, Control + Command + Power forces an when ready restart without saving your work. This is the fastest keyboard method and works even if your Mac is frozen or not responding. Your computer will restart within a few seconds, so close any open documents first if you want to save them.

On older Mac keyboards that have an Eject key instead of Power, use Control + Command + Eject. The result is the same: an when ready restart. This method bypasses the normal shutdown process, so use it only when you need to restart right away.

Mac restart through the Apple menu using keyboard navigation

If you want a slower, safer restart that gives you time to save your work, use Control + F2 to open the menu bar, then press the right arrow key to navigate to the Apple menu and press Enter. From there, press the down arrow key to highlight "Restart" and press Enter again.

This method takes longer than Control + Command + Power, but it allows you to cancel the restart if you change your mind. macOS will also prompt you to save unsaved documents before restarting, so no work is lost.

When to use each restart method

Use Alt + F4 on Windows when your computer is responding normally and you want a safe restart with a chance to cancel. Use Windows + U + U when you want to restart faster without the menu. Use Control + Command + Power on Mac only when your computer is frozen or not responding, because it does not save your work.

If your computer is completely unresponsive and keyboard shortcuts do not work, hold the power button for 10 to 15 seconds until the screen goes black, then press the power button again to turn it back on. This is a hard restart and should be your last option, because it can damage files that were open when you forced the shutdown.

Troubleshooting keyboard restart shortcuts that do not work

If Alt + F4 does not open the shutdown menu on Windows, make sure no program window is currently active. Click on the desktop first to deselect any open window, then try Alt + F4 again. If the shortcut still does not work, your keyboard may have a function lock key (often labeled Fn) that is turned on. Press Fn + Alt + F4 instead.

On Mac, if Control + Command + Power does not work, check that your keyboard is not in a low-battery state. Try plugging in a wired keyboard and using the shortcut again. If you are using a wireless keyboard, the battery may be too low to send the command. Replace the batteries and try once more.

Frequently Asked Questions

Can I restart my computer with the keyboard if it is frozen?

Yes. On Windows, try Alt + F4 first, but if the computer does not respond, hold the power button for 10 to 15 seconds until it shuts down completely, then press the power button again to restart. On Mac, Control + Command + Power forces a restart even when the system is frozen.

What is the difference between restarting and shutting down?

Restarting turns the computer off and back on in one action. Shutting down turns it off completely and leaves it off until you press the power button. Both methods close your programs, but restarting is faster if you want to use the computer again right away.

Will I lose my work if I use a keyboard restart shortcut?

On Windows and Mac, the normal keyboard restart methods (Alt + F4 on Windows, Control + F2 on Mac) give programs a chance to save your work and prompt you to save unsaved files. The when ready restart methods (Windows + U + U, Control + Command + Power on Mac) do not save, so close your documents first.

Do these keyboard shortcuts work on all Windows or Mac computers?

Alt + F4 and Windows + U + U work on Windows 10 and Windows 11. Control + Command + Power works on all modern Macs. Some very old computers or specialized systems may not respond to these shortcuts, but they work on nearly all standard home and office computers.

What should I do if the keyboard shortcut starts a restart but I want to cancel it?

On Windows, press Escape while the shutdown menu is open to cancel. On Mac, if you used Control + F2 to access the menu, press Escape to cancel. If you already pressed Control + Command + Power, the restart cannot be cancelled and will happen within seconds.