X-Autopilot

X Who to Follow: how an account gets suggested

X gives each reader three Who to Follow slots roughly once every 30 hours. Here is the published floor an account has to clear to be a candidate at all.

X-Autopilot Team··8 min read
On this page · 7 sections

The short version

  • ▸Each reader gets three slots. `MAX_WHO_TO_FOLLOW_USERS` in `home-mixer/sources/who_to_follow_source.rs` is 3, and whatever the recommender returns is truncated to that before the module is built (read 1 December 2026).
  • ▸And they do not get them often. `WhoToFollowFatigueHours` defaults to 30, so the served-history hydrator marks a viewer ineligible for the module for 30 hours after the last one. Three accounts, once a day and a bit.
  • ▸The 200 accounts a reader has already been shown are excluded from the next request. `EXCLUDED_USER_IDS_LIMIT` is 200, pulled from served history filtered on `EntityIdType::WHO_TO_FOLLOW`. Being shown and not followed burns the slot.
  • ▸The code that chooses the accounts is not in the open-source release. The repo ships only a gRPC client pointed at `/s/account-recs-mixer/account-recs-mixer:grpc` with a 600ms deadline. The 2023 `twitter/the-algorithm` release did publish its follow recommender; this one does not.
  • ▸The one hard number that is published sits in the SimClusters jobs: an account needs 400 **active** followers, and must not be suspended or deactivated, to enter the weekly clustering graph that builds the candidate store.

Quick answer

X Who to Follow is a three-slot module. MAX_WHO_TO_FOLLOW_USERS in the open-sourced feed code is 3, a reader is marked ineligible for the module for 30 hours after seeing one, and the last 200 accounts they were shown are excluded from the next request. So the thing most growth advice treats as a channel is three impressions per reader per day and a bit. The code that picks which three accounts is the one piece X did not publish: the repo ships a gRPC client pointed at an account recommendations mixer with a 600ms deadline and nothing else. The one published floor is on the candidate side, in the SimClusters jobs, and it is 400 active followers.

Last updated: December 2026

The arithmetic before the algorithm

Three files decide whether the module shows up at all, and none of them is a ranking model.

home-mixer/sources/who_to_follow_source.rs sets two constants at the top:

ConstantValueWhat it does
MAX_WHO_TO_FOLLOW_USERS3The recommender's answer is truncated to this before the module is built
EXCLUDED_USER_IDS_LIMIT200Accounts already shown to this reader, excluded from the request

The exclusion list is not guesswork. The source walks the reader's served history, keeps only the entries whose entity_type is EntityIdType::WHO_TO_FOLLOW, pulls the user ids out, and takes the first 200. Those ids go into the request as excluded_user_ids. If your account was shown to someone and they scrolled past, you are not eligible to be shown to that person again until 200 other accounts have cycled through.

Then there is the fatigue gate. served_history_query_hydrator.rs computes a single boolean, who_to_follow_eligible, by checking the reader's served history against a window of WhoToFollowFatigueHours multiplied by 3,600,000 milliseconds. That parameter defaults to 30 in param.rs. Thirty hours, not twenty-four, which means the module drifts later each day for a daily reader.

Multiply it out. Per reader, per 30 hours, there are three slots, and X's own help page says Promoted Accounts can appear as suggestions in that same module. This is a real surface, and it is a small one. If you have been told that getting into Who to Follow is a growth strategy, the published caps are the first thing to weigh it against.

The part X did not open source

Here is the finding that matters most, and it is a negative.

The 2026 repo at xai-org/x-algorithm is 2,427 files across 32 top-level directories, covering retrieval, ranking, visibility filtering, safety labels and the Phoenix model. It contains no follow-recommendation service. The only thing in it that touches account recommendations is a client stub:

  • WILY_PATH is /s/account-recs-mixer/account-recs-mixer:grpc
  • TIMEOUT_MS is 600
  • NUM_ENDPOINTS is 15, re-resolved every 30 seconds
  • past the deadline the client returns deadline_exceeded and the source fails, so no module renders

