Blog

Apple Mail junk filter not working? How to fix it

Apple Mail junk filter not working: spam gets through, or good mail lands in Junk. Find which filter acted first, then fix it in order.

By Emmett Miller · 8 min read

We make Alrighty, an email app. Nobody paid to be on this page, and there are no affiliate links.

On this page

These steps match Apple Mail's settings as of November 2026. Menu names are on macOS 27. Older versions say Preferences where this page says Settings.

Why does Apple Mail send good mail to Junk, or let spam through?

Three filters can act on one message, and each fails in its own way.

  1. Your provider's filter. Gmail and iCloud decide first. A message your provider calls spam goes to the Junk or Spam folder on the server. Mail only shows it there. In one Apple Community thread, a reply explains that "that server may be marking things as Spam before it gets to your Mac."
  2. Mail's own junk filter. It runs on your Mac and learns from the messages you mark.
  3. Your rules. Rules on the Mac and rules on iCloud.com can move mail too. See Apple Mail rules not working.

Find out which one acted before you change anything. Turn off Enable junk mail filtering for a day (Fix 1). If good mail still lands in Junk, your provider or a rule moved it.

Fix 1: Turn the junk filter on and set what it does

Choose Mail > Settings, click Junk Mail, then click Junk Mail Behaviors. Check that Enable junk mail filtering is on. Under When junk mail arrives, pick one:

  • Mark as junk mail, but leave it in my Inbox
  • Move it to the Junk mailbox
  • Perform custom actions (Click Advanced to configure)

If good mail is vanishing, pick Mark as junk mail, but leave it in my Inbox for a week. You then see what the filter catches before it moves anything.

Then look at three settings on the same pane. They explain most spam that gets through, and most good mail that lands in Junk:

  • The following types of messages are exempt from junk mail filtering. The choices are Sender of message is in my Contacts, Sender of message is in my Previous Recipients and Message is addressed using my full name. Spam often greets you by your full name, so that last box lets it past Mail's filter. Uncheck it if spam keeps reaching your Inbox.
  • Trust junk mail headers in messages. When it is on, Mail goes by the junk mark your provider already put on the message. If good mail lands in Junk while Mail's own filter has nothing to learn from, turn it off for a few days and watch.
  • Filter junk mail before applying my rules. When it is off, a rule can move a message before the junk filter sees it.

Fix 2: Mark mail as Junk or Not Junk in Mail

Mail learns from your marks. Select a spam message and click Junk in the toolbar. Open the Junk mailbox, select a good message, and click Not Junk. A good message you rescue by dragging it to the Inbox teaches Mail too. In the Apple Community thread on good mail going to Junk, one user wrote that after moving the messages to the Inbox, new mail from those senders arrived in the Inbox.

Marking in Mail does not always teach your provider. In a Community post from February 2024, a Gmail user reports that marking spam in the Gmail app trains Gmail's filter, but moving a message to Junk in Apple Mail does not. That is one user's report, not an Apple statement. Do the next fix for the provider side.

Fix 3: Fix it at your provider

This is where most good mail in Junk gets fixed. In the thread above, the user reset Mail's junk settings with no result. The fix was to change the junk settings in Gmail, because Gmail had been treating the mail as junk.

For Gmail, open Gmail in a browser. Per Gmail's own help page:

  • To rescue good mail: in the left menu click More, then Spam. Check the message and click Not spam. Google says "future emails from that sender won't go to Spam."
  • To train Gmail on spam: select the message and click Report spam. Google says that as you report more spam, "Gmail identifies similar emails as spam more efficiently."

For iCloud mail, check the rules and Junk settings at iCloud.com. A Community thread on iCloud junk filtering lists two cases. One user deleted a rule on iCloud.com that moved mail out of the Inbox, and filtering worked again. Another turned off the Mail setting that filters junk before applying rules. Neither is Apple's official fix, and the thread has no confirmed answer.

Fix 4: Check for a rule or a wrong Junk folder

