The three ways to remove ads from YouTube

YouTube shows ads in three places: before a video starts, during the video, and in the sidebar. You have three options to stop them: pay for YouTube Premium, use a browser extension that blocks ads, or switch to a different video player that doesn't serve YouTube's ads.

YouTube Premium costs $13.99 per month in the US (prices vary by country and change over time). It removes all ads from videos you watch, lets you download videos to watch offline, and plays videos in the background if you close the YouTube app. If you don't want to pay, ad blockers work on desktop browsers but not reliably on the YouTube app. A third option is to use alternative players like Invidious or Piped, which pull videos from YouTube but strip out the ads — though these exist in a legal gray area and YouTube actively works to block them.

Key Takeaways

  • YouTube Premium removes all ads for $13.99 per month and works on every device where you use YouTube.
  • Ad blockers like uBlock Origin stop ads on desktop browsers but do not work inside the YouTube mobile app.
  • Browser extensions that block ads may slow down your computer slightly and occasionally break YouTube features like autoplay or recommendations.
  • Alternative video players like Invidious bypass YouTube's ads entirely but may not have all of YouTube's features and are not officially supported by YouTube.

Using YouTube Premium to remove all ads

YouTube Premium is the official way to remove ads. You pay a monthly subscription and ads disappear from every video on every device where you sign in — phone, tablet, computer, smart TV. You also get YouTube Music included, which is Spotify's main competitor.

To start, go to youtube.com on any device, click your profile picture in the top right corner, and select "Get YouTube Premium". YouTube will show you the current price for your country and let you choose monthly or annual billing. You can cancel anytime, and your access ends at the end of the billing period you paid for. If you have a Google Play subscription or use YouTube through a family plan, the cost may be different.

The main downside is cost. If you watch YouTube for an hour or more most days, Premium usually pays for itself in convenience. If you watch occasionally, an ad blocker is cheaper.

Installing an ad blocker on your desktop browser

Ad blockers are free browser extensions that intercept ads before they load. The most reliable one for YouTube is uBlock Origin, which works on Chrome, Firefox, Edge, and Safari. It blocks YouTube's pre-roll ads (the ones before the video starts), mid-roll ads (during the video), and sidebar ads.

To install uBlock Origin on Chrome: go to the Chrome Web Store, search for "uBlock Origin", click the extension by Raymond Hill, and click "Add to Chrome". A popup will ask for permission — click "Add extension". A small icon will appear in your toolbar. That's it. Ads will stop appearing on YouTube within seconds.

On Firefox, the process is the same but you go to addons.mozilla.org instead. On Edge, use the Edge Add-ons store. On Safari, uBlock Origin is available but requires a few extra steps in System Preferences.

The tradeoff is that ad blockers occasionally break features. YouTube's autoplay sometimes stops working, recommendations may not load, or the search bar might lag. These issues are usually temporary and fix themselves when YouTube updates. If something breaks, you can temporarily disable uBlock Origin by clicking its icon and selecting "Disable on this site".

Why ad blockers don't work on the YouTube app

Ad blockers work by intercepting requests between your browser and YouTube's servers. On desktop, your browser controls what loads. On the YouTube mobile app, YouTube controls everything — the app itself is the player, so ad blockers running in your browser can't touch it.

Some people use VPNs or DNS-level blockers (like Pi-hole) hoping to block YouTube ads on mobile, but YouTube detects these and either blocks the video or forces you to watch the ad anyway. YouTube Premium is the only reliable way to remove ads on phones and tablets.

Using alternative video players to bypass ads

Sites like Invidious and Piped are third-party players that fetch videos from YouTube but don't show YouTube's ads. You paste a YouTube URL into their search bar, and the video plays ad-free. They're free and work on desktop and mobile browsers.

The catch is that these services exist in legal gray area. YouTube's terms of service forbid scraping videos this way, and YouTube regularly blocks the IP addresses these sites use, forcing them to move to new servers. Some instances go down for weeks. They also don't have all of YouTube's features — you can't access your subscriptions, watch history, or playlists the same way, and live streams often don't work.

If you want to try one, Invidious (invidious.io) and Piped (piped.kavin.rocks) are the most stable, but check which instances are currently working by searching "Invidious instances" or "Piped instances" — the main domains change frequently.

What happens if you use an ad blocker and YouTube detects it

YouTube can detect when you're using an ad blocker. When it does, you'll see a message saying "Ad blockers aren't allowed on YouTube" and the video won't play until you disable the blocker. This doesn't happen to everyone — YouTube tests this on different users at different times.

If you see this message, you have three options: disable the ad blocker for YouTube, switch to YouTube Premium, or use an alternative player. YouTube is gradually rolling out these detection prompts, so more users will see them over time. If you want to keep using an ad blocker without interruption, Premium is the most reliable long-term solution.

Comparing your options side by side

OptionCostWorks on mobile appRemoves all adsIncludes extra features
YouTube Premium$13.99/monthYesYesYouTube Music, offline downloads, background play
Ad blocker (uBlock Origin)FreeNoYes, on desktopNone
Alternative player (Invidious)FreeYesYesNone; fewer features than YouTube

Frequently Asked Questions

Is it illegal to use an ad blocker on YouTube?

No, using an ad blocker is legal. YouTube's terms of service say you can't use ad blockers, but that's a contract rule, not a law. YouTube can refuse to show you videos if you use one, but they can't prosecute you. Many people use ad blockers, and it's a common practice across the internet.

Will YouTube Premium work if I share my account with family?

Yes. YouTube Premium includes a family plan option that costs more than a single subscription but lets up to six people use it. Each person gets their own account and their own ad-free experience. You set it up in your Google Account settings under "Manage your Google Account" and then "Manage your family group".

Can I use an ad blocker and YouTube Premium at the same time?

Yes, but there's no point. YouTube Premium already removes all ads, so the ad blocker won't do anything extra. Having both won't cause problems — they just won't interfere with each other.

What if I use YouTube on a smart TV or gaming console?

Ad blockers don't work on these devices because they don't use a browser. YouTube Premium is your only option to remove ads on a TV, PlayStation, Xbox, or Roku. Alternative players sometimes have apps for these platforms, but they're less reliable than on desktop.

Does disabling JavaScript stop YouTube ads?

No. Disabling JavaScript breaks YouTube entirely — videos won't play at all. Ad blockers work because they target the ad code specifically, not all code. Turning off JavaScript is too blunt a tool and will make the site unusable.