Restart Windows with keyboard shortcuts
You can restart a Windows computer without touching the mouse by using Alt + F4 to close all open windows, then pressing the power menu shortcut. Once your desktop is clear, press Ctrl + Alt + Delete, then use the arrow keys to navigate to the power button in the bottom right corner. Press Enter, then use arrow keys to select "Restart" and press Enter again.
A faster route on Windows 10 and 11 is to press the Windows key, type "shut down", and press Enter when "Shut down Windows" appears in the search results. This opens a command window where you can type shutdown /r /t 0 and press Enter to restart when ready. The "/r" means restart, and "/t 0" means restart with zero seconds delay.
If you are at the login screen and have not yet signed in, press Ctrl + Alt + Delete, then use Tab and arrow keys to reach the power menu in the bottom right corner. The sequence is the same: arrow to "Restart" and press Enter.
Key Takeaways
- Windows computers restart fastest through the command line by pressing the Windows key, typing "shut down", and entering shutdown /r /t 0.
- The Ctrl + Alt + Delete menu works on any Windows screen, including the login page, and lets you navigate to restart using only arrow keys and Enter.
- Alt + F4 closes all open windows before you restart, which prevents unsaved work from being lost without warning.
- Mac computers restart by pressing Control + Command + Power (or Control + Command + Eject on older models) to bring up the restart dialog.
- Linux desktops vary by distribution, but most respond to Alt + F2 to open a run dialog where you can type the restart command.
Restart a Mac without the mouse
On Mac, the quickest keyboard-only restart is Control + Command + Power (or Control + Command + Eject on older keyboards). This brings up a restart dialog when ready. Press Enter to confirm the restart, or wait 60 seconds and it will restart automatically.
If that shortcut does not work on your model, try Control + Command + Q to bring up the shutdown menu, then use arrow keys to select "Restart" and press Enter. You can also press Command + Space to open Spotlight search, type "restart", and press Enter when the restart option appears.
If you have unsaved work, the Mac will ask you to save before restarting. Use Tab to move between the save prompt buttons and press Space to select one.
Restart Linux using the terminal
On most Linux desktops, press Alt + F2 to open the run dialog, type reboot, and press Enter. This works on Ubuntu, Fedora, and other distributions that use a graphical desktop.
If Alt + F2 does not open a run dialog, you can switch to a text terminal by pressing Ctrl + Alt + F2 (or F3 through F6 depending on your system). Log in with your username and password, then type sudo reboot and press Enter. You will be asked for your password again; type it and press Enter to restart.
Some Linux systems require you to press Ctrl + Alt + T to open a terminal window instead. Once the terminal is open, type sudo reboot and press Enter.
What to do if keyboard shortcuts do not work
If none of the shortcuts above respond, your computer may be frozen. Press and hold the physical power button on the case for 10 to 15 seconds until the screen goes black and the computer shuts down completely. Wait 30 seconds, then press the power button once to turn it back on. This is a hard shutdown and should only be used when the keyboard does not respond.
A hard shutdown can cause data loss if you have unsaved files open. After the computer restarts, check your documents folder and any programs you had open to see if recovery files were created. Most modern programs save temporary versions automatically.
Prevent accidental restarts when using keyboard-only control
The Ctrl + Alt + Delete menu is the safest way to restart because it shows you a confirmation screen before anything happens. The command-line method (shutdown /r /t 0 on Windows) restarts when ready with no warning, so type carefully and double-check before pressing Enter.
If you are learning these shortcuts for the first time, practice them on a day when you do not have urgent work open. That way, if you accidentally trigger a restart, you will not lose anything important. Write down the shortcut you plan to use and keep it visible until you memorize it.
Why you might need to restart without a mouse
A mouse stops working for several reasons: the batteries die, the USB receiver gets disconnected, the touchpad driver crashes, or the wireless connection drops. Knowing the keyboard shortcuts means you can restart the computer and often fix the problem without borrowing another mouse or shutting down by force.
Restarting also clears temporary files and resets drivers, which solves many hardware connection problems. If your mouse works again after a restart, the issue was likely a software glitch rather than a hardware failure.
Frequently Asked Questions
Will restarting delete my files?
No. Restarting shuts down Windows, Mac, or Linux and starts it again. Your files stay on the hard drive. However, any work you have not saved in open programs will be lost, so save your documents before restarting.
What is the difference between restart and shut down?
Shut down turns the computer completely off. Restart turns it off and when ready turns it back on. Restart clears more temporary files and resets hardware drivers, so it fixes more problems than shut down alone.
Can I restart a computer remotely if I do not have physical access?
Yes, if the computer is on a network and you have remote access software installed, such as TeamViewer or Windows Remote Desktop. You can also use SSH on Linux or Mac to log in remotely and type the restart command. Without remote software already set up, you will need physical access to the keyboard.
What happens if the power goes out during a restart?
The computer will shut down without completing the restart process. When power returns, it will start normally. Modern computers check the hard drive for errors after an unexpected shutdown, which takes a few minutes on first boot but prevents data corruption.
Is it safe to restart a computer every day?
Yes. Restarting clears temporary files, resets memory, and refreshes driver connections. Many IT departments recommend restarting at least once a week. Daily restarts will not damage your computer or shorten its lifespan.