What actually blocks ads, and what doesn't
Ad blockers work by filtering out the code that loads advertisements before they reach your screen. The most effective ones intercept requests to ad servers — the computers that deliver ads — and prevent those requests from completing. This means the ad never loads at all, rather than loading and then being hidden.
Some ad blockers are browser extensions you install yourself. Others are built into your browser. A few work at a different level entirely — on your home network or device — and block ads across every app and website you use. Each approach has trade-offs in how much they block, how much they slow your browser, and how many websites will still work properly.
It's worth knowing upfront: no ad blocker blocks everything. Some websites detect ad blockers and refuse to load unless you turn them off. Some ads are embedded so deeply in a page's code that blockers can't separate them from the content you actually want to see. And blocking ads does mean websites lose the money they would have made from showing you those ads — which is why many news sites, video platforms, and forums ask you to turn off your blocker or pay for an ad-free version.
Key Takeaways
- Browser extensions like uBlock Origin and Adblock Plus are free, easy to install, and block most ads on most websites without slowing your browser noticeably.
- Some websites detect ad blockers and either refuse to load or show a message asking you to turn them off — you can usually whitelist those sites to let ads through.
- Video platforms like YouTube have their own ad-blocking detection, and most ad blockers struggle to block YouTube ads specifically.
- Network-level blockers like Pi-hole block ads across your entire home network but require more technical setup and don't work on mobile devices outside your home.
- Blocking ads means websites lose revenue, so consider supporting creators you value through subscriptions or by whitelisting their sites.
Browser extensions: the easiest starting point
The simplest way to block ads is to install an ad-blocking extension in your browser. These are small programs that run inside your browser and filter ads as pages load. You install them once, and they work automatically on every website you visit.
uBlock Origin is the most widely recommended option. It's free, open-source (meaning anyone can inspect its code), and blocks ads on most websites without noticeably slowing your browser. It's available for Chrome, Firefox, Safari, and Edge. After you install it, you can click the uBlock icon in your browser toolbar to see what it blocked on the current page, or to temporarily turn it off for a specific site.
Adblock Plus is another popular choice, also free and available on all major browsers. It works similarly to uBlock Origin but has a different philosophy: it allows some ads through by default (ones it considers "non-intrusive"), though you can change this setting. Some people prefer this approach because it still lets websites earn some revenue.
Both extensions let you whitelist specific websites — meaning you can tell the blocker to stop blocking ads on sites you want to support, or sites that don't work properly with the blocker on. To whitelist a site in uBlock Origin, click the uBlock icon, then click the power button next to the site name. The setting stays in place until you change it.
When websites block your ad blocker
Some websites detect that you're using an ad blocker and respond by either refusing to load or showing a message asking you to turn it off. This happens because the site's revenue depends on ad views, and they want to make sure you see those ads.
You have a few options. The simplest is to whitelist the site in your ad blocker — this tells the blocker to stop filtering ads on that specific domain. If you do this, ads will load normally and the website will work. This is a reasonable choice if you visit the site regularly and want to support it.
If you don't want to whitelist the site, you can try temporarily disabling your ad blocker entirely (most extensions have a button to turn them off for the current session), load the page, then turn the blocker back on. Some websites only check for ad blockers once when the page first loads, so this workaround sometimes works.
A third option is to use a different browser or a private browsing window, where your ad blocker might not be active. But this is inconvenient and only works if you're willing to browse without the blocker sometimes.
Blocking ads on YouTube and video platforms
YouTube is notoriously difficult for ad blockers to handle. YouTube's parent company, Google, actively works to make ad blockers less effective on the platform. Most browser-based ad blockers struggle to block YouTube ads consistently, and YouTube frequently updates its code to work around them.
Some ad blockers have special filters specifically for YouTube, but these don't always work and may break other YouTube features. If blocking YouTube ads is important to you, the most reliable option is YouTube Premium, which is a paid subscription that removes ads across the platform. It costs around $14 per month, though the price varies by country and YouTube sometimes offers discounts.
Other video platforms like Vimeo and Dailymotion are generally easier for ad blockers to handle, since they don't have the same resources Google does to fight blockers. If you watch videos on multiple platforms, your ad blocker will likely work better on some than others.
Network-level blockers: blocking ads across your entire home
A network-level ad blocker works differently from browser extensions. Instead of filtering ads inside your browser, it filters them at your home network level — meaning it blocks ads on every device connected to your Wi-Fi, including phones, tablets, smart TVs, and computers.
Pi-hole is the most popular network-level blocker. It's free and open-source, but it requires some technical setup: you install it on a small computer (like a Raspberry Pi, which costs $35 to $75) and configure it to act as your network's DNS server. DNS is the system that translates website addresses into the numbers computers use to find them. By controlling your DNS, Pi-hole can block requests to ad servers before they even leave your network.
The advantage of Pi-hole is that it blocks ads on every device at once, without needing to install anything on each device. The disadvantages are that it requires more technical knowledge to set up, it only works on your home network (not on mobile devices when you're away from home), and some websites may not work properly if Pi-hole blocks something it shouldn't.
If network-level blocking interests you but Pi-hole seems too technical, some home routers have built-in ad-blocking features, though these are usually less powerful than Pi-hole. Check your router's settings or manual to see if this option is available.
What ad blockers can and cannot do
Ad blockers are very good at blocking banner ads, pop-up ads, and ads that load from external ad servers. They're less effective at blocking ads that are woven directly into a website's code or ads that come from the same server as the website itself. For example, if a news site writes its own ads and hosts them on its own servers, an ad blocker may not be able to distinguish those ads from the actual content.
Ad blockers also can't block ads that appear in apps on your phone or tablet, unless the app itself has a built-in ad-blocking feature. If you want to reduce ads in mobile apps, you'll need to look for ad-free versions of those apps, or use a network-level blocker like Pi-hole.
Finally, ad blockers don't protect your privacy in the way a VPN or privacy-focused browser does. They stop ads from loading, but they don't stop websites from tracking your activity or collecting data about you. If privacy is your main concern, you may want to combine an ad blocker with other privacy tools.
The trade-off: websites need ad revenue
It's important to understand that most websites, news outlets, video creators, and online services rely on ad revenue to stay running. When you block ads, those sites lose money. This is why many sites ask you to turn off your blocker, or offer ad-free versions for a subscription fee.
If you regularly visit a website or watch a creator you value, consider whitelisting their site in your ad blocker, or paying for an ad-free subscription if they offer one. This is how many creators and publishers stay independent and keep producing content. You don't have to support every site you visit, but supporting the ones that matter to you helps keep them going.
Frequently Asked Questions
Will an ad blocker slow down my browser?
Good ad blockers like uBlock Origin have minimal impact on browser speed. They may actually speed things up slightly, since ads often contain heavy scripts and images that take time to load. Poor-quality ad blockers or ones with too many filters enabled can slow your browser, but the popular options are designed to be lightweight.
Can websites see that I'm using an ad blocker?
Yes, websites can detect that an ad blocker is active, which is why some sites refuse to load or ask you to turn it off. However, the website can't see which ad blocker you're using or what specific ads you're blocking — it just knows that ads aren't loading. This detection is one reason some ad blockers include anti-detection features, though these don't always work.
Is it legal to use an ad blocker?
Yes, ad blockers are legal in most countries. Websites can ask you to turn them off, and they can refuse to serve content to users with ad blockers active, but they can't legally punish you for using one. Some websites have terms of service that say you agree not to use ad blockers, but enforcing this is difficult and rare.
Will an ad blocker protect me from malicious ads?
Ad blockers do block some malicious ads by preventing them from loading, but they're not a complete security solution. Some malware is delivered through legitimate ad networks, and some attacks don't rely on ads at all. Use an ad blocker as one layer of protection, but also keep your browser and operating system updated, and be cautious about what you click on.
What's the difference between an ad blocker and a tracker blocker?
Ad blockers stop ads from loading. Tracker blockers stop websites and advertisers from following your activity across the internet. Some tools do both, but they're separate functions. A tracker blocker won't remove ads from your screen, but it will reduce how much data companies collect about your browsing habits.