A great benefit of the Apple ecosystem is that it has iMessage on any Apple device, including your Mac. However, if you feel it is creating clutter, privacy issues, or taking too much storage, there are multiple ways to delete messages on Mac.
I have multiple solutions, whether you want to delete some heavy attachments, single or multiple messages, or complete conversations. Simply scroll down to get one that suits your bill.
- Before you delete text messages on Mac
- How to delete messages on MacBook from the Messages app
- Delete all messages on Mac using Terminal
- How to delete all messages via Finder
- Sort and delete message attachments
- Auto-delete text messages on Mac
Before you delete text messages on Mac
Your Mac receives messages because the iCloud sync is enabled. And if you make any changes to messages on Mac’s Messages app, it will sync across all your Apple devices. If you want to delete the messages from all devices, skip this section.
However, if you want to delete messages or conversations from Mac and not other devices, here’s what you need to do first.
- Launch Messages.
- Click Messages from the top menu and select Preferences (or type ⌘,).
- Go to the @iMessage tab.
- Uncheck Enable Messages in iCloud.
- In the pop-up, click Disable This Device.
Any change done henceforth will only apply to your Mac.
Note: If you enable messages again, everything will sync to the previous settings (as on the iCloud backup), so be cautious.
How to delete messages on MacBook from the Messages app
The Messages app on Mac has two sections:
- Conversations – The side of the Messages window that lists all the conversations.
- Transcript – All messages received in a conversation, including text, photos, videos, etc., are shown on the right-hand side.
Now that these basics are covered, let’s get on to the meat of this article.
Delete selective messages or attachments
- Open the message thread.
- Right-click or control-click the message bubble.
- Select Delete.
- Click Delete again to confirm the action.
How to delete multiple messages
- In the message thread, click a message.
- Now, press and hold the Command key (⌘) and click multiple items to select them.
Note: You can also press and hold the first item, then drag over all the items. - Press delete from the keyboard.
Note: Unfortunately, the right-click and Delete method doesn’t work when multiple messages are selected; you can use the keyboard or Finder (method mentioned below).
Delete all messages on MacBook
- Select the conversation.
- Click Edit from the top menu bar.
- Choose Clear Transcript.
- Click Clear to confirm.
The conversation remains in your sidebar, but all content is removed from the transcript.
How to delete a conversation
- In the Messages app, right-click or control-click the conversation.
- Click Delete Conversation.
- Confirm the action, click Delete.
Alternatively,
- Slide left the conversation with two fingers (from the trackpad or Magic Mouse) and select Delete.
- Select the conversation, click File from the menu bar and choose Delete Conversation.
Delete all messages on Mac using Terminal
- Launch Terminal from:
- Launchpad – Look for Terminal and click the app
- Spotlight – Search for Terminal and click the app
- Finder – Go to Applications → Utilities → Terminal
- To delete:
- Chat – Use the command:
rm –r ~/Library/Messages/chat
- Attachments – Use the command:
rm –r ~/Library/Messages/Attachments/??
- Chat – Use the command:
Notably, the result of these command lines is permanent and will delete all chat transcripts and attachments, respectively.
How to delete all messages via Finder
- In Finder, click Go from the menu bar.
- Select Go to Folder or click ⇧ (Shift)+ ⌘ (Command)+ G.
- Paste ~/Library/Messages in the window.
- Select the following files and move them to Trash:
- chat.db
- chat.db-wal
- chat.db-shm
- Attachments (if you want to delete all attachments)
- Open the Trash and empty it.
Note: To specifically delete Attachments, paste ~/Library/Messages/Attachments and select the files.
Sort and delete message attachments
- Click the Apple icon from the menu and select About This Mac.
- Go to the Storage tab and click Manage.
- From the sidebar, select Messages.
- Here you’ll see all the message attachments.
- Select
- One: Click it.
- Multiple: Click and drag or press and hold Shift (⇧)/Command (⌘) and click.
- All: Press Command (⌘) + A or click and drag from the first to the last.
- Click Delete → Delete again to confirm.
Note:
- Double-click the attachment to preview it in Quick Look.
- If you only want to delete large attachments, click the Size column to align them in descending order and then delete them.
Auto-delete text messages on Mac
Once you’ve cleaned your Messages app of unwanted messages, you can schedule them to auto-delete, so you don’t have to repeat these processes.
- In the Messages app, click Messages → Preferences or type ⌘ + ,.
- Go to the General tab.
- Click the Keep Messages menu and select either option:
- 30 Days
- One Year
- Forever
Signing off
Decluttering surely takes some time, but there is no going back once you’ve adopted digital minimalism. And whether your target is minimalism or privacy, I hope you found a suitable way to delete messages on Mac.
For more interesting messaging hacks, try out these articles:
- How to retrieve deleted text messages on iPhone
- Announce messages with Siri on AirPods
- How to fix USB Accessories Disabled error on Mac
- iOS 15: How to auto-delete old messages on iPhone or iPad
A self-professed Geek who loves to explore all things Apple. I thoroughly enjoy discovering new hacks, troubleshooting issues, and finding and reviewing the best products and apps currently available. My expertise also includes curating opinionated and honest editorials. If not this, you might find me surfing the web or listening to audiobooks.