Noticing intermittent screen flickering, rapid brightness flashing, horizontal lines, or visual glitches on a MacBook Pro, MacBook Air, or external Mac monitor interrupts focused work. Screen flickering can manifest subtly when switching between full-screen apps or violently during video playback and scrolling. On macOS, display glitches are rarely caused by hardware panel failure; they are predominantly triggered by conflicting ambient light sensor profiles (True Tone), variable refresh rate desynchronisation (ProMotion), corrupted display preference plists, or energy saver sleep state transitions.
Why Does the Screen Flicker or Glitch on macOS?
Modern Mac computers manage display output via unified memory architecture and sophisticated graphics pipeline compositor daemons (WindowServer). Flickering occurs due to:
- True Tone and Auto-Brightness Loop: Fluctuating ambient room lighting causing the display controller to continuously modulate LED backlight brightness levels.
- ProMotion Variable Refresh Rate Glitches: Display panels struggling to smoothly transition between 24Hz, 60Hz, and 120Hz refresh rates during mixed-media rendering.
- Corrupted WindowServer Display Plists: Damaged system display configuration files located in
/Library/Preferences/retaining obsolete color profiles or timing modes. - Chromium and Hardware Acceleration Bugs: Web browsers (Chrome, Edge, Slack) utilizing hardware compositing that clashes with macOS Metal graphics shaders.
- Faulty Display Cables or Docking Stations: Insufficient bandwidth on USB-C, Thunderbolt, or HDMI cables driving high-resolution 4K/5K external displays.
Step 1: Disable True Tone and Automatic Brightness
Continuous micro-adjustments by the ambient light sensor can appear as distracting brightness flickering.
- Click the Apple menu in the top left corner and open System Settings.
- Click Displays in the sidebar.
- Toggle True Tone to Off.
- Toggle Automatically adjust brightness to Off.
- Observe whether the flickering immediately ceases under stable ambient lighting.
Step 2: Lock the Refresh Rate (Disable ProMotion Temporarily)
If your MacBook Pro supports ProMotion (120Hz), locking the refresh rate to a fixed frequency isolates variable refresh rate compositor errors.
- Open System Settings > Displays.
- Locate the Refresh Rate dropdown menu.
- Change the setting from ProMotion to a fixed 60 Hertz (or 50 Hertz).
- If the flickering stops, the issue is an operating system variable refresh rate bug that will be resolved via macOS point updates.
Step 3: Reset Corrupted Display Preferences (WindowServer)
Deleting damaged display preference files forces macOS to generate clean default monitor configurations upon reboot.
- Open Finder, click Go > Go to Folder… in the top menu bar, and enter:
/Library/Preferences/ - Locate and delete the file:
com.apple.windowserver.displays.plist(administrator password required). - Next, press Cmd + Shift + G and enter:
~/Library/Preferences/ByHost/ - Locate and delete any files starting with
com.apple.windowserver.... - Restart your Mac immediately to allow macOS to recreate fresh display preference tables.
Step 4: Disable Hardware Acceleration in Browsers and Electron Apps
If the screen flickers specifically while using web browsers or chat applications (Slack, Discord, VS Code):
- In Google Chrome or Microsoft Edge, go to Settings > System and turn off Use graphics acceleration when available.
- In Slack or Discord, open application preferences, navigate to Advanced, and disable Hardware Acceleration.
- Relaunch the applications.
Step 5: Reset NVRAM / PRAM (Intel Macs)
On Intel-based Mac models, corrupted Non-Volatile RAM (NVRAM) storing display resolutions and color depths can cause screen flashing.
- Shut down your Intel Mac.
- Turn on your Mac and immediately hold down Option + Command + P + R.
- Release the keys after approximately 20 seconds (after the second startup chime or Apple logo appearance).
- Note: Apple Silicon Macs (M1/M2/M3/M4) reset display NVRAM parameters automatically during standard system reboots.
Disabling True Tone, locking display refresh rates, and resetting WindowServer preference plists resolves screen flickering and visual glitches on macOS.