How to Block Ads on Your Android Phone in Under 2 Minutes

Published on June 3, 2026

The Easy, No-App Way to Block Android Ads

Intrusive pop-ups, auto-playing video ads, and flashing banners don't just ruin your mobile browsing experience—they also drain your battery, consume your mobile data, and slow down your phone. While you can install ad-blocking browser extensions, they only work inside that specific browser, leaving you exposed to ads in games and other apps.

Fortunately, Android has a built-in, hidden feature called Private DNS. By pointing your phone's network traffic through a secure, ad-filtering DNS provider, you can block ads system-wide across almost all your apps and browsers in under two minutes. Here is how to set it up.

Step 1: Open Your Android Settings

Unlock your Android phone and swipe down from the top of the screen, then tap the Gear icon to open your Settings app. Alternatively, locate the Settings app in your app drawer.

Step 2: Navigate to Network & Internet Settings

Because Android manufacturers use different custom interfaces, the exact menu names may vary slightly depending on your device:

  • On Google Pixel, Motorola, and Stock Android: Tap on Network & internet, then scroll down and tap on Private DNS. (You may need to tap "Advanced" to see it).
  • On Samsung Galaxy devices: Tap on Connections, then select More connection settings, and tap on Private DNS.
  • On OnePlus, Xiaomi, and Realme: Tap on Connection & sharing, then tap on Private DNS.

Pro Tip: If you cannot find it, simply tap the search bar at the top of your Settings menu and type "Private DNS". Tap the result that appears to jump directly to the setting.

Step 3: Configure the Private DNS Provider

By default, your Private DNS setting is likely set to "Automatic" or "Off". To block ads, you need to configure a custom host:

  • Select the option labeled Private DNS provider hostname (it might also be called "Designated private DNS").
  • In the text input field that appears, carefully type the following address: dns.adguard-dns.com
  • Tap Save or Apply to lock in your settings.

Step 4: Verify That It Works

To ensure the configuration is working, open your mobile browser and navigate to a website known for heavy advertising, or open a free game that usually bombards you with pop-up ads. You should notice that the ads are gone, often replaced by empty, clean spaces where the banners used to be.

Troubleshooting & Quick Tips

While this method is incredibly effective, here are a few things to keep in mind:

  • No App Downloads Required: This process uses Android's native networking capabilities, meaning you don't need to run a battery-draining VPN or install third-party ad-blocking apps.
  • How to Revert: If you ever need to turn it off (for instance, if a specific public Wi-Fi network requires a landing page login that refuses to load), simply return to the Private DNS settings menu and switch it back to Automatic or Off.
  • YouTube App Ads: Note that this method blocks most web, app, and game ads, but it cannot block ads embedded directly within the official YouTube app, as those ads are served from the same servers as the videos themselves.
← Explore more solutions