The fastest keyboard shortcut to restart Windows

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

If Alt + F4 does not work (some programs block it), try Ctrl + Alt + Delete, then press Tab to highlight "Sign out" or "Shut down", use arrow keys to find "Restart", and press Enter. This route goes through Windows' find attention sequence and works even when your system is sluggish.

On a Mac, press Control + Command + Power button (or Control + Command + Eject on older keyboards) to restart without any confirmation dialog. If you want a confirmation first, use Command + Control + Q to lock the screen, then restart from the login screen using the power button in the menu.

Key Takeaways

  • On Windows, Alt + F4 opens the shutdown menu where you can select Restart using arrow keys and Enter.
  • If Alt + F4 does not respond, Ctrl + Alt + Delete followed by Tab and arrow keys will reach the restart option.
  • On Mac, Control + Command + Power button restarts the computer when ready without a confirmation prompt.
  • These keyboard methods work even when your mouse is broken or unresponsive.

When Alt + F4 does not work

Some programs, especially games and full-screen applications, block Alt + F4 to prevent accidental closure. If you press it and nothing happens, your process has disabled the shortcut intentionally.

The Ctrl + Alt + Delete route is more reliable because it uses the find attention sequence—a Windows feature that interrupts almost any running program. After you press Ctrl + Alt + Delete, you will see a blue screen with options. Press Tab once to move to the "Sign out" button, then use the Down arrow key to highlight "Restart" and press Enter.

If even Ctrl + Alt + Delete does not respond, your computer may be frozen. In that case, hold the power button for 10 seconds to force a shutdown, then press it again to turn the machine back on. This is a hard restart and should only be used when the keyboard shortcuts fail.

Using the command line to restart

Windows includes a shutdown command you can run from the command prompt or Run dialog. Press Windows key + R to open the Run dialog, type shutdown /r /t 0, and press Enter. The /r flag means restart, and /t 0 means restart when ready with no delay.

If you want to give yourself time to save work, replace the 0 with a number of seconds. For example, shutdown /r /t 60 restarts in 60 seconds and displays a countdown warning on your screen.

On Mac, you can open Terminal (Command + Space, type "Terminal", press Enter) and type sudo shutdown -r now, then press Enter and type your password. The -r flag means restart and now means when ready. This method is less common because the keyboard shortcut is simpler, but it works if you prefer the command line.

Restarting from the login screen

If you are already at the Windows login screen and have not signed in yet, you can restart without entering your password. Look for the power icon in the bottom right corner of the screen. Press Tab repeatedly until the power button is highlighted, then press Enter to see restart and shutdown options.

On some Windows versions, you may need to press Alt + F4 while on the login screen to reach the shutdown menu. The exact steps vary slightly between Windows 10 and Windows 11, but the principle is the same: Tab moves between buttons, and Enter selects.

Restarting a frozen or unresponsive computer

If your keyboard shortcuts do not work and your computer appears completely frozen, the system may not be responding to input at all. In this case, holding down the power button for 10 to 15 seconds will force the machine to shut down. This is not a graceful restart—Windows does not save open files or close programs properly—but it is sometimes the only option.

After the computer powers off completely, wait 30 seconds, then press the power button once to turn it back on. This hard restart can sometimes fix problems that prevent normal shutdown, though it carries a small risk of data loss if you had unsaved work open.

If your computer freezes regularly, the problem usually lies with a failing hard drive, overheating, or a background process consuming all your system resources. A one-time hard restart may get you working again, but you should investigate the cause to prevent it from happening repeatedly.

Scheduling a restart for later

Windows allows you to schedule a restart for a specific time using the command line. Press Windows key + R, type shutdown /r /t 3600 (where 3600 is the number of seconds), and press Enter. This gives you an hour before the restart happens and displays a warning on your screen.

To cancel a scheduled restart before it happens, press Windows key + R, type shutdown /a, and press Enter. The /a flag aborts any pending shutdown or restart command.

This approach is useful if you are installing updates or running a long task and want the computer to restart automatically once you have left for the day. The countdown warning gives you a chance to save work if you return to the machine before the timer expires.

Frequently Asked Questions

Does Alt + F4 work on all Windows computers?

Alt + F4 works on most Windows machines, but some programs and games disable it intentionally. If it does not work, try Ctrl + Alt + Delete instead, which uses a more privileged system feature that fewer programs can block.

What is the difference between restart and shutdown?

Shutdown turns the computer completely off. Restart turns it off and then when ready turns it back on. Restart clears the computer's memory and reloads Windows, which often fixes temporary problems that shutdown alone would not solve.

Is a hard restart (holding the power button) safe to do?

A hard restart is safe for the hardware but risky for your files. Windows does not save open documents or close programs properly, so you may lose unsaved work. Use it only when keyboard shortcuts fail and the computer is completely unresponsive.

Can I restart a Mac using keyboard shortcuts if the mouse is broken?

Yes. On Mac, Control + Command + Power button restarts the computer without needing the mouse. If you want a confirmation dialog first, use Command + Control + Q to lock the screen, then use Tab and arrow keys to navigate the restart option.

Why would I schedule a restart instead of restarting right away?

Scheduling a restart gives you time to finish work, close programs, and save files before the computer restarts. It is useful when Windows updates require a restart but you need the computer to stay on for another hour or two.