How to delete text messages on Mac

470.7K views
8 min read

If you sync iMessage across your Apple devices, you can access your message history on your Mac. While convenient, those messages can take up a lot of space, making it harder to find important conversations and slowing down your Mac.  That's why knowing how to delete text messages on your Mac can make all the difference. 

This article will guide you through the process of how to delete messages on Mac and will introduce some helpful apps that will enhance your messaging experience.

How to delete a single iMessage on Mac

Before we start, let's clarify a few things you might be interested in.

Will texts disappear from all devices after you delete them on Mac?

It depends on your settings. If synchronization of messages is enabled in your account, they will be erased from all devices. If it is disabled, they will disappear only from your laptop.

Will texts disappear on the recipient's Mac, iPhone, or iPad?

No. You are deleting them only for yourself. They will be stored on the receiver's device until they delete them.

Now, let's find out how to delete iMessage on Mac.

  1. Click on the Messages app icon in your Dock
  2. Select the texts you want to delete (it will be highlighted in dark blue)
  3. Click Edit in the top menu bar > Delete, and confirm.

The second method requires going to the context menu.

  1. Right-click the mouse or two-finger click in the lower right corner of the touchpad
  2. Click Delete.

delete a single message on mac

Delete multiple messages on Mac

If you wish to avoid clicking on each message individually, you have the option to delete multiple messages simultaneously. Here's how to do it:

  1. Press the Command button and click on each message you want to delete
  2. Right-click (or use two fingers, tap the bottom right corner of the touchpad) and select Delete. You can also click on Edit on the top bar after selecting messages and choose Delete from this menu.

How to delete attachments from Messages

Photos, videos, documents, and other attachments you've sent or received can clutter up your storage space. If you're sure you won't need them, get rid of them. But if you want to keep them just in case, create a backup first and then proceed to clean up your storage. 

To delete attachments from Messages, follow these steps:

  1. In the Finder, press Command + Shift + G
  2. In the window that appears, type ~/Library/Messages/Attachments and press Enter
  3. Remove the files and folders in the Attachments folder
  4. After you remove the attachments, empty the Trash.

delete attachments from messages

How to clear iMessage transcripts

Clearing transcripts will delete all files from the conversation that have ever been sent or received: photos, texts, videos, documents, etc. You can do it in two steps:

  1. Open the conversation you want to clear
  2. Click Edit > Clear Transcript and confirm the action.

Automatically delete Messages in macOS

Maybe, you're not used to saving messages and want them to clear themselves from time to time. Here's how to delete texts on Mac automatically:

  1. Click Messages on the top bar (it will be active when the Message app is open) > Settings
  2. On the General tab, go to Keep messages. Open the menu and choose the preferred time frame: either 30 days or one year
  3. Once confirmed, your messages will be deleted automatically after the specified period. 

delete texts on mac automatically

Deleting all iMessages on Mac forever

When you have a large number of conversations and wish to permanently delete all messages, Terminal or Finder on your Mac provides the most efficient solution. However, if you have only a few conversations, you can opt for manual deletion instead. 

Here's how to delete conversations on MacBook:

To begin, select the desired conversation by clicking on it, then swipe left on the touchpad using two fingers. This action will move the conversation to the side, revealing a trash bin icon next to it.

clear conversations on macbook

Alternatively, you can right-click on the conversation you want to delete to open the context menu and select Delete Conversation.

After that, empty the Bin, and that's it; your texts and attachments are deleted forever.

Tip: If you want to get rid of iMessages and attachments to free up space, there's a way to do it more efficiently. Your Mac has a lot of information that sometimes needs to be deleted. For this, use CleanMyMac X. This app allows you to clear your browser history and your Mac's Recent Items List, remove old Wi-Fi networks, and revoke permissions. In addition, you can get rid of System Junk, Mail Attachments, and Trash Bin content in one click.

optimize mac

How to remove messages on your Mac using Terminal

If you use one of the previous methods, deleted texts and files are usually sent to the Bin first. This means that they can be recovered, but on the other hand, they are not erased and continue to take up space. 

Terminal allows you to clear chats in one fell swoop, and all the information will disappear immediately, bypassing the trash.

Here's how to delete messages on MacBook using Terminal:

  1. In the Finder, click Go > Utilities > Terminal 
  2. Type in the following command to clear messages: rm -r ~/Library/Messages/chat and hit Enter.

terminal to clear imessages

