How to enable two-step verification

Two-step verification (also known as two factor authentication or 2FA) is a highly recommended security feature that adds an extra layer of protection to your Dropbox account. Enabling two-step verification means that Dropbox will require a six-digit security code (in addition to your password) when you sign in to your account or link a new computer, phone, or tablet. 

In order for two-step verification to work correctly, you'll need a mobile device capable of receiving text messages or running a compatible mobile authenticator app.

Already use two-step verification and locked out? Learn how to regain access to your account.

Sections in this article:

How to enable two-step verification

  1. Sign in to
  2. Click your avatar.
  3. Choose Settings.
  4. Select the Security tab.
  5. Toggle Two-step verification to On.
    • If you see Managed by single sign-on under the Security tab, your team uses single sign-on (SSO). This means you might not be able to use two-step verification with Dropbox. Contact your admin to learn more.
  6. Click Get started.
  7. Re-enter your password. 
  8. Choose if you want to receive your security code by text message or mobile app.

Text messages*

If you choose to receive your security codes by text message, you need a phone capable of receiving text messages (carrier rates may apply). A text message containing a security code will be sent to your phone each time you sign in to Dropbox.

To receive your code via text message:

  1. Select Use text messages during two-step verification setup.
  2. Enter the phone number where you'd like to receive text messages.
  3. Click Next.
  4. You’ll receive a security code via text message. Enter this code into the prompt on
  5. Click Next.

*As of March 9, 2023, setting up new devices to receive security codes by text message is not supported for +92 country code.

Mobile app

If you choose to receive your security codes through an authenticator app, you’ll first need to download one. The authenticator app you choose will need to generate a unique time-sensitive security code. Most authenticator apps can generate security codes even when cellular/data service is not available, which can be useful when traveling or where coverage is unreliable. Any app that supports the Time-based One-Time Password (TOTP) protocol should work, including:

If you use an authenticator app to receive your verification codes, please add primary and secondary backup phone numbers.

To receive your code via mobile app: 

  1. Select Use a mobile app during two-step verification setup.
  2. You can either:
    • Scan the barcode (if your app supports it): Open your app of choice and choose to add a new account. You may then be able to use your phone's camera to scan the barcode on
    • Manually enter your secret key: You'll be given a secret key on that you can type into the app. Use the steps in your app to add a new account using a secret key.
  3. Click Next.
  4. Once the authenticator app is configured, enter the security code it generates to verify setup and enable two-step verification.
  5. Click Next.

Note: If you use a Unix or Linux shell, you can safely generate a security code from your computer from the command line using the OATH tool.

How to change your two-step verification phone number

  1. Sign in to on a web browser.
  2. Click the avatar at the top of any page.
  3. Click Settings.
  4. Select the Security tab.
  5. Click Edit next to your phone number. 
    • You'll be prompted to enter your password to continue

How to add a backup method for two-step verification

After enabling two-step verification, consider adding a backup phone that can receive text messages as well. If you ever lose your primary phone, or can't use your authenticator app, you can send a security code to your backup phone number instead.

  1. Sign in to
  2. Click your avatar.
  3. Choose Settings.
  4. Select the Security tab.
  5. Under Two-step verification, click Add next to Backup method.
  6. Enter your password.
  7. Enter the phone number of your backup device.

How to use a backup code for two-step verification

When enabling two-step verification, you'll receive ten backup codes. Each 8-digit code can be used once to access your Dropbox account in case of emergency. 

To find your backup codes:

  1. Sign in to
  2. Click your avatar.
  3. Choose Settings.
  4. Select the Security tab.
  5. Under Two-step verification, click Show next to Recovery codes.
  6. Enter your password.
  7. Use or save the code that appears.

To use a backup code:

  1. Sign in to
  2. Click Having trouble getting a code?
  3. Click Enter emergency backup code.
  4. Enter one of your emergency backup codes.
  5. Click Enter.


  • When entering a backup code, be careful to transcribe the code correctly. The number "1" can look like an "L," a "0" (zero) can look like an "O," etc.
  • If you've used your last backup code, you will be prompted to generate new backup codes.
  • We also recommend changing your password if you've lost your phone.

How to use a security key for two-step verification

You can use a security key for two-step verification, rather than a 6-digit security code. A security key is a small USB, Bluetooth, or Near Field Communication (NFC) device that follows one of the open standards:

  • ‘FIDO Universal 2nd Factor (U2F)'
  • 'Web Authentication (WebAuthn)', also known as 'FIDO2’

 Unlike SMS or mobile app verification, a security key doesn’t require a separate battery or network connection. Most importantly, security keys use authenticated communication to defend against phishing attacks.

Set up a security key for your Dropbox account:

  1. Sign in to
  2. Click your avatar.
  3. Choose Settings.
  4. Select the Security tab.
  5. Under Two-step verification, click Add next to Security keys. If you do not see this section, follow the Enable two-step verification instructions before proceeding.
  6. Enter your password
  7. Insert your security key into a USB port, then click Begin setup.

Where can I use my security key?

Once you have a security key, it can be enabled for both your personal and work Dropbox accounts. It can also be used with other WebAuthn or U2F enabled services, such as Google apps.

Currently, security keys are only supported on select devices and browsers, so you must first set up two-step verification for your Dropbox account and select to receive codes via SMS messages or a mobile app. This step ensures that you have a backup method, in case a device doesn't support your security key.

Dropbox only supports using a security key when signing in to using the Chrome or Firefox web browsers. You can’t use a security key to sign in to the desktop or mobile apps at this time. Don’t worry, you still have the option to use text or mobile app two-step verification on devices and platforms that don’t support U2F or WebAuthn, or if you don't have your security key available.

Using a security key
Note: Security keys differ in the exact instructions to activate them. Your key may require a tap or button press to activate registration. If you are having difficulty completing security key registration, verify that your security key is U2F or WebAuthn capable. You can also refer to the manufacturer instructions specific to your device.
How helpful was this article?

We’re sorry to hear that.
Let us know how we can improve:

Thanks for your feedback!
Let us know how this article helped:

Thanks for your feedback!