How does the X (Twitter) algorithm work?
Short answer
The X algorithm in 2026 ranks posts on engagement velocity (first 30 minutes), engagement weight (replies are 27× a like, retweets are 1× a like, dwell time matters most), account reputation (recent post quality, follower engagement, policy history), and content type (long-form > short, native > linked, threads > singletons). The single biggest signal: replies in the first hour.
Replies = 27× a like (the most consequential rule)
Dwell time — the invisible signal
The 'recency cliff' at 2 hours
People also ask
Is the X algorithm public?+
Partially. X open-sourced the ranking algorithm in March 2023 (github.com/twitter/the-algorithm). The repo shows the weights (replies = 27× like, retweets = 1× like, etc.) but not the full ML scoring layer or the latest 2024-2026 updates. The core dynamics — engagement velocity, weight tiers, account reputation — are confirmed from the public code.
Does the algorithm hate links?+
Not 'hate' but systematically down-weights posts with external links to non-X domains. Posts with links get ~30-40% less reach than identical link-free posts. The workaround creators use: post the content WITHOUT a link, then drop the link in the first reply (which doesn't suffer the same penalty).
How fast does the algorithm change?+
Major changes every 3-6 months, smaller tuning constantly. The big-picture mechanics (engagement velocity, reply weight, dwell time) have been stable since 2023. The fine-tuning shifts often enough that very narrow optimization tactics decay within 6-12 months. The durable plays: hook craft, reply frequency, posting cadence — these stay relevant across algorithm versions.
Why does my older content sometimes resurface?+
X has a 'For You' feed that surfaces older posts when a user's recent activity suggests the topic. A post from 6 months ago can suddenly get 1,000 new impressions because the algorithm spotted a relevant signal in your audience's behavior. This is rare but happens — it's why evergreen content (definitions, frameworks, examples) outperforms timely content over a 6-month horizon.