Due to heating issues, I would like to use macbook in clamshell mode with lid open, but all the commands mentioned on the web are for older versions of OS X

enter image description here

2 Answers 2


You can fool the Mac into thinking that the lid is closed by placing a very weak magnet on the sensor that is normally triggered when you close the lid.

The exact position of that sensor varies, but it should be somewhere at the very edge of the laptop, just behind the trackpad.

Of course you must be extremely careful bringing magnets near computers, but if you use one that is weak enough and small enough, you should be able to reproduce the effect of the magnet that is in the display portion of your laptop.

  • Magnets are cool but open lid clamshell is possible in 2021 in High Sierra, Mojave and Catalina with an nvram command nvram boot-args="niog=1". Details here: apple.stackexchange.com/questions/21729/… It's much better to do this in software than risk cracking a screen with magnets. I've cracked a screen through stupidity by leaving something small on the keyboard. It's easy to do. Sep 26, 2021 at 20:44
  • that was the answer given above.. i like the magnet thing better because it's easy.. also, note that you wouldn't put the magnet on the screen, but near the trackpad (on the bottom case), so it's nowhere near the screen..
    – Peter
    Sep 27, 2021 at 15:33
  • The problem with magnets Peter is that suddenly in a hurry one closes the lid to leave and crunch, new screen time. The magnets don't need to be near the screen while using them. If someone does want to use magnets, s/he should colour them bright red and put felt or foam on top so that a quick close of the lid is less likely and if it happens it is less likely to crack the screen. Sep 27, 2021 at 18:56

I've just set up open clamshell mode on my MacBook Pro 16" on Catalina and the same technique should work on Mojave. Open clamshell is much cooler. At idle fans now spin at 1900rpm with two external monitors. In closed-lid clamshell fans spin 2800rpm with the same set up. That's at idle. At load they spin off the charts in closed-clamshell and very slow to decrease speed. In open-clamshell the fan peaks are much lower and high rpm rotation stops much more quickly.

To set up closed lid clamshell, it's necessary to change an nvram boot argument. Here's the command:

nvram boot-args="niog=1"

To set an nvram boot argument, SIP must be disabled. If you haven't disabled SIP before1, here's now.

You can check SIP status in terminal with this command: csrutil status. If you do have SIP enabled (and most do), the way to disable it is to boot into recovery mode which is done by restarting your MacBook while pressing R. While in Recovery Mode, you should open terminal and run csrutil disable.

Once you have disabled SIP:

  1. reboot your MacBook
  2. open terminal
  3. run nvram boot-args="niog=1"
  4. reboot again with your MacBook lid closed in regular clambook mode and your external monitors plugged in.

You should now be able to open your MacBook without the internal screen lighting up.

If you are a normal user and/or cautious about security, you may want to turn SIP back on. This means booting again in Recovery Mode and this time running csrutil enable in terminal before rebooting. Again you can check SIP status after rebooting in terminal with csrutil status.


  1. Personally I like my Macs to run how I want them to run and usually keep SIP off to avoid going through the headache of turning SIP on and off any time I want to customise one of my Macs: SIP didn't exist at all until 10.11 El Capitan and most users were able to manage their Macs securely: what I care about is my personal data and SIP does not protect personal data only the OS. SIP does more to prevent a computer owner from customising his Mac than a competent hacker from breaking into a Mac. One could persuasively argue SIP keeps the NSA/CIA backdoors firmly in place, safely out of reach of third-party programs like Little Snitch and savvy end users.

You must log in to answer this question.

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