You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mac Messages app unread count incorrect.

The messages icon in the dock and launchpad displays as having two unread message (1) and I cannot find any that are unread. How can I clear this up?


I tried "killall dock", "safe boot" and "turn off/on notification", but all of those methods are not help...

MacBook Pro (2017 – 2020)

Posted on Apr 22, 2023 7:32 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 21, 2024 10:05 AM

I don't really recommend this at this moment. It's true, you will lose your message history, but putting back the backed up chat.db file will not (as the post implies) get the history back for you. At least it did not for me. So, I resolved the erroneous notification with this procedure, but at a cost. Probably worth it though... erroneous notifications are super annoying and my chat history remains on my phone and presumably in the cloud somewhere too.. so.. yeah. This is on macOS Sonoma 14.4.1 (Messages 14.0 (1262.500.151.1.2)).


In the mean time I am trying the Messages > Settings > iMessage > Sync Now button; will update this post if it restores my conversation history on my Mac

5 replies
Question marked as Top-ranking reply

Apr 21, 2024 10:05 AM in response to TobyLiu

I don't really recommend this at this moment. It's true, you will lose your message history, but putting back the backed up chat.db file will not (as the post implies) get the history back for you. At least it did not for me. So, I resolved the erroneous notification with this procedure, but at a cost. Probably worth it though... erroneous notifications are super annoying and my chat history remains on my phone and presumably in the cloud somewhere too.. so.. yeah. This is on macOS Sonoma 14.4.1 (Messages 14.0 (1262.500.151.1.2)).


In the mean time I am trying the Messages > Settings > iMessage > Sync Now button; will update this post if it restores my conversation history on my Mac

Apr 26, 2023 12:29 AM in response to ku4hx

No, it’s a bad answer.


The only way to solve my problem is as follows.

1. Quit the Messages app on your Mac.

2. Open the Finder and press Command-Shift-G.

3. Type in ~/Library/Messages/ and click Go.

4. Locate the chat.db file in that folder.

5. Drag the chat.db file to your desktop or another safe location as a backup.

6. Once the backup is done, delete the original chat.db file from the Messages folder.

7. Restart your Mac.

8. Open the Messages app and check the icon in the dock and launchpad to see if there are still any unread messages.


This process will reset the Messages database, which may solve the issue of the unread messages notification. However, keep in mind that this will also delete your message history. Therefore, it's always a good idea to have a backup of your chat database before attempting this.

Apr 21, 2024 11:52 AM in response to Krishen

This works on macOS Sonoma 14.4.1, but note that you'll only want to do this if you already have Messages > Settings... > iMessage > Enable Messages in iCloud set and you're confident all of your messages are in iCloud. Otherwise you'll lose all your message history.


After you've done the procedure click on Messages > Settings... > iMessage > Sync Now button to get your message history back. It's been a couple hours since I've pressed the button and looks like my conversations are slowly but surely filling back in from iCloud down to my Mac. It's a slow process, might take another hour or two (your results may vary depending how many messages you've sent... I've sent a lot).

Mac Messages app unread count incorrect.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.