How to stop spam texts on iPhone

iPhone 14
(Image credit: Tom's Guide)

Make sure you know how to stop spam texts on iPhone if you’re fed up with receiving constant random and highly suspect text messages.

Unfortunately, spam texts are something we’ve had to put up with for a while, and they often stem from spammers managing to get hold of your number. This can be from the sale of personal data by companies who you’ve given your number; it can be from data leaks; and also can just come from spammers randomly generating numbers.

It goes without saying that you should never tap on any links in suspect messages or provide any data those messages request. But given they’re some of the best phones around, can you block spam texts on iPhones entirely?

Well, not exactly. You can block every sender’s number individually, but they can just as easily message you again from a different number. Currently, the on real way to stop seeing spam messages is to filter unknown messages, so they stop clearing up your inbox. To do this, you can use Message Filtering. 

It's not perfect, and you'll have to monitor the filtered inbox to delete spam messages and save non-spam. However, using message filtering, you won't receive constant notifications for the messages you receive from unknown senders. 

Without further ado, here’s how to stop spam messages on iPhone.

Have an Android? Check out how to block spam texts on Android instead.


How to stop spam texts on iPhone with Message Filtering

  1. Open Settings, then tap Messages
  2. Toggle on Filter Unknown Senders
  3. Switch between known and unknown senders in Messages
  4. Disable notifications from unknown senders

Read on to see detailed instructions for each step.


1. Open Settings and find Messages

(Image: © Future)

Open the Settings app, then scroll down and tap Messages.

2. Toggle on Filter Unknown Senders.

(Image: © Future)

Scroll down to Message Filtering and toggle on Filter Unknown Senders.

3. Switch between known and unknown senders in Messages

(Image: © Future)

Now, open the Messages app. You'll be presented with which messages you'd like to see. Select Known Senders to only see messages from contacts.

Select Unknown Senders to see messages from unknown numbers — this will also include messages from companies, including banks, so ensure you check this section if you're expecting an important SMS message (like a verification code). Select All Messages to see everything. 

4. Disable notifications from unknown senders

(Image: © Future)

4. The final step is to disable notifications from unknown senders. This way you won't be pestered by the notifications appearing on your lock or home screen.

Open the Settings app, then tap Notifications. Scroll down and tap Messages. Hit Customize Notifications and under Allow Notifications heading, toggle off Unknown Senders

There you have it: you can now filter spam messages from the messages you receive from contacts. This is super useful for keeping your messages inbox decluttered and to ensure you'll never accidentally click on a spam message. If you want to block individual spammers from the Unknown Senders box, we have a guide for how to block spam calls on your iPhone, too.

@tomsguide

♬ about damn time x lets get it started by altego - ALTÉGO

Follow Tom's Guide on TikTok for more iPhone hacks and tutorials, just like this one.

For more iPhone tips, check out our range of tutorials. New iPhone? Learn how to transfer data from iPhone to iPhone and move your stuff over smoothly. Sluggish phone? Find out how to clear RAM on iPhone. Too many contacts? We can show you how to delete multiple contacts on iPhone. Dropped your phone in the sink? Learn how to eject water from an iPhone's speakers. Want to capture your screen? Discover how to take a screenshot on iPhone.

Peter Wolinski
Reviews Editor

Peter is Reviews Editor at Tom's Guide. As a writer, he covers topics including tech, photography, gaming, hardware, motoring and food & drink. Outside of work, he's an avid photographer, specialising in architectural and portrait photography. When he's not snapping away on his beloved Fujifilm camera, he can usually be found telling everyone about his greyhounds, riding his motorcycle, squeezing as many FPS as possible out of PC games, and perfecting his espresso shots. 

Read more
Apple iPhone 16 held in the hand.
How to block a number on your iPhone
iPhone 16 Pro shown held in hand
How to block no caller ID on iPhone — 5 simple steps
iPhone 15 Pro Max shown in hand
iMessage under attack from scammers sending phishing messages — don’t fall for it
iPhone 16 Pro shown held in hand
You can disable those awkward AI message summaries on iPhone — here's how
iPhone 16 Pro Max shown in hand
How to cancel subscriptions on your iPhone
Apple iPhone 16 held in the hand.
How to factory reset your iPhone — follow these steps
Latest in iPhones
WWDC logo on yellow background
Apple WWDC 2025 date set for June 9 — iOS 19, Apple Intelligence and more expected
iPhone 16 with Apple Intelligence logo for iOS 18.1
iOS 18.4: All the newest Apple Intelligence features coming to your iPhone
Apple maps logo on iPhone screen
I avoided Apple Maps for trip planning — but these iOS 18 features are changing my mind
New emojis with iOS 18.4 beta release.
iOS 18.4 beta brings 8 new emoji to your iPhone — here's all the new options
An image of an iPhone screen showing the Safari app icon in the center
I got tired of Safari revealing my web searches in iOS 18.4 — this setting fixes that
iPhone Flip Concept
Foldable iPhone delays — there’s a bigger problem going on at Apple
Latest in How To
avoid AI scams
How to spot AI-generated fake products when shopping online
An image of an iPhone screen showing the Safari app icon in the center
I got tired of Safari revealing my web searches in iOS 18.4 — this setting fixes that
Gmail logo on iPhone
I used Google Gemini to declutter my Gmail account — here's how you can do it too
An Amazon Echo speaker with ChatGPT logo next to it
I replaced Alexa with ChatGPT on my Amazon Echo — here's how you can do it too
AirPods Pro 2 in hand
Your earbuds are disgusting — here's the right way to clean them
ChatGPT logo on a smartphone screen being held outside
7 biggest ChatGPT mistakes — and how to fix them
  • Kakacake
    Wow that feature is buried SO deep. Even Apple support didn't know about this! Nice job.
    Reply
  • RandoDaddo
    admin said:
    Here's how to stop annoying spam messages on iPhone by using a simple feature called Message Filtering

    This hidden iPhone feature stops spam text messages — try it now : Read more

    this is does NOT stop spam as noted in title!
    The buried (not hidden) feature only “hides” messages from unknown contacts.
    user is still left to manually delete individual messages if they think it is spam! And that action takes 4 steps to do (which is poor design (IMHO)
    This feature will likely cause situation that user will not respond to genuine unknown contact’s message…including time-sensitive messages!

    the Messages app has no true control over ability to ID and report spam

    Apple needs to do better in this domain of user security; awareness alone will never protect user information.

    as for this article (like many others): do better to engage with readers with highly misleading article titles and choose your “feature stops” better
    Reply