What X's Open-Source Code Says About Reach (2026)
X's public code, read November 5, 2026: a 48-hour window, a lift for fresh posts from small accounts, a cut for posting in a row, no replies to non-followers.
Published · Updated · 6 min read

X's open-source For You code, read on November 5, 2026, sets five rules. A post can be recommended for 48 hours. A small account's fresh original post can get one lift. Extra posts from one author in one feed are cut. Posts from accounts a viewer does not follow are limited: replies and reposts are removed, the rest discounted.
None of these rules is a shadowban. They apply to every account, every day.
What does X's open-source code cover?
X's public repository xai-org/x-algorithm contains the code that decides which posts a viewer sees in the For You feed. Its README says the feed combines posts from accounts the viewer follows with posts found by machine learning, filters them, then ranks them with a transformer model.
Many values are read from a configuration system. X's README says cron scripts set the defaults in the code to "the primary production values". The numbers below are those published defaults, read at commit 021afa4 of November 5, 2026.
The first line of home-mixer/params/param.rs gives its last sync: November 4, 2026. vm-ranker/params.rs has no such line. It holds the Author Diversity and out-of-network values, so those numbers are defaults written in the code.
The repository is republished almost every day. A value can change from one commit to the next.
How long can a post stay in the For You feed?
Free, no login, results in seconds.
A post can appear in X's For You feed for 48 hours at most. The For You pipeline runs an AgeFilter that removes any candidate post older than MAX_POST_AGE = 48 * 60 * 60 seconds, before any scoring. The same 48-hour limit is written into the TweetMixer source.
After 48 hours, the post still exists. People can see it on the author's profile, in search, in a conversation or through a link. It is no longer a candidate for new recommendations.
Does X give small accounts a boost?
Yes, X's code contains a cold-start step that can lift one post per feed request to the score of the 16th-ranked post in that feed. X's README calls it the New-Author Boost.
With the production defaults published by X, a post qualifies only if all of these are true:
| Condition | Published default |
|---|---|
| Type of post | An original post, not a reply and not a repost |
| Author's followers | 50,000 or fewer (ColdStartFollowerCap) |
| Age of the post | Less than 2 hours (ColdStartMaxPostAgeSecs = 7200) |
| Views in Home so far | Fewer than 200 (ColdStartImpressionThreshold) |
| Current rank | Within the top 97% of the viewer's scored posts |
The step is on by default (EnableViewerColdStart). For viewers outside its test groups, any author can qualify. For viewers inside a test group, only authors of the matching group can.
The code picks a single post per request among those that qualify. It raises that post's score to at least the score of the 16th post, never lowers it.
Does posting several times in a row hurt reach?
Posting several times in a row lowers the score of each extra post in the same viewer's feed. X calls this Author Diversity. The code multiplies each post after an author's first by (1 - floor) × decay^k + floor, where k is the number of the author's posts already ranked above it.
With the published defaults, decay is 0.5 and the floor is 0.25:
| Post by the same author in one feed | Multiplier |
|---|---|
| 1st | 1 |
| 2nd | 0.625 |
| 3rd | 0.4375 |
| 4th | 0.34375 |
| Any later post | Never below 0.25 |
The multiplier applies within one feed request. It does not penalize the account. It means a viewer is much more likely to see one post by you than five.
Are posts with 0 likes buried?
No published rule buries posts with zero likes. X's code has a retrieval source for posts with zero likes (ForYouPhoenixRetrievalZeroFav) and an experiment, ZeroFavCodivertFilter, that sets those candidates aside. It removes only candidates found solely through that source, and only for viewers and authors in its treatment groups.
The experiment is off in the published defaults. X does not publish how much traffic it covers.
Do replies and reposts reach people who do not follow you?
Replies and reposts from accounts a viewer does not follow are removed from that viewer's For You feed before scoring. X's OONRetweetReplyFilter drops every out-of-network repost, and every out-of-network reply unless a setting allows it.
Two settings control the exception for replies:
EnablePhoenixOonReplieslets replies found by X's retrieval model through. Its published default is off.PhoenixOonRepliesRootOnly, added to the code in October 2026, limits that exception to replies to the original post of a conversation. Its published default is off.
The same filter removes any reply whose parent post is missing.
People who already follow you can still see your replies in For You. Anyone can see them in the conversation itself, unless a restriction such as a ghost ban or reply deboosting applies.
Are posts from accounts you do not follow discounted?
Posts from accounts a viewer does not follow are multiplied by 0.75 in the published defaults (OonWeightFactor). X's README describes the same discount for replies and reposts from accounts the viewer does follow.
For a viewer whose account is new, the code can apply a separate factor, NewUserOonWeightFactor, set to 0.00001. The age below which a viewer counts as new defaults to 0 seconds, so this factor applies to no one with the published defaults.
What about accounts flagged for adult content?
X's OONNsfwSimclustersFilter removes posts from authors flagged for adult content when they come from SimClusters, one of the sources of out-of-network posts, and the viewer does not follow the author. Followers are not affected by this filter.
Adult content is handled by other rules too, in X's visibility filtering. The glossary entry on sensitive media explains how account labels for sensitive content hide posts from people who do not follow the account.
What does the code suggest doing?
Post originals, space your posts and expect a 48-hour life in For You: that is what X's published code supports. X does not publish how much each rule weighs against the ranking model's predictions.
- Post originals to reach new people. Replies and reposts from you are removed from the For You feed of people who do not follow you.
- The first 2 hours count most for a small account. The cold-start lift needs a post under 2 hours old with fewer than 200 views in Home.
- Space your posts. A second post in the same viewer's feed keeps 62.5% of its score, a third about 44%.
- Expect a 48-hour life in For You. Older posts drop out of recommendations, even when they keep getting likes.
The For You scoring code has no multiplier for Premium subscribers: see does X Premium increase reach.
How do you know whether your account is restricted?
If your reach stays low for more than a few days, check whether X restricts your account. These five rules apply to everyone. A shadowban is different: a restriction placed on one account by X's visibility filtering. If your views fell suddenly, see why views drop on X.
A free check on Shadowban Radar tests the 4 restrictions on any public handle, with no login: search suggestion ban, search ban, ghost ban and reply deboosting. Our guide to shadowban durations explains how long each one usually lasts.
Sources
Read on November 5, 2026, in the xai-org/x-algorithm repository at commit 021afa4, published November 5, 2026.
- README.md: the published defaults and the production values.
- config.rs:
MAX_POST_AGE = 48 * 60 * 60. - phoenix_candidate_pipeline.rs: the order of the pre-scoring filters, including the 48-hour filter and the zero-like experiment.
- tweet_mixer_source.rs: the 48-hour limit in the
TweetMixersource. - author_cold_start.rs: who qualifies for the cold-start lift and how the score is raised.
- param.rs: the cold-start defaults.
- param.rs: the header with the last sync date, November 4, 2026.
- scoring.rs: the Author Diversity formula and the out-of-network multiplier.
- vm-ranker/params.rs: the defaults for Author Diversity and the out-of-network factors.
- oon_retweet_reply_filter.rs: the filter for out-of-network replies and reposts.
- param.rs: the two reply settings and their defaults.
- oon_nsfw_simclusters_filter.rs: the filter for authors flagged for adult content.
- zero_fav_codivert_filter.rs: the zero-like experiment.
- param.rs: its switches, all off by default.
- phoenix_source.rs: the retrieval source for posts with zero likes.
Shadowban Radar is not affiliated with X Corp. For how X's own label report relates to a live check, see X's Under the Hood.
Update history
- Re-read at commit 021afa4: all defaults unchanged. New section on posts with 0 likes; links to related guides added.


