How to Recover Deleted iMessages on Your Macbook

Recover deleted imessages on Mac

Losing your iMessages is way too easy. You might accidentally delete them (which is more common than you think). Maybe they’re set to be automatically deleted. Or, most confusing of all, maybe you have iCloud enabled for iMessages and you deleted a conversation on an entirely different device… Likely to clean up your inbox or free up local storage space.

Here’s the good news: as long as your iMessage data hasn’t been overwritten, you can still recover them. Even better, there are multiple ways to do it – I’ll demonstrate all 3 of them in the sections below.

MethodWhen It’s Most Useful
🖥️ Data Recovery SoftwareWhen there is no backup available
🕓 Time MachineWhen the iMessages have been overwritten
📱 Use Your iPhoneWhen the data was synchronized with iCloud

Try to Find Deleted iMessages

iphone 11 imessage app

It’s much easier to find deleted or lost messages once you understand how iMessages and its settings work. Specifically, we want to focus on the iCloud for Messages setting.

When you enable iCloud for Messages, all your conversation threads are synced to the cloud and mirrored to your other devices. So if you delete a message on your Mac with iCloud for Messages enabled, that message will also disappear from your other devices with the same settings.

However, if iCloud for Messages isn’t enabled on your other devices, the changes are NOT reflected to them. So even if you deleted a message from your Mac, it should still be on your devices that do not have iCloud for Messages enabled.

So if you have devices that don’t use iCloud for Messages, check those devices’ Messages app! You can swipe down to easily search messages by contact or content:

search images on iPhone

If you have enabled Messages in the Cloud, then, when you delete a message on your Mac, it will delete on your other devices as well. Keep in mind that this is turned off by default, and if you want to read more about it you can do so by going here.

Where Are iMessages Stored on Mac?

iMessages are stored inside the Messages app that comes installed as part of macOS. They’re locally stored and don’t require an internet connection, so if you need to reference an iMessage conversation you can do so without the internet.

If you want to know the actual path for where your messages are stored, you can get to it by following the steps below. This will allow us to find our iMessage archive, and we can try to restore iMessages this way.

  1. Launch Finder. In the navbar, find “Go” and then from the contextual menu find “Go to Folder…” and select that option. This will allow us to go to the location where our iMessages are stored on our mac.
    finder finding messages
  2. Look for the Go option at the top and type in ~Library.searching inside of finder
  3. Look for the folder called Messages and open it.
    messages folder in finder

Once inside the Messages folder, you can view your attachments by clicking on the Attachments folder. This will allow you to view all of the pictures that have been sent between you and everyone else that you have had conversations with.

Your messages are stored in the Messages folder as chat.db files, which are used by the Messages app. You can open these chat.db files with TextEdit which will allow you to view your iMessage history.

Some of the information that is stored within it can be read, but a lot of it is unreadable as it’s only supposed to be read by the built-in Messages client.

How to Recover Deleted iMesages on Mac

If your iMessages aren’t on your other Apple devices and you can’t find them, then it’s time to look into how to recover deleted iMessages. One of these methods involves you already having a backup of your Mac. Others will allow you to get back deleted iMessages with no prior backup.

If you notice that you’re not able to find an iMessage thread on your Mac, then it is best to stop using your computer right away as the messages are still there but just aren’t viewable to you. If you continue to use your computer, it could overwrite the iMessages that you’re trying to recover.

Method 1: Restore From Recently Deleted

If you deleted your message within the last 30 days, there’s a good chance it’s in the Recently Deleted folder. The Recently Deleted folder keeps all deleted messages for 30 days from the time of deletion. After the time limit, they’re deleted for good.

From this menu, you can either permanently delete the message or restore it.

To recover deleted iMessages from the Recently Deleted folder:

  1. Open the Messages app on your Mac (Finder > Applications).open the messages app
  2. On the Apple menu bar, click View > Recently Deleted.show recently deleted in messages
  3. On the left sidebar, click on the message you want to restore. Then, click Recover.recover recently deleted message
  4. Click Recover Message to confirm the action.confirmm action

Method 2: Recovering iMessages Using Data Recovery Software

Data recovery software is a special tool that can extract and reconstruct deleted files directly from your Mac drive’s file system. It’s the only way to restore files without a backup.

For this article, we’ll be using an app called Disk Drill. It’s a well-known data recovery software that is fully optimized for macOS and native Mac file types, including those related to the Messages app.

Info: Prepare an external drive for this process. We’ll be installing Disk Drill to that location instead of locally on your Mac to avoid overwriting the Messages data with the installation file.

To recover iMessages with data recovery software:

  1. Connect an external drive to your Mac. Then, download and start the installation process. When prompted to drag the icon to the Applications folder, drag it to your external drive’s icon (on the desktop) instead.
  2. Launch Disk Drill from your external drive by double-clicking its icon. Then, select your boot drive (usually labeled “APPLE SSD”) and click Search for lost data.
    selecting storage device in disk drill
  3. Wait for Disk Drill to finish scanning your Mac. Then, click Review found items.
    disk drill scan screen
  4. On the top-right corner of the Disk Drill window, click on the search bar. Then, type “Messages” and hit Return. Locate the Messages folder (usually found in Data > Users > Your Username > Library) and mark the box beside it. Click Recover.recovering deleted imessages in disk drill
  5. Select the external drive that you connected in step 1 as the destination for the recovered files. This is to avoid overwriting the messages in the recovery queue. Then, click Next to start the recovery process.
    Choose drive to recover messages to
