Set up two-factor authentication

Turn on two-factor authentication (2FA) for your personal Slack account for an added layer of security. You’ll need to have access to your phone when you sign in to Slack — so if your password is compromised or stolen, only you can sign in to your account. 🔐

Here’s how it works:

  • Every time you sign in to Slack, you’ll be asked to enter a verification code.
  • Choose to have the verification code sent by text message or from an authentication app on your phone.
  • Enter the code in Slack and you’ll be signed in to Slack with added peace of mind.

💡  Read how to manage and reset your password.


Turn on 2FA

Authentication app

SMS text message

Step 1 — Download and install an authentication app

Before you can set up 2FA on your account, you’ll need to download and install an authentication app on your device. Slack 2FA can be used with most Time-Based, One-Time Password (TOTP) applications. Here are a few options to get you started:


Step 2 — Turn on 2FA in Slack

  1. Sign in to the appropriate workspace, and visit your Account page at my.slack.com/account/settings. 
  2. Expand Two-factor Authentication, and click Setup Two-Factor Authentication.
  3. Enter your password, and click Use an app to retrieve authentication codes from the authentication app on your device. 
  4. Add a new account. In most apps, you can do this by tapping the + icon.
  5. Scan the QR code by using your device's camera. If you prefer, you can choose to enter the code by hand. 
  6. On Slack's 2FA configuration page, enter the 6-digit verification code that your authentication app generates. 
  7. To finish, press Verify Code.

That's it! From now on, when you log in to Slack, just open your authentication app and enter a code along with your password. 

  1. Sign in to the appropriate workspace, and visit your Account page at my.slack.com/account/settings. 
  2. Expand Two-Factor Authentication, and click Setup Two-Factor Authentication.
  3. Enter your password, and click SMS Text Message to receive authentication codes by text message. 
  4. Select your country from the menu, and enter your mobile phone number. Include your area and/or zone code. 
  5. Next, we'll send a 6-digit verification code to your device. Enter the code on the Slack 2FA configuration page. 
  6. To finish, select Verify Code.

You'll be send a text message with your single-use authentication code every time you sign in to your workspace.

Note: Standard message rates apply. Check with your mobile service provider for information on fees for receiving SMS/text messages. 


Using 2FA with multiple workspaces

If you're a member of more than one Slack workspace, you’ll need to set up 2FA for each account separately.

Copy and paste https://your-url.slack.com/account/settings (don't forget to add your workspace's domain) to enable 2FA for all of your accounts.


Backup codes

If you lose your phone or deleted your authentication app, you can use one of your backup codes to sign in. Simply enter a backup code when asked for an Authentication Code when you sign in. 

These codes were given to you after you set up 2FA for your account, but you can find them again by going to your Account page. Print them out or save them someplace safe. 🔑

You can use any one of these codes to log in to your account, but each code can only be used once.

  

Locked out? If you don't have access to your backup codes, ask a Workspace Owner/Admin to manually disable 2FA for your account. Workspace Owners who have lost access will need to contact the Workspace Primary Owner.

Using an IRC/XMPP gateway? Your connection will be reset. Visit my.slack.com/account/gateways to retrieve an updated password.

Related Articles

Recently Viewed Articles