Home > Apple > Mac

WindowServer quit unexpectedly on Mac: How to Fix

In this guide, we will show you various methods to fix the WindowServer quit unexpectedly error on your Mac. The WindowServer is responsible for managing your Mac’s graphical interface both across internal as well as external displays. As a result of this, every visual element on your display is involved with WindowServer. So when there’s an issue with this server, your Mac might end up being unresponsive and/or initiate a reboot that takes you back to the login screen.

Mac WindowServer quit unexpectedly

With that said, many users have infact voiced their concern that they are being greeted with the WindowServer quit unexpectedly error on their Mac. There’s no specific instance when this issue could appear, from setting the Mac to sleep or waking it up from sleep, when switching between numerous tabs via Command-Tab, when using external displays, and even when entering or exiting full-screen, the issue has been reported across all these scenarios.

On the fortunate end though, there do exist numerous workarounds that might help you resolve this bug. So without further ado, let’s check them out.

Fix WindowServer quit unexpectedly on Mac

Mac WindowServer quit unexpectedly

It is recommended that you try out each of the below-mentioned workarounds and then see which one spells out success. So with that in mind, let’s get started.

FIX 1: Turn off “Display have separate Spaces”

If you are using an external display, then the culprit might prove to be Spaces. Therefore consider turning it off and then check out the results. Here’s how it could be done:

  1. Launch System Settings and select Desktop and Dock from the left-hand side.
  2. Then turn off “Automatically rearrange Spaces based on most recent use.”Mac WindowServer quit unexpectedly
  3. Likewise, also disable the toggle next to “Display have separate Spaces”.
  4. Check if it fixes the WindowServer quit unexpectedly error on your Mac.

FIX 2: Force Quit Dock

If the Dock is not working along the expected lines, then issues with WindowServer is anything but obvious. Therefore, you should consider force quitting and then restarting the Dock. Here’s how it could be done:

  1. Head over to Launchpad > Others > Activity Monitor.
  2. Then select Dock from the list and hit the cross icon.Mac WindowServer quit unexpectedly
  3. Now choose Force Quit > Quit and wait for a few seconds.
  4. Check if it fixes the Mac WindowServer quit unexpectedly error.

FIX 3: Use Default Color Profile

If you are using a custom color profile, then it might end up conflicting with your display which in turn will show the aforementioned error. Therefore, you should consider switching back to the default Color Profile, as instructed below:

  1. Launch System Settings and select Display from the left-hand side.
  2. Then go to Color Profile and select the default one from the list.
  3. Check if it fixes the WindowServer quit unexpectedly error on Mac.Mac WindowServer quit unexpectedly

FIX 4: Delete Old Display Preference files

In some instances, having older versions of display preference files might as well lead to the WindowServer error. Therefore, you should consider deleting them and then check if it works out in your favor or not.

  1. Open Finder and select Go > Go To Folder
  2. Then type in the below location and hit Enter
    ~/Library/Preferences/ByHost/
  3. Within that, delete the following file:
    ~/Library/Preferences/ByHost/com.apple.windowserver.displays.<LONG HEX STRING>.plist

    Mac WindowServer quit unexpectedly

  4. After that, go to the below location:
    /Library/Preferences/
  5. Then delete the following file:
    com.apple.windowserver.displays.plist

    Mac WindowServer quit unexpectedly

  6. Now restart your Mac and check the result.

FIX 5: Tweak Lock Screen Settings

You should also consider turning off the display when inactive as well as when on a power adapter and inactive and then check if it rectifies the underlying issue. Here’s how it could be done:

  1. Head over to System Settings and select Lock Screen from the left.
  2. Then select Never next to Turn Display off on battery when inactive.Mac WindowServer quit unexpectedly
  3. Do the same for “Turn Display off on power adapter when inactive”.
  4. Check if it fixes the WindowServer quit unexpectedly error on Mac.

That’s it. These were the various methods that should help you fix the WindowServer quit unexpectedly error on your Mac. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: