HomeSafariChromeSystem-WidePrivacyYouTubeAboutContact

Block YouTube Ads on Mac — Every Method Tested & Ranked

Eliminate pre-roll, mid-roll, and banner advertisements from YouTube using browser extensions, DNS filtering, and alternative front-ends.

17 min read Updated October 2025Intermediate

Why YouTube Ads Are Different

Blocking YouTube advertisements is not the same as blocking banner ads on a typical news website. YouTube is owned by Google, which operates the world's largest advertising network and has every commercial reason to make ad blocking as difficult as possible on its own platform. Understanding why this specific battle is harder helps you choose the right tools for the job and know what to expect when things change.

On a normal website, advertisements are delivered from third-party domains such as doubleclick.net, googlesyndication.com, or adnxs.com. Blocking these domains at the network or browser level removes the ads with surgical precision because the content you want is on one domain and the content you don't want is on another. YouTube is different because advertisements are stitched into the same video stream, served from the same googlevideo.com infrastructure that delivers the actual content. You cannot simply block an entire domain without breaking playback.

Instead, ad blockers for YouTube operate at a higher level. They inspect the page's internal API responses, identify which segments represent advertisements, and skip past them automatically before the player ever renders them to the viewer. This is a cat-and-mouse arms race: Google continuously changes the structure of its responses, and ad-blocker maintainers push updates within hours or days to keep pace. If you've ever experienced a brief window where ads suddenly started appearing again, that was the handful of hours between a YouTube change and a filter list update.

Key insight: Keep your ad-blocking extension and filter lists updated automatically. Manual configurations go stale within weeks on YouTube specifically. The gap between a Google-side change and a working countermeasure is the single biggest reason users think ad blocking has stopped working.

Another complication is that Google began experimenting with aggressive anti-adblock prompts in 2023 and expanded them globally through 2024 and 2025. These prompts detect when an ad blocker is active, pause the video, and demand that you either allow ads or purchase YouTube Premium. The tools we recommend in this guide account for these prompts and either suppress them entirely or work around them in ways that keep playback smooth.

uBlock Origin — The Gold Standard for Chromium Browsers

If you use Chrome, Brave, Opera, Vivaldi, Arc, or any other Chromium-based browser on your Mac, uBlock Origin remains the single most effective tool for eliminating YouTube advertisements. It is free, open source, maintained by Raymond Hill with contributions from a dedicated community, and it blocks pre-roll, mid-roll, overlay, companion banner, and homepage shelf advertisements by default.

Installation is simple. Open the Chrome Web Store or your browser's equivalent, search for uBlock Origin, verify that the publisher is Raymond Hill, and click install. Do not install uBlock without the "Origin" suffix — that is a different project with different maintainers that forked years ago and operates on an entirely different business model.

Manifest V3 note: Google is retiring the extension API that uBlock Origin relies on. As of mid-2025, the classic uBlock Origin extension no longer functions in standard Chrome. On Chrome specifically, use uBlock Origin Lite (same author, reduced capability) or switch to Brave, Vivaldi, or Opera which continue to support the full version. On Safari, use AdGuard for Safari instead.

Once installed, uBlock Origin works immediately with its default filter lists, which already include YouTube-specific rules. Click the extension icon in your toolbar and open the dashboard to verify these filter lists are enabled:

Recommended uBlock Origin filter lists for YouTube
Built-in
  - uBlock filters
  - uBlock filters – Ads
  - uBlock filters – Annoyances

Regions, languages
  - (your preferred language list)

Ads
  - EasyList
  - AdGuard Base

Annoyances
  - EasyList – Annoyances
  - uBlock Annoyances – Annoyances

In the dashboard's Settings tab, enable "I am an advanced user" to unlock dynamic filtering, which lets you create permanent rules that override anti-adblock scripts. For most readers the default configuration is sufficient; power users will appreciate the granular control.

Performance is a frequent concern. uBlock Origin is actually the least resource-intensive mainstream ad blocker because it uses deterministic matching rather than running JavaScript on every page. On a modern Mac, memory overhead is typically under 60 MB and CPU usage during playback is negligible.

AdGuard — The All-Platform Choice

