Roboin Blog

How to fix an X bug that shows blocked or muted accounts in search results

スマートフォンのホーム画面の「Social Media」フォルダーの中にFacebook、Messenger、Instagram、WhatsApp、Xのアプリが表示されている写真

X has a bug where accounts you have blocked or muted still appear in search results. With this bug, X shows blocked and muted accounts even when you have turned on [Remove blocked and muted accounts] in Search settings.

In this article, I explain the details of the bug that causes blocked or muted accounts to appear in search results and how to work around it.

Advertisement
Table of Contents

Bug that shows blocked and muted accounts in search results

X lets you hide accounts you have blocked or muted from search results by turning on [Remove blocked and muted accounts] in Search settings from the menu that appears in search results.

The [Top] tab still respects the [Remove blocked and muted accounts] setting. The [Latest] tab, however, shows accounts you have blocked or muted in search results regardless of the setting.

I confirmed that accounts I had blocked or muted appeared in the [Latest] tab on X for Web, X for Android, and X Lite for Android.

Workarounds

You have several ways to work around the bug that shows blocked and muted accounts in search results. I’ll cover three.

Use the [Top] tab

The easiest workaround uses the [Top] tab, where the setting still works.

Advertisement

The [Top] tab does not show posts in chronological order, and it may not show every post. It does let you search while hiding accounts you have muted or blocked.

  1. Search for any keyword

  2. Make sure the [Remove blocked and muted accounts] setting is turned on

  3. Open the [Top] tab

To check only recent posts in the [Top] tab, use the since: operator with the tab.

Advertisement

The since: operator filters search results to posts from a specified date onward. For example, to search for posts from June 1, 2026 onward, search for “search keyword since:2026-06-01”.

Then open the [Top] tab. X will show search results from the specified date onward while excluding accounts you have blocked or muted.

Exclude individual accounts with -from:

To hide specific accounts from search results, use the -from: operator. This method works in both the [Top] and [Latest] tabs.

The -from: operator filters out posts from a specified username, or screen name. For example, to exclude posts from @elonmusk, search for “search keyword -from:elonmusk”.

Enter the username, the part after @, rather than the account name.

To exclude multiple accounts, add them with spaces, as in “search keyword -from:elonmusk -from:SpaceX”.

Advertisement

This method works well when you only need to exclude a small number of accounts. It stops working once the query exceeds X’s search character limit.

X has removed the saved search feature, so you may want to save frequently used filters in your browser bookmarks or a notes app.

Hide posts with custom CSS

When you use X for Web, you can hide posts from specific accounts by applying custom CSS like the following with a browser extension such as Stylus.

Replace <screen_name> with the username of the account you want to hide, meaning the part after @.

[data-testid="tweet"]:has([data-testid="User-Name"] a[href="/<スクリーンネーム>"]) {
display: none;
}

For example, to hide posts from @elonmusk, use the following CSS.

[data-testid="tweet"]:has([data-testid="User-Name"] a[href="/elonmusk"]) {
display: none;
}

To hide multiple accounts, separate them with commas and line breaks where needed.

[data-testid="tweet"]:has([data-testid="User-Name"] a[href="/elonmusk"]),
[data-testid="tweet"]:has([data-testid="User-Name"] a[href="/SpaceX"]) {
display: none;
}

Follow these steps to apply custom CSS with Stylus. This article uses Stylus, but any extension or tool that can apply custom CSS will work.

  1. Install Stylus in your browser

  2. Open X

  3. Click the Stylus icon and create a style for [x.com]

    Stylusのスクリーンショット
  4. The style editor opens. Enter the CSS above and save it

Which workaround should you use?

The easiest option, and the one I recommend, uses the [Top] tab.

The [Top] tab does not show posts in chronological order. To show recent posts, combine it with the since: operator. To view posts in chronological order, use -from: and open the [Latest] tab.

Custom CSS only works in a browser, but it saves you from entering filters each time.

You can find browser extensions online that claim they hide accounts you have blocked or muted as soon as you install them.

I do not recommend these extensions. Some send requests to X’s internal server APIs, which can put your account at risk of limits or suspension by X.

The custom CSS method above does not send requests to internal APIs, so it carries less risk.

Conclusion

X has a bug where accounts you have blocked or muted appear in search results.

The easiest workaround opens the [Top] tab with [Remove blocked and muted accounts] turned on.

To narrow results to recent posts or show posts in chronological order, use the since: operator or the -from: operator.

On X for Web, you can also hide posts from specific accounts with custom CSS.

Verification details and sources

Verification environment

Mobile

  • OS: Android 17
  • Device: Google Pixel 8
  • App: X for Android version 11.98.0-beta.0 and X Lite for Android version 11.98.3-release.01

Desktop

  • OS: Windows 11
  • Browser: Zen Browser version 1.20.2b

Verification details

I confirmed that muted and blocked accounts appeared in the [Latest] tab of search results regardless of the [Remove blocked and muted accounts] setting. I also confirmed that the [Top] tab respects the setting, and that -from: and custom CSS can exclude posts from specific accounts.

Last verification date

Reference links

Share this article

Share on XShare on BlueskyShare on MisskeyShare on LINEShare on Threads

Follow us for updates

Adding us to your preferred sources on Google makes it easier to find our articles on Google. Also, be sure to follow us on X and our RSS feed.

Add as a preferred source on GoogleAdd as a preferred source on GoogleX Logo
著者のアイコン画像

I've been using JavaScript more than my native language since birth. I am nowhere and everywhere on the internet.

I build web apps and browser extensions in TypeScript as a web frontend programmer. I released Shadowban Scanner, a tool that detects shadowbans on X, and Restore Link Card, a tool that brings back link cards. Media outlets in Japan and abroad covered both tools. For iGEM 2023, I built the Wiki for Team Japan-United and helped the team win the Grand Prize. On my blog, I cover news about X and social media, test and troubleshoot bugs, and share frontend development insights.