Does Android have a built-in ad blocker?

Not as a separate setting, but Android's Private DNS (Android 9 and later) can work as one. Type an ad-blocking provider's hostname, such as dns.adguard-dns.com, and the phone sends every DNS lookup there, so ad and tracker addresses on that provider's list stop loading in apps and browsers. In our October 7, 2026 test that hostname's provider blocked 87.1% of 1,880 ad and tracker names, while one.one.one.one and dns.google, which do not filter, blocked 0.1%.

5 min readLast reviewed October 7, 2026

Does Android block ads by itself?

Android has no ad blocker switch. Two built-in features come close, and only one of them works across the whole phone:

FeatureWhere it worksWhat it blocks
Chrome Intrusive ads settingOnly in ChromeAds on sites that Google found showing intrusive or misleading ads. Normal ads on other sites still load.
Private DNS with an ad-blocking hostnameApps and browsers that use the phone's DNS, on Wi-Fi and mobile dataAd and tracker addresses on the DNS provider's list

So the practical answer is Private DNS. Android 9 and later have it; it is not an app and needs no install.

How does Private DNS block ads?

Before an app or a site loads an ad, the phone asks a DNS server for the ad server's address. With Private DNS, every one of those questions goes, encrypted with DNS over TLS, to the hostname you typed. A DNS provider that blocks ads answers "not found" (or a blank address such as 0.0.0.0) for the ad and tracker addresses on its list, so the ad does not load. The page itself still loads, because its own address is answered normally. A browser or app that uses its own encrypted DNS instead of the phone's skips Private DNS.

This has limits. When an ad comes from the same address as the content, DNS cannot separate them. YouTube video ads and sponsored posts in social apps are the usual examples, see what DNS cannot block. Also, the provider you type sees every DNS lookup your phone makes, so read its privacy policy first.

Private DNS provider hostname list

These are the hostnames you type into the Private DNS provider hostname field. The two number columns come from our DNS ad blocking test: the share of 1,880 ad and tracker names seen on 429 popular sites in 23 countries that each provider blocked, and how many names that sites need it blocked by mistake.

ProviderPrivate DNS hostnameWhat it filtersAds and trackers blockedNeeded site parts blocked
Control D (ads & tracking)p2.freedns.controld.comAds, trackers, malware97.8%34
dnsforge.dednsforge.deAds, trackers, malware98.5%62
AdGuard DNSdns.adguard-dns.comAds, trackers, phishing87.1%4
AdGuard DNS Familyfamily.adguard-dns.comAds, trackers, phishing, adult sites87.1%20
Mullvad DNS (adblock)adblock.dns.mullvad.netAds, trackers (Mullvad says this public service ends on 2 November 2026)66.3%4
Cloudflare for Familiesfamily.cloudflare-dns.comMalware, adult sites0.2%2
OpenDNS FamilyShieldfamilyshield.opendns.comAdult sites0.1%0
Quad9dns.quad9.netMalicious sites0.1%0
Cloudflare 1.1.1.1one.one.one.oneNo filter0.1%0
Google Public DNSdns.googleNo filter0.1%0
OpenDNSdns.opendns.comPhishing sites0.1%0

We measured the providers over DNS over HTTPS on October 7, 2026. On October 7, 2026 we asked the same 1,880 ad and tracker names through the hostnames above with DNS over TLS, the protocol Private DNS uses, and got the same block decision for 100.0% of them. Providers can change their hostnames and lists, so check the provider's own page before you rely on one. Some providers, NextDNS for example, give each user a personal hostname; those are not in the table.

How do I turn on Private DNS ad blocking?

  1. Open Settings and find Private DNS: on Pixel and stock Android under Network & internet, on Samsung under Connections > More connection settings, on Xiaomi under Connection & sharing. If you cannot find it, search for "Private DNS" in Settings.
  2. Choose Private DNS provider hostname.
  3. Type a hostname from the table, for example dns.adguard-dns.com, and tap Save.

The Android Private DNS guide explains the three modes and each phone's menus in more detail.

What can go wrong?

  • No internet after saving. With a hostname typed, Android uses only that server. If a network blocks DNS over TLS (some workplace, hotel and public Wi-Fi networks do) or the hostname has a typo, lookups fail. Set Private DNS back to Off or Automatic.
  • A site or app stops working. Ad-blocking lists also block some addresses that sites need; the last column of the table counts how often that happened in our test. Try another provider, or switch Private DNS off while you use that app.
  • Wi-Fi login pages. A hotel or airport sign-in page may not open while a hostname is typed. Switch Private DNS off, sign in, then switch it back on.

Where does EZOBLOCKER fit in?

EZOBLOCKER has no Private DNS hostname. It works through its app: a local tunnel catches the phone's DNS lookups and sends them encrypted to our servers, where ads and trackers on our list are blocked before they reach your phone, together with the other categories you pick. In the same test it blocked 96.5% of the ad and tracker names with 3 needed site parts blocked by mistake. Because a typed hostname takes priority, Private DNS must be Off or Automatic while EZOBLOCKER is on.

If you prefer a public provider, the app can switch to one under Settings > Advanced > DNS provider (AdGuard DNS, AdGuard Family, Cloudflare, Google, OpenDNS, Quad9 and others); in that mode its own categories do not apply. To check that EZOBLOCKER is filtering, open the protection check in your phone's browser.

Questions people ask

Does 1.1.1.1 block ads?

No. Cloudflare 1.1.1.1 (Private DNS hostname one.one.one.one) does not filter, and in our October 7, 2026 test it blocked 0.1% of 1,880 ad and tracker names. Cloudflare for Families (family.cloudflare-dns.com) blocks malware and adult sites, not ads: 0.2% in the same test.

Does 94.140.14.14 block ads?

Yes, 94.140.14.14 is AdGuard DNS. On Android you do not type the IP address: Private DNS takes the hostname dns.adguard-dns.com. In our October 7, 2026 test it blocked 87.1% of the ad and tracker names.

Which Private DNS hostname blocks the most ads?

In our October 7, 2026 test the ad-blocking hostnames caught: p2.freedns.controld.com 97.8%, dnsforge.de 98.5%, dns.adguard-dns.com 87.1%, adblock.dns.mullvad.net 66.3%. Catch rate is half the picture: the same test counts parts that sites need which were blocked by mistake (34, 62, 4 and 4 in the same order). The full table and method are on the DNS ad blocking test page.

Can I use Private DNS and EZOBLOCKER at the same time?

No. A typed Private DNS hostname takes priority, so EZOBLOCKER does not see the lookups and its categories filter nothing. With EZOBLOCKER, set Private DNS to Off or Automatic.