40404 text message: is it really X Corp?
Yes, 40404 is X Corp's real X/Twitter SMS code, but thieves trigger real codes and ask you to send them back.
Enter a 40404 code only in the X app or X login page you opened. A reply, DM, call or outside link means theft.

How a fake 40404 differs

-
Refuse any request to send the 40404 code back.
This is the core theft pattern. The attacker starts the X login, your phone receives the real code from 40404, and the attacker asks for it as fake support, a fake buyer, a fake employer, or a fake friend locked out of their account.
-
Do not open a login link paired with a 40404 code.
Scams pair the real code with a fake follow-up page shaped like x-login-help.com or secure-x-support.com. The real code proves only that an X login step started. It does not prove that the link came from X.
-
Hang up if a caller says they need the 40404 code.
X does not call to collect a text code after sending it. A caller reading a case number, employee ID, or city name is adding theater around one ask: tell me the numbers so I can enter them first.
-
Ignore countdowns that threaten your handle.
Fake notices use lines like final warning, permanent suspension, copyright strike, verified badge removal, or verify in 10 minutes. A real one-time code does not need a deadline shouted from a stranger's text or DM.
-
Keep passwords and backup codes out of the thread.
A 40404 code is already enough to pass one login gate. A password or backup code gives the thief a second way in, especially if they try again after you change the first code or if SMS stops working.
-
Watch for the sender switch after 40404 delivers the code.
The short code can send the real login number while the thief uses a 10-digit number, email, DM, or call for the ask. That split matters. 40404 delivered the code. The other sender is trying to collect it.
-
Read the domain, not the X logo.
Fake pages copy the black X mark and the login color, then hide the catch in the address: x-help-login.com, secure-x-support.com, or x.com.account-check.example. Extra words before or after the real name put you on a different site.
What to do now
-
Leave the 40404 code in the text if you did not start the login.
Do not reply with the digits, read them to a caller, send a screenshot, or paste them into a page opened from a DM. The code was made for an X screen, not for a person asking you to prove anything.
-
Open X from your app icon or a saved bookmark.
Do not use the link in the text, the DM, or the caller's follow-up message. Check whether you are still signed in. If X needs a login check, handle it inside the app or the login page you opened yourself.
-
Change the X password from settings if the code was not yours.
Do it inside X after you open the app yourself. Pick a password you have not used on the email tied to the account, because email access can help a thief reset the account again after the SMS code fails.
-
Sign out X sessions you do not know.
Use X settings to remove active sessions or devices that are not yours. Then turn on X two-factor authentication with an authenticator app or security key so the next attacker cannot rely on a text code alone.
-
Use X's published Help Center page for login-code trouble.
X publishes help for two-factor authentication and login-code problems at https://help.x.com/en/managing-your-account/issues-with-login-authentication. Use that page, not a phone number, email address, or support account sent by the person asking for the code.
-
Report the outside sender, not the 40404 thread.
The scammer is the DM, caller, email, or 10-digit number asking for the code while 40404 is only delivering the login text. Keep the message history if you need it for an account-recovery case, then block the outside contact.
What real messages from 40404 do
-
Enter the code after you started an X sign-in.
The normal 40404 login text is short because its job is narrow: prove that the phone tied to the account is in your hand. It lands after you try to sign in, add a phone, reset a login step, or pass a check on an X screen.
-
Use 40404 codes only in the X screen you opened.
The code is not a support ticket number, not a receipt, and not proof for a stranger in your DMs. If you paste it into the real X login box, it completes your own sign-in. If you send it to a person, it completes theirs.
-
Do not answer anyone after an unrequested 40404 code.
The text can still be real when the login attempt is not yours. That means someone has reached the step where X asks for the phone code, usually after trying a password or a reset path tied to your account.
-
Check whether you turned on SMS notifications before trusting non-code 40404 texts.
This short code has been used for X and older Twitter SMS features in the United States, including account notices and text commands. Those texts talk about X or Twitter activity. They do not sell verification badges, unlock ad credits, or settle a copyright claim by text.
-
Text HELP to 40404 from the same thread if you need to test the SMS channel.
X/Twitter SMS uses short commands, not a chat with a live agent. A real command flow stays inside the 40404 thread. A demand to move to WhatsApp, Telegram, a phone call, or a different number is outside that flow.
Got a text with a link?
Paste the link. Bewary checks its domain and live scam feeds, and tells you straight, free.
Look up 40404 in your app
This is what the Bewary API answers for 40404. The MCP tool lookup_shortcode returns the same. SMS short code lookup API · This answer as JSON
curl "https://api.bewary.app/v1/shortcode/US/40404" \
-H "Authorization: Bearer $BEWARY_API_KEY"
import os
import requests
r = requests.get("https://api.bewary.app/v1/shortcode/US/40404", headers={"Authorization": f"Bearer {os.environ['BEWARY_API_KEY']}"}, timeout=10)
result = r.json()
print(result["verdict"], result["p_scam"], result["reason_codes"])
const res = await fetch("https://api.bewary.app/v1/shortcode/US/40404", {
headers: { Authorization: `Bearer ${process.env.BEWARY_API_KEY}` },
})
const result = await res.json()
console.log(result.verdict, result.p_scam, result.reason_codes)
{ "verdict": "safe", "reason_codes": [ "SHORTCODE_LEGITIMATE" ], "facts": { "code": "40404", "country": "US", "status": "legitimate", "operator": { "name": "X Corp (formerly Twitter, Inc.)", "brand_id": "xcorp" } }} Sources
What this page checks against.
- X Help Center – Two-factor authentication troubleshooting (references 40404)help.x.com
- X Blog – Introducing Fast Follow and other SMS tips (confirms 40404 as US short code)blog.x.com
- TextingWorld – Short Code 40404 registry record (Twitter, registered 10/7/09)textingworld.com
- X Engineering Blog – Twitter and SMS Spoofing (spoofing risks for 40404)blog.x.com