If Mail's filter is off and mail still goes to Junk, look for two causes:

  • A leftover rule. Choose Mail > Settings, then click Rules. In the Community thread, one user found a rule named "Built-In Junk Filter" and wrote that deleting it fixed the problem.
  • The wrong Junk folder. In the thread on a disabled filter, a Gmail account had its Junk folder set to [Gmail]/Spam, so everything Gmail flagged still went to Junk. To check yours, choose Mail > Settings, click Accounts, select the account, click Mailbox Behaviors, and look at Junk Mailbox.

Fix 5: Block a sender who keeps coming back

Point to the sender's name in the message header, click the arrow, and choose Block Sender. You can also choose Mail > Settings, click Junk Mail, then click Blocked, and add the address. An Apple Community answer from an Apple Community Specialist gives both routes. Older versions of Mail call the menu item Block Contact.

On the Blocked tab, check that Enable blocked mail filtering is on. Then pick what happens under When email from blocked address arrives: Mark as blocked mail, but leave it in my Inbox, or Move it to the Trash. That second choice is why blocked mail can turn up in Trash.

Blocking has limits. It stops one address. Spam usually changes the address each time. One iCloud user in the junk thread above found that the effect was temporary. For the full steps in Mail, Gmail and Outlook, see how to block a sender.

Fix 6: Reset the junk filter

Resetting clears what Mail has learned from your marks. Choose Mail > Settings, click Junk Mail, and click Reset. Mail warns that "All training for junk mail filtering will be lost." Moderators in the Community thread on good mail in Junk give the same steps. The reset did nothing for several users in that thread, so do it last, and only when the filter is the one acting. Mail then starts learning from zero.

When to give up on the filter

Give up when the reset and the provider fixes change nothing. Then the filter is the wrong tool. The Junk filter judges each message on its own. It cannot end a sender's mail for good. The practical choices are to stop senders one at a time, or to add a tool made for it. Our list of the best spam blockers for Mac compares them, and how to stop spam emails covers the habits that matter. If Mail is also missing mail you expect, see Apple Mail not receiving emails.

Or switch to Alrighty

Alrighty is a mail app for Mac, Windows and Linux. It puts your Gmail, iCloud, Outlook, Yahoo and other mail accounts in one inbox. Where Apple Mail guesses, Alrighty gives you one button. Stop mail takes an email you don't want out of your Inbox, and new mail like it from that sender skips your Inbox too. Alrighty also leaves the mailing list when it can, and never sends an unsubscribe email to do it. Clean up lists the senders you probably don't want, so you can stop them all at once.

Be clear about what it does not do. It has Filters for kinds of mail from new senders, such as cold sales, and it has no rule builder. It has a Free plan, or Pro.

Questions

Why does Apple Mail put emails in Junk when they are not junk?

Usually your provider did it. Gmail and iCloud flag mail on their servers, and Mail shows the result in Junk. Mark the message Not Junk in Mail, and also mark it Not spam on the provider's website. Then check your rules for one that moves mail to Junk.

Why does spam still reach my Apple Mail Inbox?

Mail's filter judges each message on its own and learns slowly from your marks. A sender that changes address each time looks new to it. Mail also skips messages addressed using your full name, if that box is checked in the Junk Mail settings. Mark each spam message as Junk, report it as spam at your provider, and block repeat senders.

Does marking mail as Junk in Apple Mail train Gmail?

One Gmail user reported in an Apple Community post that it does not. Moving a message to Junk puts it in Gmail's Spam folder, but Gmail's filter does not seem to learn the sender. Gmail's help page says reporting spam in Gmail helps its filter, so report spam there.

Does resetting the junk filter delete my email?

No. It restores Mail's default junk criteria, and all of its training is lost. Your messages stay where they are. Mail starts learning again from your next marks.

Sources

Read November 17, 2026.

  1. Apple Community: "Junk Mail" disabled, yet mail still getting directed to "Junk"
  2. Apple Community: Mail Going to Junk Folder that is Not Junk
  3. Apple Community: Move to Junk on Apple Mail doesn't train the Gmail spam algorithm, February 2024 (thread 255486580; the forum closed on November 20, 2026)
  4. Apple Community: iCloud junk filtering thread
  5. Apple Community: no "block" option in Mail on iMac (thread 253736754; the forum closed on November 20, 2026)
  6. Gmail Help: Report spam and mark as not spam

Keep reading

Stop the senders you never wanted