Is there a shortcut key to make a macbook sleep? Sometimes I want to save time and just use the shortcut key to put it to sleep.

  • For others coming from google with a non-apple keyboard looking for a way to turn off the screen somehow, a quick way is hot corners. Commented Sep 18, 2023 at 18:49

5 Answers 5


Putting your computer to sleep

enter image description here

Above is how to sleep your computer when it's on and logged in.

The keyboard shortcut is: ALT/OPT + CMD + Eject
(i.e., + + ).

Putting your display to sleep

enter image description here

Above is the keyboard shortcut for putting your display to sleep. The computer itself will not go to sleep, only the display will power off.

The keyboard shortcut is: Shift + Ctrl + Eject
(i.e. + + ).

Note: Computers that lack the Eject key

For computers that lack the key – e.g. MacBooks – the Power key () can be used instead.

Also, it's possible to hold down the Power key for 1.5 seconds and then select from a menu if you want to Sleep, Restart or Power off. You can also access the menu immediately by Ctrl + .

  • 6
    This shortcut only puts your displays to sleep. The correct shortcut for putting your mac to sleep is Cmd+Option+Eject, as pointed out by Matthieu Riegler. See also support.apple.com/en-us/HT201247
    – Stan
    Commented Nov 12, 2014 at 20:04
  • 10
    The shortcut is not shown on the Apple menu anymore. Commented Jan 19, 2016 at 17:09
  • @Stan I have now edited the answer so that it's correct.
    – P A N
    Commented Oct 15, 2016 at 12:01
  • 2
    Does not work on touch-bar enabled MacBooks with OS Mojave.
    – pookie
    Commented Oct 29, 2018 at 23:05
  • Ctrl+Shift+Power worked for me on Macbook Pro mid 2014
    – IsmailS
    Commented Jan 23, 2020 at 13:43

Supposing you're using an Apple Keyboard: Cmd+Option+Eject


Under Mavericks, pressing the power button puts your Mac to sleep. This behavior changed from previous versions of OS X when this button toggled the shut-down/sleep/restart menu. You can access this menu by pressing the button a little longer or pressing ctrl + power button.


I like the CTRL EJECT as it brings up a dialog allowing you to sleep, restart or shutdown, like so:

Pressing ENTER shuts down Pressing R restarts Pressing S sleeps ESC cancels

BTW if you have a PC keyboard with no EJECT key, use F12


If you have a keyboard with no eject or power key, you can use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
    <autogen>__KeyToKey__ KeyCode::S, VK_CONTROL | VK_OPTION | VK_COMMAND | ModifierFlag::NONE, KeyCode::VK_CONSUMERKEY_EJECT, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L</autogen>
    <autogen>__KeyToKey__ KeyCode::D, VK_CONTROL | VK_OPTION | VK_COMMAND | ModifierFlag::NONE, KeyCode::VK_CONSUMERKEY_EJECT, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L</autogen>
    <autogen>__KeyToKey__ KeyCode::R, VK_CONTROL | VK_OPTION | VK_COMMAND | ModifierFlag::NONE, KeyCode::VK_CONSUMERKEY_EJECT, ModifierFlag::CONTROL_L | ModifierFlag::COMMAND_L</autogen>

Option-command-eject puts the Mac to sleep, control-shift-eject puts displays to sleep, and control-command-eject restarts the Mac.

  • my menu missing mapping for "Sleep" - Q pls where can I put this #xml ?
    – Bruno
    Commented Apr 19, 2019 at 4:56
  • KeyRemap4MacBook was renamed to Karabiner, which has been obsoleted in favor of Karabiner-Elements: karabiner-elements.pqrs.org
    – Carl Walsh
    Commented Sep 9, 2020 at 21:46

Not the answer you're looking for? Browse other questions tagged .