The short answer: X's For You feed predicts how likely you are to like, reply to, repost, quote, share, open, dwell on, follow from, or hide each post, multiplies each prediction by a weight, and shows the highest totals. Replies and quotes carry more than 7 times a like's weight. Reports, mutes and "not interested" carry heavy negative weights. Posts older than 48 hours never make it into For You.
That isn't a guess. X publishes the code behind its For You feed at github.com/xai-org/x-algorithm, first in January 2026 and updated every few weeks since. Everything below comes from that repository. Where I read something into it, I say so. I build AniyaX, a tool that drafts X posts and replies, so I have a reason to care how they get seen.
Where For You finds posts
The feed is built fresh for each request, from two kinds of source (from the repository's overview):
- In-network: recent posts from accounts you follow, kept in memory by a service called Thunder.
- Out-of-network: posts from accounts you don't follow, found three ways: Phoenix retrieval, which places you and every post as vectors and returns the nearest posts; SimClusters, which groups accounts and posts by who engages with what; and a shared list of popular recent posts.
Both kinds are ranked together by the same model, Phoenix, which reads your recent engagement history. Ads, Who to Follow and prompts are added afterwards by a separate pipeline, and aren't ranked by the model.
What the model predicts for every post
Phoenix doesn't produce one "relevance" score. It predicts the chance of each action you might take on a post:
| Kind | Actions predicted |
|---|---|
| Engagement | Like, reply, repost, quote, share, share by DM, share by copying the link |
| Clicks | Opening the post, the profile, a link, a photo, a video, the quoted post |
| Attention | Dwelling on the post and for how long, watching video, time on the profile |
| Author | Following the author |
| Negative | "Not interested", muting the author, blocking, reporting, scrolling past without stopping |
In October 2026 X noted that the model got much better at estimating how long you'll spend on a post, and that retrieval is now trained to surface posts people read all the way through (the repository's notable updates).
The weights on each action
The final score is the sum of each predicted probability times its weight. The production weights are in home-mixer/params/param.rs:
| Action | Weight |
|---|---|
| Share by copying the link | 20 |
| Reply | 5, plus a boost of 15 when you and the author follow each other |
| Quote | 5 |
| Share by DM | 5 |
| Follow the author | 4 |
| Share | 2 |
| Repost | 1 |
| Like | 0.66 |
| Time spent after opening the post | 0.4 |
| Open the post | 0.3 |
| Open a link | 0.2 |
| Report | -234 |
| Mute the author | -58.8 |
| "Not interested" | -52.3 |
| Block the author | -31.2 |
Production values from param.rs; X updates them in the repository as they change. Opening a profile and plain video views are weighted 0.
One warning X put in the code itself: the weights multiply your predicted chance of each action, not the post's counts. A report weighing 234 doesn't mean one report cancels 354 likes. Reports are far rarer than likes, "more than 1000x lower", so the weight has to be large for the prediction to count at all. And because the predictions are about you, a wave of reports from strangers mostly changes what people like them see.
After the score: three adjustments
- Author diversity. Each further post from the same author in your feed is multiplied by a shrinking factor, down to a floor.
- Out-of-network discount. Posts from accounts you don't follow are multiplied by a factor below 1, and so are replies and reposts from accounts you do follow.
- New-author boost. Posts from authors whose impressions are below a threshold are lifted toward a set position in the feed. Its cold-start settings name a 200-impression threshold, a cap of 50,000 followers and posts up to 2 hours old.
A last pass reorders the list to keep neighbouring posts from being too alike, trading a little score for variety.
What keeps a post out of For You
Before scoring, filters drop posts outright. The ones that matter if you're posting:
- Age: posts older than 48 hours.
- Replies and reposts from accounts the viewer doesn't follow. Your replies reach strangers under the post they answer, not in their For You.
- Already seen: posts the viewer was already shown.
- Muted keywords, blocked and muted accounts.
Then, separately from ranking, visibility filtering decides whether a post can be shown at all: shown, dropped, or shown behind a warning. It reads labels other systems put on posts and accounts: spam and content classifiers, a model that labels an account from blocks, reports and spam reports relative to likes, one that reads an account's actions over time for signs of inauthentic behavior, and a credibility score from the follow graph. The first rule that answers "drop" ends it. Some rules apply only when a post is recommended to someone who doesn't follow you.
How to see the labels on your own account
X is piloting a page called Under the Hood that shows the visibility-limiting labels on your account and posts, and since September 2026 also says whether posts were withheld in a country for legal reasons. If you think your reach was cut, look there first. Our free shadowban checker tests the outside of it: whether your posts show in search and your replies show under posts.
How to reset your X algorithm
There's no reset button, and X's help pages don't describe one. For You learns from what you follow, like and hide, so you reset it by changing those signals. These are the controls X's help pages list, with what the code does with each.
- Switch to Following. The Following tab shows "posts from only the accounts you follow", with no recommendations (X's timeline help). X reopens whichever tab you had open last, so you don't have to switch every time.
- Mark what you don't want. In the menu on any post, choose Not interested in this post, which another help page calls Show less often. X says it uses this "as a signal to recommend less of that type of content to you" (Our approach to recommendations). In the code it carries a weight of -52.3, about 80 likes the other way.
- Mute words and accounts. Muting a word, phrase, hashtag or account takes it out of your Home timeline and notifications, for 24 hours, 7 days, 30 days or forever (advanced muting). The code filters out posts with muted keywords and from muted authors before ranking even starts.
- Remove the interests X guessed. On x.com, open Interests from X under Your X data and untick anything that isn't you. In the app it's Settings and privacy, Privacy and safety, Ad preferences, See your X data, Interests and ads data, Interests from X (Topics on X).
- Change who you follow and what you like. X recommends posts from signals "including, but not limited to, accounts you follow, Topics you follow, posts you like, posts liked by those in your network, and accounts followed by those in your network." Unfollow the accounts that pull in what you don't want, follow a few in the subject you do, and like what you'd want more of.
X doesn't say how fast For You adjusts, so give it a few days of steady signals before you judge it.
What this means if you're growing an account
This part is my reading of the code, not X's words.
- Write for replies and quotes, not likes. A reply or a quote is weighted more than 7 times a like. A post people want to answer does better than one they nod at.
- Reply to people, and build mutuals. Replies between accounts that follow each other get the largest boost in the file. And since replies from accounts a viewer doesn't follow never enter their For You, a reply does its work under the post it answers, in front of that post's readers.
- Make it worth stopping for. Time spent is predicted and weighted, and since October retrieval looks for posts people read to the end.
- Avoid what makes people mute you. Mutes and "not interested" carry weights 80 to 90 times a like's, the other way. Bait, repeats and posting in bursts cost more than they earn.
- The first two days are the post's life. After 48 hours a post is out of For You for good.
- Small accounts get a door in. The new-author boost exists for authors with few impressions, so early posts aren't wasted.
And nothing in the code rewards automation. Labels from systems that watch an account's behavior over time feed visibility filtering, which can drop a post before ranking even starts. The safe way to post more is to write more, which is what AniyaX helps with: it drafts posts and replies in your voice, and you post them yourself. What X's rules say about automation is in X automation rules, tool by tool.
Questions
Can you reset the X algorithm?
Not with one button. You change what For You learns from: mark posts Not interested, mute words and accounts, untick the interests X guessed under Your X data, and change who you follow and what you like. The Following tab skips recommendations altogether.
How long does a post stay in For You?
Up to 48 hours. X's code filters out posts older than that before ranking, so a post's first two days are its whole life in For You.
Do replies or likes count more on X?
Replies. X's code weights a reply at 5 and a like at 0.66, so a reply counts more than 7 likes. A quote counts the same as a reply.
Is the X algorithm open source?
The For You part is. X publishes it at github.com/xai-org/x-algorithm, first in January 2026 and updated every few weeks since.