BlackScreen is a macOS menu bar app that turns off your MacBook's built-in display without closing the lid. The idea is to max out performance when an external monitor is connected while leaving the laptop open for better heat dissipation.
Note that this was built with heavy assistance from Claude Code. I reviewed to the best of my abilities but proceed with caution.
This has only been tested on a MacBook Pro 16-inch with M3 Pro chip.
This app uses a private macOS API (CGSConfigureDisplayEnabled) that is not publicly documented by Apple. It could break in future macOS updates.
If you want to be able to do this and much, much more, consider getting BetterDisplay instead.
- Adds a small icon to your menu bar. There is no dock icon.
- Clicking it shows you a dropdown with an option to turn off the built-in display
- Automatically re-enables the built-in display if your external monitor disconnects abruptly
- Re-enables the built-in display when you quit the app
- Download
BlackScreen.app.zipfrom Releases - Unzip it
- Double click
BlackScreen.appto run it. You can optionally move it to your Applications folder along with all your other apps.
Gatekeeper warning: Since the app is not signed by Apple, macOS will block it on first launch. To bypass this:
- Double click
BlackScreen.app— you'll see a "Not Opened" dialog. Click "Done".- Go to System Settings → Privacy & Security, scroll down to the Security section.
- Click on "Open Anyway" next to the BlackScreen message.
- Click "Open Anyway" again in the confirmation dialog.
You only need to do this once.
Alternatively, run this in a terminal:
xattr -cr /path/to/BlackScreen.app
Requires Xcode Command Line Tools (xcode-select --install).
git clone https://github.com/nelsonfigueroa/blackscreen.git
cd blackscreen
./build.shYou'll see BlackScreen.app created in the directory. Double click it to run. You will not need to get past Gatekeeper like with Option 1 if you build it locally yourself. You can optionally move it to your Applications folder along with all your other apps
If at any point your built-in display remains black even after disconnecting an external monitor, try closing and opening the laptop lid to reset.