ChrisWrites.com
  • How-To
  • Latest News
  • Mac OS X
  • Safari
  • iTunes
  • iOS
ChrisWrites.com
  • How-To
  • Latest News
  • Mac OS X
  • Safari
  • iTunes
  • iOS
ChrisWrites.com
  • How-To
  • Latest News
  • Mac OS X
  • Safari
  • iTunes
  • iOS
How-To • OS X

I’ve forgotten my Mac’s password! What should I do?

10:30 am
Add Comment
Chris
8 Min Read

Adding a password to your Mac is essential for helping to keep your sensitive files and personal information safe from prying eyes, but what happens if you forget or lose this password? Does it mean you can never log into your Mac again?

Even if you haven’t password-protected your Mac’s login screen (and if you haven’t, then you really should) every Mac has an admin password, and there’s a wide range of tasks that require you to enter this password. Whether it’s installing, deleting or changing important apps or files; making changes to your system settings; or updating to the latest version of macOS, sooner or later you’re going to have to enter your admin password. As soon as you realise that you can’t remember your admin password, you should take steps to recover it – even if you don’t need it right now.

Regardless of whether you’ve lost your login password or your admin password (or whether you use the same password for both tasks) there’s several ways that you can regain full access to your Mac – so don’t panic!

In this article I’m going to share several techniques that you can use to recover or reset your Mac’s password, including using macOS’ built-in password reset utility.

Note that if you do reset your password, then you’ll need to create a new Keychain file the first time you use this new password – this something I’ll be covering towards the end of this article.


Get a password hint

Hopefully, when you created your admin or login password, you also created a password hint, as this can be invaluable for jogging your memory.

macOS will display the password hint automatically after you’ve entered an incorrect password three times on the login screen, but you can also trigger this hint manually by clicking the little ‘?’ icon that appears alongside the password field.

If you’re struggling to remember your admin password:

  • Click the ‘Apple’ logo in the toolbar, and select ‘System Preferences…’
  • Select ‘Users & Groups.’
  • Click the little padlock icon, which launches the password dialogue.
  • Either press the ‘Enter’ key on your keyboard three times, or enter an incorrect password three times, and the hint will appear.

If macOS doesn’t display a password hint, then you either didn’t create one or this feature isn’t enabled on your Mac. If it’s the latter, then bad news: you need to enter your password in order to enable the password hint feature. Clearly, this isn’t something you can currently do, but once you have successfully logged into your account, I’d recommend enabling this feature just in case you ever forget your password again:

  • Navigate to ‘System Preferences > Users & Groups.’
  • Click the little padlock icon and enter your password.
  • Select ‘Login Options.’

  • Select the ‘Show password hints’ checkbox.
  • Click the padlock icon again to save your changes.

Reset using your Apple ID

Starting with macOS Lion, you can reset your login password using your Apple ID (and if at this point you’re panicking because you’ve forgot the password for your Apple ID, then head over to the Recover Your Apple ID page).

As we’ve already seen, entering an incorrect password three times on the login screen will display a password hint, but you may have noticed that it also displays a ‘Reset using your Apple ID’ popup. If you see this popup, then this indicates that you can reset your password using your Apple ID:

  • Select the little arrow icon that appears alongside the popup.
  • Enter your Apple ID and password, then select the ‘Reset Password’ button.
  • macOS will warn you that resetting your password will create a new Keychain file; if you’re happy to proceed then click ‘OK.’
  • Enter your new password, verify it, and then create a password hint. Click ‘Reset Password.’
  • Reboot your Mac, and once it restarts you’ll be able to log in with your new password.

If the ‘Reset using your Apple ID’ popup doesn’t appear on the login screen, then you’ll need to use another method of resetting your password. However, having the option to reset your password using your Apple ID can come in handy, so once you’ve regained access to your account you should take a few moments to enable this feature:

  • Navigate to ‘System Preferences > Users & Groups.’
  • Click the little padlock in the bottom-left corner, enter your password and click ‘Unlock.’
  • Select the ‘Allow user to reset password using Apple ID’ checkbox.

Reset using another admin account

Since macOS Tiger, you’ve been able to create multiple admin accounts on the same Mac. If you do have a second account with admin rights, then it’s possible to reset your password by logging into this account:

  • Log into the second admin account, or ask the account’s owner to log into their account for you.
  • Select ‘ System Preferences > Users & Groups.’
  • Click the padlock icon, and enter the password for this admin account.
  • In the left-hand menu, select the account that’s due for a password reset.
  • Click the ‘Reset Password…’ button.
  • In the window that appears, enter a new password and create a password hint.
  • Select ‘Change Password.’

  • Log out of this account.
  • Log into your account using your new password.

Use Recovery Mode

If none of the above methods work, then you can reset your password using macOS’ built-in password recovery utility, which you access via Recovery Mode:

  • You can only boot into Recovery Mode when your Mac is starting up, so restart your computer and hold down the ‘Command’ and ‘R’ keys. Release these keys as soon as you see the Apple logo.
  • Once you’re in Recovery Mode, you’ll see the ‘macOS Utilities’ dialogue. Select ‘Disk Utility’ and then press ‘Continue.’
  • Select ‘Utilities > Terminal.’
  • Type the following command into the Terminal:

