Saving and filling passwords

Use Universal Autofill in apps and browsers on your Mac

Learn how to set up and use Universal Autofill to fill usernames and passwords in your apps and browsers.

Tip

Universal Autofill requires 1Password 8 for Mac. If you’re using 1Password 7 or earlier, learn how to upgrade.

With 1Password and Universal Autofill, you can fill your usernames and passwords everywhere you need to sign in on your Mac:

  • in all your apps and websites
  • anywhere you’re asked to log in as an administrator on your Mac
  • when you run sudo commands in your terminal app

To get started, set up Universal Autofill on your Mac.

Set up Universal Autofill

Before you can use 1Password for Mac to autofill your information in apps and browsers, you’ll need to set up 1Password on your Mac. Then follow these steps:

  1. Choose Apple menu > System Preferences, then click Security & Privacy.
  2. Click the Privacy tab, then select Accessibility from the list.
  3. Click the lock icon and enter the password you use to log in to your Mac.
  4. Select the checkbox beside 1Password. If you don’t see 1Password, click the + button, locate the 1Password app in your Applications folder, then select it and click Open.
Turn on the Accessibility preference for 1Password

From now on, you’ll be able to use 1Password for Mac to fill your usernames and passwords without opening the 1Password app.

Fill in apps and browsers

Use the Command-Backslash (\) keyboard shortcut to autofill your usernames and passwords in your favorite apps and websites.

If you only have one login saved for an app or website, 1Password will fill it automatically.

If you have more than one login saved for an app or a website, Quick Access will open so you can choose the one you want to fill.

Get help if you’re having trouble filling in apps and browsers.

Autofill your Mac login

You can also use 1Password to fill your Mac login any time you’re asked to log in with an administrator account on your Mac, like when you want to change a system preference or use sudo commands in Terminal or iTerm2.

Create a Mac login item, if you don’t already have one saved in 1Password:

  1. Open and unlock 1Password.
  2. Click New Item, search for Mac User Account Password, and select it.
  3. Your Mac username will be filled automatically. Enter your password and click Save.

From now on, you’ll be able to use 1Password to autofill your Mac login anywhere you need it.

Create a Mac login item in 1Password

If you’re using Terminal or iTerm 2, enter a sudo command and use 1Password to autofill your Mac login.

The first time fill your password, you’ll see a message that 1Password wants to control your terminal app. Click OK to turn on the Automation preference for 1Password.

Get help if you don’t see a message to allow 1Password to fill logins in your terminal.

Autofill your Mac login password in Terminal with 1Password

Get help

If you can’t use the Command-Backslash (\) keyboard shortcut to fill in an app or browser, use Quick Access (Shift-Command-Space) to find and fill your logins. If you’re still having trouble, you can copy your passwords from 1Password for Mac and paste them where you need to use them.

If you see a message that asks if you want to link your 1Password item to an app, or that 1Password can’t verify a site should have access to your item, you can choose what you want 1Password to do:

  • Fill once: 1Password will fill your details in the app or website one time.
  • Fill and update login: 1Password will fill your login in the app or website and update your 1Password item to link it to the app or site. You can then autofill your details every time you log in to the same app or website.
  • Cancel: 1Password won’t fill your login in the app or website and won’t update your 1Password login.

A message from 1Password that asks if you want to link a login item with an app

If you don’t see a message to allow 1Password to fill logins in your terminal app, follow these steps to turn on the Automation preference:

  1. Choose Apple menu > System Preferences, then click Security & Privacy.
  2. Click the Privacy tab, then scroll down and select Automation from the list.
  3. Find 1Password in the list, then select the checkbox for Terminal or iTerm under 1Password.
Turn on the Automation preference for 1Password

Learn more

Still need help?

If this article didn't answer your question, contact 1Password Support.

Published: