The fastest keyboard shortcut to restart Windows

The quickest way to restart your PC with the keyboard is to use Alt + F4 to close all open windows, then press the Up arrow key and Enter when the shutdown menu appears. On most Windows machines, this takes about five seconds from anywhere on your desktop.

If Alt + F4 doesn't work—sometimes it's disabled on work computers or older systems—you can open the Run dialog by pressing Windows key + R, type shutdown /r /t 0, and press Enter. The "/r" tells Windows to restart rather than shut down, and "/t 0" means restart when ready with no delay.

Both methods work on Windows 10 and Windows 11. Neither requires you to touch the mouse or trackpad, and neither asks for confirmation if you use the shutdown command.

Key Takeaways

  • Alt + F4 followed by Up arrow and Enter is the fastest keyboard-only restart on most Windows PCs.
  • Windows key + R, then typing shutdown /r /t 0 and pressing Enter will restart when ready without a confirmation prompt.
  • If you want a delay before restart—to save work or close programs—use shutdown /r /t 60 (60 seconds) instead of /t 0.
  • On a locked Windows login screen, Ctrl + Alt + Delete brings up options including restart, which you can navigate with arrow keys.

Using the Run dialog for a scheduled restart

The Run dialog method gives you more control than Alt + F4 because you can add a time delay. Press Windows key + R, type shutdown /r /t 120 (for a 2-minute delay), and press Enter. Windows will count down and show a notification on your screen telling you when the restart will happen.

This is useful if you have programs running that need time to save, or if you want to warn other people on your network that the machine is going down. You can cancel a scheduled restart by pressing Windows key + R again, typing shutdown /a, and pressing Enter—the "a" stands for abort.

The number after "/t" is always in seconds. So "/t 300" means 5 minutes, "/t 600" means 10 minutes. If you type "/t 0", the restart happens when ready.

Restarting from the Windows login screen

If your PC is locked or showing the login screen, you can restart without typing a password. Press Ctrl + Alt + Delete to bring up the security screen, then use the Tab key to navigate to the power button in the bottom right corner. Press Enter to open the power menu.

Once the power menu is open, press the Up arrow key to highlight "Restart" (it may say "Restart" or show a restart icon), then press Enter. The PC will restart when ready.

This method works even if you've forgotten your password or if your account is locked. It's also the safest way to restart if your keyboard is the only input device working.

What to do if keyboard shortcuts are not responding

If Alt + F4 and Windows key + R do nothing, your keyboard may not be registering in Windows. First, try unplugging the keyboard and plugging it back in—wait 10 seconds before reconnecting. Then try the shortcuts again.

If the keyboard still doesn't work, try the Ctrl + Alt + Delete method instead. If that also fails, your PC may have frozen. In that case, hold down the physical power button on your PC for 10 seconds until it shuts down completely, then press it once to turn it back on. This is a hard restart and should only be used when the keyboard and mouse are completely unresponsive.

After a hard restart, Windows may run a disk check the next time it boots. Let it finish—do not turn off the PC during this process, as it can damage your system files.

Restarting in Safe Mode using the keyboard

If your PC is having problems and you need to restart in Safe Mode, press Windows key + R, type msconfig, and press Enter. The System Configuration window will open.

Use the Tab key to navigate to the "Boot" tab at the top of the window, then press Tab again to reach the "Safe boot" checkbox. Press Space to check it, then use Tab to navigate to the "explore" button and press Enter. A dialog will ask if you want to restart now—press Tab to highlight "Restart" and press Enter.

Your PC will restart in Safe Mode, which loads only essential drivers and programs. This is useful if malware or a bad driver is preventing normal startup. To return to normal mode, repeat these steps and uncheck the "Safe boot" box.

Keyboard shortcuts that do not restart your PC

Some keyboard combinations look like they should restart your PC but do something different instead. Alt + F4 on its own only closes the current window—it doesn't restart unless you press it on the desktop with no programs open, then use the arrow keys on the shutdown menu. Ctrl + Alt + Delete alone just opens the security screen; you still have to navigate to the power button.

Windows key + L locks your PC but does not restart it. Windows key + X opens a menu with shutdown and restart options, but you have to use arrow keys to navigate to "Restart" and press Enter—it's slower than the other methods listed here.

If you press a shortcut and nothing happens, check that you're holding all the keys at the same time, not pressing them one after another. Also make sure Caps Lock is off, as some systems treat uppercase and lowercase differently.

Frequently Asked Questions

Can I restart my PC with just one key?

No single key restarts a PC on its own. You need at least two keys pressed together, like Alt + F4, or a combination like Windows key + R followed by typing a command. This is intentional—it prevents accidental restarts from a stray keystroke.

What does the /t 0 in the shutdown command mean?

The "/t" stands for timeout, and the number after it is how many seconds to wait before restarting. "/t 0" means zero seconds—restart right now. "/t 60" means wait 60 seconds. If you don't include "/t" at all, Windows waits 30 seconds by default.

Will restarting with the keyboard close my open files?

If you use Alt + F4 or the shutdown command, Windows will ask you to save unsaved work in each open program before restarting. If you ignore those prompts or they time out, you will lose that work. Always save manually before restarting if you have important files open.

Is it safe to use the hard power button restart?

Holding the power button until the PC shuts down is safe to do once in a while when nothing else works, but do not make it a habit. It can corrupt files and damage the hard drive if done repeatedly. Use it only when your keyboard and mouse are completely unresponsive.

Can I restart a Mac with the keyboard the same way?

No. Macs use different keyboard shortcuts. On a Mac, press Control + Command + Power button to restart, or Command + Q to quit the current program. The Windows shortcuts described here will not work on macOS.