How to Fix ‘You Shut Down Your Computer Because of a Problem’

you shut down your computer message

I recently sent in my MacBook Pro for a battery replacement, and when I got it back, it kept showing the message “You shut down your computer because of a problem” whenever I would restart it. After doing some research, I could see that many users have had this problem with their Macs running Monterey, but users have complained about the issue as early as 2012. The good news is that there is a way to disable this error message; this article will explain the steps you need in order to get rid of this pesky warning.

This message seems very similar to the “Your Computer was Restarted Because of a Problem” message, but strangely, the message tells you that you shut your computer down because of a problem. For most users seeing this message, they were just shutting down like usual.

Some users who have had this problem have said that the message simply stopped appearing at some point. Others have tried many different things to get rid of the message; they have tried restarting, updating software, restarting in Safe Mode, resetting the PRAM/NVRAM, doing disk checks in Disk Utility and even reinstalling macOS. Fortunately, the fix that worked for me and many others does not require so much work.

Fix the ‘You shut down your computer…’ warning message

In order to get rid of this message, we will delete a log file using Finder.

  1. Open Finder on your Mac. Use Command-Space Bar to open Spotlight, then type Finder.
  2. From the menu bar at the top, click on Go, then select Go to Folder.
  3. Type “/Library” and hit Return.
  4. Find and double-click on the Logs folder to open it.
  5. Double-click on DiagnosticReports.
diagnosticreports in logs
  1. Go to the search (magnifying glass, top-right corner of the window) and type “sleep”.
sleep search in diagnosticreports
  1. From the results, look for a recent file named Sleep Wake Failure…
  2. Right-click (Control-click) on the file, then select Move to Trash.
  3. Shutdown your Mac (Apple  menu > Shutdown).
  4. Wait 30 seconds, then press the power button to turn on your Mac. The message should not appear anymore when you log in.

If the above steps did not fix the problem, you might want to contact Apple Support for more help.

Related articles

Dr. Stacey Butler is a tech writer at macReports covering news, how-tos, and user guides. She is a longtime Mac and iPhone user and holds a Ph.D. from the University of Illinois at Champaign-Urbana. Here is her LinkedIn profile.

Thank you for choosing to leave a comment.

Please note the following:

  • All comments are moderated.
  • Your email will NOT be published nor shared.
  • All SPAM comments will be deleted.
  • Please see our comment policy page for more info.

9 thoughts on “How to Fix ‘You Shut Down Your Computer Because of a Problem’”

  1. I have this problem when I take my iMac to replace the monitor at Apple Shop. Now this message does not disturb me again after following your step. Thank you.

    iMac Retina 4K, 21.5-inch, 2019
    Monterey 12.5.1

  2. Hi,I followed the procedure but did not find the file “ sleep wake failure”
    Thanks in advance.
    From Italy
    iMac iMac (21.5-inch, 2017)
    Monterey 12.5.1 Version updated August 2022

  3. Thank you very much, Dr. Stacy. This was helpful for me. I’m running masOS Monterey Version 12.4 and this error occurred only after my most recent update. Following these steps has resolved the problem.

  4. Wow, after spending a couple of hours on trying all sort of fixes, I tried one last google search in english (not my first language) and found this advise. And this worked!!!

  5. Thanks for the VERY helpful tip on getting rid of the “You shut down your computer because of a problem” error message issue. It worked for me.


Leave a Comment