X (Twitter) Search
Markdown
X is the surface people reach for when they want to know what is happening right now. For breaking news, live event reactions, and opinion on a developing story, its internal search returns conversation about an event while it is still unfolding. That real-time character is what makes X a search engine in its own right, and it is why X sits at the centre of the current real-time AI search story through its integration with Grok.
This distinguishes X from the other surfaces in the social search pillar. TikTok and Instagram search serve visual discovery and consumer intent; Reddit serves considered, discussion-led queries. X serves immediacy: the query is often an event, a name, or a topic the searcher wants the latest on, and freshness outranks nearly everything else.
Why is X a real-time search engine?
X’s help centre describes search as the way to “follow ongoing conversations about breaking news or personal interests”.1 People use it to check whether a service outage is widespread, to follow a live sports or news moment, and to read unfiltered reactions before a mainstream write-up exists.
What extends that value beyond the platform is Grok. Grok draws its live signal directly from X, so a post that gains traction can be pulled into a synthesised AI answer about a developing topic while the story is still moving. A single well-formed post can therefore work twice: once inside X’s own search, and again as material Grok can retrieve and cite. That dual role, rather than any traffic Google sends, is the reason X search rewards clear, well-formed posts.
How does X search ranking work?
In January 2026 X open-sourced a new recommendation algorithm on GitHub, a full replacement for the heuristic-heavy system it succeeded, whose ranking model, Phoenix, it described as a “Grok-based transformer”.2 That first release shipped a sample transformer ported from xAI’s open-source Grok-1 model; the repository has since published the production model code itself.3 The Following feed, chronological until November 2025, is now sorted by predicted engagement as well.4
The current system is a two-tower retrieval model. A user tower encodes each person’s features and engagement history; a candidate tower encodes posts. The model reads the text of each post semantically, understanding what it is about rather than matching exact keywords, then runs a similarity search between the towers to surface relevant content, including out-of-network posts the user does not already follow. It learns ranking end-to-end from behaviour.3
The model predicts a probability for each of about two dozen actions, which the repository groups as engagement (favourite, reply, repost, quote and three kinds of share), clicks, attention measures including dwell time and video watch time, following the author, and negative signals such as not-interested, mute, block and report. A scorer combines them as Final Score = Σ (weight × P(action)), with positive actions carrying positive weights and negative actions negative ones. The weights are published, in the repository’s home-mixer/params/param.rs, and xAI runs cron scripts to keep those defaults matching production values.3
A specific set of multipliers circulates widely as though it described the current system, typically “likes ×1, reposts ×20, replies ×13.5, bookmarks ×10”. It matches neither published release. The weights Twitter published for the previous algorithm in April 2023 put a predicted like at 0.5, a repost at 1.0 and a reply at 13.5, with no bookmark term,5 and the current model’s prediction list has no bookmark action either. What the 2026 release removed was hand-built input features, its first README stating that “we have eliminated every single hand-engineered feature and most heuristics from the system”.6
The current weights are published too, and they do not work the way the circulating multipliers imply; xAI added a note in August 2026 saying so. A weight scales the predicted probability of an action, not the raw count of it, “so e.g. it’d be incorrect to see that a report has 468 times higher weight than a like and conclude that e.g. ‘1 report cancels out 468 likes’”. The probability being scaled is your own likelihood of taking that action, which is driven largely by your own behaviour.3 Treat the direction as sound, since replies, reposts and dwell are all predicted and negative signals are penalised, but treat any engagement-count multiplier as folklore.
Search results, as opposed to the algorithmic feed, have their own ordering. X’s help centre says Top results “show the most relevant posts for your search query”, are “personalized based on your X activity and the people you follow”, and are selected by an algorithm rather than curated by hand; searchers can switch to the Latest tab instead.7 X does not document which signals decide relevance, so two users searching the same term can see different orderings for reasons neither can inspect.
How do you optimise an X profile for search?
Treat the profile as a small set of fields X scans, and place your target terms where they are both indexed and visible.
Handle and display name. Both are indexed and both are searchable. A display name that includes a genuine descriptor (“Ana Silva, Local SEO”) matches more searches than a name alone, without looking stuffed.
Bio. Write it in the natural language people search in, and include the terms you want to be found for: your field, your speciality, your location if it matters. Avoid a wall of keywords, which reads as spam to humans and gives the ranking model nothing distinctive to match.
Pinned post. Pin a high-value post to the top of the profile so the first thing a searcher who lands on you sees is proof of what you cover. It is the profile equivalent of a strong opening passage.
How do you optimise posts for X search?
Answer in the first line. X truncates posts and search users scan fast. State the substance in the opening sentence rather than building up to it. A post that front-loads the point holds attention long enough to earn the replies, reposts and dwell that ranking rewards.
Links in the main post. For years the standard advice was to post the substance first and put any external link in a reply, because link posts reached fewer people. X’s head of product, Nikita Bier, denied in October 2025 that links were “deboosted”, attributing the gap to lower engagement: “the web browser covers the post and people forget to Like or Reply. So X doesn’t get a clear signal whether the content is any good.”8 That month X began testing a “link experience” on iOS that collapses the post to the bottom of the browser view so readers can react while reading. On 28 July 2026 Bier told Mark Zuckerberg on X that “you do not need to put the links in replies anymore”,9 and the next day Elon Musk, asked by Paul Graham whether X no longer penalised posts with links, replied “We haven’t for over a year”.10 Whether link posts now reach as many people as other posts has not been independently established, so compare the two on your own account before settling on either habit.
Use hashtags sparingly. In December 2024 X’s owner, Elon Musk, told users directly to stop using them: “Please stop using hashtags. The system doesn’t need them anymore and they look ugly.”11 X went on to ban them from advertisements in June 2025.12 X’s own help centre is less absolute: it still says hashtags “categorize those posts and help them show more easily in X search”, and recommends no more than two per post while setting no technical limit.13 The feed’s ranking model represents a post by its content rather than its tags, so the topic belongs in the sentence itself; a single established tag for an event or community still makes a post findable by people searching that tag.
Favour threads for depth. A thread clusters related posts under one parent and holds attention across several of them, and dwell time is one of the signals the ranking model weighs. It also gives a topic more surface area to match a search, and room for a link in a later post. For anything with real depth, a thread outperforms a single post.
Write to earn a reply or a repost. Replies, reposts, quotes and dwell are all actions the model predicts, where a like is one signal among two dozen and bookmarks are not in the list at all. Posts that ask a real question or take a defensible position travel further than agreeable observations that collect passive likes.
How does X search feed AI answers?
Grok pulls its real-time signal directly from X, so an authoritative, well-engaged post on a developing topic can be drawn into a synthesised Grok answer and cited there. This is a clear current example of social posts feeding an AI search surface at query time rather than through slow crawl-and-index.
That access is close to exclusive. X’s robots.txt grants scoped permission to Googlebot and Bingbot, blocks Google-Extended and Meta’s AI crawlers outright, carries the shared AI-training opt-out token, and ends with a catch-all User-agent: * / Disallow: /.14 Grok reaches X content because Grok sits inside X; most other AI systems are walled off by the file rather than out-competed. In a pillar built on the premise that social content feeds AI answers, X is a clear case of a platform deciding which AI systems that applies to. The mechanic is established; the traffic it returns is not yet large, and should not be overstated. Because that file decides the ceiling, X is the one platform in this pillar where the AI-citation case is narrow: it runs through Grok or not at all. The generative engine optimisation principles that earn citations elsewhere, plain statements backed by specifics, apply to posts as much as to pages.
Does X content rank in Google?
Sometimes. Public X profiles and individual posts can appear in ordinary Google results for names and topics, and Google lists carousels such as “Latest posts” and “What people are saying” among the places X content shows up.15 This happens through normal crawling and indexing of public pages, not a guaranteed data feed. Search Console’s platform properties now report how an X account’s posts perform in Google Search, so that exposure can be measured rather than guessed.15 A clear, keyword-honest profile earns whatever Google exposure is going without extra work, but the crawler restrictions above cap how much there is to earn. Real-time intent inside X is the surface where the effort reliably pays.
Footnotes
-
X open sources its algorithm while facing a transparency fine and Grok controversies — TechCrunch ↩
-
x-algorithm: the algorithm powering the For You feed on X — xAI on GitHub ↩ ↩2 ↩3 ↩4
-
X Now Algorithmically Ranks Posts in Following Feed — Social Media Today ↩
-
Recap heavy ranker weights, the-algorithm-ml — Twitter on GitHub, weights as at 5 April 2023. ↩
-
x-algorithm README at the January 2026 release — xAI on GitHub. The repository’s README was rewritten in August 2026 and no longer carries this sentence, so the original release is cited directly. ↩
-
X makes overtures to journalists with new feature designed to improve reach for links — Nieman Lab ↩
-
Nikita Bier on X, 28 July 2026. ↩
-
Elon Musk on X, 29 July 2026, replying to Paul Graham. ↩
-
Are hashtags dead? Elon Musk says ‘please stop’ using them on X — FOX 5 DC ↩
-
x.com/robots.txt, retrieved 10 November 2026. ↩
-
Analyze your social and video platform content performance in Search Console — Google Search Central ↩ ↩2