Skip to content
CtrlKFind a shortcut

Lock Mac Shortcut (Control + Command + Q)

MacmacOSMacBook and iMacChecked 2 Nov 2026

Lock now

ControlCommandQ

Screen to sleep

ControlShiftPower

Locks if a password is required at once

Touch ID Macs

Power

Press Touch ID briefly

The lock mac shortcut is Control + Command + Q. The screen switches to the login window straight away, your apps keep running, and you need your password or Touch ID to get back in.

It works on every Mac and MacBook running a recent version of macOS. Older guides mention Control + Shift + Power, which turns the display off; that only locks if the Mac asks for the password immediately after sleep.

Quick facts

  • Lock

    Control + Command + Q
  • Display off

    Control + Shift + Power
  • Touch ID key

    A short press locks on many MacBooks
  • Hot corner

    Move the pointer to a set corner
  • Unlock

    Password or Touch ID
  • Windows

    Win + L

Lock mac shortcut and other ways

Locking options on a Mac
MethodKeys or actionNotes
Keyboard shortcutControl + Command + QFastest, always works
Apple menuApple menu, then Lock ScreenSame result
Touch ID keyShort pressOn MacBooks with Touch ID
Display offControl + Shift + PowerNeeds the password setting below
Hot cornerPointer to a chosen screen cornerSet in Desktop and Dock settings

Make the Mac ask for the password immediately

  1. Open System Settings, then Lock Screen.
  2. Set Require password after screen saver begins or display is turned off to Immediately.
  3. Optionally set Start Screen Saver when inactive to a few minutes.

With this setting, sleeping the display, closing the lid or starting the screen saver all lock the Mac, not just the shortcut. On a work laptop, your organisation may already enforce this.

Set up a hot corner to lock

In System Settings, open Desktop and Dock and click Hot Corners at the bottom. Choose Lock Screen for one corner, such as bottom right. From then on, flicking the pointer into that corner locks the Mac without touching the keyboard, which is handy when you stand up in a hurry.

Pair Touch ID with an Apple Watch and the Mac can unlock itself when you sit back down, while still locking whenever you leave.

When the lock shortcut does nothing

Problems and fixes
ProblemFix
Control + Command + Q quits an appYou pressed Command + Q only; add Control
Display turns off but no password askedSet the password to Immediately in Lock Screen settings
Shortcut changedCheck Keyboard Shortcuts in System Settings
Mac locks too oftenIncrease the inactivity time in Lock Screen settings
A designer working in a shared studio presses Control + Command + Q each time she leaves her desk. Her open client files stay private, and the render running in the background continues.

Locking, sleeping or logging out

Locking keeps everything open and is right for short breaks. Sleep, with the lid closed or Option + Command + Power, also saves power and locks if the password setting is on. Logging out with Shift + Command + Q closes your apps, which suits shared family Macs at the end of the day. Shutting down is best when you will not use the Mac for a long time or are travelling. In an office, a quick lock before every coffee break is usually enough, and it takes less than a second with the keys.

Lock on Windows and more Mac keys

On Windows the same job is Win + L; see the lock screen shortcut key. Shutting down and sleep on a Mac are covered in Mac shutdown and sleep, and the rest under Mac shortcut keys.

This site is not affiliated with Apple or Microsoft; this is an independent explanation.

Frequently asked questions

What is the shortcut to lock a Mac?
Control + Command + Q.
How do I lock a MacBook with keys?

The same Control + Command + Q, or a short press of Touch ID.

Does locking close my apps?

No. Apps keep running behind the lock screen.

Why does my Mac not ask for a password after sleep?

Set Require password to Immediately in Lock Screen settings.

Can I lock a Mac without the keyboard?

Yes, with a hot corner or the Apple menu.

What is the Windows equivalent?
Win + L.