Delete All Messages Mac: Full Guide
In this article
- Why You Might Want to Delete All Messages
- What Happens When You Delete Messages on a Mac
- Method 1: Delete All Conversations in the Messages App
- Method 2: Delete All Messages from a Single Conversation
- Method 3: Delete the Messages Database File (Advanced)
- How to Permanently Delete Attachments
- Common Problems and Solutions
- Frequently Asked Questions
Yes, you can delete all messages on your Mac at once, and the method depends on whether you use the Messages app or iCloud. This guide covers both built-in options and third-party alternatives, along with important safety steps to protect your data.
Why You Might Want to Delete All Messages
Over time, the Messages app on a Mac can accumulate thousands of conversations, photos, videos, and attachments. This data can consume significant storage space, slow down the app, and clutter your search results. Some users also want to wipe their message history for privacy before selling or handing over their Mac. Whatever your reason, deleting all messages is straightforward, but you should know the consequences before you start.
What Happens When You Delete Messages on a Mac
Deleting a message or conversation in the Messages app on your Mac removes it from that device. However, if you have iCloud Messages enabled (Settings > iCloud > Messages on your Mac, or System Settings > Apple ID > iCloud > Messages), the deletion will sync to all your other Apple devices—iPhone, iPad, and other Macs. This means that deleting on your Mac also deletes the same messages everywhere else. If you want to keep messages on your iPhone but remove them from your Mac, you must turn off iCloud Messages first, then delete locally on the Mac.
Method 1: Delete All Conversations in the Messages App
The simplest way to delete all messages is to remove every conversation in the Messages app. Here are the steps for current versions of macOS (Ventura and later):
- Open the Messages app on your Mac.
- In the sidebar, click once on the first conversation to select it.
- Press Command + A to select all conversations. (If you don't see a sidebar, go to View > Show Sidebar.)
- Press the Delete key on your keyboard, or right-click and choose Delete.
- Confirm the deletion when prompted.
This removes every conversation from the list. If you have hundreds of conversations, the app may take a few seconds to process. Note that this does not delete individual messages within a conversation—it deletes the entire conversation thread.
Method 2: Delete All Messages from a Single Conversation
If you want to delete all messages but keep the conversation threads themselves (so you can still see who you talked to), you can clear the contents of each conversation individually. This is tedious if you have many chats, but it works:
- Open the Messages app.
- Select a conversation in the sidebar.
- Go to the menu bar and click File > Clear Transcript.
- Confirm that you want to clear the transcript.
This removes all messages within that conversation but leaves the conversation in your list. You would need to repeat this for every conversation. For most users, Method 1 is faster.
Method 3: Delete the Messages Database File (Advanced)
If you want to wipe everything including attachments and metadata, you can delete the underlying database file. This is a more drastic step and should be done with caution. The Messages app stores its data in a folder called ~/Library/Messages/. To delete all messages this way:
- Quit the Messages app completely (Command + Q).
- Open Finder and press Shift + Command + G to go to a folder.
- Type
~/Library/Messages/and press Enter. - In that folder, look for a file named
chat.db(and possiblychat.db-walandchat.db-shm). - Move these files to the Trash, or delete them.
- Reopen the Messages app. It will create a new empty database.
Warning: This method permanently deletes all message history and attachments. It is not reversible unless you have a Time Machine backup. Also, if iCloud Messages is on, the app may re-download messages from iCloud when you reopen it. To fully prevent that, you must turn off iCloud Messages before deleting the database.
How to Permanently Delete Attachments
Deleting conversations does not always remove the actual photo, video, or file attachments from your Mac. They may remain in the hidden Messages attachments folder. To free up space completely, you need to delete those files as well:
- Quit the Messages app.
- Open Finder and go to
~/Library/Messages/Attachments/. - Select everything inside and move it to the Trash.
- Empty the Trash to free up space.
Be aware that this will remove attachments from all conversations, even ones you might want to keep. If you want to keep some attachments, back them up first.
Common Problems and Solutions
Users often encounter a few issues when trying to delete all messages:
- Messages reappear after deletion: This usually happens because iCloud Messages is enabled. The deletion syncs, but if another device is offline, it may re-upload the messages later. Turn off iCloud Messages on all devices to prevent this.
- Command + A doesn't select all conversations: Make sure you have clicked on a conversation first, and that the sidebar is visible. If you are in a search view, exit search first.
- Delete key does nothing: Some keyboards require you to press Fn + Delete (backspace) on a laptop. Alternatively, use right-click > Delete.
- Messages app is slow after deletion: After deleting a large number of conversations, the app may need to rebuild its index. Give it a few minutes, or restart the Mac.
Frequently Asked Questions
Will deleting messages on my Mac delete them on my iPhone?
Only if you have iCloud Messages turned on. With iCloud Messages enabled, deletions sync across all devices. If you want to keep messages on your iPhone, go to System Settings > Apple ID > iCloud and turn off Messages on your Mac before deleting.
Can I recover deleted messages on my Mac?
If you have a Time Machine backup, you can restore the Messages folder or the entire system to a previous state. Without a backup, recovery is very difficult. Third-party data recovery tools may work if the data hasn't been overwritten, but there is no guarantee.
How do I delete all messages from a specific person only?
Select that conversation in the sidebar and press Delete, or right-click and choose Delete. This removes the entire thread with that person. To delete only some messages within the thread, select the messages (hold Command and click) and press Delete.
Does deleting messages free up storage space?
Yes, but not always immediately. The app may keep attachments in a cache. To fully free space, delete the attachments folder as described above, and empty the Trash.
Is there a way to delete all messages automatically on a schedule?
macOS does not have a built-in feature to auto-delete messages after a certain time. You can use third-party automation tools like Shortcuts or AppleScript to create a script that deletes messages, but this requires technical knowledge and may not work reliably with iCloud sync.