That is the whole of it. The feed builds a request, sends it to a service that lives outside the release, and formats whatever comes back.

This is a change from 2023. The old twitter/the-algorithm release shipped follow-recommendations-service/ with a README that walked through candidate generation, filtering, ranking, transformation and truncation, and stated the ranking objective in one sentence: the model's score is a weighted sum of p(follow | recommendation) and p(positive engagement | follow). That sentence is still the most useful public statement about how the module is scored, and it is three years old. Anyone writing confidently about "the Who to Follow algorithm" in 2026 is either quoting that 2023 README or inventing.

We wrote up what the current release does and does not contain in X algorithm open source: what the code shows. Who to Follow is the clearest example of a boundary in that release: the feed is open, the recommender behind the feed is not.

The one published floor: 400 active followers

Candidate generation is partly public, in the simclusters/ tree, and it carries a number.

UpdateKnownFor20M145K2020.scala is a scheduled job with a Days(7) batch increment. It reads a follow-graph similarity dataset called approximate_cosine_similarity_follow and assigns accounts to clusters. Its defaults:

ArgumentDefault
minActiveFollowers400
topK20,000,000
maxNeighbors400
maxEpochs3

Those feed a filter in TopUsersSimilarityGraph.scala, and it is worth reading literally. An account is kept only if activeFollowers is at or above the minimum, it has a screen name, and it is neither deactivated nor suspended. The survivors are then sorted by active follower count in reverse and the top 20 million are taken.

Two things follow from that.

The field is activeFollowers. Not followers. The accounts that follow you but never open X do not move you toward the threshold, which is the mechanical version of the argument in is buying followers on X worth it. A purchased follower is a row in your follower count and a zero in this filter.

And the job runs weekly. Your cluster assignment is not recomputed when you post. It is recomputed on a seven-day cadence from a snapshot of the follow graph, so any change you make to who follows you shows up in the candidate store a week later at best. The companion jobs give the same impression of slow, batched identity: the similar-users job keeps your top 50 clusters and the top 300 accounts per cluster and emits 100 similar accounts, and the newer embedding job regenerates 200-dimension user vectors every 12 hours.

Downstream, WtfMbcgStore.scala reads a CandidateSeq keyed by user id out of a read-only Manhattan dataset. The thrift package is com.twitter.wtf.candidate. That is the open-source end of the pipe: the candidate store for the module. What picks three rows out of it is the closed service.

What the signals actually are, per X

For the inputs, X's own help page is a better source than the code, because the code for that step is absent. About X's account suggestions lists them as uploaded contacts, your email address or phone number appearing in someone else's uploaded contacts, your location at city or country level, your on-platform activity including your posts and who you follow and what you view or interact with, and, if your settings permit, your visits to third-party sites that embed X content.

What the feed sends matches that shape. ClientContext carries the viewer's user id, app id, country code, language code, IP address and user agent. Country and language are in the request body, so geography is not an afterthought in this module.

One more detail from the same file: the request type splits the product. A Following-tab request builds Product::HomeReverseChronWhoToFollow; everything else builds Product::HomeWhoToFollow. Two products, two configurations, one three-slot cap. If you use the chronological feed, the X Following tab gets its own module.

The levers you can actually pull

Strip out everything that is closed or batched and a short list survives.

Clear 400 active followers. Below that line one published candidate route does not include you at all. If you are not there yet, the work is ordinary and we have written it up in how to get your first 1,000 followers on X. Treat 400 active as the real milestone rather than any round number on your profile.

Turn on email and phone discoverability, deliberately. This is the only input in X's published list that you control with a switch rather than with behaviour. It decides whether someone who already has your address book entry can be shown your account. It is also a privacy decision, so make it on purpose.

Build mutual follows, not follower count. The clustering input is a follow-graph similarity dataset, and the 2023 ranker's objective was p(follow) multiplied through p(engagement after the follow). Both of those reward being genuinely embedded in a group of accounts that interact with each other, which is the same conclusion we reached from a different direction in should you follow back on X.

