Today I encountered a problem with the screen-saver, in which it couldn't be deactivated in order to return to normal work. Normally, hitting escape will deactivate the screen-saver, but this did not work. I could see the mouse pointer over top of the screen-saver, however.

I use hot-corners to activate the screen-saver, and I could still use those to re-activate the screen-saver, but then the escape key brought me back to the screen-saver "underneath", instead of the normal desktop. I could also activate mission control/spaces, and it looked normal, but choosing a desktop just brought me back to the screen-saver.

So, a summary of strategies I tried to get the screensaver "unstuck":

  • hitting escape
  • moving the mouse
  • re-activating and de-activating the screensaver via its hot corner
  • activating mission control with a hotkey and choosing a desktop
  • hitting cmd-opt-escape to try the force quit dialog

How can the screensaver be deactivated without shutting down the machine? I'm running MacOS 10.13.4.

  • To clarify... you mean the screen had locked but the screensaver was still running, rather than it going to a black screen? If so, I've seen that on a few Macs since High Sierra; for some reason the 'screen off' is not being triggered correctly. – Tetsujin Feb 4 '19 at 7:44
  • 2
    @Tetsujin The screensaver was still running, even though I was interacting with the machine and trying to get it to shut off – spinup Feb 5 '19 at 20:32

I encountered this problem for the last two days on Catalina on my iMac. I tried some suggested methods, but lacked an Apple keyboard, and didn't restart or use SSH.

What eventually worked for me, I didn't find elsewhere:

  1. Ctrl+Cmd+Q
  2. Esc
  3. login

Hitting Esc makes the screen go black, which I guess cancels the screensaver.

  • That's an interesting one! Thanks for adding it as a solution for non-apple keyboards. So does it take you to a login screen, or just lock the screen and prompt for your credentials? Apple lists Shift-Command-Q as a keyboard shortcut for logging out -- is it possible your non-apple keyboard was mapping to that? – spinup May 28 '20 at 0:50
  • Thanks for noticing a discrepancy. I meant Control Command q. Fixed above. – Cyberthal May 29 '20 at 2:35
  • 2
    I have been looking for a solution for a long time about this issue, and your solution is the only one that actually works. Thx for sharing. – aadlani Nov 13 '20 at 9:53
  • I’ve been constantly referred to this answer for 100 times – HanaKaze Mar 9 at 17:08

Lock & Unlock the Mac

Use the key-combo Control+Shift+Power on MacBooks or Control+Shift+Eject on Macs with a full-sized keyboard. This will lock the computer, requiring the usual login and password authentication. After re-authenticating, the machine should be back to normal.

Source: UWGB

  • Curiously, the first did not work with my MacBook Pro just now (no change, just the flowing screensaver and a mouse pointer I could move around), nor did closing the lid which normally puts it to sleep. However, I have a full size USB mac keyboard with an eject button, and your second option did the trick with that. – Joel Fouse Oct 22 '20 at 2:03

If you have SSH enabled on your Mac and access to another computer on the same network you can start a terminal session and kill the screensaver. For example, I would open a terminal on my Linux PC and SSH into the Mac then run the following command:

killall ScreenSaverEngine

NOTE: This will not unlock the session if the screen is also locked. It will simply dim and reappear. This solution only applies after entering the password to unlock the screen but the screensaver does not dismiss.

  • Good idea -- would this require root/sudo? – spinup May 17 '20 at 5:23
  • @spinup no, just the user of the session with the screen saver. – Jonathan Neufeld May 20 '20 at 22:34
  • This worked when lock/unlock did not. – atwixtor Jun 19 '20 at 22:16
  • In my case, what I found was, mac was still receiving key presses. So, I just opened terminal (press Cmd + space, type terminal and press enter). Then run this command to kill the screensaver process. kill `ps -ef | grep -i screensaver | head -1 | awk '{print $2}'`. However, it messed up my launcher settings or something. – scipsycho Oct 28 '20 at 9:03

None of the key commands worked for me, but unplugging the machine from USB and power and letting it go to sleep, then waking it up again, did.

Very strange bug.

You must log in to answer this question.

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