The fastest way to restart depends on your operating system
Restarting your computer closes all open programs and clears temporary files from memory, which often fixes freezing, slow performance, and connection problems. The method you use depends on whether you run Windows, macOS, or Linux, and whether your system is responding to commands.
On Windows 10 or 11, the quickest route is the Start menu: click the Windows icon in the bottom left, select the power icon, and choose Restart. On a Mac, click the Apple menu in the top left, select Shut Down, and check the box that says "Reopen windows when logging back in" — this restarts the computer and returns you to where you left off. On Linux, open the terminal and type sudo reboot, then press Enter.
If your computer is frozen and will not respond to mouse clicks or keyboard input, you will need a hard restart instead. Hold the power button for 10 to 15 seconds until the screen goes black, wait 30 seconds, then press the power button again to turn it back on.
Key Takeaways
- Windows users can restart through the Start menu by clicking the power icon and selecting Restart.
- Mac users should click the Apple menu, select Shut Down, and check "Reopen windows when logging back in" to return to their previous session after restart.
- Linux users can restart by opening a terminal, typing sudo reboot, and pressing Enter.
- If your computer is frozen, hold the power button for 10 to 15 seconds to force a shutdown, then press it again to restart.
- A restart clears temporary files and memory, which often resolves freezing, slowness, and network problems without affecting your saved files.
Windows 10 and 11 restart methods
The standard restart on Windows uses the Start menu. Click the Windows icon (four squares) in the bottom left corner of your screen. A menu will open showing your installed programs and settings. Look for the power icon — it looks like a circle with a line at the top — and click it. A small menu will appear with three options: Sleep, Shut Down, and Restart. Click Restart.
Your computer will close all open programs (you may see a prompt asking you to save unsaved work), and the screen will go black. Windows will then restart automatically. This process usually takes 30 seconds to two minutes depending on how many programs you have installed.
If the Start menu does not open when you click the Windows icon, try pressing the Windows key on your keyboard (usually located between Ctrl and Alt on the bottom left). If that does not work, try the keyboard shortcut Alt + F4 to close your current window, then repeat the Start menu method. If your computer is completely unresponsive, skip to the hard restart section below.
macOS restart and returning to your previous session
On a Mac, click the Apple menu in the top left corner of your screen — it looks like an apple symbol. A dropdown menu will appear. Select Shut Down from the list. A dialog box will pop up asking whether you want to reopen windows when logging back in. Check this box if you want your browser tabs, documents, and programs to reopen automatically after the restart.
Click Shut Down to proceed. Your Mac will close all open programs and turn off. Wait about 30 seconds, then press the power button to turn it back on. The startup process takes one to three minutes depending on your Mac model and how much software you have installed.
If you want to restart without the shutdown dialog, you can also hold down the power button for a few seconds until a menu appears, then select Restart. On newer Macs with the Touch ID button, press and hold that button instead of the power button.
Linux restart from the terminal
Linux users typically restart through the terminal, a text-based command interface. Open your terminal process — on most Linux distributions, you can right-click on the desktop and select "Open Terminal" or search for "Terminal" in your applications menu. Once the terminal window is open, type the following command exactly as shown: sudo reboot
Press Enter. You may be prompted to enter your password (the one you use to log into your computer). Type it and press Enter again. The terminal will not show your password as you type — this is normal. Your computer will then restart within a few seconds.
If you want to schedule a restart for a specific time rather than restart when ready, you can use sudo shutdown -r +30 to restart in 30 minutes, or replace 30 with any number of minutes you prefer. To cancel a scheduled restart, type sudo shutdown -c and press Enter.
Force restart when your computer is frozen
If your computer is not responding to mouse clicks or keyboard input, a standard restart will not work. You will need to force the computer to shut down by holding the power button. Locate the power button on your computer — on a desktop, it is usually on the front of the case; on a laptop, it is typically on the side or back of the keyboard area.
Press and hold the power button for 10 to 15 seconds without releasing it. The screen will go black and the computer will turn off completely. Wait 30 seconds — this allows the hard drive to stop spinning and prevents data corruption. Then press the power button once to turn the computer back on. The startup process will take the normal amount of time, usually one to three minutes.
A forced restart can occasionally cause data loss if you had unsaved work in open programs, but it is safe for your hardware and files that were already saved to disk. If your computer freezes regularly, the problem may be insufficient storage space, too many programs running at once, or a hardware issue that needs diagnosis.
Restart versus shutdown and sleep mode
A restart is different from a shutdown and different from sleep mode, and each serves a different purpose. A restart closes all programs, clears the computer's temporary memory, and turns the system off and back on — this is what you want when troubleshooting problems. A shutdown closes all programs and turns the computer off completely, but does not turn it back on; you would use this when you are done working for the day.
Sleep mode keeps your computer on but uses very little power, and your programs and files stay open in memory. When you wake the computer (by pressing a key or moving the mouse), you return to exactly where you left off within seconds. Sleep is useful if you are stepping away for a short time, but it does not clear temporary files or reset memory the way a restart does.
If your computer is running slowly or acting strangely, a restart is almost always the first thing to try. If a restart does not fix the problem, a full shutdown followed by waiting 30 seconds before turning it back on can sometimes help, though a restart accomplishes the same goal.
Frequently Asked Questions
Will restarting my computer delete my files?
No. Restarting closes all open programs and clears temporary files from memory, but it does not delete any files saved to your hard drive or solid-state drive. Your documents, photos, and installed programs will all still be there after the restart is complete.
How often should I restart my computer?
Most computers benefit from a restart once a week or whenever you notice slowness or freezing. Some people restart daily as routine maintenance. There is no harm in restarting frequently — it clears memory and temporary files, which can improve performance over time.
What is the difference between restart and shutdown?
A restart turns your computer off and when ready back on, clearing memory and temporary files in the process. A shutdown turns the computer off completely and leaves it off until you manually press the power button again. A restart is better for troubleshooting; a shutdown is better when you are done working for the day.
Can I restart my computer while it is installing updates?
No. If Windows or macOS is installing updates, you should wait for the installation to finish before restarting. Interrupting an update installation can cause serious problems. If an update is taking a very long time, check your screen for a progress bar or message — most updates show how much time remains.
Why does my computer take so long to restart?
Restart time depends on how many programs you have installed, how much data is on your hard drive, and whether your system is running updates. A typical restart takes one to three minutes. If yours regularly takes longer than five minutes, you may have too many programs running at startup, or your hard drive may be nearly full.