The attachments will be saved, but if you don't need them, you can remove them with a single command:

In Terminal, type rm -r ~/Library/Messages/Attachments/?? and hit Enter. Your folders will be completely emptied.

Note: You can also perform the same actions through the improved CoreShell Terminal, which is more configurable and nice looking. If you want to change the look and feel of your Terminal, give it a try.

coreshell terminal

Clear multiple messages on your Mac from Finder

If you need to delete all messages at once, use this method.

Minimize all active windows and click on the desktop so that the Finder appears in the upper left corner

  1. Press Command + Shift + G
  2. In the window that appears, type ~/Library/Messages > Enter
  3. Select the files named chat.db, chat.db-wal, chat.db-shm, right-click on them, and select Move to Bin.

delete all imessages at once

This will delete the texts but not the attached files. To get rid of them as well, delete the Attachments folder (usually displayed at the top of the list).

Since the files and texts are now in the Bin, you'll need to empty it as well to get rid of them for good.

Tip: Did you know there's another way to navigate between folders and files that's faster and more convenient than the Finder? Try the Path Finder app, which lets you find, move, copy, and sync files across multiple locations.

Here are some of the most convenient PathFinder's features:

  • Turn on the dual panel view. In both panels, you can open any folder and move files between them.
  • Turn on the Drop Stack. This is where you can drop files or folders for temporary storage.
  • View hidden folders. Some of them are hidden for security reasons. But you can display and manage them. Right-click in the PathFinder window > Show View Options > Show Invisibles.

path finder copy delete and sync files

Delete all messages from iCloud

Now, let's explore iCloud, which can store your data. It's important to note that messages from your Mac are only saved to iCloud if you have granted permission for them to be stored. To verify this, follow these steps: Messages (on the top bar; it's active when the Messages app is open) > Settings > iMessage. If synchronization is happening, you'll see a checkmark in the "Enable Messages in iCloud" line.

imessage in icloud

If you uncheck it, your messages will be downloaded to your laptop and won't be synchronized with iCloud in the future.

The best messaging apps for Mac

Obviously, iMessage isn't the only communication app you use, right? Probably, you have to download dozens of original programs on your Mac. When you receive a message in one of them, you have to fuss and switch between tabs. It's inconvenient.

What do you think about the idea of combining all messengers in one app? That's exactly what IM+ does.

It allows you to log in to your Facebook Messenger, Skype, Hangouts, WhatsApp, WeChat, and other accounts. You can also link your Gmail, Instagram, Facebook, Twitter, Slack, Outlook, and other app accounts to it. Use them as usual: write, send, and receive attachments, etc. This way, all your messengers, social networks, and chats will be compactly stored in one place.

bring all messengers into one place

Add tags to your apps and customize your programs if needed.

By the way, apps save your internal settings. For example, if you turn off notifications in Telegram chats, IM+ won't bother you about them either. Otherwise, a pop-up notification will appear. Or you can check for new messages by clicking on the IM+ icon on the top bar.

Another app that you may like is ChatMate. It is a client for WhatsApp that has unrivaled privacy features — better than the official app. Here are the main advantages of ChatMate:

  • The option to hide all or some information about the sender (name, photo, message preview).
  • The option to hide the texts from prying eyes. Turn on Stealth Mode, and the messages will be displayed only when you move the mouse over them.
  • The ability to communicate invisibly. The Transparency feature allows you to make the ChatMate window almost invisible on your laptop screen.

more secure whatsapp alternative

How to clear messages on Mac: Final thoughts 

We hope this guide has helped you to learn how to clear messages on Mac. The most common built-in ways are to delete texts directly from the Messages app and use Terminal or Finder. You can also set up an automatic cleanup every 30 days or every year.

We also want to remind you about the apps that can improve your messaging and Mac experience. For example, CleanMyMac X performs a deep clean and finds unnecessary files. IM+ collects all your chats, messengers, and social networks in one place. ChatMate, a client for WhatsApp, improves your privacy during communication. You may also like CoreShell, an improved alternative to Terminal. Finally, PathFinder will help you conveniently delete files and move them between folders. All of these apps can be found on Setapp, a platform with dozens of awesome Mac, iPhone, iPad, and web apps for any job. Try them all for free for seven days. If you like the apps, pay only $9.99/mo for all!

240+ apps for $9.99
per month

Sign up to Setapp and try them for free.

Security-tested