Take you ever constitute yourself looking to turn your computer off or put it to sleep with but the keyboard? Maybe you're in search of a Windows slumber shortcut because your mouse isn't working reliably, or perhaps you lot want to work more efficiently.

Nosotros'll evidence yous how to put your Windows computer to sleep, or shut it downward, with only the keyboard. There are a diverseness of means to make this shortcut, and they work on both Windows 10 and Windows 11.

The most reliable Windows 10 and Windows xi sleep shortcut isn't a true keyboard shortcut. Rather, it's a quick sequence of keys. However, because it works without any setup and while using whatsoever app, it'south the best method to put your figurer to sleep apace, in most cases.

To start, press Win + 10 to open the Power User Bill of fare. You'll detect underlined characters respective to shortcut keys for the options on this menu. Press U to expand the Shut down or sign out department, then use one of the following keys to shut down, sleep, or perform other power actions:

  • Press U again to close downward Windows.
  • Hitting the R key to restart.
  • Press S to put Windows to sleep.
  • Employ H to hide.
  • Hit I to sign out.
Windows Shut-Down Power User Shortcut

If you don't run into the option to hide, read our guide to hibernation on Windows, where you'll learn how to enable it and much more than.

ii. The Alt + F4 Sleep Mode Shortcut

As yous might know, pressing Alt + F4 closes the current app window, merely like clicking the X in the pinnacle-right corner of a program. However, if you don't have a window currently selected, you can use Alt + F4 as a shortcut for slumber in Windows 10.

To make sure you don't have any apps in focus, first use a shortcut like Win + T, which volition put your cursor focus on the offset item on the taskbar. Then, printing Alt + F4 and you'll open up the Close Down Windows dialog box.

Shut Down Sleep Windows Dialog Box

Depending on your system, you'll probable come across Shut downwards or Sleep in the dropdown box past default. If you're happy with this, just striking Enter to confirm the pick. Otherwise, use the up and down pointer keys to switch to other options, and then striking Enter when you're set up.

If you didn't know this trick, check out more ways to shut downwards Windows.

3. Create Your Own Shortcut to Slumber Windows x/11

While in that location'southward no built-in sleep shortcut for Windows x or xi, you can make your own keyboard shortcut pretty hands.

Creating a New Shortcut

To make a fresh shortcut, start by right-clicking an empty spot on your desktop and choosing New > Shortcut.

In the resulting box, yous'll demand to enter unlike text depending on whether you lot want a shortcut primal for sleeping or shutting downward the calculator. Utilise the following:

To create a shortcut that shuts downward Windows immediately and force-closes whatsoever open programs:

          shutdown.exe -s -t 00 -f        

To create a sleep shortcut:

          rundll32.exe powrprof.dll,SetSuspendState 0,1,0        
Windows New Sleep Shortcut

Unfortunately, there'due south a small-scale caveat with the slumber shortcut. If yous accept hibernation enabled on your computer, this command will cause the estimator to hibernate instead of going to sleep.

To plow off hibernation, hit Win + X once more, then choose Command Prompt (Admin ), Windows PowerShell (Admin), or Windows Terminal (Admin) from the listing. Then, type or paste the following line, followed past Enter:

          powercfg -h off        

Either way, afterwards you enter the command, hit Next, give the shortcut a proper noun, and click Finish.

Assign a Keyboard Shortcut to the Slumber Command

At present that you have a shortcut to the choice you want, you need to assign it a key combination to make a true sleep mode shortcut.

To do this, right-click your new shortcut on the desktop and cull Backdrop. Select the Shortcut tab at the top and in the Shortcut central field, enter a cardinal combination that you lot'd like to employ.

Windows Shutdown Shortcut Creation Wide

You should pick something that's not already in employ by other programs. In add-on, make certain your shortcut combination isn't like shooting fish in a barrel to hit by accident. You don't want to of a sudden shut downwards your system in the middle of working.

When you lot're washed, click OK and your Windows sleep keyboard shortcut or shutdown shortcut will be agile. If you always decide you don't want it, just delete the shortcut file, which will also remove that keyboard shortcut. Y'all tin too clear the Shortcut key field to go along the file without having the shortcut agile.

iv. Make Your Power Button Into a Sleep Shortcut

This method isn't technically a keyboard shortcut, merely it'south still an easy fashion to put your PC to sleep with merely a button.

By default, pressing the physical Power button on your desktop or laptop will shut down your PC. If you don't use this functionality often, you tin reassign the ability button to brand your computer get to sleep instead.

To do this on Windows x, open Settings and go to Organization > Power & slumber. On the right side, cull Additional ability settings; expand the window horizontally if y'all don't see this. Clicking this will open the Power Options section of the Control Console.

On Windows eleven, type "control" into the Beginning menu and open the Control Console detail. In the top-right, change Category to Small icons if needed, and then choose Ability Options from the listing.

On either platform, click Cull what the power buttons do on the left side.

windows power plan

On the resulting page, you'll run across a field for When I press the ability button. Alter this to Sleep and striking Save changes. At present, pressing the physical Power button on your automobile will put your computer to sleep, not close information technology downward.

There's likewise a When I press the sleep push button field. If your PC has a sleep push button, you can change its functionality with this field.

windows 10 define power buttons

Method 5: Use Your Keyboard's Sleep Key

This method won't piece of work for everyone, just there'due south a adventure that your laptop keyboard (or your desktop's keyboard) has a dedicated Sleep button. Pressing this should put your estimator to sleep, and doesn't crave you lot to create whatever of your own shortcuts as above.

The Sleep key, if you accept one, ordinarily looks like a crescent moon or a Zz icon. You may have to hold in the Function or Fn central while pressing another key to admission it. The exact instructions depend on your laptop or keyboard; consult the manual if y'all're not sure.

Windows Sleep and Shut Down Shortcuts for All

Now you lot know several slumber way shortcuts to hands close down or put Windows ten/11 to sleep with just your keyboard. This makes it easy to access power options without lilliputian around in menus.

Meanwhile, there are fixes to try if you come across problems with slumber mode on Windows.