How to stop spam texts on iPhone

Six steps, in the order that actually helps: what not to do, how to report and block, how to turn on the filters Apple built into iOS 26 and 27, when a filter app is worth it, and how to get fewer spam texts in the first place.

Updated 23 October 2026 · Applies to iOS 17 to iOS 27 · Written by the maker of AntiSpam, an SMS filter app; the first four steps need no app at all.

1. Two rules: don't tap, don't reply

Almost every harmful spam text needs you to do one of two things: tap a link (or call a number) or write back. The text itself can't hurt you; reading it is fine.

2. Report and delete

  1. Open the conversation. Under a text from a sender who isn't in your Contacts, iOS shows Report Spam. Tap it, then Delete and Report Spam. Apple receives the sender and the message, and the conversation is deleted.
  2. In the US, UK and Canada you can also forward the text to 7726 (it spells SPAM on a keypad). Carriers use these reports to block senders at network level. Elsewhere, check your carrier's website; many countries have a similar number.
  3. If the text pretends to be a company, you can also report it to that company; most banks and delivery firms publish an address for phishing reports.

Reporting doesn't protect you immediately, but it is the only step that helps everyone else too.

3. Block a persistent sender

Tap the sender's name or number at the top of the conversation, tap Info, then Block. Blocked numbers can't call or text you.

Be realistic about what this achieves: a single number that keeps texting you, such as a sales line that won't take no for an answer, is worth blocking. Scam campaigns rotate through hundreds of numbers and email-to-text gateways, so blocking alone rarely ends them. Content filtering, next, works across numbers.

4. Turn on Apple's built-in filters (iOS 26 and 27)

iOS has two separate tools, and they are easy to mix up:

  1. Open Settings → Apps → Messages and scroll down to the Unknown Senders section. (On iOS 27 you can also open Messages, tap the Filters button and choose Manage Filtering.)
  2. Turn on Screen Unknown Senders. Texts from numbers that aren't in your Contacts, and that you have never written to, go to an Unknown Senders list, without a notification and with links disabled. On iOS 17 and 18 the switch is called Filter Unknown Senders.
  3. Tap Allow Notifications. Keep Verification Codes and Personal on, and turn on Transactions, so codes, bank alerts and delivery texts from unknown numbers still notify you and show up in your Messages list for 12 hours. Leave Promotions off. Options can vary by country.
  4. Turn on Filter Spam, the last switch in the section. This is Apple's own spam detection; texts it judges to be spam go to a Spam folder (called Junk on older versions). In some regions it is on by default.

The catch: real texts land in Unknown Senders too

Screening sorts by who sent the text, not by what it says. A new doctor's office, a delivery driver, a one-time code from a service you just signed up for: all unknown senders, all parked in the list, all silent unless their type is allowed under Allow Notifications. Check the folder now and then (Messages → Filters → Unknown Senders) and use Mark as Known for people and services you want to hear from. Our guide to Screen Unknown Senders covers the details and the troubleshooting.

Apple also documents a limit worth knowing: text message filtering doesn't apply to any sender you have replied to three times or more. Those senders have to be blocked or reported instead.

5. When an SMS filter app helps, and what to look for

Apple's screening separates known from unknown senders. A third-party SMS filter goes one step further: iOS hands it the content of each text from an unknown sender, and the app decides whether it is spam. That is what lets a filter keep a first-time legitimate sender (a code, a delivery update) out of Spam while sending a scam with the same unknown-number status there.

You probably want one if, after step 4, scam or marketing texts still get through, or if you rely on texts from unknown senders and don't want to live in the Unknown Senders folder.

What to check before you install one

We make AntiSpam, which decides on the device, protects codes and bank alerts with explicit rules, and publishes its measurements and method. It isn't the right choice for everyone: it does nothing about calls, and its English engine is new. Our comparison of spam text blockers covers the alternatives, Apple's own filter included.

6. Get fewer spam texts in the first place

7. If you already tapped or replied

Questions

Should I text STOP to a spam message?

Only if the sender is a legitimate business you signed up with; by law they must honour it in most countries. For an unknown sender, STOP just confirms that your number is active. Report and delete instead.

Is it dangerous to open a spam text?

Reading a text is safe. The risk is in tapping links, opening attachments, calling the number back or entering details on the page that opens. Apple also disables links in texts from unknown senders until you mark the sender as known.

Why am I getting more spam texts after I replied?

Spammers send to huge lists of guessed numbers. Any reply, including STOP or an angry message, tells them the number is real and is read by a person, so it is sold on or hit again.

Does blocking a number stop the spam?

It stops that number. Most spam campaigns rotate through many numbers or use email-to-text gateways, so blocking alone rarely ends it. Filtering by content, with Apple's filters or an SMS filter app, works across numbers.

Can an SMS filter app see my iMessages or WhatsApp?

No. Apple's filter extensions only receive SMS and MMS (and, on recent iOS versions, RCS) from senders who aren't in your Contacts. iMessage, WhatsApp and other chat apps are out of scope, and so are senders you have replied to three or more times.

Want the content filter without the server?

AntiSpam filters on your iPhone, protects codes and bank alerts, and starts with a free month.

Download on the App Store What it does and doesn't do · Accuracy and method