The fastest keyboard shortcut to restart Windows

On Windows, press Alt + F4 to open the shutdown menu, then use your arrow keys to select "Restart" and press Enter. This works on almost every Windows machine and bypasses the need to touch your mouse or trackpad.

If Alt + F4 does not work (some programs block it), try Windows key + X, then press U twice. The first U selects "Shut down or sign out," and the second U selects "Restart." This method works even when other keyboard shortcuts are locked.

On a Mac, press Control + Command + Power button (or Control + Command + Eject on older keyboards) to restart without a confirmation dialog. If you want to see a confirmation first, use Command + Option + Control + Power button instead.

Key Takeaways

  • Windows users can press Alt + F4, then use arrow keys to select Restart and press Enter.
  • If Alt + F4 is blocked, Windows key + U + U opens the shutdown menu and restarts your computer.
  • Mac users can press Control + Command + Power button for an when ready restart without confirmation.
  • These methods work even when your mouse or trackpad is not responding.

Why you might need a keyboard restart

Your mouse or trackpad may stop responding while your keyboard still works. A keyboard restart lets you reboot without waiting for hardware to be replaced or fumbling for an external mouse. It is also faster than navigating menus with a mouse when you are in a hurry.

Some programs also freeze the graphical interface but leave keyboard commands active. In these cases, a keyboard restart is often the only way to regain control without forcing a hard shutdown, which can damage files or corrupt your system.

Step-by-step for Windows (Alt + F4 method)

Step 1: Press and hold Alt, then press F4 once. Release both keys. A small window should appear with shutdown options.

Step 2: Press the Down arrow key once or twice until "Restart" is highlighted in blue.

Step 3: Press Enter. Your computer will restart when ready.

If you see "Shut down" highlighted instead of "Restart," press the Down arrow one more time. The order of options can vary slightly depending on your Windows version, but Restart is always one of the first two choices.

Step-by-step for Windows (Alt + F4 blocked)

Step 1: Press the Windows key (the key with the Windows logo) and hold it, then press X. Release both keys. A menu should appear on the left side of your screen.

Step 2: Press U. A submenu will appear showing shutdown options.

Step 3: Press U again. Your computer will restart.

This method works even when Alt + F4 has been disabled by your system administrator or when a program is blocking keyboard shortcuts. It is the most reliable keyboard restart method for Windows machines in locked or restricted environments.

Step-by-step for Mac

Step 1: Press and hold Control and Command at the same time, then press the Power button (or Eject key on older Macs). Release all three keys.

Step 2: Your Mac will restart when ready without asking for confirmation.

If you want to see a confirmation dialog before restarting, hold Control, Command, and Option together, then press the Power button. A dialog will appear asking whether you want to restart, shut down, or log out. Use the arrow keys to select "Restart" and press Enter.

What to do if keyboard shortcuts do not work

If neither keyboard method restarts your computer, your keyboard may not be responding at all. Try unplugging and replugging a USB keyboard, or turning a wireless keyboard off and back on. Wait 10 seconds between each step.

If the keyboard still does not respond, you may need to force a shutdown by holding the Power button for 10 to 15 seconds until the screen goes black. This is harder on your system than a normal restart, but it is sometimes the only option when both keyboard and mouse are frozen. After a force shutdown, wait 30 seconds before pressing Power again to turn the computer back on.

Frequently Asked Questions

Will restarting by keyboard damage my computer?

No. A keyboard restart is a normal shutdown command and is just as safe as restarting through the mouse. Your operating system closes programs and saves data before restarting, so there is no risk of data loss or hardware damage.

What is the difference between restart and shut down?

Restart turns your computer off and when ready turns it back on. Shut down turns it off and leaves it off. Use restart to fix frozen programs or explore updates. Use shut down if you are done for the day.

Can I use these shortcuts on a laptop?

Yes. On Windows laptops, Alt + F4 and Windows key + U + U work the same way. On Mac laptops, Control + Command + Power works, but you may need to press Control + Command + Eject instead if your laptop does not have a Power button.

What if my computer is completely frozen and will not respond to any keyboard input?

Hold down the Power button for 10 to 15 seconds until the screen goes dark and the computer shuts down. This is a force shutdown and should only be used when nothing else works. Wait 30 seconds, then press Power to turn it back on.