As an Amazon Associate I earn from qualifying purchases.
If you have just recently installed Raspberry Pi OS, one of the first things you should do is change the default password. When you first boot up the Raspberry Pi, Its default username is
pi and the password is
raspberry. If you need help installing Raspberry PI OS, check out this article.
The short answer:
- Step 1: Open the terminal
- Step 2: run
- Step 3: Enter the current password (
- Step 4: Enter your new password
- Step 5: Retype your new password
One of the easiest ways to change your Raspberry Pi default password is through the terminal. This works regardless if you are using ssh or the GUI. Start by opening the terminal:
In the terminal, type
You will now be asked to enter in your current password. If you have not changed this password, then the default should be
Once you have entered your current password, you will be prompted for a new password. I recommend a password with the following criteria
- At least 8 characters long
- Include upper case letters
- Include numbers
- Include special characters such as ‘! ? @ #’
After you have entered your new password it will ask you to retype your new password
And that’s it! Now if you log out of your current session and log back in, you will have to use your new password.