resetpassword

  • Press the ‘Enter’ key on your keyboard.
  • Close the Terminal window, and the ‘Reset Password’ dialogue will appear.
  • Select your volume hard drive. If you have multiple hard drives, then you’ll need to select the hard drive where your operating system is located, which is usually Macintosh HD.
  • Select your account.
  • Enter your new password and password hint, and then click ‘Save,’ followed by ‘OK.’
  • Restart your Mac by clicking the ‘Apple’ logo in the toolbar, and then selecting ‘Restart.’

Once your Mac reboots, you’ll be able to log into your account using your new password.

While this technique can help you regain access to your Mac, it does mean that anyone can change your Mac’s password simply by booting into Recovery Mode. For many Mac users this is a huge cause for concern, so you may want to consider adding some extra security by enabling FireVault.

FireVault helps to keep your sensitive files and information safe from prying eyes by encrypting the contents of your hard drive, while also adding a lock to macOS’ password recovery utility. With FireVault in place, the only way someone can gain access to your encrypted, password-protected Mac is by booting into Recovery Mode, completely wiping your computer, and then starting from scratch with a fresh install of macOS.

Note that if you do decide to enable FireVault, then it’ll provide you with an automatically-generated recovery key. If you lose this key and forget your login password, then you’ll be unable to reset your password using the Recovery Mode method, so it’s crucial that you make a note of this key.

To enable FileVault:

  • Select ‘System Preferences > Security & Privacy > FileVault.’
  • Click the little padlock icon and enter your admin name and password.
  • Give the ‘Turn On FileVault’ button a click.

  • At this point, FireVault will generate a recovery key – you cannot recover this key if you lose it, so either jot it down somewhere safe or print out a copy.
  • Restart your Mac, and FireVault will begin encrypting the files on your drive.

Consider using a password management service

If you seem to spend half your life filling in password recovery forms, then you may want to consider storing your login information in a third party password management app, such as 1Password, Dashlane, or LastPass.

Creating a New Keychain

In this article I’ve shown you several ways of resetting a lost password, but whichever method you opt for, your Keychain will still be secured with your previous password.

The first time you log in with your new password, macOS will inform you that it’s unable to unlock your Keychain, and you’ll have the option to either update your Keychain password or create a new Keychain. You can only update your Keychain password by entering your old password, so unless you have a brainwave and suddenly remember your old password, you will need to create a new Keychain file.

Creating a replacement file that’s secured with your new password is relatively straightforward, but the downside is that this Keychain file will be completely empty, so you’ll need to spend some time re-entering all the usernames and passwords that were stored in your old Keychain. This can be a time-consuming process, but unfortunately there’s no workaround!

To create a new Keychain file:

  • Open a Finder window and navigate to ‘Applications > Utilities > Keychain Access.’
  • Select ‘Keychain Access > Preferences’ from the menu bar.
  • Make sure the ‘General’ tab is selected, and then click ‘Reset My Default Keychain.’
  • Enter your new password, and Keychain Access will create an empty login keychain that isn’t secured with a password. Click ‘OK.’
  • As soon as you enter your password (for example, the next time you log into your account) Keychain will update to use this new password.

Before you go

After spending over 20 years working with Macs, both old and new, theres a tool I think would be useful to every Mac owner who is experiencing performance issues.

CleanMyMac is highest rated all-round cleaning app for the Mac, it can quickly diagnose and solve a whole plethora of common (but sometimes tedious to fix) issues at the click of a button. It also just happens to resolve many of the issues covered in the speed up section of this site, so Download CleanMyMac to get your Mac back up to speed today.

mac-pc

Tagsadmin admin password administrative apple id encrypt encryption firevault keychain log in login login options macos password password hint password recovery privacy recover password recovery mode reset password security

You may also like

How-To

Do you really need additional RAM? Analyze your memory usage, with Activity Monitor

June 11, 2019
How-To

Convert audio files to MP3, AAC, AIFF, Apple Lossless, or WAV format

June 10, 2019
How-To

Having problems with Mojave’s Dynamic Desktop?

May 21, 2019

About the author

View All Posts

Chris

I've been a passionate evangelist for Apple and the Macintosh throughout my working life, my first love was a Quadra 605 working with a small creative agency in the south of Norfolk UK in the mid 1990's, I later progressed to other roles in other Macintosh dominated industries, first as a Senior graphic designer at a small printing company and then a production manager at Guardian Media Group. As the publishing and printing sector wained I moved into Internet Marketing and in 2006 co-founded blurtit.com which grew to become one the top 200 visited sites in the US (according to Quantcast), at its peak receiving over 15 million visits per month. For the last ten years I have worked as an Affiliate and Consultant to many different business and start ups, my key skill set being online marketing, on page monetisation, landing page optimisation and traffic generation, if you would like to hire me or discuss your current project please reach out to me here.

You can also follow me on: Twitter and Linkedin

Add Comment

Click here to post a comment

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2017.
  • Contact Me
  • Cookie Policy
  • Disclosure
  • Privacy Policy
We value your privacy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
 

Loading Comments...