Block and filter text messages in Messages on Mac
You can stop receiving messages from certain people in iMessage.
Block messages from a specific person or number
Go to the Messages app on your Mac.
Select a conversation.
Note: The conversation must be with one person, not a group. Instead of blocking a group conversation, you can leave it.
In the menu bar, choose Conversation > Block Person, then click Block.
Manage blocked callers
Go to the Messages app on your Mac.
Choose Messages > Settings, click iMessage, then click Blocked.
Do one of the following:
Block a contact: Click , then select a name in the list of contacts.
Remove a blocked contact: Select a name or number in the list of blocked callers, then click .
See the Apple Support article Block phone numbers, contacts and emails on your iPhone or iPad.
Filter messages from known and unknown senders
Go to the Messages app on your Mac.
Choose View, then select one of the following filters:
Known Senders: Shows conversations with your contacts and people you’ve sent messages to.
Unknown Senders: Shows conversations from people who aren’t in your contacts and who you’ve never sent a message to.
To view all conversations again, choose All Messages or click .
Tip: Another way to prevent unwanted messages from bothering you is to set up communication limits to your contacts only.
Also, you can set options in Notifications settings to turn off all notifications for Messages, change how the notifications appear and more. To pause notifications from Messages, turn on Do Not Disturb or another Focus.