pop launch the Messages app on your iPhone.

Hit the"Info" button on the following screen.

Select “Block Caller.”

An iPhone with the

Yash Wate / How-To Geek

Finally, confirm blocking the number or contact by tapping “Block Contact.”

Once you block someone, you won’t receive any texts from them on your iPhone in the future.

In addition to blocking text messages, this will also block phone and FaceTime calls from the blocked number.

A conversation open in the Messages app on an iPhone.

This method is easy when you want to prevent messages from a saved contact on your iPhone.

Then, navigate to “Blocked Contacts.”

However, these aren’t as helpful if you receive texts from too many unknown numbers.

Block Caller option in the iOS Messages app.

Thankfully, iOS comes with a built-in message-filtering feature to help you filter out such messages.

This can limit the number of distractions on your iPhone.

To enable message filtering, open prefs on your iPhone and go to “Messages.”

Confirming blocking a contact using the Block Contact button in the Messages app.

Scroll down to the “Message Filtering” section, and tap on “Unknown & Spam.”

Toggle “Filter Unknown Senders” on and set “SMS Filter” as the default filter.

It’s also becoming increasingly common on internet messaging apps like WhatsApp, Signal, and more.

iPhone Settings app.

Thankfully, a lot of these apps let you block people to avoid receiving calls or texts from them.

We’ll show you how to block a contact on WhatsApp for reference.

On WhatsApp, kick off the chat from the contact or phone number you want to block.

Blocked Contacts option in Messages settings.

Tap the contact name or phone number at the top of the screen to access their profile.

Scroll down to the bottom of the page to locate the “Block” option.

Add New button in the Settings app to add a contact to the blocked list.

Message Filtering option in iPhone Settings app.

Enabling message filtering on iPhone to filter messages from unknown senders.

A WhatsApp chat on an iPhone.

Block option in WhatsApp on an iPhone.

Block and Report option in the WhatsApp app on an iPhone.