Android

How to Block Ads on Android Without Root

How to Block Ads on Android Without Root

The quickest way to block ads on Android without root is setting an ad-blocking hostname under Private DNS, which has been built into Android since version 9 (Pie). No app needed.

Page-level ads are a separate problem. A content blocker such as uBlock Origin on Firefox for Android takes care of those.

One limit is worth knowing before you start. Ads served from the same domain as the content get past every DNS-based method. AdGuard’s support documentation says YouTube often serves ads from the same domains as the videos, so blocking an ad request could block the video too.

How does ad blocking work on Android without root?

YouTube player

Nothing in these methods touches the system partition, which is why root never comes into it. The blocking happens inside the browser, at the DNS lookup, or in a local VPN connection that a blocker app sets up on the phone, and that VPN is how an app can watch your traffic without root.

Each one sees a different slice. A browser extension or built-in blocker filters page elements and requests, but only inside that one browser. With DNS filtering, Android sends lookups through an encrypted provider that can refuse to answer for known ad and tracking domains.

Ads also come from more than web pages. Apps bundle their own ad networks, some apps hold an overlay permission and draw over everything else, and manufacturers put ad slots in their own apps. A browser blocker only sees the web page part. DNS and VPN methods reach further, so whichever layer you pick decides which ads disappear.

A DNS blocklist works on whole domains. If the provider never hands back an address for an ad server, the request has nowhere to go. Filter lists such as EasyList work differently, inside the browser, where they hide individual elements and URLs. The default uBlock Origin filter set combines its own lists with EasyList, EasyPrivacy and Peter Lowe’s ad and tracking server list.

With root you can rewrite the system hosts file instead. AdAway does exactly that on rooted phones, and on non-rooted ones it switches to its VPN feature.

How to block ads on the whole phone with Private DNS

YouTube player

Private DNS is the lowest-effort method here. Android has had it since version 9 (Pie), it sends lookups to a custom hostname over DNS-over-TLS on port 853, and there’s no third-party app involved.

  1. Open the Settings app and look for Private DNS. On a Pixel or stock Android it sits under Network & internet. On Samsung it is under Connections, then More connection settings. Some versions hide it behind an Advanced entry.
  2. Select the Private DNS provider hostname option.
  3. Type the hostname, for example dns.adguard-dns.com. Leave off the tls:// prefix that AdGuard prints before its addresses.
  4. Tap Save.
  5. Check the status line. A “Connected” message means Private DNS is active. AdGuard also publishes a diagnostics page at adguard.com/test.html.

Filtering happens at the network level, so apps and games get filtered along with the browser. It applies on both mobile data and Wi-Fi.

Which Private DNS provider to enter

For most people it’s AdGuard DNS. NextDNS gives you more control if you like tinkering, and Mullvad is off the table now.

ProviderHostnameCost and limit
AdGuard DNSdns.adguard-dns.comFree
NextDNSPersonal hostname from your dashboardFree up to 300,000 queries a month
Mullvad DNSadblock.dns.mullvad.netPublic service ended November 2, 2026

SSD Nodes rechecked AdGuard’s public DNS page on November 4, 2026, and it still lists 3 DoT servers. The main one, dns.adguard-dns.com, blocks ads and trackers. family.adguard-dns.com does the same and adds adult-site blocking and Safe Search. unfiltered.adguard-dns.com blocks nothing, so skip it for this purpose.

NextDNS works differently. You build a configuration in its dashboard and paste the resulting custom DNS address into the Private DNS field.

The Pro plan costs $1.99 a month or $19.90 a year, according to TechRadar. Past the free cap, NextDNS keeps resolving queries but stops filtering them until the month resets. It emails you at 250,000 and again at 300,000.

Older guides still send readers to adblock.dns.mullvad.net, which is a dead end. Mullvad shut its public encrypted DNS service down, and ghacks names Quad9, Cloudflare, AdGuard DNS and DNS4EU as the replacements. Of those, AdGuard DNS blocks ads and trackers by default, while Quad9 blocks known-malicious domains.

What Private DNS blocks and what it leaves alone

Private DNS filters domains, not ads, and nearly every limit below follows from that.

Anything loaded from a known ad server gets blocked, including banners, pop-ups and many in-app ads. Tracker domains go too, whether the request comes from a browser, an app or a game.

The misses matter just as much. YouTube ads still play, because YouTube often serves them from the same domains as the videos, and blocking one request could block the video too. While a VPN is running, nothing gets filtered at all, since Android does not use the Private DNS setting then. Any network that rejects encrypted DNS stops it working as well.

