NotPeopleNotPeople
X & Threads

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.

Konstantin Anisimov
Founder & CEO, NotPeople · December 4, 2026 · 20 min read
How the X algorithm works in 2026: ranking signals that actually move reach

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.

Quick answer

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.

The terms, kept apart

Most bad advice about the X algorithm comes from mixing up five things.

  • For You vs Following. For You is the ranked, recommended feed. Following shows posts only from accounts you follow; Elon Musk called it the way to "choose no algorithm" (May 15, 2026). The code passes an "in-network only" flag for a ranked Following surface, so treat Following as the one place where only follows compete.
  • In-network vs out-of-network. In-network means the viewer follows the author. Out-of-network posts come from retrieval models and get multiplied by a factor below 1 before the final order (README).
  • Ranking vs visibility. Ranking decides the order. Visibility filtering decides whether a post can be shown at all, with four answers: allow, notice, interstitial or drop. The README calls them "different services, different inputs, different rules."
  • Shadowban vs label vs low score. "Shadowban" is the creators' word. X's code speaks of labels such as 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.
  • Premium "reply prioritization". This is X's own term on its Premium help page: Basic gets "reply prioritization", Premium "larger", Premium+ "largest." It refers to the order of replies in a conversation, not to the For You score of your posts.

For You vs Following: how posts get picked

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:

  1. Query hydration. Your recent engagement history (the main input to the model), who you follow, your blocks, mutes and muted words, what you've already seen.
  2. Candidate sources. Thunder keeps recent posts from accounts you follow in memory. Phoenix retrieval and SimClusters find posts from accounts you don't follow. A shared list of popular recent posts is added on top.
  3. Pre-scoring filters. Duplicates, posts older than 48 hours, your own posts, blocked and muted authors, muted keywords, already-seen posts, and reposts or replies from accounts you don't follow.
  4. Scoring. Phoenix predicts each action, the ranking scorer turns them into one number, then the adjustments below.
  5. Selection. Sort by score, keep the top K.
  6. Post-selection filters. Visibility filtering drops what its rules say to drop, and so does any post whose parent, quoted or reposted post was dropped.
  7. Blending. Ads, Who to Follow and prompts are slotted in.

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.

Signals: replies, dwell time, reposts, Premium boost

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."

Action2023 weight2023 × likeDec 2026 weight2026 × like
Like0.510.7081
Repost1.021.01.4
Reply13.5275.07.1
Reply the author engages with75.0150not in the list—
Reply to a mutual follow's original postnot in the list—20.0 (5 + 15 boost)28.2
Quotenot in the list—5.07.1
Share via copy linknot in the list—20.028.2
Share via DMnot in the list—5.07.1
Follow the authornot in the list—4.05.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:

  • Replies count for less than they did, unless they come from mutuals. A reply went from 27 times a like to about 7. The 2023 bonus for replies the author answered is gone from the list. In its place is the mutual-follow boost, which brings a reply under a mutual's original post back to about 28 times a like.
  • Sharing is now the top positive signal. Copy-link shares weigh as much as a mutual's reply, and DM shares as much as a quote. Musk said the same thing in words: forwarding to others "suggests very high interest" (November 18, 2025).
  • Time spent matters more each release. X's notes for October 8, 2026 say the model now does "a better job of estimating how long you'll spend on each post," and on October 13 retrieval was trained to surface posts people read to the end.
  • Negative signals got lighter relative to likes, but one predicted "not interested" still outweighs about 79 predicted likes for that viewer.

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.

What gets downranked: links, unoriginal content, inauthentic behavior

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 and the algorithm

"Grok-based" gets used loosely. In the published code it means three different things:

  1. The ranking model's architecture. The January 2026 README says Phoenix's transformer "is ported from the Grok-1 open source release by xAI, adapted for recommendation system use cases." It is not the Grok chatbot ranking your feed; it is the same architecture trained on engagement sequences.
  2. Classifiers that read posts. grox runs LLMs over new posts and reply threads for spam, adult content, topic tagging and the slop screen. Not all of them are Grok: the reply-spam code names a Gemma model, and a constant in the same file describes a follower-count split between Grok and Gemma (constants.py).
  3. Product features on top. Custom Timelines, launched April 21, 2026, pin a topic to your home tab and are, in Bier's words, "powered by Grok's understanding of every post with the algorithm's personalization" (post). Premium users can also snooze a topic on For You (April 22, 2026).

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.

