How to Change the Raspberry Pi Password

How to Change the Raspberry Pi Password

  • by Tyler (248)
  • Time to complete: 2 minutes

Assuming you're using a Linux distribution, like Raspbian or Noobs, you can change the password on your pi with the passwd command.


To change the password you must be logged in to a shell. Assuming you're using the default username and password, open a shell and type:

ssh pi@raspberrypi

Learn more about how to log into your Raspberry Pi via SSH.


Use the passwd command

Now that you're logged in, you can simply type passwd to change the password for the current user.


Now you'll be prompted to enter the current password, the new password, and then retype the new password. After you follow these instructions, you're password will be changed.