How the X algorithm works in 2026: ranking signals that actually move reach
How the X (Twitter) algorithm ranks posts in 2026: published weights, what Grok does, why links and copies lose reach, and what X itself has said, dated.
How the X (Twitter) algorithm ranks posts in 2026: published weights, what Grok does, why links and copies lose reach, and what X itself has said, dated.

Picture a founder with 4,000 followers who posts a launch thread on a Tuesday. It gets 9,000 views. The next week he posts the same kind of thread with a link to the product page in the first post, and it stalls at 700. He asks in three group chats what happened, and gets three answers: "links are shadowbanned", "you need Premium", "the algorithm hates Tuesdays."
Or a creator who wakes up to a reply under her post from someone she has followed for two years, sitting above 40 replies from strangers, when a month earlier the same friend's reply was buried. Nothing about her account changed. The ranking code did.
Both of these have an answer you can check, because X publishes the code that builds the For You feed and posts release notes when it changes. This guide walks through that code and what X's own people have said about it, and keeps two things apart: what X has stated or published, and what creators have observed.
How does the X algorithm work in 2026? The For You feed is built per request. It pulls recent posts from accounts you follow and from accounts you don't, drops anything older than 48 hours or already seen, and then a Grok-architecture transformer called Phoenix predicts how likely you are to like, reply, repost, quote, share, dwell, follow, mute, block or report each post. Those predictions are multiplied by published weights and added up. A separate visibility system can still remove a post after ranking. In the release of December 4, 2026, a share via copy link and a reply to a mutual follow's original post carry a weight of 20, a reply or quote 5, a like 0.708 and a report -234. The weights scale predicted probabilities, not counts. The Following tab is the chronological feed of accounts you follow.
Most bad advice about the X algorithm comes from mixing up five things.
DoNotAmplify or EngagementSpammer that drop your posts for people who don't follow you (author_rules.rs). A low ranking score is something else: the post is eligible, people just aren't predicted to engage.The first public version of this system came out on March 31, 2023, when Twitter published twitter/the-algorithm and an engineering blog post. Its framing is still the clearest one-paragraph summary:
"For each request, we attempt to extract the best 1500 Tweets from a pool of hundreds of millions through these sources. We find candidates from people you follow (In-Network) and from people you don't follow (Out-of-Network). Today, the For You timeline consists of 50% In-Network Tweets and 50% Out-of-Network Tweets on average, though this may vary from user to user."
— Twitter Engineering blog, March 31, 2023
That system is retired. On January 20, 2026, X's @Engineering account announced a new repository, xai-org/x-algorithm, "powered by the same transformer architecture as xAI's Grok model." Since August 13, 2026 it has carried the production weights and the filtering code, and it gets near-daily commits. The numbers in this guide are from commit e7afa63, December 4, 2026.
Today's request path, in the order the README lays it out:
Three adjustments come after the weighted sum. Each extra post from the same author is decayed. Out-of-network posts are discounted. And small authors get a cold-start lift: in the December defaults it applies to original posts (not replies or reposts) from accounts with up to 50,000 followers, while the post is under two hours old and under 200 impressions (author_cold_start.rs). A final re-ranker, vm-ranker, trades a little score for variety so you don't get five posts on one story in a row.
Phoenix predicts about two dozen actions per post and viewer, grouped in the README as engagement, clicks, attention, following the author, and negative feedback. The final score is Σ (weight × P(action)). Before reading any weight, read the comment X put above them in August 2026, after a wave of "one report cancels 468 likes" threads:
"Each weight multiplies the predicted probability of that action (P(favorite), P(repost), …) or a continuous value e.g. watch time -- the weights do not multiply raw engagement counts."
— home-mixer/params/param.rs, xai-org/x-algorithm, comment added August 14, 2026
The same comment says the baseline chance of a report is "more than 1000x lower than a Like," which is why its weight is so large. It also says only actions on posts served in the Home timeline count: "Directly navigating to a post (i.e., coordinating via groupchat) has no ranking impact."
Here are the 2023 and 2026 weights side by side. The 2023 values are from the the-algorithm-ml README; the 2026 values are the production defaults in param.rs at commit e7afa63. The "× like" columns are my arithmetic, and they show relative weight on a predicted probability, not how many likes an action is "worth."
| Action | 2023 weight | 2023 × like | Dec 2026 weight | 2026 × like |
|---|---|---|---|---|
| Like | 0.5 | 1 | 0.708 | 1 |
| Repost | 1.0 | 2 | 1.0 | 1.4 |
| Reply | 13.5 | 27 | 5.0 | 7.1 |
| Reply the author engages with | 75.0 | 150 | not in the list | — |
| Reply to a mutual follow's original post | not in the list | — | 20.0 (5 + 15 boost) | 28.2 |
| Quote | not in the list | — | 5.0 | 7.1 |
| Share via copy link | not in the list | — | 20.0 | 28.2 |
| Share via DM | not in the list | — | 5.0 | 7.1 |
| Follow the author | not in the list | — | 4.0 | 5.6 |
| Time after clicking in (per unit) | — | — | 0.385 | — |
| Not interested / negative feedback | -74.0 | -148 | -55.72 | -78.7 |
| Mute author | (in negative feedback) | — | -58.8 | -83.1 |
| Block author | (in negative feedback) | — | -31.2 | -44.1 |
| Report | -369.0 | -738 | -234.0 | -330.5 |
What the table says, in plain terms:
Premium boost. This is where the code and the marketing diverge. X's help page promises Premium subscribers "reply prioritization" and says X is "currently testing the levels at which we prioritize content from Premium subscribers relative to the other factors we consider in conversation rankings." That is a reply-ordering benefit. In the December release I found no Premium multiplier in the For You scorers (home-mixer/scorers/). Premium does appear in user-cred-v2, a PageRank-style account score: only Premium and verified accounts get the uniform starting mass before engagement edges are blended in. So paying moves your replies up in threads and feeds into an account-credibility score other systems read. It does not, in the published ranking code, multiply your post's For You score. Readers of the 2023 code reported a direct multiplier for Blue-verified authors; that code is no longer what runs.
Links. Observed by creators: posts with a link get less reach. Stated by X: the cause is behavioural, not a penalty line in the code.
"For creators, a common complaint is that posts with links tend to get lower reach. This is because the web browser covers the post and people forget to Like or Reply. So X doesn't get a clear signal whether the content is any good."
— Nikita Bier, then head of product at X, October 19, 2025
Two days earlier Musk had put it more bluntly: "Posting a link with almost no description will get weak distribution, but posting a link with an interesting description/image will get distribution" (October 17, 2025). The code agrees in its own way. The ranking scorer weighs "open link" at 0.2, below a like, and passes a has_url flag to the re-ranker as a content feature (content_features.rs). A link isn't punished, it just earns little while taking the reader away before they can reply or share. The fix both of them point at is the same: make the post work without the click.
Unoriginal content. Here the published code is unusually direct. Posts are screened by LLM classifiers in grox as they are published. One of them, the "banger initial screen," returns a description, topic tags and a field named slop_score. The enforcement rules then act on what the classifiers say: in enforcement_post.yaml, a post labelled llm_slop_post gets the RiskyHighVizReply label for 30 days, and a gibberish_post gets SpamHighRecall. The visibility rules also know a DuplicateContent post label. The prompts that decide what counts as slop are among the files X keeps private. What X's rules mean by unoriginal content for monetization, and where commentary ends and copying starts, is covered in what counts as unoriginal content on X.
Inauthentic behavior. This is decided about accounts, not posts. bdsm/ reads the sequence of actions an account takes "to identify signs of inauthentic or abusive behavior," agatha/ labels accounts from blocks and reports relative to likes, and grox runs a coordinated-spam classifier over reply threads. The resulting account labels (EngagementSpammer, DownrankSpamReply, DoNotAmplify and others) each have a rule whose audience is NonFollowers and whose action is drop. Your followers still see you; nobody else does. That is the mechanism creators call a shadowban, and it is why reach can fall off a cliff while your followers see nothing wrong. What triggers it in real timelines, and how it pauses payouts, is in our guide to X inauthentic behavior. To check the public side of it (search, replies, reach), run the free X shadowban checker.
Since September 2026 you can also look at the labels themselves. X's Under the Hood report shows the visibility-limiting labels on your account and posts, and since October 30 it lists the specific posts when fewer than 5% of yours carry a label (X Open Source, October 30, 2026).
"Grok-based" gets used loosely. In the published code it means three different things:
The ranking side has a "Grok analyze" action too, the predicted chance you'll ask Grok about a post. Its weight in the December release is 0.0, so for now it doesn't move your score.
Musk set the goal in October 2025:
"Going to full AI recommendations, where all 100M+ posts per day are evaluated by Grok and those most likely to interest you are recommended happens next month."
— Elon Musk, October 14, 2025
The January 2026 release claimed the result: "We have eliminated every single hand-engineered feature and most heuristics from the system." By August the repository had filters, boosts, decays and a Brazilian election rule, so "most heuristics" is the accurate half of that sentence.
Every item below was posted by X, its engineering and open-source accounts, or its leadership. "Stated by X" marks a claim about how the system works; "release" marks code or notes. Read through the AICB read API on December 4, 2026.
The Following bug, October 2025. After weeks of complaints, Musk apologised for "frustrations with the 𝕏 algorithm" on October 24, 2025. Three days later he said X had found a bug that made users see "far fewer posts from people that they follow," to be fixed the next day (October 27). The post drew about 36 million views. In July 2026 he listed "showing more content from people you follow" as one of the fixes that had shipped (July 15, 2026). Lesson: a sudden, account-wide change in who sees you can be a platform bug, not something you did.
The mutual-follow boost, July 2026. X's own write-up gives the dates. On July 10 an A/B test gave some users a mutual-follow reply boost of 5, 10, 15 or 20. On July 13 it rolled out broadly at 20, and Bier announced it:
"We noticed this data was missing from the algo and it made your friends appear less in your replies. This resulted in the reply section feeling more like a battleground with people you don't recognize."
— Nikita Bier, July 13, 2026
On July 24, after feedback that World Cup discussion from non-followed accounts was being crowded out, X cut the boost to 15, where it still sits. That one parameter is the reason the creator in the opening scene suddenly saw her friend's reply on top.
"One report cancels 468 likes," August 2026. The weights went public on August 13. Within a day, a like weight of 0.5 against a report weight of -234 was being shared as "one report = -468 likes," often with the claim that mass reporting or mass blocking can bury an account. Creators had made the same mass-block argument back in January (observed by creators). X answered on August 14 with release notes and code comments: the weights apply to predicted probabilities, recommendations are personal, so reports "primarily affect recommendations for users who are similar to the bad actors," and actions on posts reached outside the Home timeline have no ranking impact. The like weight has since moved to 0.708.
The numbers above turn into a short list of habits, and a few branches for when things go wrong.
Habits that line up with the published weights:
What to do if your reach drops:
The release is unusually open, but it has limits, and anyone who claims more is guessing:
Is the X algorithm the same as the Twitter algorithm? No. The 2023 Twitter code (twitter/the-algorithm) is a different system with different weights and a 50/50 in-network split. X replaced it with the Grok-architecture system published at xai-org/x-algorithm on January 20, 2026. Advice built on the 2023 numbers, like "a reply is worth 27 likes" or "Blue gets 4x," describes code that no longer runs.
Does the Following tab use the algorithm? Following shows only accounts you follow. Musk describes it as choosing "no algorithm." The code also has a ranked version of the Following surface, so "only people you follow" does not always mean "in time order."
Does X Premium boost my posts in For You? Not through a multiplier in the published December 2026 scorers. X's help page promises Premium accounts reply prioritization in conversations, and the account-credibility job user-cred-v2 seeds its PageRank only with Premium and verified accounts. Whether that score feeds For You for your posts is not shown in the ranking code.
Can mass blocking or reporting kill my reach? Not the way the "468 likes" threads claimed. Weights act on each viewer's predicted chance of reporting, and X says only actions on posts served in the Home timeline count. Blocks and reports do feed agatha, which labels accounts from blocks and reports relative to likes, so a real wave of them from ordinary users can lead to a label.
How long does a post stay eligible for For You? 48 hours. The AgeFilter drops older posts before scoring. The small-account lift ends sooner, at two hours or 200 impressions.
Do deleted and reposted posts get a second chance? The code filters posts the viewer has already seen and repeated reposts of the same post. A deleted and re-posted text is technically a new post. The visibility rules also include a DuplicateContent label, and X doesn't publish what triggers it, so re-posting the same text is a gamble. Writing something new is the safer move.
Can I see which of my posts are restricted? Mostly. X's Under the Hood report shows the labels on your account and posts. When X widened it in September 2026, the eligibility it gave was an account at least a year old with 10+ posts in the prior month. It lists the labelled posts when fewer than 5% of your posts carry the label.
How often does the algorithm change? The repository has had near-daily commits since August 2026, and X's production defaults are synced into the code by cron. Big changes get a Notable updates entry in the README; the last one before this guide was October 26, 2026.
If you post on X and want to compare notes with people who track these releases, join the creator community on Telegram. Our team answers questions about reach, labels and monetization there.
CelebeX creator community on TelegramAn appeal draft built from your own timeline, the monetization and shadowban checks, and a channel where our team answers questions about pauses.Join the creator communityAnd once your posts reach the right people, brands will want to pay for that. Join the Celebex creator network: sign in with X, set your prices, and get booked directly or through campaigns open to the network.
Join as a creatorChecked December 2026. Code references are to xai-org/x-algorithm at commit e7afa63 (December 4, 2026).
3 days free, no card. Then from $39/month. Nothing posts until you approve it.

Konstantin Anisimov is the founder and CEO of NotPeople, an influencer marketing agency for X that builds the tools it uses: an MCP that grows accounts from the creator's own machine, and a creator network with contracts and payouts.