BlogInstagram and reach

The X algorithm in 2026: what X's own code rewards

X publishes the code that picks the posts in the For You feed, and since August 2026 the weights too. We read it and checked ten common tips against the code, X's help pages and the studies.

The X algorithm in 2026: what X's own code rewards

The X algorithm is public. X, the former Twitter, publishes the code that picks the posts in the For You feed. Since August 13, 2026 the code also holds the weights: how much a reply, a like or a mute counts when X scores a post. We read the version from November 14, 2026.

The short answer for a small account: write your own posts, make them easy to answer, and stay for the first two hours. In the code a reply or a quote has a weight of 5 and a like has 0.708. A post from a small account can be lifted into view while it is under two hours old. After 48 hours a post is out of the feed.

X best practices, checked against the source

Each tip below has a source you can open. Seven come from X's code. The other three come from X's own pages and posts and from studies.

Do thisWhySource
Write posts people answer, quote or send to a friendReply 5, quote 5, share by DM 5, like 0.708X's code
Get to know people, so that you follow each otherYour own posts get 15 added to the reply weight in the feed of someone you follow who follows you backX's code
Write your own posts, on top of your repliesReplies from accounts a viewer does not follow are left out of For YouX's code
Stay for the first two hoursThe lift for small accounts ends when a post is two hours oldX's code
Post again within two daysPosts older than 48 hours are removedX's code
Make one strong post before three quick onesWhen several of your posts could go in one feed, the second counts 0.625 and the third 0.44X's code
Give nobody a reason to mute youMute -58.8, "not interested" -53.07, report -234X's code
Say the point in the post, then add the linkX says links are not held back. The studies disagreeX's posts, three studies
Know what Premium buysX ranks replies from subscribers higherX's help page
Start with textText posts had the highest median engagementBuffer, 2026

The weights in X's code

X scores every post it could show you. A model called Phoenix guesses how likely you are to like the post, answer it, share it, mute its author and so on. Each guess is multiplied by a weight, and the sum is the post's score. The weights are in one file, home-mixer/params/param.rs, which X copies from its live settings. The copy we read was made on November 13, 2026.

The weight X puts on each predicted action when it scores a post. Source: X's published code, home-mixer/params/param.rs, synced November 13, 2026
LabelValue
Reply5
Quote5
Share by DM5
Follow the author4
Share2.12
Repost1
Like0.71
Click on the post0.27
Open the link0.2
The weight X puts on each predicted action when it scores a postSource: X's published code, home-mixer/params/param.rs, synced November 13, 2026

The actions that count against a post:

ActionWeight
Report-234
Mute the author-58.8
Not interested-53.07
Block the author-31.2

Some actions have a weight of zero in this file: clicking through to your profile, opening a video, copying the link to a post.

How to read the numbers

Do not read them as a price list. X warns about this in the code. The weight is multiplied by how likely X thinks one viewer is to do the thing, and that guess is different for every viewer. So one report does not cancel a few hundred likes. X writes that reports are more than 1,000 times rarer than likes, and that the big number is there so a report can count at all.

What you can take from it: a post X expects people to answer or pass on scores higher than a post it expects people to only like.

Six numbers from X's own code: the weights of a reply and a like, the mutual follow boost, the 48 hours, the two hours and the 0.75
Six numbers from X's own code: the weights of a reply and a like, the mutual follow boost, the 48 hours, the two hours and the 0.75

What changed since 2023

Twitter published its weights once before, on April 5, 2023. Side by side:

Action20232026
Like0.50.708
Repost1.01.0
Reply13.55.0
A reply that the author answers75.0no such weight in the file
"Show less often", block or mute-74.0not interested -53.07, mute -58.8, block -31.2
Report-369.0-234.0

The 2023 list is in Twitter's own notes on its ranking model. Many guides still quote it as if it were today's. New in 2026 are the weights for a quote, a share and a follow, and the mutual follow boost: on a post from someone you follow and who follows you back, 15 is added to the reply weight, so 5 becomes 20. It covers their own posts, and leaves out their replies and reposts. X's note on that change says it went out to many users on July 13, 2026 at 20 and was set to 15 on July 24.

