Skip to content
OTP Generator

Nintendo 2FA code generator

Paste your Nintendo two-factor secret key to get the current 6-digit login code, the same one your authenticator app shows.

Find it under “Can’t scan the QR code?” when you turn on 2FA. Only have the QR?

2Your code will appear here
Paste a key to start
Calculated in your browser. Your key is never sent anywhere.
On this page

A Nintendo Account signs you in on Nintendo Switch 2, Nintendo Switch and the Nintendo eShop. Its 2-Step Verification uses RFC 6238 time-based codes, and Nintendo has only confirmed Google Authenticator. Standard generators normally give the same 6-digit code from the same key, so you can paste the key above to see it.

Nintendo Accounts hold eShop purchases, Switch Online memberships and payment details, so a second sign-in step is sensible. This generator runs in your browser and does not upload your key. Nintendo's setup centres on a QR code, and the Scan QR tab can read the key from a screenshot. Keep the key safe and save your 10 backup codes.

How to find your Nintendo secret key

  1. Sign in at accounts.nintendo.com and open Sign-in and security settings.
  2. Choose 2-Step Verification (select Edit on a PC), start the setup and confirm your identity with your password or an emailed code.
  3. Nintendo shows a QR code for Google Authenticator. That QR code contains your key.
  4. If a text key is offered, copy it. If not, save a screenshot of the QR code and open it in the Scan QR tab above to read the key in your browser. Labels may change slightly.
  5. Store the key or screenshot privately before you enter a code and save your backup codes.

How to log in to Nintendo with the code

  1. Paste the Nintendo key into the generator at the top of this page, or use the Scan QR tab with your saved QR image.
  2. Copy the 6-digit code, enter it in the Verification code field on the Nintendo Account screen and select Submit.
  3. When Nintendo asks for a 2-step code at sign-in, generate a fresh one here and select Authenticate.

Nintendo 2FA tips

  • Nintendo shows 10 backup codes after setup, each usable once. You can review them, or select Generate new codes, from 2-Step Verification > Review backup codes.
  • On Nintendo Switch 2 or Nintendo Switch you can scan the console's QR code and sign in on your phone's browser, or choose Sign in with a password on the console. Either way, have a fresh code ready.
  • 2-Step Verification cannot be set up for child accounts. Accounts that some games run on their own are separate, so turning on 2-step there does not protect your Nintendo Account.

Your Nintendo key is processed only in this browser and is never uploaded. Keep a copy in an authenticator app or password manager as well.

Nintendo 2FA FAQ

How do I turn on 2-Step Verification for my Nintendo Switch?

Nintendo's instructions use the Nintendo Account website rather than the console: sign in at accounts.nintendo.com and go to Sign-in and security settings > 2-Step Verification. When your Switch later asks you to sign in, you enter the code on the console or on your phone, depending on the sign-in method.

Do I have to use Google Authenticator?

Nintendo says its codes follow RFC 6238 (TOTP) and that it has only confirmed Google Authenticator. Other TOTP tools, including this generator, normally produce the same 6-digit code from the same key, but Nintendo does not officially support them.

I lost my phone. How do I sign in to my Nintendo Account?

On the 2-Step Verification screen, select Use another method to verify your identity and enter one of your backup codes. Without backup codes, the same option can send a code to your account's email address. Nintendo advises signing in with a backup code and removing 2-Step Verification if you will be without the app for a while.

Why is my Nintendo code not accepted?

Check that your device time is correct; on Android, Nintendo suggests Settings > Time correction for codes > Sync now in Google Authenticator. Also make sure you are using the key from your most recent setup and enter the code before it changes.

Get your Nintendo code

Paste the Nintendo setup key and copy the current 6-digit code in seconds.