Possible Duplicate:
Is it possible to put the display to sleep without putting the whole computer to sleep?

I have an iMac, and sometimes I want to play some music over night, without the bright display. The display will be turned off automatically several minutes later, but I would like a button that turns the display off instantly and keeps the music playing.

How can I do this?

marked as duplicate by Daniel, Kyle Cronin Nov 8 '11 at 20:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Ctrl+Shift+Eject will turn off the displays but leave the computer active.

Control ⌃+Shift ⇧+Power ⌽ for some Macbook

  • 2
    Not sure why, but it does not work for me - instead of just switching off the screen - it puts computer to sleep. So after I move the mouse and the screen is back on - I need to enter my password again. Any idea why this might be happening? – YemSalat Sep 20 '16 at 2:01
  • 3
    Is there a command line way? – screaming drills Mar 22 '18 at 14:38
  • 1
    whats the Eject key ? I am using external keyboard – Prateek Sep 12 '18 at 19:21
  • 1
    Yep, pmset displaysleepnow command did the trick for me. I didn't have mac keyboard and prefer commands as it is. Source answer here. – yuvilio Apr 28 at 1:22
  • 1
    I'm on a 2017 MBP. I don't have an Eject OR a power button 😭 – Qasim Aug 13 at 1:20

Use ctrl + shift + Eject to turn off display.

You can also set a "hot-corner" to turn off display in a few seconds.

  • "You can also set a "hot-corner" to turn off display in a few seconds." How? – Chris Harrison Jul 20 at 20:34

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