AdGuard is a commercial ad blocker (with a generous free Safari extension) that stands out because it works across every browser and even blocks ads in standalone Mac applications when you install the full desktop app. For users who want one solution that covers Safari, Chrome, Firefox, and the YouTube iOS app running under iPadOS or in simulators, AdGuard is the pragmatic choice.

There are three AdGuard products relevant to Mac users:

  1. AdGuard for Safari — a free Safari content blocker available from the Mac App Store that handles YouTube ads inside Safari specifically.
  2. AdGuard for Mac — the full desktop application, which installs a local proxy that filters traffic from every browser and app simultaneously. Paid, with a 14-day trial.
  3. AdGuard Browser Extension — a free extension for Chrome, Firefox, and Edge that works similarly to uBlock Origin.
AdGuard is the only mainstream solution that blocks YouTube ads inside Safari, Chrome, and even Electron-based desktop apps simultaneously through a single, unified filter system.

The desktop application works by routing your Mac's web traffic through a local proxy at 127.0.0.1 on a high port, then filtering requests before they reach the browser. This architecture is what enables it to block ads inside applications like the Discord desktop client, Spotify, and even some video games that stream advertisements.

Configuring AdGuard for Maximum YouTube Effectiveness

After installation, open AdGuard's preferences and navigate to Filters. Enable the following filter categories:

AdGuard filter configuration
Ads
  - AdGuard Base filter
  - AdGuard Mobile Ads filter

Annoyances
  - AdGuard Annoyances filter
  - AdGuard Social Media filter

Other
  - AdGuard Experimental filter (optional)
  - EasyList
  - Peter Lowe's List

In the Stealth Mode settings, enable "Hide your search queries" and "Block trackers" to further reduce the data YouTube collects about your viewing habits. These settings do not interfere with playback.

Safari Content Blockers for YouTube

Safari on macOS uses a fundamentally different extension architecture than Chrome. Rather than running arbitrary JavaScript on every page, Safari extensions declare rules in advance and let the browser engine apply them at the networking layer. This design is excellent for performance and battery life, but it means Safari extensions cannot do the kind of dynamic in-player manipulation that uBlock Origin performs on Chrome.

For YouTube specifically, this architectural choice means Safari content blockers can hide ad containers and prevent some ad network requests, but they struggle with inline video advertisements that are served from the same origin as the content. The result is that Safari users typically see fewer banner and shelf advertisements but may still occasionally encounter pre-roll ads unless they combine a content blocker with a DNS-level solution.

Our top recommendations for Safari are:

  • AdGuard for Safari — the most effective free content blocker specifically for YouTube.
  • Wipr 2 — paid, lightweight, no configuration required, maintained by a single developer with excellent update frequency.
  • 1Blocker — paid, highly customizable with per-site rules and category toggles.
  • StopTheMadness Pro — not primarily an ad blocker but includes several YouTube-specific annoyance filters.
Combination strategy: Safari users achieve the best YouTube results by stacking a content blocker (for banners and shelves) with a DNS resolver (for pre-roll). This hybrid approach costs nothing beyond the one-time content blocker purchase and requires no ongoing maintenance.

DNS-Level YouTube Ad Blocking

DNS-level blocking operates below the browser layer. When your Mac tries to connect to a tracking or ad-serving domain, a filtering DNS resolver returns a non-answer and the connection never happens. This technique is universal — it affects every browser, every application, and every device on your network if configured at the router level.

The honest limitation is that DNS blocking cannot cleanly remove YouTube pre-roll ads because, as discussed earlier, those ads come from the same domain as the videos. However, DNS blocking is excellent for stopping YouTube's tracking beacons, companion banner networks, and the measurement pixels that follow you around the rest of the web after a YouTube session.

The most reliable providers are:

ProviderPrimary DNSSecondary DNSBlocks YouTube TrackersFree Tier
AdGuard DNS94.140.14.1494.140.15.15YesYes
NextDNSCustom endpointCustom endpointYes300k queries/mo
Control DCustom endpointCustom endpointYesLimited
Mullvad DNS194.242.2.3193.19.108.3PartialYes
Pi-hole (self-host)Your Pi IPYour Pi IPYes (with lists)Yes

