How to block ads on an iPhone in Safari with AdGuard DNS

You can cut most website ads on an iPhone without installing another app. This guide uses Safari's pop-up blocker, Apple's ad settings and an AdGuard DNS profile that filters ads across the whole phone. It suits anyone on iOS 27 who wants cleaner browsing.

YouTube video: How To Block Ads On iPhone (Yes Really!)

Caption availability is unknown. Check the CC control in the YouTube player.

5 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (5)
Video length
4 min 23 s
Time to do it
10 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Open Settings and scroll down to Safari. Under General, turn on Block Pop-ups so Safari stops opening new ad windows on their own.

  2. In Settings, go to Privacy & Security, then Apple Advertising. Turn off Personalized Ads so Apple does not use your usage data to target its own ads.

  3. Open Safari and go to the official AdGuard DNS site. Download the iOS configuration profile, and read the page first so you know what traffic passes through their servers.

  4. Tap Allow when Safari asks to download the profile. Then open Settings and tap Profile Downloaded at the top of the list.

  5. Tap Install, enter your passcode and agree to the prompts. The profile now filters website ads across the whole phone, not just in Safari.

  6. Open a site that usually shows ads and check that banners and pop-ups are gone. Some apps still show their own ads because they load them differently.

  7. To undo it, go to Settings, General, VPN & Device Management, tap the AdGuard DNS profile and choose Remove Profile.

Tips and common mistakes

The profile sends your DNS requests through AdGuard, so it can see which sites you visit. Only install it from the official AdGuard site.

Blocking pop-ups can break some login and checkout pages. Turn it off for a minute if a site stops working.

DNS filtering misses ads baked into apps like games and social feeds. Those need a separate app-level blocker.

A VPN or iCloud Private Relay can clash with the DNS profile. Turn one off if the ads come back.

Questions

Does this block ads inside apps like YouTube or Instagram?

Mostly no. The DNS profile targets ads loaded from separate ad servers, which covers most website ads. Ads served from the same place as the app's content still get through.

Will the profile slow down my iPhone?

Filtering happens at the DNS level, so browsing usually feels the same. If pages load slowly, remove the profile and compare.

Can I remove the profile later?

Yes. Go to Settings, General, VPN & Device Management, tap the AdGuard DNS profile and choose Remove Profile. Your Safari settings stay as they are.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all