Ad blocking on Windows 10 reduces intrusive advertisements in browsers and apps by using built-in features, browser extensions, or system-level tools, improving browsing speed, privacy, and user experience without requiring paid software.

What You'll Need

  • A Windows 10 PC (version 1607 or later recommended)
  • Administrator access to install software or change settings
  • A supported web browser (Microsoft Edge, Google Chrome, Mozilla Firefox, or Brave)
  • An active internet connection to download tools

Step-by-Step

  1. Open Microsoft Edge and click the three-dot menu in the top-right corner, then select "Extensions" from the dropdown.
  2. In the Extensions page, click "Get extensions from Microsoft Store" to open the Store.
  3. Search for "uBlock Origin" in the Microsoft Store search bar and select the official extension by Raymond Hill.
  4. Click "Get" to install uBlock Origin, then confirm any prompts to add the extension to Edge.
  5. Once installed, click the uBlock Origin icon in the toolbar to open its dashboard and verify it is active (the power symbol should be blue).
  6. To block ads in Chrome, open Chrome, go to the Chrome Web Store, search for "uBlock Origin", and click "Add to Chrome".
  7. For Firefox, open the browser, click the menu, select "Add-ons and themes", then search for "uBlock Origin" and add it.
  8. After installation, visit a known ad-heavy website (like a news site) to confirm ads are no longer appearing.
  9. Optional: To block ads system-wide in some apps, open Settings > Privacy & Security > Windows Security > App & browser control > Reputation-based protection settings.
  10. Under Reputation-based protection, ensure "Check apps and files" is turned on to help block potentially unwanted apps that may deliver ads.
  11. For advanced users, open the Start menu, search for "Notepad", right-click it, and select "Run as administrator".
  12. In Notepad, open the file located at C:\Windows\System32\drivers\etc\hosts.
  13. Add lines to block known ad domains (e.g., 127.0.0.1 doubleclick.net) — only use trusted sources like StevenBlack’s hosts file to avoid errors.
  14. Save the hosts file, then flush the DNS cache by opening Command Prompt as admin and running "ipconfig /flushdns".
  15. Restart your browser or reboot the PC to ensure all changes take full effect.

Common Mistakes

  • Installing ad blockers from unofficial websites, which may contain malware or fake extensions.
  • Blocking too many domains in the hosts file without testing, which can break legitimate websites or services.
  • Forgetting to restart the browser after installing an extension, leading to the belief it isn’t working.
  • Disabling Windows Defender SmartScreen or reputation protection, which can increase exposure to ad-related threats.
  • Assuming one ad blocker works everywhere — some apps (like Spotify or free games) may still show ads unless using a dedicated tool.

Tips

  • Use uBlock Origin — it is lightweight, open-source, and effective across Edge, Chrome, and Firefox.
  • Keep your ad blocker updated; most update automatically, but check the extensions page monthly.
  • Enable "Filter lists" in uBlock Origin settings and ensure "EasyList" and "EasyPrivacy" are active for broad coverage.
  • Combine browser-based blocking with Windows SmartScreen for layered protection against malicious ads.
  • If a site breaks due to ad blocking, temporarily disable the extension for that site via the uBlock Origin popup instead of turning it off globally.
  • Consider using Brave browser, which has built-in ad and tracker blocking without needing extensions.
  • Avoid running multiple ad blockers simultaneously, as they can conflict and reduce performance.

Troubleshooting

  • If ads still appear after installing uBlock Origin, click the extension icon and ensure it is enabled (not paused).
  • Check that the correct filter lists are subscribed to — go to uBlock Origin settings > Filter lists and verify EasyList is checked.
  • If a website blocks access due to ad detection, add it to the allowlist in uBlock Origin by clicking the power button on the site.
  • If the hosts file edit caused internet issues, restore the original hosts file from a backup or delete custom entries and flush DNS again.
  • If you cannot save the hosts file, ensure you opened Notepad as administrator — standard user access will fail.
  • If extensions won’t install in Edge, go to Settings > Extensions > toggle on "Allow extensions from other stores" if using Chrome Web Store links.
  • After a Windows update, recheck that your ad blocker is still enabled — updates can sometimes reset browser settings.
  • If pop-ups persist, enable Edge’s built-in pop-up blocker: Settings > Cookies and site permissions > Pop-ups and redirects > set to "Blocked".

Frequently Asked Questions

Does ad blocking slow down my computer?

No — ad blocking typically improves performance by reducing the amount of data loaded, especially on ad-heavy sites.

Can I block ads in Windows 10 apps like Mail or Weather?

Some apps show ads that cannot be blocked via browser extensions; limiting ad personalization in Settings > Privacy > General may help reduce targeted ads.

Is it legal to block ads on websites?

Yes, using ad blockers is legal in most regions, though some websites may restrict access if they detect ad blocking.

Will ad blocking protect me from malware?

It can reduce risk by blocking malicious ad networks (malvertising), but it is not a substitute for antivirus software or safe browsing habits.

Do I need to pay for an effective ad blocker?

No — uBlock Origin is free, open-source, and widely regarded as one of the most effective options available.

Can ads still appear on YouTube with an ad blocker?

uBlock Origin usually blocks YouTube ads, but YouTube occasionally changes its delivery methods — updating the filter lists resolves most issues.