To configure a filtering DNS on macOS, open System Settings, choose Network, select your active connection, click Details, and open the DNS tab. Add the primary and secondary addresses from your chosen provider at the top of the list and remove any ISP-assigned servers to prevent fallback.

Terminal — set AdGuard DNS on your active interface
# list network services
networksetup -listallnetworkservices

# apply AdGuard DNS to Wi-Fi (replace with your service name)
sudo networksetup -setdnsservers "Wi-Fi" 94.140.14.14 94.140.15.15

# verify
networksetup -getdnsservers "Wi-Fi"

# flush local resolver cache
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

SponsorBlock — Skipping Sponsors Inside Videos

Even after you've eliminated every advertisement YouTube serves, creators themselves insert sponsored segments into their videos. These are the "this video is sponsored by…" interludes that interrupt the content you came to watch. SponsorBlock is a crowd-sourced browser extension that identifies these segments based on viewer submissions and skips them automatically.

SponsorBlock categorizes segments into Sponsor, Self-Promotion, Interaction Reminder (like-and-subscribe prompts), Intro, Outro, Preview/Recap, Non-Music (on music videos), and Filler Tangent. Each category can be set to skip automatically, prompt before skipping, or display a marker on the timeline for manual control.

Install SponsorBlock on both desktop and mobile if you use YouTube across devices. The desktop version is available for every Chromium browser and Firefox; the mobile companion app is called SmartTube on Android and the official SponsorBlock app syncs settings across platforms.

SponsorBlock is complementary to any ad blocker. It handles creator-inserted content, not platform-delivered advertisements. Running both delivers the cleanest viewing experience possible.

Alternative YouTube Front-Ends

A YouTube front-end is a separate website or application that lets you watch YouTube videos without visiting youtube.com. Front-ends scrape or proxy video streams, strip advertisements before they ever reach you, and present the content in a stripped-down interface. The three most popular are:

  1. Invidious — open source, self-hostable, and operated by a loose federation of volunteer-run public instances. Zero advertisements, no tracking, no login required.
  2. Piped — a lighter-weight alternative with a React-based interface and SponsorBlock integration built in. Also federated across public instances.
  3. FreeTube — a desktop application for Mac that runs locally and connects directly to YouTube's internal APIs without a browser. Includes SponsorBlock, no tracking, and local subscription management that never touches a Google account.

Public Invidious and Piped instances occasionally go offline or get rate-limited by YouTube. For a stable experience, run FreeTube locally — it is the most reliable option because it does not depend on any shared server. FreeTube is available from freetubeapp.io and installs like any other Mac application.

Method Comparison — Side by Side

With so many approaches, the question becomes which to actually use. The table below summarizes effectiveness, difficulty, and cost for every method covered in this guide.

MethodBlocks Pre-RollBlocks Mid-RollBlocks BannersBlocks SponsorsDifficultyCost
uBlock Origin (Chromium)YesYesYesNoEasyFree
AdGuard for SafariPartialPartialYesNoEasyFree
AdGuard for Mac (full app)YesYesYesNoEasyPaid
Filtering DNS (AdGuard DNS, NextDNS)NoNoPartialNoMediumFree–Paid
Pi-hole or local DNSNoNoYesNoHardHardware cost
SponsorBlockNoNoNoYesEasyFree
FreeTube / Invidious / PipedYesYesYesWith SponsorBlockEasy–MediumFree
YouTube PremiumYesYesYesNoEasyMonthly fee

YouTube Premium — The Pay-to-Remove Option

We cannot write an honest guide about YouTube advertisements without acknowledging that paying YouTube directly is an option. YouTube Premium removes all platform-served advertisements, enables background playback on mobile devices, includes a YouTube Music subscription, and permits offline downloads inside the official app.

Premium does not block creator-inserted sponsor segments, so SponsorBlock remains valuable even for subscribers. It also does not affect the amount of personal data YouTube collects — if privacy is a primary concern alongside ad removal, a front-end like FreeTube is a stronger choice.

YouTube Premium is the only ad-removal method that directly compensates the creators you watch. For viewers who watch heavily and want to support the ecosystem, it is a defensible choice. For everyone else, the free tools in this guide work equally well.

