Skip to content

The X algorithm, read from its own code.

X publishes the code that ranks For You. These are its weights as of November 24, 2026, what each reaction is worth in likes, and what that changes in how you write.

By Mattbuilds, who builds Postlab. Weights read on November 24, 2026.

Last updated November 24, 2026

Enter this code to pay $29Until November 30, 11:59 pm ET

BLACKFRIDAY

Stripe opens at $49. Paste the code under "Add promotion code" before you pay. One code per purchase.

Short answer

How does the X algorithm work?

For each post it could show you, X predicts how likely you are to reply, like, copy the link, mute and so on. Each probability is multiplied by a weight, and the sum is the score of the post. The strongest weights are a copied link (20), then a reply, a quote or a share by DM (5 each). The heaviest penalty is a report (-234).

The weights are public, in xai-org/x-algorithm on GitHub. The predictions are not: nobody outside X can compute the reach of a post.

The weights

One copied link weighs as much as 28 likes

A weight multiplies the probability that this reader does it. It is not a point you earn per reaction.

What lifts a post
ReactionWeightIn likes
Link copiedThe reader copies the link to share it elsewhere: reference content. Asking for it is checked as spam.+2028
ReplyThe reader replies. +15 bonus when you follow each other.+57.1
QuoteThe reader quotes the post to add their take.+57.1
Shared by DMThe reader sends it to someone in a direct message.+57.1
FollowThe reader follows you after reading.+45.6
ShareShared through the X menu.+2.1183
RepostThe reader reposts.+11.4
LikeThe reader likes the post.+0.7081
Reading time after openingPer second spent on the opened post: text that gets read to the end.+0.3850.54
Post openedThe reader opens the post.+0.2740.39
Link clickThe reader leaves X.+0.20.28
Image expandedThe reader expands an image.+0.050.071
Paused on the postThe reader stops while scrolling.+0.050.071
Time on the postTime the reader spends on the post in the feed.+0.00750.011
What sinks it
ReactionWeightIn likes
ReportThe reader reports the post.-234-330
MuteThe reader mutes you.-58.8-83
“Not interested”The reader says the post does not interest them.-53.07-75
BlockThe reader blocks you.-31.2-44
SkippedThe reader scrolls past without stopping.-0.02-0.028

They move

X set the strongest weight to zero for a few days, then put it back

In the releases of November 13 to 17, 2026, the copied link went from 20 to 0, then back to 20. Advice built on one weight can be wrong by the end of the week, so look at the shape: conversation and sharing at the top, likes far below, and anger at the very bottom.

Asking people to copy the link is not the way to use it. Postlab flags those requests as bait, because X checks them as spam.

Ranking

What happens after the sum

  1. 01

    Strangers count for less

    A post from an account the reader does not follow is multiplied by 0.75.

  2. 02

    Your next posts shrink

    In one feed, your second post keeps 63% of its score and your third 44%. Space them out.

  3. 03

    After 48 hours, it is over

    Older posts are dropped from the candidates.

  4. 04

    Friends weigh more

    Between two accounts that follow each other, a reply gets 15 more: 20 in total.

Cold start

Small accounts get a two-hour window

The code can lift one post into a feed around rank 15, if its author has at most 50,000 followers, the post is less than 2 hours old and it has fewer than 200 impressions on Home. Replies and reposts are left out, and early likes help it get picked.

So the first two hours matter more than the perfect hour. Post when you can stay and answer.

In practice

What this changes when you write

  • End with a question you want answered. A reply weighs 7.1 likes.
  • Give people something to keep: a list, a method, a number. That is what gets its link copied.
  • Leave the link out of the post. A click on it weighs 0.2, less than a like.
  • Skip the bait. "Not interested" weighs -75 likes, a mute -83.
  • Space your posts by a few hours, so they do not share one feed.

You can check your own post against these weights for free. Postlab does it on every draft, and if your scheduler just left X, there is a Hypefury alternative page. If you pay monthly for one, see the Tweet Hunter alternative.

Why Postlab

FAQ

Questions about the weights

Is the X algorithm open source?

Yes. X publishes the ranking code and its weights in the xai-org/x-algorithm repository on GitHub. What it predicts for each reader is not in there, so nobody outside X can compute the reach of a post.

How many likes is a reply worth on X?

About 7.1, going by the published weights of November 24, 2026: 5 for a reply and 0.708 for a like. Between accounts that follow each other, the reply weight gets 15 more.

Do links hurt a post on X?

A click on a link weighs 0.2, against 5 for a reply, so a post whose only reaction is a click earns little. Put the value in the post and the link in a reply.

Do hashtags help on X?

None of the published weights is about hashtags: the score comes from predicted reactions. One hashtag does no harm, and a string of them looks like spam to readers.

How often do these weights change?

The repository is updated several times a week, but the weights move rarely. Between November 5 and November 24, 2026, only the copied link changed among the weights on this page, and it came back to 20.

$29 instead of $49 with the code BLACKFRIDAY, until November 30, 11:59 pm ET.

Test before
you post.

One payment, 14 days to change your mind. You bring your own Treg key. Postlab publishes text only, on X only.

Enter this code to pay $29Until November 30, 11:59 pm ET

BLACKFRIDAY

Stripe opens at $49. Paste the code under "Add promotion code" before you pay. One code per purchase.