How the feed is put together

X says about 500 million posts are made each day. The code's own overview describes how For You picks from them:

  1. It collects posts from two places. Recent posts from accounts you follow, and posts from accounts you do not follow that it thinks you would like.
  2. It removes posts before scoring. Among them: posts older than 48 hours, posts you have already seen, posts with words you muted, posts from accounts you blocked, and by default replies and reposts from accounts you do not follow.
  3. It scores what is left with the weights above.
  4. It adjusts the scores. A post from an account you do not follow is multiplied by 0.75, and so is a reply or a repost from an account you do follow. When several posts from one author could go in the same feed, the best one counts in full and the rest count less: 0.625 for the second, 0.44 for the third, down to a floor of 0.25.
  5. A separate check decides whether a post may be shown at all, from your blocks and mutes and from labels X puts on posts and accounts.

A few files are not published. X names two examples: the prompts for its own AI, and some of the rules against bots. It says it holds them back so they cannot be gamed.

What it means for a small account

Your own posts can be lifted, your replies cannot

The code has a lift for small accounts. When X builds a feed, it can take one post and raise it to 16th place. The post has to be:

When more than one post qualifies, X picks one, and the likes a post has collected for its views so far count in that pick. The code also sorts viewers and authors into test groups, so the details can change. The conditions still tell you where to put your effort: into your own posts, and into the two hours after you post.

Replies are seen under the post

By default, a reply from you does not travel to the For You feed of people who do not follow you. It is read by people who open the conversation. X's help page says what moves a reply up there: the author of the post has answered it, the reader follows you, or you pay for Premium.

X's page on replies says that replies it judges to be low quality or spam are tucked behind a button called "Show probable spam", based on what the account has done before and on the reply itself.

Our own account shows the same thing

Postfjord's account on X is new. On November 16, 2026 it had 9 followers and 44 posts. Its numbers that day:

What we postedViews
A question in plain text, no link262
Posts that were only a link with its preview card1 to 34
Replies under other people's posts1 to 5

The replies got 1 to 5 views even under posts with 5,000 to 7,000 views. That is one small account, so it proves nothing. It does match the code: our own post could travel, our replies could not, and the link cards gave nobody anything to answer.

On July 28, 2026 X's head of product, Nikita Bier, wrote that links no longer need to go in the replies. Elon Musk answered in the same thread: "We haven't for over a year." In the code, opening a link has a small positive weight, 0.2.

The studies do not agree with each other:

The oldest data shows the hardest hit, and the newest set shows no clear loss. Whatever X does with the link, the weights reward answers and shares, and a bare link gives people nothing to answer. So write the point in the post itself and put the link after it.

What Premium buys

X's help page lists reply prioritization for the Basic plan, larger for Premium and largest for Premium+. Prices start at $3 a month. Subscribers can also write posts of up to 25,000 characters where others get 280.

Buffer measured the gap in the same 18.8 million posts. Regular accounts typically got under 100 views per post, Premium accounts closer to 600 and Premium+ accounts over 1,550. The study compares accounts that chose to pay with accounts that did not, so it cannot say how much of the gap the subscription itself causes.

In the three files that hold the scoring weights we found no weight for Premium. Premium does appear elsewhere in the published code: a model that gives every account a score starts from Premium accounts. We could not tell from the code whether that score reaches the feed. What X promises in writing is the higher place for replies.

Text, pictures and video

Buffer's State of Social Media Engagement 2026 gives the median engagement rate on X for each kind of post:

Median engagement rate on X by kind of post. Source: Buffer, State of Social Media Engagement 2026
LabelValue
Text3.56%
Images3.4%
Video2.96%
Link posts2.25%
Median engagement rate on X by kind of postSource: Buffer, State of Social Media Engagement 2026

Text and images are close. Video does not have the head start it has on other networks, which fits the code: opening a video has a weight of zero.

Best time to post on X

Wednesday is the one day all three big studies put among their best. They split on the rest:

StudyBest daysBest hours
Sprout SocialTuesday to Thursday12 to 6 PM, local time
BufferWednesday, Tuesday, Thursday. Saturday and Friday are its worst9 AM on Tuesday is its best slot
HootsuiteWednesday to Friday9 to 11 AM

Two of the three name the morning, between 9 and 11 AM.

The code shows why the hour matters. A post is gone after 48 hours, and a small account's lift ends after two. Post when the people who follow you are awake and able to answer. If they live in other time zones, our free X posting time planner shows a week of hours on your clock.

Check your own account

X is testing a page called Under the hood. It shows the labels on your account and posts that can limit who sees them. During the test it asks for an account at least one year old with 10 or more posts in the month before.

How we read the code

We read xai-org/x-algorithm on November 16, 2026, at the version from November 14, 2026. The weights come from home-mixer/params/param.rs, the 0.75 for accounts you do not follow and the numbers for several posts by one author from vm-ranker/params.rs, and the lift for small accounts from home-mixer/scorers/author_cold_start.rs.

Three limits to keep in mind. X says the file holds its main live values and that it tests other values on part of the traffic. A weight is multiplied by a guess about one viewer, so it says what X values and nothing about how many likes a post needs. And X changes the file: the settings in our copy were synced on November 13, 2026.

You are welcome to use the tables and the numbers. Link to this page as the source.

Posting to X with Postfjord

Postfjord schedules posts to X in the same calendar as your other channels. Write the week's posts in one sitting and set each to go out at an hour when you can stay and answer. Posting to X is an add-on of $12 a month with 40 posts a month, on any paid plan. The Channels help page has the steps.

Replies you write on X yourself. Postfjord posts your own posts there, and it does not read your X timeline.

FAQ

How does the X algorithm work in 2026?

For You collects recent posts from accounts you follow and from accounts it thinks you would like. It removes posts older than 48 hours and posts you have seen. A model guesses how likely you are to like, answer, share or mute each post, and X multiplies each guess by a weight and adds them up. A reply or a quote has a weight of 5, a like 0.708 and a report -234.

Is the Twitter algorithm open source?

Yes. Twitter published its ranking code in 2023, and X published a new version in January 2026 at github.com/xai-org/x-algorithm. Since August 13, 2026 that code includes the weights X uses to score posts. The prompts for X's own AI and some rules against bots are not published.

Does X penalize links?

X says no. In July 2026 its head of product wrote that links no longer need to go in the replies, and Elon Musk answered "We haven't for over a year." Buffer's data up to August 2025 showed link posts from accounts without Premium at zero median engagement. OpenTweet's data from 2026 shows link posts with about the same views as other posts.

Does X Premium increase reach?

X's help page says replies from subscribers are ranked higher, more so on the dearer plans. Buffer found that Premium accounts typically got about 600 views per post where regular accounts got under 100. That study compares different accounts, so it does not show how much the subscription itself adds.

How long does a post live on X?

At most 48 hours in the For You feed. X's code removes older posts before it scores anything. For an account with at most 50,000 followers, the lift for a new post ends when the post is two hours old.

Do replies help you grow on X?

Replies are read by people who open the conversation. By default X's code leaves replies from accounts a viewer does not follow out of the For You feed, so a reply does not travel the way your own post can. Under a post, X ranks a reply higher when the author answers it, when the reader follows you, or when you pay for Premium.

What is the best time to post on X?

Wednesday is the one day three big studies share. Sprout Social names Tuesday to Thursday from 12 to 6 PM local time. Buffer names Wednesday, Tuesday and Thursday, with 9 AM on Tuesday as its best slot. Hootsuite names 9 to 11 AM from Wednesday to Friday. Pick an hour when your followers are awake and you can answer for two hours.

How do I see if my X account is limited?

X is testing a page called Under the hood at x.com/i/jf/under_the_hood. It shows labels on your account and posts that can limit who sees them. During the test it needs an account at least one year old with 10 or more posts in the month before.

Get your workspace

Start on the free plan today. No card needed.

Start freeSee pricing