Pricing varies by region. In the United States, individual plans run around $13.99 per month, family plans around $22.99, and student plans around $7.99. Family plans can share with up to five additional household members.

Browser-Specific Tips

Safari on macOS

Safari's limitations with YouTube ad blocking are architectural, not a lack of effort by extension developers. The best Safari-specific strategies are: install AdGuard for Safari, enable all its filters, add a filtering DNS at the system level, and consider Wipr 2 as a lightweight secondary. If pre-roll ads still appear, open the problem video in a Chromium browser with uBlock Origin as a one-off.

Chrome

Google's Manifest V3 rollout has crippled traditional ad blockers in standard Chrome. If you insist on using Chrome, install uBlock Origin Lite from the Chrome Web Store — it is a reduced-capability version maintained by the same author. Alternatively, use the AdGuard browser extension, which has adapted to Manifest V3 and continues to work well on YouTube.

Brave

Brave includes a built-in ad blocker called Shields that handles YouTube advertisements without any extension installation. Open Brave Settings, go to Shields, and ensure "Trackers & ads blocking" is set to Aggressive. For most users, this configuration alone eliminates every YouTube ad with no further setup.

Firefox

Firefox retains full support for the classic WebExtensions API, so uBlock Origin works identically to how it worked in Chrome before Manifest V3. Firefox is the most future-proof Mac browser choice for serious ad-blocking users.

Terminal — install Firefox and uBlock Origin via Homebrew
# install Firefox
brew install --cask firefox

# Firefox will prompt to open uBlock Origin install page
open "https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/"

Dealing With Anti-Adblock Detection

Starting in late 2023, YouTube began displaying a modal popup to users with active ad blockers. The popup pauses playback and insists that ad blockers are "not allowed on YouTube" and that you must either disable them or subscribe to Premium. The exact wording has evolved; the mechanism is consistent.

Modern ad blockers handle these popups automatically. If you still see them, the fix is almost always to update your filter lists manually. In uBlock Origin, click the extension icon, open the dashboard, go to the Filter lists tab, and click "Update now" at the top. In AdGuard, use the Preferences → Filters menu and click "Check for updates."

Do not install "anti-adblock killers" from random GitHub repositories. Several malicious extensions have been uploaded with this branding, and some are actually spyware. Stick to the official filter lists shipped with uBlock Origin and AdGuard — those teams respond to anti-adblock measures within hours of YouTube deploying them.

If you consistently see the anti-adblock popup even after updating lists, verify that only one ad-blocking extension is active. Running two blockers simultaneously can cause rule conflicts that leak detection scripts through gaps between the two systems.

Summary & Recommendations

YouTube ad blocking is solvable in 2025 despite Google's considerable efforts to make it inconvenient. The method you should choose depends on which browser you prefer, how much maintenance you tolerate, and whether you want to block creator sponsors as well as platform ads.

  • For most Chromium users: uBlock Origin (on Brave, Vivaldi, Opera, or Firefox) remains the single best choice. Pair with SponsorBlock for a complete experience.
  • For Safari users: AdGuard for Safari plus a filtering DNS (AdGuard DNS or NextDNS) delivers the best Safari-native experience without switching browsers.
  • For privacy-focused users: FreeTube as the primary YouTube client, with a filtering DNS as a system-wide backstop.
  • For set-it-and-forget-it users: AdGuard for Mac desktop app, which covers every browser and every app on your Mac with a single subscription.
  • For users who want to support creators: YouTube Premium plus SponsorBlock. You skip only the creator-inserted segments while the platform-served ads are removed by paying for the service.

Whatever path you choose, keep your tools updated. YouTube's anti-adblock engineering is an ongoing project at Google, and the filter maintainers who counter it rely on frequent updates to stay ahead. Set your extensions to auto-update, check your DNS provider's status page occasionally, and revisit this guide every few months as the landscape shifts.

The goal is a browsing experience where you can open YouTube, click a video, and watch it from start to finish without a single interruption. With the right combination of the tools covered here, that experience is entirely achievable on macOS today — and will remain achievable tomorrow, provided the community of maintainers continues the quiet, unglamorous work of keeping these tools current. Support them when you can.