Skip to content

Blog / Ads and tracking

How to Stop Pop Up Ads on iPhone in Safari and Apps

By Vineet KarhailLast reviewed Tested on iOS 186 min read

A phone outline with three crossed-out pop-up rectangles floating away and a shield connected by a dotted line.

Safari has a built-in pop-up blocker that stops most pop-up windows before they open. Turn it on in Settings and most pop-up ads disappear immediately. For pop-ups that still get through, clearing website data and enabling a content blocker handles the rest.

How do you block pop-up ads in Safari on iPhone?

One toggle stops most pop-up windows. Apple documents this on its Block pop-up ads and windows in Safari page.

Steps

  1. Open Settings, tap Apps, then tap Safari.
  2. Turn on Block Pop-ups.
  3. Turn on Fraudulent Website Warning (right below Block Pop-ups). This warns you before you visit a known phishing or malware site.
  4. Close Settings and open Safari. Pop-up windows are now blocked.

If a pop-up appears even with the blocker on, do not tap any button on it. Some pop-ups use fake close buttons that lead to other pages. Instead, tap the tabs button in Safari, swipe the tab closed, and open a new one.

What if pop-ups keep appearing after you turn on the blocker?

Persistent pop-ups usually come from website data stored on your phone. A site saves a cookie or script that triggers a new pop-up each time you visit. Clearing that data removes the trigger.

  1. Open Settings, tap Apps, then tap Safari.
  2. Tap Clear History and Website Data.
  3. Choose a timeframe (or All History to be thorough), then tap Clear History.

This removes browsing history, cookies and cached files. You will be signed out of websites. AutoFill data like saved passwords is not affected.

If only one site causes pop-ups and you want to keep the rest of your data, go to Settings, Apps, Safari, Advanced, Website Data. Find the site name, swipe left and tap Delete.

Apple documents these steps on its Delete your Safari history, cache, and cookies on iPhone page.

Can a content blocker stop more pop-ups?

Yes. Safari supports content-blocker extensions from the App Store. A content blocker stops ad network requests before they load, which catches pop-ups that come from ad scripts rather than new windows.

  1. Download a content-blocker app from the App Store.
  2. Open Settings, tap Apps, then tap Safari.
  3. Tap Extensions.
  4. Turn on the content blocker you installed.

The blocker works inside Safari only. Other browsers on iPhone, like Chrome and Firefox, use their own built-in blocking.

Method What it stops Where it works Built in
Block Pop-ups New pop-up windows Safari Yes
Fraudulent Website Warning Phishing and malware pages Safari Yes
Clear History and Website Data Stored scripts that trigger pop-ups Safari Yes
Content-blocker extension Ad network requests and scripts Safari App Store
Delete spam calendar Fake alerts from subscribed calendars Calendar app Yes

Are those pop-up alerts actually from your calendar?

Some pop-ups are not from Safari at all. If you accidentally subscribed to a spam calendar, it pushes fake alerts that look like virus warnings or prize notifications. These appear as Calendar notifications, not browser windows.

To remove a spam calendar:

  1. Open the Calendar app and tap Calendars at the bottom.
  2. Find the calendar you do not recognise.
  3. Tap the info button next to it, then tap Unsubscribe or Delete Calendar.

If a single event appeared from an unknown sender, open it, tap Report Junk, then tap Delete and Report Junk. Apple documents this on How to delete calendars and remove events on your iPhone.

What does Apple document about pop-up blocking?

Apple's Block pop-up ads and windows in Safari page gives the path Settings, Apps, Safari for both Block Pop-ups and Fraudulent Website Warning. It notes that some pop-ups use phishing tactics such as fake warnings or prizes to trick you into sharing personal information, and advises not to interact with suspicious pop-ups.

The Delete your Safari history, cache, and cookies on iPhone page documents clearing website data at Settings, Apps, Safari, Clear History and Website Data. The menu path uses Settings, Apps, Safari, which Apple introduced in iOS 18.

What does pop-up blocking not protect against?

The Safari pop-up blocker stops new browser windows. It does not block ads that appear inside a web page, like banners or video ads. For those, you need a content-blocker extension or Safari's Reader mode. It also does not stop notifications from apps you have allowed to send them. Check Settings, Notifications to review which apps can alert you.

If an app shows full-screen ads and you did not ask for them, the ad comes from that app's own ad SDK. The only way to stop it is to remove the app or pay for its ad-free version. When privacy matters, an app that runs no ads and no analytics is a safer choice. Sigil runs no ads, no analytics and no third-party SDKs, and encrypts files with AES-256-GCM on your device. Read how Sigil is secured for the full detail.

For a broader look at turning off ad personalization and app tracking on iPhone, see how to remove ads from iPhone.

Frequently Asked Questions

Does Block Pop-ups stop all ads in Safari?

No. It stops new pop-up windows that a site tries to open. Ads that are part of the page itself, such as banners and inline video ads, are not affected. A content-blocker extension handles those.

Will clearing Safari data delete my saved passwords?

No. Apple states that clearing history and website data does not remove AutoFill information. Your saved passwords stay in Settings, Passwords (or the Passwords app). You will be signed out of websites, so you need to sign in again.

Can pop-ups install malware on an iPhone?

A pop-up by itself cannot install software. iOS does not allow apps to be installed from websites. However, a fake pop-up can trick you into entering your Apple Account password or other personal information. Never type a password into a pop-up. If you see a prompt you did not expect, close the tab and go to the site directly.

How do I stop pop-ups in apps, not just Safari?

App pop-ups come from the app itself, not from Safari settings. If a free app shows interstitial ads, check whether it offers a paid or ad-free version. You can also check Settings, Notifications and turn off notifications for apps that send unwanted alerts.

References

Most vault apps are a PIN screen over normal files. Sigil's keys can't leave your iPhone.

Read how the key is built and where it stops working.