X
Tech
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

How to stop spam texts on your iPhone in 3 easy steps

It only takes one minute to remove one of the iPhone's most annoying headaches: spam text messages. Here's how to stop them once and for all.
Written by Maria Diaz, Staff Writer
Reviewed by Alyson Windsor
Spam message on iPhone
Maria Diaz/ZDNET

Are you getting a lot of spam text messages? Being interrupted by a notification on your iPhone, only to find it's yet another junk message, is tiring. Like phishing emails, these messages are often the starting point for scammers targeting potential victims. These scammers can pose as marketers selling a product or as ordinary people trying to connect with a friend but pretending to have the wrong number.

The good news is that you can stop these text messages using a feature already in iOS -- it's just a little hidden. Here's how you can do it.

Also: How to find out if an AirTag is tracking you

How to stop spam text messages on iPhone

What you'll need: To follow this tutorial, you'll need the latest version of iOS available for your device.

1. Open Settings

Open the Settings app on your iPhone, scroll down until you can access Apps, and tap on the Messages option.

Screenshot with Messages highlighted within the Settings app

Tap on Messages to access the settings for your Messages app.

Screenshot by Maria Diaz/ZDNET

2. Scroll until you find 'Filter Unknown Messages'

Scroll down to find the Filter Unknown Messages option and turn it on. This option is turned off by default, so you'll need to toggle it to the "on" position to enable it.

Note: When enabling the Filter Unknown Messages feature, add all known senders to your contact list. This will ensure you don't miss an important message from someone you haven't added to your address book, like a school using a messaging service.

Screenshot of Messages settings with Filter unknown senders highlighted and toggled on

Scroll to the end of the Messages settings to find "Filter Unknown Senders."

Screenshot by Maria Diaz/ZDNET

3. Check your Messages app

Go to the Messages app and check the Filters option. There will be a list of the following options:

  • All messages
  • Known senders
  • Unknown senders
  • Unread messages
  • Recently deleted

You can stay in the Known Senders filter if you want to ignore spam or unknown messages. This filter should only show you messages from numbers in your contact list and those with whom you've interacted. 

Enabling the Filter Unknown Senders in your Settings will ensure you only receive notifications when someone messages you from the Known Senders list. You won't be notified if an unknown sender sends you a message, but you can always access these messages by going to the Unknown Senders list in your Messages app.

Also: I improved my iPhone's battery life by changing these 10 settings

If you're expecting a message from someone you know, ensure their number is saved in your contacts or regularly check the Unknown Senders tab. Services like Instacart, DoorDash, and Uber Eats also use rotating custom text message numbers to communicate with customers, which won't be in your contacts. If you're expecting a delivery, I'd recommend checking the Unknown Senders tab during your delivery window.

Screenshot of messages with applicable filters

The message inbox will now default to show messages from people in your contact list only.

Screenshot by Maria Diaz/ZDNET

FAQ

How do I stop spam calls on iPhone?

Incoming spam calls are a nuisance; if you're having that problem, you can either block specific numbers via your phone app, add your number to the National Do Not Call Registry, or block all calls from unknown numbers. To do the latter, follow these steps:

  1. Go to your iPhone Settings.
  2. Tap on Apps.
  3. Select Phone.
  4. Find and enable Silence Unknown Callers.

When you do this, unknown callers will go straight to voicemail and can leave you a message. You'll only receive incoming calls from people in your contacts and recent outgoing calls. The calls from unknown callers will show up in your recent calls, and you'll be able to listen to the voicemail they've left, if there is one.

Also: How iOS 18 changes the way you charge your iPhone

Remember that if someone calls you from a number that is not saved in your contacts, you may miss important calls.

How do I report junk messages on iPhone?

The tutorial above will let you live in ignorant bliss of whoever is trying to reach you, but you can also go a step further and report messages as junk. Here's how you can report junk messages on your iPhone:

  1. Open the message in your Unknown Senders list.
  2. Tap on Report Junk below the message.

iPhone messages from unknown senders display a text below them saying, "This sender is not in your contact list. Report Junk." This is where you can report the message.

How do I block a sender on my iPhone?

If you keep getting messages from the same sender after reporting them, you can also block the sender altogether, which won't let them send you messages or call you. To block a specific number on your iPhone, follow these steps:

  1. Open the message in your Unknown Senders list.
  2. Tap on the sender's number at the top of the screen.
  3. Tap on the Info button on the right.
  4. Select Block this caller.

Why is the 'Filter Unknown Senders' option turned off?

The necessity for increased vigilance in certain situations -- like deliveries and communication with certain organizations -- when someone is expecting a message, is likely why Apple turns the Filter Unknown Senders feature off by default. After all, this option is meant for iPhone users who don't want to be bothered by messages from people they don't know or scammers. It can't be on by default, given that a new iPhone is void of any contacts in the address book.  

Also: My 4 favorite iOS 18 features make the iPhone a lot better, and more fun

Why am I getting so many spam text messages?

Remember those "extended car warranty" calls that got popular a couple of years ago? This annoyance made government agencies like the Federal Communications Commission (FCC) and cellphone companies crack down and take measures to stop them. 

Some phone companies started flagging incoming calls as "Spam Caller" or "Scam Likely," making it easier for individual users to decline calls and block numbers. People blocking incoming calls from unknown numbers have made scammers switch to other avenues, which is one reason why spam text messages are at an all-time high.

Editorial standards