The short answer
X’s For You feed gathers candidate posts, about half from accounts the reader follows and half from accounts they do not, then scores each with a model that predicts how the reader will engage with it: like, repost, reply, open the conversation, visit the author, or react badly. The scores are weighted and added up, and the highest-scoring posts are shown. The Following tab skips all this and shows followed accounts newest first.
When X, then Twitter, published this code in 2023, the weights made the priorities plain: a reply counted 27 times a like, a reply the author answered counted 150 times a like, and a report counted hundreds of times against a post. X says it has adjusted the weights since, and Sprout Social’s 2026 guide reports that X has worked its Grok AI into ranking. The shape still points the same way: conversation counts, approval counts little, and annoying people costs the most.
What the open-sourced code weighed
These are the weights X published for its For You ranking model, as of 5 April 2023. Each is multiplied by the predicted chance of that action and the results are summed. X notes the production model may differ slightly and that the weights have been adjusted since.
| Predicted action | Weight | Against a like |
|---|---|---|
| Like | 0.5 | 1× |
| Repost | 1.0 | 2× |
| Watch at least half of a video | 0.005 | A hundredth |
| Open the conversation and stay 2 minutes | 10.0 | 20× |
| Open the conversation and reply or like | 11.0 | 22× |
| Visit the author’s profile and like or reply | 12.0 | 24× |
| Reply | 13.5 | 27× |
| Reply that the author engages with | 75.0 | 150× |
| “Show less often”, block or mute | −74.0 | −148× |
| Report | −369.0 | −738× |
Why a like counts so little
The weights are not a ranking of how much X values each action. X explained that it first set them so that, on average, each kind of engagement contributes about the same to a post’s score. Likes are common and replies are rare, so a reply needs a far larger weight to matter as much. Read the table as a measure of how hard each reaction is to earn, and how strongly earning it moves a post.
What that means for a post
Read the weights as instructions:
- Write to be answered. A reply was worth 27 likes, so a post that invites a response (a question, a clear view, an unfinished thought) beats one people only approve of.
- Answer your replies. A reply the author engages with carried the biggest positive weight of all. The first hour of a post is for talking to the people who replied.
- Give people a reason to open the thread. Opening the conversation and staying, or visiting your profile and engaging, each counted more than 20 likes.
- Do not provoke the mute button. A single “show less often” cancelled about 148 likes, and a report far more. Bait that annoys people costs more than it earns.
Half your reach comes from strangers
The code shows For You drawing about half its posts from accounts the reader follows, found and ranked through X’s search index, and the rest from accounts they do not follow, found through communities of people with similar interests and through what similar users engage with. A post that sparks conversation among people interested in a topic can reach others in that community who have never seen your name.
What has changed since 2023
The guides from Hootsuite and Sprout Social add three things for 2026. Premium subscribers get a boost: Hootsuite says Premium users are boosted with followers and non-followers alike, and Sprout Social that Premium accounts are generally favoured. Links hold posts back: Hootsuite reports from its own experiment that posts without links do much better. And Sprout Social reports that X has integrated Grok into its ranking and, since 2025, into the Explore tab’s summaries of trends.
What costs a post reach
The published weights show what costs a post on X. A reader choosing “show less often”, blocking or muting counted −74 against a like’s 0.5, and a report −369. Posts that provoke without giving anything (rage bait, misleading hooks, tagging strangers) can earn replies and still lose overall. Posting and leaving costs too: a reply the author answered weighed most of anything in the code.
Questions
Do replies matter more than likes on X?
Far more, in the code X published. A reply was weighted 13.5 against 0.5 for a like, 27 times as much, and a reply the author engaged with was weighted 75.
Does X still use those weights?
Not exactly. X said in 2023 that it adjusts the weights over time, and the guides report that X has since worked Grok into ranking. The published weights still show what the system was built to reward.
Do links hurt reach on X?
Hootsuite’s own experiment found posts without links do much better. If a link matters, put the substance in the post and consider adding the link in a reply.
Does X Premium boost reach?
The guides say yes. Hootsuite reports Premium users get a boost with both followers and non-followers, and Sprout Social says Premium accounts are generally favoured.
Is the Following tab ranked?
No. It shows posts from accounts you follow in reverse chronological order, so for readers who use it, timing matters more than the ranking model.
Sources
- X, X’s recommendation algorithm (open-source repository), March 2023.
- X, Heavy ranker: engagement weights, April 2023.
- Hootsuite, How the Twitter (X) algorithm works, October 2026.
- Sprout Social, How the Twitter (X) algorithm works, October 2026.