Step 1: is it the cable or macOS?
Open System Information (hold Option and choose Apple menu › System Information), then select Graphics/Displays.
- The monitor is not listed. The Mac doesn't see it at all, so the cause is physical. Reseat the cable at both ends, try another cable or port, check the monitor's input source and power, and remove any dock or adapter to test.
- The monitor is listed but stays black, or
displaylatch listshows it asOFFLINE. The Mac detects the monitor, but macOS is keeping it off the desktop. Read on.
Step 2: why macOS keeps a detected monitor off the desktop
WindowServer, the part of macOS that manages screens, decides which detected monitors join the desktop. It can store a monitor as an independent output or leave it disabled. The monitor then gets power and macOS reads its details, but it never gets a picture.
WindowServer saves this state, so the monitor can stay dark after every reboot. Display utilities that "disconnect" monitors, and the macOS option to stop extending to a display, can leave a monitor in this state. Deleting preference files often doesn't help, because WindowServer writes the same state back.
Step 3: fix it
Quick things to try first
- Put the displays to sleep and wake them (Control-Shift-Power, or close and open the lid), then wait 10 seconds.
- Unplug all external monitors, wait 10 seconds, and connect them again one at a time.
- Open System Settings › Displays and check the monitor isn't mirrored and is set to Extended display.
If the monitor comes back but disappears again after the next sleep or restart, the stored state is the cause.
Fix it automatically with DisplayLatch
DisplayLatch is a free menu-bar app that checks after every display change, after wake and every 20 seconds. If a monitor is attached but off the desktop, it clears the independent-output flag, enables the display again and puts it back where it was in your arrangement. Usually within about a second.
To run the fix once from Terminal:
displaylatch fix~/Library/Logs/DisplayLatch.log.Further reading
- A detailed write-up of the WindowServer IndependentOutput problem
- Apple Stack Exchange: external display not recognised after waking from sleep
- Control external monitor brightness on a Mac
Frequently asked questions
Why does my Mac not detect my external monitor after sleep?
If System Information doesn't list the monitor, the cause is physical: the cable, adapter, input or power. If it is listed but stays black, macOS WindowServer has kept it off the desktop, for example as an independent output, and DisplayLatch can bring it back automatically.
Why does my second monitor stay black but show as connected on my Mac?
macOS can keep a detected monitor off the desktop. The monitor gets power and is identified, but it receives no picture. The state is saved, so it can come back after every restart. Running displaylatch fix, or keeping DisplayLatch running, puts the monitor back on the desktop.
Do I need to delete WindowServer plist files to fix a missing monitor?
Usually not. WindowServer often writes the same stored state back on the next boot. DisplayLatch fixes it through the macOS display configuration instead, without deleting files or restarting.
Will DisplayLatch turn on a monitor I switched off on purpose?
No. Monitors you switch off in DisplayLatch are remembered and stay off until you turn them back on. It also never wakes the built-in screen while the lid is closed.
Last updated 2026-11-19 by Hitesh Sisara.