X / Twitter

X (Twitter) Algorithm:
How Posts Get Ranked in 2026

X's recommendation system is one of the most complex in social media — and it's open-source. Here's exactly how it scores, ranks, and distributes your content to new audiences.

See Ranking Factors Algorithm Tips

Two Timelines, Two Different Logics

X serves content through two distinct timeline modes. Understanding which one you're optimizing for changes your entire strategy.

For You Feed

Algorithmic Timeline

The "For You" feed uses machine learning to surface tweets from accounts you don't follow — weighted heavily by engagement signals, topic relevance, and author credibility. This is where viral reach happens.

  • Mixes followed accounts with recommended strangers
  • Engagement rate (replies, retweets, likes) heavily weighted
  • Recency matters — posts older than 24h get deprioritized
  • X Premium subscribers get boosted distribution
  • Best for: growth, discovery, viral potential
Following Feed

Chronological Timeline

The "Following" feed shows tweets only from accounts a user explicitly follows, ordered by time. It's predictable, transparent, and immune to algorithmic suppression — but limits your discovery potential.

  • Shows only followed accounts in reverse chronological order
  • No algorithmic filtering or amplification applied
  • Posting frequency matters more here — consistency wins
  • Reach limited to existing audience only
  • Best for: loyal followers, time-sensitive updates
💡

Key insight: Most impressions on X come from the "For You" feed. Optimizing for the algorithm — not just your followers — is where significant growth happens in 2026.

Key Signals X's Algorithm Weighs

X's open-source recommendation code reveals a weighted scoring system. These are the top signals that determine where your post appears.

Engagement Rate
85%
Relevance Score
78%
Recency
70%
Author Credibility
65%
Media Presence
58%

Engagement Rate

Replies > Retweets > Likes in the weight hierarchy. Conversations indicate genuine interest and boost distribution significantly.

Relevance Score

X's interest graph matches post topics to user behavior. Topic coherence across your account builds stronger relevance signals.

Author Credibility

Account age, follower quality, historical engagement rates, and Premium status all contribute to an author trust score.

How X Scores Every Post

Based on X's open-sourced recommendation code (github.com/twitter/the-algorithm), here's how the scoring pipeline actually works.

// X Recommendation Score — simplified from open-source code
 
score = (
  engagementWeight(replies × 27.0 + retweets × 20.0 + likes × 1.0)
  + relevanceScore(topicMatch, userInterestGraph)
  + authorTrustScore(accountAge, followerQuality, premiumStatus)
  + recencyDecay(timestamp) // posts decay after ~24h
  - spamPenalty(blockRate, reportRate, mutes)
)
 
// Replies have 27x the weight of likes — conversations drive distribution
// External links receive a 50% distribution penalty in For You feed

Step 1

Candidate Generation

System pulls ~1,500 tweet candidates from followed accounts + interest graph to evaluate for each user session.

Step 2

Heavy Ranker Scoring

A neural network scores all candidates using the weighted formula, ranking them from most to least likely to get engagement.

Step 3

Heuristic Filters

Rules applied: max 2 tweets per author, content diversity, NSFW filtering, block/mute lists, and spam removal.

Engagement Rate by Content Type

Average engagement rates across X content formats, based on aggregated data from 2025–2026.

4.2%
Video Tweet avg. engagement
2.1%
Thread avg. engagement
−50%
Distribution penalty for external links

Optimal Posting Strategy for X

Timing, frequency, and format recommendations to maximize algorithmic distribution on X.

Strategy Element Recommendation Why It Works
Best Times (EST) 8–10 AM, 12–1 PM, 5–7 PM Peak user activity windows drive faster early engagement accumulation
Daily Frequency 3–6 posts per day Consistent volume increases chances of catching the algorithm window
Thread Length 4–8 tweets per thread Threads keep users on platform longer, boosting author credibility score
Reply Speed Reply within 30 min of posting Early replies from the author signal activity and boost first-hour scoring
Hashtags 1–2 max, highly relevant only Overuse signals spam; 1–2 targeted tags improve topic categorization
Media Native video or images preferred Native media keeps users on X vs. external links which are penalized
Engagement Bait Avoid explicit "like/RT if" asks Manipulative engagement is actively penalized by X's classifiers
Link Placement Add links in first reply, not tweet Keeps main tweet free from the 50% link distribution penalty

How X Premium Affects Your Distribution

X's subscription tiers directly influence algorithmic reach. Here's what the evidence shows about the distribution advantage for paying users.

Premium Boost in For You

X explicitly states that Premium subscribers receive priority ranking in "For You" recommendations. This creates a meaningful organic reach advantage over non-subscribers.

Half-Reply Revenue Share

Premium+ users earn ad revenue from replies to their posts. This incentivizes creating content that generates replies — aligning monetization with algorithmic signals.

Longer Posts & Videos

Premium users can post up to 25,000 characters and upload 3-hour videos. Long-form content encourages more dwell time, which is a positive ranking signal.

Edit Post Feature

Ability to edit posts within 60 minutes means you can fix errors without deleting and reposting — preserving accumulated engagement that counts toward your score.

Non-Premium Distribution

Accounts without Premium still appear in For You feeds, but are ranked below Premium equivalents. Engagement quality becomes even more critical to compensate.

Verification ≠ Trust

The blue checkmark is now purely a subscription marker, not a credibility signal. Algorithm trust is still built through historical engagement quality and account age.

9 Proven X Algorithm Tips for 2026

Apply These Strategies to Every Platform

Explore how other platform algorithms work and build a unified multi-platform strategy.

LinkedIn Algorithm → Ranking Signals