1. Home
  2. Questions answered

How to set an anti-phishing code on Binance and OKX

Short answer

Binance: in the app, tap your profile, then Account Info, Security, Anti-Phishing Code, Create. Use 6 to 8 characters (at least three of uppercase, lowercase, digits and underscores) and verify with 2FA or a passkey. OKX: in the app, go to Menu, Security, Anti-phishing code. Real emails will then show your code.

Binance referral code

FAIRR
Sign up on Binance →

OKX referral code

FAIRR
Sign up on OKX →
Ask @FairRebateBot
  • Binance

    Security → Anti-Phishing Code

    Tap Create, verify with 2FA or a passkey

  • OKX

    Security → Anti-phishing code

    Open the menu in the app first

  • Binance's rules

    6 to 8 characters

    At least three of: upper, lower, digits, underscores

  • Once it's set

    Real emails show your code

    Missing or wrong code: likely phishing

How to set it (Binance app as the example)

  1. Log in to the Binance app, open the menu, tap your profile to open Account Info, then select Security

  2. Tap Anti-Phishing Code, then Create

  3. Enter your code: 6 to 8 characters, at least three of uppercase letters, lowercase letters, digits and underscores, and no special characters

  4. Tap Submit and verify with two-factor authentication (2FA) or a passkey. You're done

Binance vs OKX

Binance

In the app
Profile → Account Info → Security → Anti-Phishing Code
On the website
Profile icon → Account → Security → Advanced Security, then Enable next to Anti-Phishing Code
Code rules
6 to 8 characters, at least three character types, no special characters
Where it shows up
Binance emails and texts
Sign up on Binance

OKX

In the app
Menu → Security → Anti-phishing code
On the website
Check OKX's page
Code rules
Check OKX's page
Where it shows up
OKX emails
Sign up on OKX
ExchangeBinanceOKX
In the appProfile → Account Info → Security → Anti-Phishing CodeMenu → Security → Anti-phishing code
On the websiteProfile icon → Account → Security → Advanced Security, then Enable next to Anti-Phishing CodeCheck OKX's page
Code rules6 to 8 characters, at least three character types, no special charactersCheck OKX's page
Where it shows upBinance emails and textsOKX emails
Sign upSign upSign up

The exchange has the final word

FAQ

What is an anti-phishing code?

It's a code you choose that appears in every real email the exchange sends you. For more, see What is an anti-phishing code?.

What should I use as my code?

Binance suggests something that's hard for others to guess but easy for you to recognize.

Should I change it from time to time?

Binance says that, like a password, it's good practice to update it regularly, and to update it as soon as possible if you think it has leaked. In the app, go to Security, Anti-Phishing Code, Change Anti-Phishing Code, and verify with 2FA or a passkey.

An email has no anti-phishing code. What now?

Binance says a wrong or missing code may mean phishing and should be reported right away. OKX says an email without your anti-phishing code is a fake.

Someone asked me for my anti-phishing code. Should I share it?

No. The code is how you recognize real emails, and anyone who knows it can copy it. Being asked for it is a common warning sign.