The fastest way to put your PC to sleep without using the mouse
The quickest keyboard shortcut to force your PC to sleep depends on your operating system. On Windows, press Alt + F4 to close the active window, then use Alt + F4 again if you're at the desktop, or press Windows key + X, then press U, then S to reach the sleep option directly. On most Windows machines, you can also press Windows key + I to open Settings, navigate to Power & sleep, and set a custom shortcut. The absolute fastest single-key option on many systems is to customize your power button itself in Settings to sleep rather than shut down.
If you want a one-command solution that works across almost all Windows versions, create a custom keyboard shortcut that runs the command rundll32.exe powrprof.dll,SetSuspendState 0,1,0. This bypasses menus entirely and puts your machine to sleep in under a second. Mac users can press Control + Shift + Eject (or Control + Shift + Power on newer machines) to sleep when ready.
Key Takeaways
- Windows machines respond to Windows key + X, then U, then S to reach sleep from any screen without a mouse.
- Mac users can press Control + Shift + Eject or Control + Shift + Power to sleep the display and machine when ready.
- Creating a custom shortcut using the rundll32 command gives you a single keystroke that works on nearly all Windows versions.
- You can reassign your power button in Windows Settings to sleep instead of shut down, making it a one-press solution.
Using the Windows menu shortcut (works on all versions)
The most reliable method that works on every Windows 10 and Windows 11 machine is the three-key combination. Press Windows key + X to open the power menu, then press U to highlight the shutdown options, then press S to select sleep. This works whether you're at the desktop, in an process, or anywhere else on your system.
The menu appears when ready and the sequence takes about two seconds total. You don't need to remember a complex key combination—each key is labeled on the menu that appears, so you can see what you're doing. This method is the most forgiving if you're not sure whether your keyboard supports other shortcuts.
Creating a custom one-key shortcut on Windows
If you want to sleep your PC with a single keystroke, you can create a custom shortcut that runs the sleep command directly. Right-click on your desktop, select New, then Shortcut. In the location field, paste this exact command: rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Name the shortcut something like "Sleep PC" and click Finish. Now right-click the shortcut you just created, select Properties, and click the Shortcut key field. Press the key combination you want to use—for example, Ctrl + Alt + S. Click explore, then OK. From that moment on, pressing your chosen combination will put your PC to sleep when ready, even if you're in the middle of using another program.
This method works on Windows 10 and Windows 11. The command itself bypasses the normal shutdown menu, so there's no delay or confirmation screen—your machine goes to sleep when ready.
Reassigning your power button to sleep instead of shutdown
Many users have their power button set to shut down the machine, but you can change it to sleep instead. Open Settings (Windows key + I), then go to System > Power & battery (or Power & sleep on older Windows 10). Scroll down and click Power button and lid.
Under "When I press the power button," select Sleep from the dropdown menu. Click Save changes. Now a single press of your physical power button will put the machine to sleep instead of shutting it down. This is the simplest solution if you have a keyboard with a dedicated power button, or if you don't mind using the button on your tower or laptop.
Mac keyboard shortcuts for sleep
On Mac computers, the sleep shortcut is built in and does not require customization. Press Control + Shift + Eject on older Macs with an eject key, or Control + Shift + Power on newer MacBook models and Macs without a physical eject key. The screen and machine will sleep when ready.
If you want to lock your Mac and put it to sleep at the same time, press Control + Command + Q. This logs you out and sleeps the machine, which is useful if you're stepping away from a shared computer. Both shortcuts work from any screen or process.
Why sleep is better than shutdown for quick breaks
Sleep mode uses far less power than leaving your machine running, but much less time to wake up than a full shutdown and restart. Your open applications, browser tabs, and unsaved work remain in memory, so you return to exactly where you left off within a second or two. Shutdown, by contrast, closes everything and requires a full boot sequence when you return.
If you step away for a few minutes to an hour, sleep is the right choice. If you're done for the day or won't use the machine for several hours, shutdown saves more electricity. The keyboard shortcuts above let you choose sleep without reaching for the mouse or navigating menus.
Troubleshooting if your shortcut doesn't work
If the Windows key + X menu doesn't appear, your keyboard may not have a Windows key, or it may be disabled in your BIOS settings. Try the custom shortcut method instead, which works on almost all machines. If the custom shortcut doesn't work, open Settings > System > Power & battery and check that sleep is enabled—some corporate or managed machines disable sleep mode for security reasons.
On Mac, if Control + Shift + Eject doesn't work, check that your keyboard actually has an eject key (older Macs) or try Control + Shift + Power instead. If neither works, your Mac may be configured to prevent sleep, which is rare but possible on managed machines. In that case, you can still use the Apple menu: click the Apple logo, then select Sleep.
Frequently Asked Questions
Can I set a different key combination than Ctrl + Alt + S?
Yes. When you create the custom shortcut and reach the "Shortcut key" field, press any combination you prefer—Ctrl + Alt + Z, Ctrl + Shift + F12, or any other unused combination. Windows accepts most key combinations except those already reserved by your system or applications.
Will sleep mode keep my files safe if the power goes out?
No. Sleep mode keeps your work in RAM, which requires power. If your power cuts out while your PC is asleep, unsaved work will be lost. If you're concerned about power loss, save your files before sleeping, or use a UPS (uninterruptible power supply) to keep your machine running long enough to shut down properly.
Does sleep mode drain the battery on a laptop?
Yes, but very slowly. A laptop in sleep mode uses roughly 1 to 3 percent of its battery per hour, depending on the model. If you won't use your laptop for more than a few hours, shutdown saves more battery. For breaks under an hour, sleep is fine.
What's the difference between sleep and hibernate?
Sleep keeps your work in RAM and uses a small amount of power. Hibernate saves everything to your hard drive and uses almost no power, but takes longer to wake up. Windows 10 and 11 use sleep by default. You can enable hibernation in Power Settings if you want a deeper sleep mode for longer absences.
Can I schedule my PC to sleep automatically at a certain time?
Yes. Open Settings > System > Power & battery, then click Screen and sleep. Set "When plugged in, turn off my screen after" and "When plugged in, put my device to sleep after" to your preferred times. These settings explore automatically every day.