Do not build a plan on this module. Three slots per reader per 30 hours, with 200 accounts excluded and ads in the mix, is not a distribution channel. It is a bonus that arrives if the rest of your account is working.

That last point is the honest one. The reliable path into other people's timelines is still replying where your audience already is, consistently, for long enough that the follow graph around you thickens. X-Autopilot does that specific job: it finds the accounts worth replying to in your corner of X and replies on a schedule you set, from your own browser on your own machine, and you can see what it costs on the pricing section.

What we could not verify

Worth stating plainly, because most pages on this query do not.

We do not know the ranking features, the model, the thresholds or the diversity rules the account recommendations mixer applies, because that service is not in the release. We do not know whether the 400-active-follower floor still binds in production, only that it is the committed default in a scheduled job. We do not know how often rust_home_mixer_who_to_follow_fatigue_hours is overridden away from 30, because the parameter exists precisely so it can be. Everything above is what the published code and X's own help page state, read on 1 December 2026 against repository snapshot 52d4598.

Frequently asked

Answers indexed by Google + AI assistants.

How does X decide who to show in Who to Follow?+

The final choice happens in a service called the account recommendations mixer, which X did not open source. The feed code only builds a request for it, carrying your user id, app id, country, language, IP address, user agent and the list of accounts you were recently shown, then truncates the answer to three accounts. The candidate-generation side is partly public: the SimClusters jobs in the repo cluster the follow graph and write a who-to-follow candidate store.

How many followers do you need to get recommended on X?+

There is no published threshold for the final ranker, because the final ranker is not published. The one floor that is in the code is 400 active followers, in `UpdateKnownFor20M145K2020.scala`. Below it, an account is not included in the weekly follow-graph clustering that produces the SimClusters candidate store, so one of the candidate routes is simply closed. Note the field: `activeFollowers`, not total followers.

Why is my account never suggested to anyone?+

Start with the arithmetic rather than the algorithm. Each reader sees three accounts about once every 30 hours, the last 200 accounts they saw are excluded, and Promoted Accounts can occupy the module too. Then check the two things you control: whether you clear 400 active followers, and whether your privacy settings let people who have your email or phone number be shown your account.

Does X suggest my account to my contacts?+

Only if your discoverability settings allow it. X's help page on account suggestions says that if someone has uploaded their contacts and your email address or phone number is in them, X may suggest you to them, and that the email and phone discoverability settings control whether that happens. Those two switches are the most direct influence you have over the module.

Is Who to Follow on the Following tab too?+

Yes, as a separate product. The source builds `Product::HomeReverseChronWhoToFollow` when the request type is Following and `Product::HomeWhoToFollow` otherwise, each with its own product context. Same three-slot cap, same fatigue window, different configuration on the recommender side.

Can the module just not appear?+

Often. The client has a 600ms timeout and returns a deadline-exceeded error past it, which makes the source fail; an empty recommendation list also returns nothing. On top of that the 30-hour fatigue check runs before any of it. A missing module is the normal case, not a bug.

Sources
Related searches
x who to followhow does x decide who to followhow to get in x who to follow suggestionsx account suggestions algorithmwhy is my account not suggested on xx who to follow module codetwitter who to follow algorithmhow many followers to get recommended on xsimclusters known foraccount recommendations mixerx algorithm open sourceactive followersfollow graphx account suggestions settingshome mixer module
DY
Deepak YadavBuilding X-Autopilot

Product designer and indie hacker. Runs the agent on his own X account every day and writes up what the data shows, including when it's inconvenient.

Follow on X →
Try X-Autopilot.
$199 once. No subscription, no monthly bill. Real Chrome on your Mac.
See pricing▶
Free PDF · the X Growth Playbook

The exact playbook we use to grow on X

The bio that converts, the daily reply loop, the posting cadence, and the tool stack, in one no-fluff PDF. Drop your email and it's yours.

No spam. Unsubscribe anytime.

Free tools

Try it yourself.

All free X tools →
Keep reading

Related posts.