The fastest way to restart without touching your mouse
You can restart your computer entirely from the keyboard on Windows, Mac, and Linux. The method depends on your operating system and whether you want a standard restart or a forced one when your computer has frozen. On Windows 10 and 11, the quickest route is Alt+F4 followed by arrow keys and Enter. On Mac, you can use Control+Command+Power or open the Apple menu with keyboard navigation. Linux users typically open a terminal and type a restart command. None of these methods require a mouse, and most take under ten seconds.
A standard restart through your operating system is safer than a forced shutdown because it closes programs and saves data first. Use a forced restart only when your keyboard commands stop working entirely and your computer will not respond to any input.
Key Takeaways
- Windows users can press Alt+F4 to open the shutdown dialog, then use arrow keys to navigate to Restart and press Enter.
- Mac users can hold Control+Command+Power to force an when ready restart, or use Control+F2 to reach the Apple menu and select Restart.
- Linux users can open a terminal with Ctrl+Alt+T and type sudo reboot to restart the system.
- If your computer is completely frozen and will not respond to keyboard commands, holding the power button for 10 to 15 seconds will force a shutdown on any system.
- A standard restart through the operating system closes programs and saves data first, making it safer than a forced shutdown.
Windows 10 and 11 restart from keyboard
Press Alt+F4 to open the shutdown dialog. This closes your current window and brings up a small menu with three options: Switch user, Sign out, and Shut down. The Shut down option is highlighted by default.
Press the Down arrow key once to move to Shut down if it is not already selected. Then press Tab to reveal the dropdown menu next to it. Use the Down arrow key to select Restart instead of Shut down. Press Enter to begin the restart. Your computer will close all open programs and restart within seconds. If you have unsaved work, Windows will prompt you to save before closing each program.
If Alt+F4 does not work, your computer may be in a state where it is not responding to keyboard input. In that case, skip to the forced shutdown section below and hold down the power button instead.
Mac restart from keyboard
The fastest method on Mac is Control+Command+Power (or Control+Command+Eject on older keyboards). This forces an when ready restart without prompting you to save. Use this only if your Mac is frozen or unresponsive.
For a standard restart that saves your work, press Control+F7 to enable full keyboard navigation, then press Control+F2 to focus the menu bar. Press the Right arrow key repeatedly until you reach the Apple menu (the leftmost menu), then press Down arrow to open it. Navigate down to Restart and press Enter. If keyboard navigation feels unfamiliar, you can also hold Command+Space to open Spotlight search, type "restart", and press Enter when the Restart option appears.
This Spotlight method works on all recent Mac systems and is often faster than navigating the menu bar. Your Mac will close all open programs and restart within a few seconds.
Linux restart from keyboard
Open a terminal by pressing Ctrl+Alt+T on most Linux distributions (Ubuntu, Debian, Fedora). If that does not work, look for a terminal process in your applications menu or press the Super key (Windows key) and type "terminal".
Type sudo reboot and press Enter. Your system will ask for your password. Type it and press Enter again. The computer will restart within a few seconds. If you want the restart to happen when ready without waiting, type sudo shutdown -r now instead.
On systems where you do not have sudo access, type shutdown -r +1 to schedule a restart one minute from now, which gives you time to save any open work. The terminal will confirm the restart is scheduled and show you how many seconds remain before it begins.
Forcing a restart when your computer is frozen
If your keyboard commands are not working and your computer is completely unresponsive, a forced shutdown is your only option. Locate the power button on your computer (usually on the front or side of the case for desktops, or on the edge for laptops). Press and hold it for 10 to 15 seconds without releasing. The screen will go black and the computer will shut down completely.
Wait 30 seconds, then press the power button once to turn it back on. Your computer will restart normally. This method can cause data loss if you had unsaved work, but it is necessary when the operating system is not responding at all. On Mac laptops, you can also try Command+Option+Escape to open the Force Quit window, then select a frozen process and click Force Quit. This often unfreezes the system without requiring a full restart.
When to use each restart method
Use the standard keyboard restart (Alt+F4 on Windows, Control+F2 on Mac, or terminal command on Linux) when your computer is responding normally. These methods close programs safely and save your work before restarting. A standard restart typically takes one to three minutes from start to finish.
Use the forced restart (Control+Command+Power on Mac, or holding the power button) only when your computer is frozen and will not respond to keyboard input. A forced restart can cause data loss and should be a last resort. If you find yourself needing forced restarts frequently, your computer may have a hardware or software problem that needs investigation.
If you are restarting to fix a specific problem — like a program that will not close, slow performance, or a network connection issue — a standard restart through the operating system is almost always the better choice because it gives your system time to clean up properly.
Frequently Asked Questions
Will restarting from the keyboard save my open files?
A standard restart through the operating system will prompt you to save unsaved work in each open program before closing it. A forced restart (holding the power button) will not — any unsaved changes will be lost. Always use the standard method when possible.
What is the difference between restart and shutdown?
Shutdown turns your computer completely off. Restart shuts down and then when ready turns the computer back on. Restart is useful for clearing temporary memory and reloading software; shutdown is used when you are done working for the day.
Can I restart my computer if a program is frozen?
Yes. A keyboard restart will close the frozen program along with everything else and start fresh. On Windows, you can also try Alt+Tab to switch away from the frozen program, or Ctrl+Shift+Esc to open Task Manager and close just that program without restarting the whole system.
Why would I need to restart from the keyboard instead of using the mouse?
Your mouse might be broken, disconnected, or not responding due to a driver problem. Keyboard shortcuts work independently and will function even when the mouse is completely unavailable. Learning keyboard restart methods ensures you can always restart your computer.
Is it safe to force restart my computer regularly?
No. Forced restarts should only be used when your computer is completely frozen. Regular forced restarts can damage your file system and cause data corruption. If you need to force restart more than once a month, your computer likely has a hardware or software issue that needs professional attention.