The fastest way to reboot without touching your mouse
You can restart your computer using only the keyboard on Windows, Mac, and Linux. The method depends on your operating system, but each one has a built-in shortcut or command that forces a restart without requiring you to navigate menus. This is useful when your mouse stops working, when you need to restart quickly, or when you are troubleshooting a frozen system.
The keyboard-only approach also works if your computer is partially unresponsive — some systems will still accept keyboard input even when the mouse has frozen. Knowing these shortcuts means you can restart without waiting for technical support or struggling with a stuck cursor.
Key Takeaways
- Windows users can press Alt + F4 to close all open windows, then use Alt + Tab and arrow keys to reach the shutdown menu, or hold Ctrl + Alt + Delete and select restart from the lock screen.
- Mac users can press Control + Command + Power to force restart when ready, or Command + Q to quit the active process and then use the Apple menu.
- Linux users can open a terminal with Ctrl + Alt + T and type the restart command, or use Alt + F2 to open the run dialog on some desktop environments.
- If your keyboard shortcuts do not work, your computer may be too frozen to respond, and a hard restart (holding the power button) may be necessary.
- Always save your work before restarting, because unsaved files will be lost when the system shuts down.
Windows restart using Ctrl + Alt + Delete
On Windows 10 and Windows 11, the most reliable keyboard-only restart is through the lock screen. Press Ctrl + Alt + Delete together. Your screen will go dark or show a blue lock screen with options at the bottom.
Look for a power icon in the bottom right corner of the screen. Use the Tab key to navigate to it, then press Enter. A menu will appear with options including "Restart". Use the arrow keys to select "Restart" and press Enter. Windows will begin shutting down and restarting automatically.
This method works even when your desktop is frozen or unresponsive, because the lock screen runs separately from your main system. It is the most direct route on modern Windows machines.
Windows restart using Alt + F4 and the shutdown menu
If Ctrl + Alt + Delete does not work, you can use Alt + F4 to close windows one at a time until you reach the desktop. Once you are at the desktop with no windows open, press Alt + F4 again. A shutdown dialog will appear.
Use the arrow keys to select "Restart" from the dropdown menu, then press Enter. The system will restart. This method is slower than the lock screen approach but works on older Windows versions and when the lock screen is not responding.
Mac restart using Control + Command + Power
On Mac computers, press Control + Command + Power (or Control + Command + Eject on older Macs with an eject key) to force an when ready restart. You will see a dialog asking you to confirm. Press Enter or click "Restart" to proceed.
This combination works on any Mac and will restart the system even if applications are frozen. The system will attempt to save open documents before restarting, but if an process is completely unresponsive, the restart will proceed without waiting.
If you want a gentler restart that gives applications time to close properly, press Command + Q to quit the active process, then use Command + Space to open Spotlight search, type "restart", and press Enter.
Linux restart using the terminal
On Linux, open a terminal window by pressing Ctrl + Alt + T (this works on Ubuntu, Linux Mint, and many other distributions). Type the command sudo reboot and press Enter. You may be asked to enter your password. Type it and press Enter again.
The system will restart when ready. If you want to restart after a delay — for example, to give yourself time to save work — type sudo shutdown -r +5 to restart in 5 minutes. Replace the number with however many minutes you need.
If Ctrl + Alt + T does not open a terminal on your system, try Alt + F2 to open the run dialog, type "gnome-terminal" or "konsole" depending on your desktop environment, and press Enter.
What to do if keyboard shortcuts are not working
If none of these shortcuts respond, your computer is likely too frozen to accept keyboard input. In this case, a hard restart is your only option. Hold down the physical power button on your computer for 10 to 15 seconds until the screen goes black and the machine shuts down completely.
Wait 30 seconds, then press the power button once to turn the computer back on. This method forces a shutdown without giving the system a chance to save work, so you will lose any unsaved files. Use it only when the keyboard and mouse are completely unresponsive.
After a hard restart, your system may run a disk check or recovery process when it boots up. This is normal and helps prevent data corruption. Let it complete without interrupting.
Preventing data loss before you restart
Before using any restart method, save your work in all open applications. Use Ctrl + S (Windows and Linux) or Command + S (Mac) in each program to save. Close applications one at a time using Alt + F4 (Windows and Linux) or Command + Q (Mac).
If you are restarting because your system is frozen and you cannot save normally, try pressing Ctrl + Alt + Delete or Control + Command + Power first — these methods give applications a moment to save before the restart completes. Only use a hard power button restart if the keyboard shortcuts fail.
Frequently Asked Questions
Will restarting delete my files?
No. Restarting shuts down and restarts your operating system, but your files remain on your hard drive. However, any work you have not saved in open applications will be lost. Always save before restarting.
What is the difference between restart and shutdown?
Shutdown turns your computer completely off. Restart shuts down and then automatically turns the computer back on. Restart is useful for clearing temporary memory and fixing frozen systems; shutdown is used when you are done for the day.
Can I restart a frozen computer without losing data?
If your keyboard shortcuts work, yes — they give the system time to save open files before restarting. If nothing responds, a hard power button restart will force shutdown, and you will lose unsaved work. This is why saving frequently is important.
Why would I need to restart using only the keyboard?
Your mouse may stop working due to a driver problem, a disconnected cable, or a system freeze. Keyboard shortcuts let you restart without waiting for repairs or technical support. They are also faster than navigating menus with a mouse.
Does the restart method differ between laptops and desktop computers?
No. The keyboard shortcuts work the same way on laptops and desktops. The only difference is that laptops use the power button or eject key instead of a separate power button, but the key combinations remain identical.