What X has said about the algorithm (timeline)

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.

  • March 31, 2023, release. Twitter open-sources the recommendation algorithm (twitter/the-algorithm); the blog post describes 1,500 candidates and a 50/50 in-network split.
  • September 9, 2025, stated by X. Musk: "We've open sourced the 𝕏 algorithm not because we think it's smart, but to show it's MANY flaws!" (post)
  • September 19, 2025, stated by X. "The algorithm will be purely AI by November… By November or certainly December, you will be able to adjust your feed dynamically just by asking Grok." (post)
  • October 14, 2025, stated by X. Improvements credited to "increasing use of Grok and other AI tools," with all 100M+ daily posts to be evaluated by Grok (post).
  • October 17, 2025, stated by X. Links with "almost no description" get weak distribution; with a good description or image they don't (post).
  • October 19, 2025, stated by X. Bier explains lower link reach as missing signal and tests a collapsed post under the in-app browser (post).
  • October 27, 2025, stated by X. Musk: "a significant bug in the 𝕏 For You algorithm that resulted in users seeing far fewer posts from people that they follow." (post)
  • November 18, 2025, stated by X. Dwelling, interacting and "especially forwarding to others" make the feed show you more (post).
  • January 10, 2026, stated by X. Musk promises the full algorithm "including all code used to determine what organic and advertising posts are recommended" in seven days, then every four weeks (post).
  • January 20, 2026, release. @Engineering publishes xai-org/x-algorithm. Musk the same night: "We know the algorithm is dumb and needs massive improvements" (post).
  • April 21–22, 2026, release. Custom Timelines and topic snoozing (post).
  • May 15, 2026, release. New version on GitHub; Musk promises monthly updates with release notes and reminds that the Following tab means "no algorithm" (post).
  • July 1, 2026, stated by X. Bier: in a 3% experiment, removing the 30 highest-paid revenue-share accounts from For You "increased both time spent and daily active users" (post).
  • July 13, 2026, stated by X. The mutual-follow boost goes live (quoted below).
  • August 13–14, 2026, release. Weights, visibility filtering and labeling code published; the "how weights work" correction follows the next day (X Open Source).
  • September 1, 2026, release. "2+ weeks of daily updates," and the first merged public pull request (post).
  • September 19 and October 30, 2026, release. Under the Hood adds legal withholdings by country, then lists the labelled posts (post).
  • October 8 and 13, 2026, release. Ranking predicts time spent better; retrieval learns to surface posts read to the end (README).

Three public cases

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.

How to work with it

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:

  • Write posts people would send to a friend. Copy-link and DM shares are the heaviest positive signals in the December release.
  • Hold attention. Dwell and post-click time keep gaining weight. A post that's read to the end helps retrieval too.
  • Reply where you are known. The mutual-follow boost only applies to replies on original posts between mutuals, so a real circle beats spraying replies at strangers. Growing that circle from zero is what our reply-first playbook for getting followers on X covers.
  • Post when your followers are awake. The cold-start lift lasts two hours or 200 impressions; candidacy ends at 48 hours.
  • If you share a link, write the post so it stands alone. Both Musk and Bier said this in October 2025.
  • Avoid the things labels are made from: copied or AI-filler posts, engagement circles, identical replies.

What to do if your reach drops:

  1. Every post dropped at once, including to strangers who used to find you? Check labels first. Open Under the Hood (x.com/i/jf/under_the_hood) and run the X shadowban checker. If a label is there, the fix is behavioural, and our inauthentic behavior guide walks through it.
  2. No label, but your followers say they don't see you? Look for a platform change before you blame your content. Check the repository's Notable updates and X's posts for that week; October 2025 is the reference case.
  3. Only some posts underperform? That is ranking, not a sanction. Compare the posts that did well on the signals above: were they shared, replied to by mutuals, read to the end? Posts with a bare link usually lose this comparison.
  4. Your own feed looks wrong rather than your reach? That's the other side of the same system: how to reset your X algorithm covers mutes, "Not interested" and topic snoozes.

What the code does not show

The release is unusually open, but it has limits, and anyone who claims more is guessing:

  • The trained model weights for Phoenix aren't published, only the training code and synthetic data.
  • The grox prompts and some labeling rules are withheld "to reduce the risk of gaming," per the README.
  • The out-of-network discount is computed per request; its value isn't a published default.
  • X says experiments at "10% or more" of traffic should be visible in the repo. Smaller ones may not be.
  • Not every drop in reach is a penalty. Most of it is the same post meeting a different audience on a different day.

Frequently asked

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.

Building on X?

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 community

And 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 creator

Sources

Checked December 2026. Code references are to xai-org/x-algorithm at commit e7afa63 (December 4, 2026).

Next step
NotPeople MCP for Claude Code, Codex and Grok Build

3 days free, no card. Then from $39/month. Nothing posts until you approve it.

See the MCP
Konstantin Anisimov
Written by
Founder & CEO, NotPeople

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.