If the status says “Couldn’t connect”, it’s usually a typo in the hostname. Some corporate or school networks also block DNS over TLS on port 853.

How to block ads in the browser

Firefox with uBlock Origin gives you the most control. Brave needs no setup at all. Chrome’s own filter only removes the worst offenders, and that’s about all it does.

Why Chrome’s built-in filter blocks so little

Computerworld reports that the Better Ads Standards behind Chrome’s filter cover 12 ad types that users flagged as particularly annoying.

Chrome for Android blocks certain intrusive ads and pop-ups that violate those standards. Everything that doesn’t count as intrusive still loads.

Pop-ups have their own switch. Chrome and Samsung Internet both ship a pop-up blocker that stops most of them, and there’s a separate walkthrough on how to stop pop-up ads on your Android phone.

Firefox with uBlock Origin

YouTube player

Firefox for Android runs uBlock Origin directly, and Mozilla’s own listing marks it as available there.

That wasn’t always true. When the redesigned Firefox for Android arrived in 2020, Mozilla cut extension support down to a short curated list. Support came back in December 2023 with more than 450 add-ons, and uBlock Origin is one of the headline extensions.

To install it, open the uBlock Origin listing on addons.mozilla.org from inside Firefox and add it. Default lists include EasyList, EasyPrivacy and Peter Lowe’s list. Mozilla’s listing calls it a wide-spectrum content blocker rather than an ad blocker, and says it aims to be light on CPU and memory.

The catch is obvious. Your browsing has to move to Firefox, and nothing changes inside other apps. It only filters pages loaded in Firefox.

Browsers with a built-in blocker

BrowserHow blocking worksDefault
BraveShields, Standard or AggressiveOn, as part of its default privacy features
VivaldiThree levels: No Blocking, Block Trackers, Block Trackers and AdsOff
Samsung InternetAdd-ons such as Adblock Plus or AdGuardOff until an add-on is installed

Brave’s default policy targets third-party advertising, and its stated goal is to block the tracking behind ads rather than the images themselves. Standard mode skips network-level blocking of first-party requests. Aggressive mode goes further and adds things like CNAME uncloaking.

The switch sits under Settings, Brave Shields and privacy, then Block trackers and ads. Brave for Android 1.78 added Block Elements, which hides any on-page annoyance with a tap.

Opera for Android also documents a built-in blocker. Samsung Internet lists registered blocking apps in an Ad blockers menu inside its Add-ons page, and those add-ons use the Adblock Plus filter format.

When is a blocker app worth installing?

Usually not. For most phones, Private DNS and a browser blocker already cover it. An app starts to make sense when in-app ads still show up after both.

AdGuard for Android

Google pulled AdGuard for Android from the Play Store on November 25, 2014, two weeks after launch. The app now filters system-wide through a local VPN and ships from AdGuard’s own website.

It filters HTTPS through its own root certificate with no root access required, and you get per-app management and custom filtering rules. One license also works across Windows, macOS, Android and iOS.

It’s paid, though. The Personal license covers 3 devices and Family covers 9, with 1-year and lifetime terms. Installing the APK by hand can run into Samsung’s Auto Blocker on One UI 6 (Android 14) and newer, which can stop the install, and the local VPN mode takes the phone’s single VPN slot.

Blokada

The numbering on Blokada trips people up. Blokada 5 is the free ad blocker on blokada.org. The paid app in the stores is Blokada 6, which targets Android 9 or higher, while Blokada 5 runs on Android 5 and above.

It works for all apps and browsers without root, and the source code is public. Its design also does not break encryption. The drawback is the integrated VPN, which means it cannot run alongside another VPN service.

AdAway in VPN mode

F-Droid’s suggested AdAway release is version 6.1.4, added November 15, 2024, and it requires Android 8.0 or newer.

On a non-rooted phone, requests to listed hosts get redirected to the local address 127.0.0.1, where nothing answers. That runs as a foreground service, so you can confirm it is alive when you check which apps are running in the background on your Android phone.

It’s free. Predefined hosts lists come built in, and you can add your own files plus personal allowlists and blocklists. Hosts mappings work at the domain level, so first-party ads still load, and VPN mode occupies the VPN slot.

Where to download blocker apps safely

