How to set up 2FA on Vercel

Checked against Vercel's own help on 21 November 2026. Menus change, so follow the nearest label if yours differs.

Short answer

Open Vercel's security settings (Account settings, Authentication, Two-Factor Authentication), choose the authenticator app option, and scan the QR code Vercel shows with KeyNesta (or enter the setup key by hand). Type the six-digit code KeyNesta shows back into Vercel to finish, and save the recovery material Vercel gives you before you close the page.

Before you start

Have KeyNesta open and unlocked before Vercel shows the QR code, so the code is ready the moment it appears. KeyNesta needs no account to do this. It stores authenticator-app codes only: it does not do passkeys or hardware security keys, and where Vercel offers those you set them up in Vercel directly.

Steps

  1. Sign in to Vercel and open your authentication settings at vercel.com/account/settings/authentication. Vercel's steps link straight there rather than naming a dashboard menu path.
  2. Open the authenticator setup, which Vercel links as vercel.com/account/settings/authentication?setup=authenticator. Verify your identity if prompted.
  3. Vercel displays the QR code for the new entry, with the setup key to copy if you cannot scan it.
  4. Add it to KeyNesta. Open the KeyNesta web app (or the app on your phone once it is released), unlock your vault, choose Scan QR and point the camera at the code on screen. If you cannot scan, use Import QR image, or choose Add entry to paste the setup key.
  5. Enter the six-digit code KeyNesta shows for the Vercel entry, then complete the setup prompts, selecting Enable if prompted.
  6. Download or copy your recovery codes to a secure location, then confirm that you have saved them.
  7. Back in your authentication settings, check that 2FA shows Active or Enabled and that Authenticator App (TOTP) shows Enrolled or Added.
VercelWhat to know
Where to startAccount settings, Authentication, Two-Factor Authentication
Setup key as textVercel's steps say to copy the setup key into your app if you cannot scan the code, so copy it from the QR screen and paste it into KeyNesta with Add entry.
Recovery materialVercel gives you recovery codes during setup and tells you to download or copy them to a secure location, then confirm you have saved them; each code works once.
SourceVercel Docs: Two-factor Authentication

Backup and recovery for Vercel

Vercel gives you recovery codes during setup and tells you to download or copy them to a secure location, then confirm you have saved them; each code works once. It suggests a password manager or another secure location you can reach without your device, and says you can generate a new set in your authentication settings. Vercel's page does not say how many codes a set holds.

Save whatever Vercel gives you somewhere that is not the phone holding your codes. Where to store your 2FA backup codes compares the options, and 2FA backup and sync covers backing up the KeyNesta vault itself.

Things to know about Vercel

Source

Menu paths on this page come from Vercel Docs: Two-factor Authentication, read on 21 November 2026. Vercel's page gives the setup link, the QR-code and setup-key wording, the Enable prompt and the Active/Enrolled checks, the recovery-code handling, the January 2027 authenticator requirement, the team-enforcement rules and the passkey path. It does not say how many recovery codes a set holds and names no dashboard menu path, so this page does neither. KeyNesta is not affiliated with Vercel.

Frequently asked questions

Can I use KeyNesta as the authenticator app for Vercel?

Yes. Vercel asks for a standard time-based code, and KeyNesta reads the same QR code or setup key and generates that code on your device, offline. Vercel does not learn which app you chose. KeyNesta holds authenticator-app codes only; it has no passkey or hardware security key support. How to add the code is in How do I add a 2FA code to KeyNesta?

What happens to my Vercel 2FA if I lose my phone?

Use an enrolled passkey or a saved recovery code when you sign in; with neither to hand, Vercel tells you to follow the recovery options on the sign-in screen or start account recovery. If your KeyNesta vault is synced or you made an encrypted backup, you can restore the codes on another device; the lost phone guide covers the order to do things in.

How do I add Vercel to KeyNesta if I cannot scan the QR code?

Vercel's steps say to copy the setup key into your app if you cannot scan the code, so copy it from the QR screen and paste it into KeyNesta with Add entry. Vercel does not say where on that screen the key appears, so look for it rather than relying on a button name. In KeyNesta you can also upload a screenshot with Import QR image, paste an otpauth:// link, or add the entry by hand with the secret. Delete any screenshot of the QR afterwards: it works like a password.

Can I use the same Vercel code on two devices?

Codes come from a shared secret, so any app that holds the secret shows the same codes. The tidy way is KeyNesta's optional end-to-end encrypted sync, which carries the vault to a second device. The alternative is to add the secret to a second app while the QR code is still on screen; once Vercel stops showing it, you cannot get it back without re-enrolling.

Can I use a passkey with Vercel as well as KeyNesta?

Vercel says you can add a passkey after setting up the authenticator app: open your authentication settings, then under Sign-in Methods select Add beside Passkeys and choose where to save it — a compatible device, a password manager or a hardware security key. It tells you to keep the authenticator app and recovery codes in case you lose access to the passkey. KeyNesta supports neither passkeys nor hardware security keys, so set those up in Vercel and keep KeyNesta for the six digits.

Is a passkey enough for Vercel, or do I still need an authenticator app?

You still need the app. Vercel's page says all Vercel users must set up an authenticator app by 20 January 2027, and that if you already use a passkey you should keep it and add an authenticator app. The passkey is an extra sign-in method, not a replacement for the code.

Does turning on 2FA for my Vercel account turn it on for my team?

No. Vercel says enabling personal 2FA does not enable the team setting, and that a team owner is the one who requires members to have 2FA before they access team resources. If your team already requires it, you need 2FA enabled to reach its resources either way.

How many recovery codes does Vercel give me?

Vercel's page does not say. What it does state is that each code works once, that you should download or copy them to a secure location and confirm you have saved them, and that you can generate a new set from your authentication settings. Save whatever the screen shows, all of it, before you leave the page.

Try KeyNesta free. The web app needs no sign-up.

Open the web app All platforms