Skip to content

How to Block Ads on X (Twitter) — 2026 Guide

X (Twitter) mixes promoted posts and ads directly into your feed. Here's how to block them using DNDShield in your browser, and why it works differently from video-platform ad blocking.

How to Block Ads on X (Twitter) — 2026 Guide

X (formerly Twitter) mixes promoted posts directly into your timeline, plus ads in the "Who to follow" and trends panels. Here's how to cut them down using DNDShield in your browser.

Use X in your browser, not the app

Ad blockers run in browsers, not inside mobile apps — so the first step is using x.com in a browser with DNDShield installed, rather than the X app.

  1. Install DNDShield on Chrome, Edge, Firefox, or Opera.
  2. Go to x.com and log in.
  3. Promoted posts and ad panels are blocked automatically — no per-site setup needed.

What gets blocked

  • Promoted posts mixed into your timeline.
  • Ads in the "Who to follow" and trends sidebar.
  • Tracking scripts X and its ad partners use to build ad profiles — see What is online tracking?.

Why this isn't a "dedicated X blocker"

Unlike YouTube, Twitch, Dailymotion, or Crunchyroll — where DNDShield runs dedicated logic to catch in-player video ads — X's ads are regular feed posts marked as promoted. DNDShield handles them the same way it handles any page: network-level ad/tracker blocking plus cosmetic filtering that hides recognized ad markup. That's usually enough to catch the vast majority of promoted content, though X does change its markup from time to time.

Browser vs. app

FeatureBrowser + DNDShieldX app
Promoted postsBlockedShown
Trend/sidebar adsBlockedShown
Push notificationsNoYes
DMsYesYes

FAQ

Can X (Twitter) ban me for using an features" class="doc-internal-link">ad blocker? No. You're using X's own website — the ad blocker runs in your browser, not on X's servers.

Does this remove every promoted post? It removes what filter lists and cosmetic rules recognize as a promoted/ad element in the feed. X changes its markup periodically, so an occasional promoted post may briefly slip through until lists catch up — most are caught.

Does this work on the X mobile app? No — an ad blocker only works in a browser. Use x.com in a mobile browser that supports extensions (like Firefox for Android) instead of the app if you want ads blocked on mobile.

Will this block tweets from accounts I follow, or just ads? Just ads and promoted content — DNDShield's filtering targets known ad/sponsored markup, not regular posts from accounts you follow.


Get started: Install DNDShield · Remove Facebook ads · Block Instagram ads