Google Play does not allow network-level blockers, and the free AdGuard Content Blocker there works only in certain browsers. F-Droid is another source, but installing an APK straight from the page skips update notifications, so use the F-Droid client instead. AdGuard’s full app downloads as an APK from the developer website, and it also appears in the Samsung Galaxy Store, Mi Store and AppGallery.

A sideloaded APK needs the unknown-sources install permission, and the blocker then asks to set up a VPN connection. Review the app permissions you grant before accepting either prompt.

How do you remove home screen and system app ads?

A browser blocker never sees these ads, and DNS catches only some of them. They come from overlay permissions and manufacturer ad services, so the fix lives in Settings, starting with the overlay permission and the manufacturer’s ad service. Google’s ad personalization settings come last, and they matter least.

Find the app drawing ads over other apps

Pop-ups on the home screen usually trace back to one app holding the “Display over other apps” permission. Pixel phones use that label, while Samsung often calls the same setting Appear on top.

  1. Open Settings, then Apps, then Special app access, then Display over other apps.
  2. On Samsung Galaxy phones, the path is Apps, the three-dot menu, then Special access.
  3. Switch off every app you do not recognize or no longer use.
  4. Audit recently installed apps first, since an overlay app you never installed on purpose is the usual culprit.

Cybernews documented a fraud trend where utility apps disguised as alarms and calendars push ads after every call, and the overlay permission list is where those show up.

Android 14 also lets users revoke the USE_FULL_SCREEN_INTENT permission. PhoneArena reported that new installs would stop receiving it by default, except dialer and alarm clock apps.

If an app you can’t account for keeps drawing ads over everything, treat it as suspicious. Before relying on permission toggles alone, check your Android phone for malware.

Turn off the manufacturer’s ad service

Xiaomi’s MSA (MIUI System Ads) app is behind many of the ads on its phones, and it’s the clearest example of a manufacturer ad service.

To revoke it, go to Settings, then Passwords & security (Fingerprints, face data, and screen lock on HyperOS), then Authorization & revocation. Toggle msa off and tap Revoke.

Under Privacy, Ad services, there’s also a Personalized ad recommendations switch. Android Authority notes that turning it off stops data use but does not remove the ads. Notebookcheck found users have to disable ads separately in each Xiaomi app, which is tedious.

Other brands bury the same switches in their own settings. Searching Settings for ads or recommendations finds most of them.

Some bundled apps can be removed outright, and there’s a walkthrough on how to delete system apps on Android.

Google’s ad privacy settings

Google’s ad privacy controls change personalization, not volume.

Ad topics and app-suggested ads sit alongside ad measurement on the Ad privacy page, and ghacks points out that switching them off does not mean fewer ads. The path is Settings, Security and privacy, More privacy settings, Ads, then Ad privacy.

Settings, Privacy, Ads also offers Delete advertising ID. Google’s own policy page adds that apps may have their own settings using other identifiers, which can also affect the ads you see.

Why do some ads still get through?

Everything covered so far filters by destination or by page element. An ad that shares a destination with real content slips straight through.

YouTube and other first-party ads

Digital Citizen reports that YouTube, Facebook and Instagram ads and sponsored posts still appear under Private DNS because they load from first-party domains. Androidguias adds Spotify to the list of platforms where DNS filtering has limits.

Browser extensions do not reach inside the YouTube app either. Adblock Tester notes that some people watch YouTube in a mobile browser with a content blocker, which is less convenient than the app.

If anyone promises full YouTube blocking from a DNS-only setup, they’re overselling it.

Apps that skip the system resolver

CleanBrowsing lists hardcoded DNS values as a reason apps bypass filtering, and some apps ship their own encrypted DNS configuration.

A RethinkDNS developer wrote on the GrapheneOS forum that Telegram runs its own DNS-over-HTTPS layer, while Instagram and WhatsApp hardcode IP addresses. Private DNS cannot filter lookups the app never hands to the system.

Sources disagree here. ForestVPN claims Private DNS works even when apps try to bypass blockers, but PIA says local traffic filtering catches kinds of ads DNS cannot touch, such as hardcoded in-app ads. In practice it comes down to who resolves the name. Apps that use the system resolver get filtered. Apps with their own resolver don’t.

VPN conflicts and encrypted DNS failures

Android’s developer documentation states there is only one active VPN service per user or profile, and starting a new one stops the existing one. AdGuard confirms it is impossible to run two VPN-based apps at the same time, and offers an integrated mode with AdGuard VPN that shares one tunnel.

