Computer Diagnostic & Repair

A 2026 Windows sleep shortcuts guide

Person using a laptop keyboard to activate a Windows sleep shortcut at a coworking desk

TL;DR:You can put your Windows 10 or 11 device to sleep in seconds using one of three keyboard shortcuts: Win + X → U → S, Alt + F4, or a custom shortcut built with a simple command. No need to touch the power button.

Putting your laptop to sleep is a great alternative when you need to step out of your desk, head to a meeting, or take a break after working nonstop, but without turning your computer off. This mode uses very little power and allows you to get back to what you were doing more quickly

On many Windows 10 and Windows 11 laptops and computers, it works by simply closing the lid or pressing the power button, but you have to set that up first. In this blog, we’ll show you how to put your Windows to sleep using only keyboard shortcuts. So let’s get into it!

3 keyboard shortcuts to put your Windows device to sleep

Here are 3 easy ways to put your device into sleep mode with total ease and zero complications.

Close-up of keyboard Enter key for Windows keyboard shortcuts

✏️ Important: Make sure your laptop has enough battery before doing this. Although this function uses a tiny amount of power (between 1 to 5 watts), it still drains the battery slightly, which means you could lose your work if the laptop dies, so keep an eye on your battery level or stay plugged in.

1) Windows + “X”

This is the easiest method to try as all you need to do to put your Windows computer to sleep is press Windows + “X”, then tap “U” (for power options), and finally press “S” (for sleep). So the quick formula is: Windows + “X”, “U”, “S”, Enter.

2) ALT + F4

Before you start, we recommend minimizing your apps and heading straight to your desktop first, not right in the middle of completing an Excel report or writing a Word document, just so you don’t accidentally close them. 

Now, once you’re on your wallpaper and you’ve saved your latest changes and are ready to put your Windows into sleep mode, press ALT + F4 at the same time. A pop-up menu will immediately open; use the arrow keys to select “Sleep” and then hit Enter. 

If that doesn’t work, try this alternative: FN + Alt + F4.

If some of your laptop keys aren’t responding at all, the problem may be hardware rather than the shortcut itself. Here’s what laptop keyboard repair can cost depending on the problem.

3) Create your own shortcut

If you don’t want to memorize key combinations, you can customize your own shortcut to put Windows 10 or 11 to sleep. Here’s how to do it:

Go to your desktop, right-click on any empty space (make sure you don’t select a folder), and click on New > Shortcut.

Windows 11 desktop right-click context menu showing the New submenu expanded with the Shortcut option highlighted

A “Create shortcut” window will appear.

Copy and paste this code inside the box: rundll32.exe powrprof.dll,SetSuspendState 0,1,0 and then click Next.

Windows 11 Create Shortcut wizard with the sleep mode command rundll32.exe powrprof.dll SetSuspendState 0,1,0 typed in the location field to create a custom Windows shortcut keyboard

Name your shortcut. It might be something you like and that helps you remember it, for example: “Haku is sleeping”, after that just click Finish.

Windows 11 Create Shortcut wizard showing the name field with the default name rundll32 before renaming the custom Windows keyboard shortcut

Now you’ll see that button right on your screen. 👇🏻

Right-click the new icon, go to Properties.

There, look for the field called Shortcut key (usually by default it says “None”).

Windows 11 Properties window for the Haku is sleeping shortcut showing the Shortcut key field set to None before assigning a custom Windows keyboard shortcut

Click inside that field and press any letter you want, for example, J. Windows will automatically turn it into Ctrl + Alt + J.

Windows 11 Properties window for the Haku is sleeping shortcut showing the Shortcut key field automatically set to Ctrl Alt J after pressing the letter J to create a custom Windows keyboard shortcut for sleep mode

Click Apply, then OK and that’s it! 

Side-by-side view of the Haku is sleeping Properties window showing the steps to finalize a custom Windows keyboard shortcut for sleep mode: clicking Apply on the left and then OK on the right, with Ctrl Alt J set as the shortcut key

Every time you press that combination, your Windows will instantly go into sleep mode. Easy, right? 

🧐 Note: If your shortcut puts your computer into hibernation instead of sleep mode, no worries, that means that hibernation mode is enabled. To disable it, just open the Start menu and then search for “CMD,” right-click it, select “Run as administrator.” Then type powercfg /hibernate off and press Enter. That’s it, now your shortcut should work as intended.

How to wake it up?

Once you’re ready to get back to work, waking up your computer is even easier:

Just open the lid, press any key (like the spacebar or press your favorite letter), or simply move the mouse around, and that’s it, you really don’t need to do something extraordinary.

💡 Note: If for some reason, it doesn’t respond after following the steps, just hold the power button for 2 to 3 seconds until it reacts, then log back in to continue right where you left off.

🤓 If you want to read the full scoop on and discover more fun facts, read this detailed guide on how to wake up your computer.

Person typing on a laptop at a café with a cup of coffee nearby

Wrapping up

So there you go! Now you know how to send your Windows device to sleep and bring it back to normal. Remember that it’s important to check your battery if you’re on a laptop. If you’re using a desktop PC, just ensure it stays plugged in so you don’t risk losing the projects you’re currently working on.

Also, watch out for wireless mice or Bluetooth headphones. Even a tiny movement can accidentally wake up your device, so it’s usually best to turn off Bluetooth before walking away.

Finally, we recommend only using this method at home or in a safe space. If you’re at an airport, a coffee shop, or commuting on public transport, and you step away for a few minutes, hackers could easily take advantage of it, so it’s best to prevent it. Just keep in mind that sleep mode is a quick pause, which means your files stay wide open. So only use this mode in safe places. 

⌨️ Windows includes plenty of useful keyboard shortcuts besides shutdown commands. Here’s how to get your computer screen back to normal size if that happens.

Windows sleep shortcuts FAQS

What is the shortcut for sleep on Windows 10?

Press Win + “X”, then “U”, and finally “S”. That’s it, after that keyboard combination, your screen will go dark in seconds. It works the same for Windows 11.

How do I create a sleep shortcut in Windows 11?

You can make your own sleep button right on your desktop. Simply right-click on any empty spot, choose New and then Shortcut. Paste this: rundll32.exe powrprof.dll,SetSuspendState 0,1,0 and give it a fun name, hit Finish, then go to Properties to assign whatever key combo you want. From that point on, one press and your PC is out. 

What's the difference between sleep mode and hibernate?

Sleep keeps everything running in the background using a tiny bit of power, so your computer wakes up in seconds. Hibernate saves everything to your hard drive and shuts down completely, which means zero battery drain but a slower wake-up. Sleep is great for short breaks; hibernation is better if you’re stepping away for hours.

Does sleep mode damage the battery?

Not at all. It uses so little power that you’d barely notice it on your battery percentage. The only thing to watch out for is letting your laptop die completely while it’s sleeping, that’s when you risk losing unsaved work. Keep it plugged in or make sure you have enough charge and you’ll be fine.

Why choose sleep mode over shutting down?

Shutting down is great when you’re done for the day, but sleep is way more practical for short breaks. You skip the whole startup process and pick up exactly where you left off, which means same tabs, same documents, everything. If you’re only stepping away for a few minutes or even a couple hours, sleep is the move.

Last Updated on August 26, 2026

Check out related articles

Get in touch
with us today

Say goodbye to your home or office tech troubles today. With Geeks on Site, you’re not just getting a quick fix, you’re investing in peace of mind.