Disk Drill Basic for Mac does not offer free data recovery. But you can scan your drives and preview your data as much as you want. This is super useful for confirming which of your files can still be recovered.

Method 3: Time Machine Backup

Every Mac comes with a built-in backup assistant called Time Machine. This will create backups of everything on your Mac and it allows you to recover old iMessages should you accidentally delete one and need it back.

Time Machine backs up your Mac with 24 hour backups, daily backups over the course of the last month, and weekly backups for all previous months. This means that you can go down to the hour when it comes to recovering lost iMessages.

In my opinion, this is one of the best ways to view your iMessages history on your Mac and then have the ability to recover them should something happen. Recovering from a Time Machine backup is simple and easy to do.

  1. Plug-in your external hard drive that you back your Mac up with.
  2. Launch Time Machine.
  3. You then will have the ability to scroll on the lower right-hand side and select a date for which you would like to restore your Mac back to.restoring using time machine
  4. After you have found the date where you believe that you last had the deleted iMessages, click Restore and your Mac will show all of the data as it did on that day.
You must have had Time Machine setup before you noticed that the iMessages were not in the Messages app anymore. If you don’t have it set up, I would recommend setting it up for feature data recovery as this is the best method for recovering accidentally deleted iMessages. You will need an external hard drive for this which are both cheap and easy to find.

Method 4: Recovering iMessages by Using Your iPhone

Our Macs do not backup to iCloud like other iOS devices. Due to this, restoring from an iCloud backup to retrieve deleted iMessages is not an option.

However, if you have an iPhone, then your messages will back up via iCloud and backups are created and we can recover old iMessages this way.

This will allow us to recover the iMessages if you deleted them from your Mac as they’re stored in another location.

Grab your iPhone and follow the steps below to recover the deleted iMessages.

  1. Create a backup of your iPhone before going forward to recover from an iCloud backup. We have to set up our iPhone as new to be able to access the restore iMessages feature from iCloud. Apple has a support article that walks you through how to backup your iPhone here.back up now
  2. Factory reset your iPhone. To initiate the reset, go to Settings > General > Reset > Erase All Content and Settings. Your iPhone will then reset and you will be greeted by the setup screen once the process has finished.factory resetting iphone in settings
  3. Now you will have to go through the setup process. You will be greeted by a screen that asks if you want to restore data and you want to choose Restore from an iCloud backup.
  4. Look for a backup that was around the date that you last remember having the iMessages.
  5. Allow the restore to complete and then look and see if the iMessages are there.

That’s it! If the messages were deleted from our Mac we can use our iPhone to get them back.

Pro Tip: Adjust Autocleanup for Messages

Even if you don’t intentionally delete your messages, the Messages app has an auto-delete feature that permanently deletes messages after a certain duration. Fortunately, you can adjust this setting and opt to keep your messages for longer than 30 days (or even forever!).

To adjust the auto-delete settings for iPhone Messages:

  1. Open the Messages app (Finder > Applications).open the messages app
  2. On the Apple menu bar, click Messages > Settings…open message app settings
  3. Click the dropdown menu beside the Keep messages setting and choose how long you want to keep your messages.keep messages
Tip: You can also adjust auto-delete settings on your iPhone or iPad by opening the Settings app > Messages. Then, scroll down to MESSAGE HISTORY and tap Keep Messages. You’ll be able to choose a setting.

Conclusion

Losing iMessages on your Mac can be frustrating but there are many ways to recover them as seen above. The best practice is to have an external hard drive and backup your computer or use iCloud on your iPhone to ensure that your iMessages are always being saved.

You can see though that even if you didn’t have a backup in place, there are ways to restore deleted iMessages and get them back onto your Mac.

FAQ

Yes, you can recover deleted iMessages from iCloud if you created an iCloud backup before the messages were deleted. However, this process entails performing a factory reset of your device and restoring it from an iCloud backup. Note that this wipes everything on your device and replaces it with your iCloud backup data entirely (not just your messages).
To retrieve old messages from iCloud on your Mac, you need to use data recovery software to scan your main drive. Once you scan your Mac, look for chat.db files – these contain your messages’ data. You may need to use SQLite tools to convert them to txt files. Alternatively, if you have an iCloud backup that contains the old messages you want to restore, you can try to  resync your Messages on Mac. However, note that Messages delete old messages after 30 days by default – if you never changed these settings, your messages are likely permanently deleted.  
Yes, deleting a message on iMessage deletes it from all devices that also have iCloud for Messages enabled. If your other devices do not have iCloud for Messages enabled, your message will not be deleted from those devices.
Joel Lockard, a tech enthusiast with a lifelong love for gadgets, gained experience selling Apple devices and even earned certification as an Apple Sales Professional. When not flying as an Airline Pilot, Joel immerses himself in technology, particularly Apple-related gear… Full Bio
Alejandro Santos
Chief Writer
Alejandro is Macgasm’s Chief Writer and Apple ecosystem enthusiast. He pens the majority of troubleshooting guides and software reviews for this website, tapping into his love for technology and extensive background in technical writing. He started his career by helping… Full Bio