MacOS: Sleep, Log Out, and Shut Down Shortcuts

MacOS: Sleep, Log Out, and Shut Down Shortcuts

MacOS: Sleep, Log Out, and Shut Down Shortcuts

Using Keyboard Shortcuts

To use a keyboard shortcut, press and hold one or more modifier keys and then press the last key of the shortcut. For example, to use Command+C (copy), press and hold the Command key, then the C key, then release both keys. Mac menus and keyboards often use symbols for certain keys, including modifier keys:
  1. Command (or Cmd) ⌘
  2. Shift ⇧
  3. Option (or Alt) ⌥
  4. Control (or Ctrl) ⌃
  5. Caps Lock ⇪
  6. Fn 

On keyboards made for Windows PCs, use the Alt key instead of Option, and the Ctrl key or Windows logo key instead of Command.

Some keys on some Apple keyboards have special symbols and functions, such as for display brightness , keyboard brightness , and more. If these functions aren’t available on your keyboard, you might be able to reproduce some of them by creating your own keyboard shortcuts. To use these keys as F1, F2, F3, or other standard function keys, combine them with the Fn key.


Sleep, Log Out, and Shut Down shortcuts

You might need to press and hold some of these shortcuts for slightly longer than other shortcuts. This helps you to avoid using them unintentionally.
  1. Power button: Press to turn on your Mac or wake it from sleep. Press and hold for 1.5 seconds to put your Mac to sleep.* Continue holding to force your Mac to turn off.
  2. Option+Command+Power button* or Option+Command+Media Eject : Put your Mac to sleep.
  3. Control+Shift+Power button* or Control+Shift+Media Eject Put your displays to sleep.
  4. Control+Power button* or Control+Media Eject Display a dialog asking whether you want to restart, sleep, or shut down.
  5. Control+Command+Power button*: Force your Mac to restart, without prompting to save any open and unsaved documents.
  6. Control+Command+Media Eject Quit all apps, then restart your Mac. If any open documents have unsaved changes, you will be asked whether you want to save them.
  7. Control+Option+Command+Power button* or Control+Option+Command+Media Eject : Quit all apps, then shut down your Mac. If any open documents have unsaved changes, you will be asked whether you want to save them.
  8. Control+Command+Q: Immediately lock your screen.
  9. Shift+Command+Q: Log out of your macOS user account. You will be asked to confirm. To log out immediately without confirming, press Option+Shift+Command+Q.
* Does not apply to the Touch ID sensor.

    • Related Articles

    • MacOS: Common Shortcuts & Commands

      MacOS: Common Shortcuts & Commands By pressing certain key combinations, you can do things that normally need a mouse, trackpad, or other input device. Using Keyboard Shortcuts To use a keyboard shortcut, press and hold one or more modifier keys and ...
    • MacOS: Accessibility Shortcuts

      MacOS: Accessibility Shortcuts Using Keyboard Shortcuts To use a keyboard shortcut, press and hold one or more modifier keys and then press the last key of the shortcut. For example, to use Command+C (copy), press and hold the Command key, then the C ...
    • MacOS: Finder and System Shortcuts

      MacOS: Finder and System Shortcuts Using Keyboard Shortcuts To use a keyboard shortcut, press and hold one or more modifier keys and then press the last key of the shortcut. For example, to use Command+C (copy), press and hold the Command key, then ...
    • MacOS: Keyboard Shortcuts & Gestures for Safari

      MacOS: Keyboard Shortcuts & Gestures for Safari In the Safari app on your Mac, you can quickly accomplish many tasks using keyboard shortcuts and gestures. See the shortcuts and gestures below, as well as keyboard shortcuts in Safari menus in the ...
    • MacOS: Connecting to SMB shares with Mac OS X

      MacOS: Connecting to SMB shares with Mac OS X Overview You can connect to shared computers and file servers on your network, including Mac and Windows computers that have file sharing turned on, and servers that use protocols such as SMB. You can ...