49

The first time I boot up my Raspberry Pi I get a login screen.

What username and password should I use? That is, what is the default password for Raspberry Pi?

72

This depends on the distribution you have downloaded. The default passwords for common distributions are as follows:

Distribution   | Username   | Password
---------------|------------|-------------
Debian Squeeze | pi         | raspberry
Arch           | root       | root
QtonPi         | root       | rootme
Raspbian       | pi         | raspberry
OpenElec       | root       | openelec

Straight after logging in you should change your password by using the passwd command at the shell prompt

$ passwd
  • 6
    +1 Recommending that users should change their password. Especially since these passwords are available on the Raps Pi site, in plain text – Jamie Taylor Jun 26 '12 at 14:38
  • NOOBS also includes Pidora, RISC OS, and RaspBMC. Those could be included for completeness. – Peter Mortensen May 18 '14 at 12:33
  • Keep in mind that the keyboard layout used by you Raspberry Pi could be a different one than the one you are used to! US Layout: here – winklerrr Apr 3 at 20:34
11
Distribution   | Username   | Password
---------------|------------|-------------
Debian Squeeze | pi         | raspberry
Arch           | root       | root
QtonPi         | root       | rootme
Raspbian       | pi         | raspberry
OpenElec       | root       | openelec
Pidora         | root       | raspberrypi
RISC OS        | n/a        | n/a
raspbmc        | pi         | raspberry
2

Beware if you are using a German keyboard: In this case you have to use pi / raspberrz

  • 1
    Why would this be the case? – Darth Vader Mar 23 '17 at 22:42
  • German keyboards have the Z and Y key swapped: en.wikipedia.org/wiki/German_keyboard_layout – Ray Hulha Mar 24 '17 at 0:28
  • Yes but surely if you press the Y key, the keyboard is going to send a piece of data to the Pi saying that the Y key has been pressed? Under what circumstances would that not occur? – Darth Vader Mar 24 '17 at 10:55
  • 1
    Keyboard drivers sometimes use keycodes relative to the location of the button and not the letter printed on top of it. – Ray Hulha Mar 25 '17 at 22:52
  • 1
    @DarthVader: The keyboard tells the pi that key "row 2, column 7" was pressed. The Pi translates this to "Y". With a German keyboard, the Y key is at row 4, column 3, and the Pi doesn't know this is supposed to be an Y. (I'm oversimplifying a bit, google for "scancode" - you need to send the Pi the scancode that corresponds to Y, which is the Z on a German keyboard) – Guntram Blohm Jun 22 '18 at 13:30
0

With Raspbian, the username is pi, and the password is raspberry. You can change the password by running the command passwd, using the raspi-config tool, or the graphical Raspberry Pi Configuration tool. On Arch, the username is root and the password is root. You can also change the password with the command passwd.

0

With Raspbian, the username is pi and the password is raspberry. Also note that SSH is disabled by default.

0

To add to the answers about 'Beware if you are using a German keyboard: In this case you have to use pi / raspberrz', they are omitting to say that this is an issue after first boot because the user cannot yet have told the pi that a German keyboard is attached. The pi defaults to expecting a UK English keyboard. Once that's changed, all the letters and symbols will be correct.

The same issue also applies for other language keyboards - eg symbols in the wrong places - until the correct language driver is installed (eg, using sudo raspi-config). But it matters most for the password because the default contains a 'y' and needs the 7th key along on 2nd row (which is marked Y on the default English and many other keyboards but Z on a German keyboard).

Users with French 'AZERTY' keyboards will have to substitute for the 'A' in raspberry (press the 2nd key on 3rd row, whatever it is marked ...)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.