← Back to blog
Social Media

How the X/Twitter/Grok Algorithm Works

A deep dive into how the X platform ranks and distributes content, and what it means for your organic reach.

X published its recommendation algorithm source code in 2023, which means we’re not guessing any more. Here’s what actually determines whether your posts get distributed — and what’s changed since Grok got woven into the ranking.

The Core Ranking Signal: “Heavy Ranker”

Every tweet goes through a two-stage process. First, a candidate generator pulls ~1,500 posts from accounts you follow and ones the system thinks you’ll engage with. Then a neural network — the Heavy Ranker — scores each one and sorts them.

The Heavy Ranker’s top weighted signals, roughly in order:

  1. Likes — by far the highest weight
  2. Retweets — strong signal, but weighted less than likes
  3. Replies — a reply you write carries more weight than one you receive
  4. Dwell time — how long someone’s cursor sits on your tweet
  5. Profile clicks — someone clicking through to your profile is a strong indicator
  6. Video views — for media posts, completion rate matters

What Tanks Your Reach

The algorithm actively demotes certain behaviours:

Grok’s Role

As of late 2024, Grok is increasingly used to classify content quality and context. It adds a semantic layer on top of raw engagement signals — a post with high engagement but that’s classified as misleading or low-quality by Grok may be ranked down regardless of likes.

This means purely engagement-farming content is getting harder. Substantive content that generates genuine engagement — saves, profile clicks, meaningful replies — is what the combined system rewards.

What Actually Works in 2026

Based on the algorithm mechanics:

From an analytics perspective, X’s native analytics is pretty thin. If you’re running paid campaigns on X, make sure your UTM parameters and GA4 tagging are clean — X’s attribution is notoriously unreliable.

Found this useful? Book a free 15-minute call to talk through your setup.

🍓 Book Free Call
🍓 Free 15-Minute Call