How to generate two-factor authentication codes in 1Password

1Password is one of our Favorite password manager for a good reason. It has great features, such as the ability to generate one-time passwords that you can quickly enter when you log into your online accounts.

Yes, 1Password can save your passwords and also be your default authentication app. Before we show you how to set up two-factor authentication codes for different websites in 1Password, let’s first talk about the pros and cons of using 1Password as the primary authenticator.

table of contents

Should you use a password manager to generate one-time passwords?

If you use a password manager, you are already on the right track for keeping your online accounts secure. 1Password is among the best password managers out there, and you can also use it as your primary authentication app for two-factor authentication. This means that 1Password can store all of your passwords in addition to the codes you would otherwise receive, either via SMS or an authentication app like Authy or Google Authenticator.

When you use 1Password to generate one-time passwords (OTPs), you gain a lot of convenience. It automatically backs up and synchronizes your OTPs on all devices, and you get the same level of security for them as for other data stored in 1Password. This means that you can access your OTPs from your computer and smartphone, which is more convenient than using smartphone-only authenticator apps.

1Password also automatically copies OTPs to the clipboard when you log in, which will save you some time.

I switched from LastPass to 1Password (and so should you)

On the other hand, if your 1Password account is compromised, all of your accounts are at risk. Assuming you’ve enabled two-factor authentication for most accounts, using a different authentication app can mitigate some of the risks.

However, for most people, it is better to use some type of two-factor authentication than none at all. If the availability of two-factor authentication codes on all devices (as opposed to smartphones only) is a huge benefit for you, consider using a password manager that also doubles as an authentication app.

How to add two-factor authentication codes to 1Password

Adding two-factor authentication codes to 1Password is similar to adding it to Google Authenticator or Authy. We’ll walk you through the steps on every major platform.

SMS two-factor authentication isn’t perfect, but you should use it anyway

Make 1Password your authenticator app on iPhone and iPad

There are two ways to add authenticator codes 1Password for iPhone . One of them involves scanning a QR code and the other involves inserting the secret code for OTPs into 1Password. The QR code method is useful when the code is displayed on another device.

However, you cannot scan a QR code from Safari on iPhone using 1Password’s iPhone app. Instead, you can put the authenticator’s secret code into 1Password. We’ll show you how to do both.

Open 1Password on your iPhone and go to one of your saved logins. At the top right, tap Edit.

Scroll down and tap Add New One Time Password.

Tap on

Here you have two options to continue – either by entering a QR code or by pasting in the authenticator secret code. For the former, tap the QR code icon.

Tap the

Now scan the QR code and you will see six-digit codes in 1Password. Tap Done to save this.

Tap the one-time password to copy it

Alternatively, you can copy and paste the authenticator’s secret code into 1Password on any website that supports two-factor authentication, then tap Done.

Tap Done

Use 1Password as an authenticator on Android

Likewise, you can easily add one-time passwords too 1Password for Android, even.

Go to a saved login on 1Password and tap the pencil icon.

Tap the

You can go ahead and tap “Add New Section”.


Then you can tap on “Add New Field”.


Now you should select “One Time Password”.


Tap on the “QR code symbol” to scan a code from another device.

Select “Save” when 1Password displays OTPs.


Alternatively, you can insert the authenticator’s secret code into 1Password and tap on “Save”.

Set up authentication codes in 1Password for Mac

1Password for Mac allows you to easily set up two-factor authentication for almost any website that supports it. Follow these steps.

Open 1Password on your Mac and go to a saved login. Click the “Edit” button located above the credentials.

Click on

You can now click the “T” button next to the “New Field” form in 1Password.

Click the

Select “One-Time Password”.

Click on

This is where things get interesting. Click on the QR code icon and 1Password will open its code scanner.

You can drag this code scanner window to drop it over the QR code in Safari or any other web browser.

Drag the 1Password QR code scanner into your browser window

This will automatically add the OTPs to 1Password.

If the QR code is on a different device, click the QR code icon to start the code scanner, then select the camera icon in the lower right corner.

This allows 1Password to use your webcam to scan QR codes. Just point the QR code at your webcam and you’re done. The OTPs are displayed in 1Password.

You also have the option of entering the authenticator secret code in the field labeled “Enter Unique password code “so that 1Password generates OTPs.

Paste your authenticator secret code into the field labeled

Now click on “Save” to complete the process.

Set up authentication codes in 1Password for Windows

You can easily add authenticator codes too 1 Password for Windows as. Here is what you should be doing.

Open 1Password and go to a saved login. Click on “Edit”.

Click on Edit

Scroll down to the box labeled “One-Time Password”.

The one-time password field is what you need to add 1Password codes for two-factor authentication

Click the QR code icon to start scanning your authentication code.

Select “From My Screen” and drag the QR code scanner to the top of the webpage that shows your authenticator code. If you have saved the QR code in an image file, you can click on “From image file”. You can also select “From clipboard” to call up a QR code that is on your clipboard.

With 1Password for Windows, you can choose where to get the QR code from when you set up two-factor authentication

OTPs are now displayed in 1Password. You can also put your authenticator secret code in the same field if you don’t want to scan a QR code.

Click “Save” to complete the process.

Click on

From now on, 1Password will automatically copy OTPs to the clipboard when you log into online accounts. This makes logging in to websites much faster, even if you’ve enabled two-factor authentication.

Related Posts