If you keep a regular VPN on all day, Quad9’s guidance is to put the DNS addresses in the VPN app’s custom DNS settings.

Blocked ports are the other trouble spot. With a provider hostname set, Android refuses to fall back when the server is unreachable. Because Private DNS uses DNS-over-TLS for custom hostnames such as AdGuard’s, a network admin on public Wi-Fi can block it easily, and so can one at work or school.

The fix is on the Private DNS screen, which offers Off, Automatic and Private DNS provider hostname. On that network, switch to Automatic or Off, then flip it back afterward.

What the DNS provider can see

A filtering resolver sees every domain your phone looks up.

AdGuard’s DNS privacy policy (August 6, 2024) says non-filtering AdGuard DNS only returns the IP address of the requested domain. Its private tier is different, since it needs an account and shows your queries and statistics in a dashboard. AdGuard DNS has also adopted the European Resolver Policy, which sets privacy requirements for resolvers.

Comparitech points out that a filter tied to your home router stops working the moment you leave the house, which is one reason a phone-level setting is more useful.

Which method should you choose, and can you combine them?

Start with Private DNS. If web ads remain, add a browser blocker, and leave the blocker app for last. The table below shows where each method stops.

MethodScopeMinimum AndroidCostMain failure
Private DNSSystem-wide, domain levelAndroid 9Free with AdGuard DNSFirst-party ads, active VPN
Firefox with uBlock OriginOne browserSet by the browserFreeApps and overlays untouched
Brave or Vivaldi built-inOne browserSet by the browserFreeApps and overlays untouched
Blocker app (local VPN)System-wide, per-app rulesAndroid 8.0 (AdAway), 9 (Blokada 6)Free to paidOccupies the VPN slot

Pick by situation

  • Phone older than Android 9? Private DNS is unavailable, so a local VPN app is the only system-wide route. Blokada 5 runs on Android 5 and above.
  • If a regular VPN runs all day, skip the local VPN blocker and set the filtering DNS inside the VPN app.
  • For ads inside games and apps, Private DNS first. A blocker app only if ads survive it.
  • Mostly seeing web ads? A browser blocker alone is enough, with no system change at all.

Stacking methods without conflicts

Private DNS with a browser blocker is the safe combination, since they work at different layers and never compete for the VPN slot.

Running Private DNS alongside AdGuard’s local VPN is redundant, and AdGuard’s compatibility notes explain why. Since Android Q, the presence of Private DNS forces apps to redirect traffic through the system resolver instead of AdGuard.

Pick one DNS path per phone. Private DNS is cheaper and, for most people, enough.

Common Questions About Ad Blocking on Android Without Root

Does an ad blocker drain the battery on Android?

Digital Citizen lists low battery and memory use as a perk of DNS filtering, so Private DNS barely registers. A local VPN app costs more. Borncity notes that conventional blockers filter locally and load memory and battery, which is why Blokada 6 moved its filtering into the cloud.

How do you allow ads on one site or app again?

It depends on the layer. ABP for Samsung Internet lets you add a website to an allowlist. NextDNS supports allowlists and denylists, and AdAway keeps its own allowed and blocked lists.

Public hostnames such as dns.adguard-dns.com carry no personal rules, since AdGuard ties customization to an account. Switch Private DNS to Off while you use the site.

Do ad blockers also stop malicious ads and trackers?

Only for domains that appear on a blocklist. Out of the box, AdGuard DNS blocks ads and trackers, and Quad9 goes after known-malicious domains. Domain filtering only works when the domain is listed, so a harmful ad served from a clean first-party domain passes through.

Will apps break when their ads are blocked?

Sometimes. BGR points out that DNS blocking removes entire domains, which can break parts of an app or leave empty spaces where ads used to sit.

Allowlist the domain involved, or turn Private DNS off while you use that app.

Checking That Ad Blocking Still Works After Updates

A setup like this keeps working only while its layer stays active, so recheck it after each Android update, VPN install or network change.

Start with the system setting, where the Private DNS status should read Connected. Then make sure no newly started VPN has replaced a local VPN blocker. Last, confirm the browser blocker is on for the site in question.

Older phones have fewer choices. Blokada 5 runs from Android 5, AdAway needs 8.0, and Private DNS starts at 9, which leaves an Android 7 phone with one system-wide method here.

All of this was checked against provider documentation in November 2026. If a provider retires its hostname, or Google changes its Play Store policy on ad blockers (AdGuard notes that can happen at any time), some of it will be out of date.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.