{"id":8931,"date":"2026-08-25T10:42:04","date_gmt":"2026-08-25T10:42:04","guid":{"rendered":"https:\/\/fastestpass.com\/blog\/?p=8931"},"modified":"2026-08-25T10:42:04","modified_gmt":"2026-08-25T10:42:04","slug":"change-raspberry-pi-default-password","status":"publish","type":"post","link":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/","title":{"rendered":"How to Change Raspberry Pi Default Password &#038; More"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">The Raspberry Pi is a remarkably versatile single-board computer, but its security often hinges on one critical detail: its login credentials. For years, the default username and password for Raspberry Pi OS, formerly Raspbian, were public knowledge: pi and raspberry. This guide shows you how to change Raspberry Pi default password and what to do if you get locked out. Before we head to the tutorial, here is a myth about Raspberry Pi default passwords.\u00a0<\/span><\/p>\n<blockquote><p><b>SUGGESTION &#8211; <\/b><i><span style=\"font-weight: 400;\">If you can\u2019t seem to remember your Raspberry Pi device password, let alone passwords for all your devices, consider using the <\/span><\/i><a href=\"https:\/\/fastestpass.com\/pricing\" target=\"_blank\" rel=\"noopener\"><i><span style=\"font-weight: 400;\">best password manager<\/span><\/i><\/a><i><span style=\"font-weight: 400;\">. FastestPass generates extremely secure passwords that you can store in its vault. All you need is your master key to access all of them.\u00a0<\/span><\/i><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">    <div class=\"fastestpass-hd-btn\">\n    <a class=\"hd-conter-btn\" href=\"https:\/\/fastestpass.com\/pricing\" title=\"Get FastestPass\">Get FastestPass <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"><\/i><\/a>\n    <\/div>\n<\/span><\/p>\n<h2>The Raspberry Pi Default Password &#8220;Myths&#8221; in [year]<\/h2>\n<p><span style=\"font-weight: 400;\">You will find one of the biggest updates: There is no longer a universal default password for new Raspberry Pi installations. Starting with Raspberry Pi OS releases after 2022, mainly the Bullseye version, the Raspberry Pi Foundation eliminated the default &#8220;pi&#8221; user to improve security. Here are the latest updates:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>For the latest setups<\/b><span style=\"font-weight: 400;\">: When you flash a modern Raspberry Pi OS image using the Raspberry Pi Imager, it\u2019s required that you create a custom username and password during the initial setup process. You won\u2019t be able to boot into the OS without defining these credentials. You can choose &#8220;pi&#8221; and &#8220;raspberry&#8221; if you wish, but this is highly discouraged for obvious security reasons.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>For legacy systems<\/b><span style=\"font-weight: 400;\">: If you are using an older version of Raspberry Pi OS, prior to this change, the default credentials remain Username: <\/span><span style=\"font-weight: 400;\">pi<\/span> <span style=\"font-weight: 400;\">and password <\/span><span style=\"font-weight: 400;\">raspberry<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<blockquote><p>Also: <a href=\"https:\/\/fastestpass.com\/blog\/how-to-change-hotspot-password\/\">How to Change Hotspot Password on Your Smartphone<\/a><\/p><\/blockquote>\n<h3>Why Did the Default Raspberry Pi Password Change?<\/h3>\n<p><span style=\"font-weight: 400;\">The elimination of a default user was a direct response to significant security threats. Attackers actively scan the internet for Raspberry Pi devices and use automated scripts to attempt logins with well-known default credentials.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The danger is not theoretical. There is a known vulnerability, CVE-2021-38759, showing that Raspberry Pi OS versions through 5.10 left the default pi account password unchanged. This allowed attackers to easily gain administrator privileges.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Furthermore, self-propagating SSH worms have been observed compromising vulnerable Raspberry Pi devices in seconds. They did this by using these default credentials to enroll them into botnets.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Legislation in some countries now also forbids internet-connected devices from having default login credentials.<\/span><\/p>\n<h2>How to Change Your Raspberry Pi Password (3 Methods)<\/h2>\n<p><span style=\"font-weight: 400;\">Whether you\u2019re securing an older system or simply want to update your password, the process is straightforward. Here\u2019s how to get started:<\/span><\/p>\n<h3>Method 1 &#8211; Using the Command Line (Terminal)<\/h3>\n<p><span style=\"font-weight: 400;\">This is the most common and quickest method for both headless (no monitor) and desktop systems. Here\u2019s what to do:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open a terminal window.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Type the following command and press \u201c<strong>Enter<\/strong>\u201d:<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">bash<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">passwd<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You will be prompted to enter your current password (for security, no characters will appear as you type).<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Next, enter your new password and press \u201c<strong>Enter<\/strong>.\u201d<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Re-enter the new password to confirm it.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">If successful, you will see a message: <\/span><span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">passwd: password updated successfully<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">To change another user&#8217;s password (requires <\/span><span style=\"font-weight: 400;\">sudo<\/span> <span style=\"font-weight: 400;\">privileges):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">bash<\/span><\/p>\n<p><span style=\"font-weight: 400;\">sudo<\/span> <span style=\"font-weight: 400;\">passwd<\/span> <span style=\"font-weight: 400;\">[<\/span><span style=\"font-weight: 400;\">username<\/span><span style=\"font-weight: 400;\">]<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Replace<\/span> <span style=\"font-weight: 400;\">[username]<\/span><span style=\"font-weight: 400;\"> with the actual username.<\/span><\/p>\n<blockquote><p>Also: <a href=\"https:\/\/fastestpass.com\/blog\/how-to-find-wifi-password-on-iphone-ios-18-ios-19\/\">How to Find Your Wi-Fi Password on iPhone<\/a><\/p><\/blockquote>\n<h3>Method 2 &#8211; Via Raspberry Pi Configuration Tool (raspi-config)<\/h3>\n<p><span style=\"font-weight: 400;\">This provides a menu-driven interface, ideal for desktop users.<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Open a terminal window.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Launch the configuration tool with:<\/span><\/li>\n<li><span style=\"font-weight: 400;\">bash<\/span><\/li>\n<li><span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\"> raspi-config<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Use the arrow keys to navigate to \u201c<strong>System Options<\/strong>\u201d and press \u201c<strong>Enter<\/strong>.\u201d<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Select \u201c<strong>Password<\/strong>.\u201d<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Follow the on-screen instructions and enter your new password.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click on \u201c<strong>Finish<\/strong>\u201d to save the changes.\u00a0<\/span><\/li>\n<\/ul>\n<h3>Method 3 &#8211; Using the GUI (Desktop Only)<\/h3>\n<p><span style=\"font-weight: 400;\">For a graphical approach on the full desktop version, here\u2019s what to do:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click on the Raspberry Pi menu in the top-left corner.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Navigate to \u201c<strong>Preferences<\/strong>\u201d &gt; \u201c<strong>Raspberry Pi Configuration<\/strong>.\u201d<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click on the \u201c<strong>System<\/strong>\u201d tab.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the \u201c<strong>Change Password\u2026<\/strong>\u201d button.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Lastly, enter your current and your new password in the required field.\u00a0<\/span><\/li>\n<\/ul>\n<h2>How to Change Raspberry Pi Default Username (For Legacy Systems)<\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">If you\u2019re looking to create stronger security on older systems, simply changing the password is not enough. You will also need to change the default pi username, as it is publicly known. The recommended method is to create a new administrative user and disable the pi account. Here\u2019s how:<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Create a new user: Replace <\/span><span style=\"font-weight: 400;\">Newuser<\/span><span style=\"font-weight: 400;\"> with your desired username.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">bash<\/span><\/li>\n<li><span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\"> adduser newuser. <\/span><span style=\"font-weight: 400;\">You will be prompted to set a strong password for this new account.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Grant<\/span> <span style=\"font-weight: 400;\">sudo<\/span> <span style=\"font-weight: 400;\">privileges: Give your new user administrative rights.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">bash<\/span><\/li>\n<li><span style=\"font-weight: 400;\">sudo<\/span> <span style=\"font-weight: 400;\">usermod<\/span> <span style=\"font-weight: 400;\">-aG<\/span> <span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\"> newuser<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Log out and test: Log out of the <\/span><span style=\"font-weight: 400;\">pi<\/span> <span style=\"font-weight: 400;\">account and log back in as your new user. Verify you can use <\/span><span style=\"font-weight: 400;\">Sudo <\/span><span style=\"font-weight: 400;\">successfully.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Disable the default user: Once you&#8217;ve confirmed the new user works, you can delete the <\/span><span style=\"font-weight: 400;\">pi<\/span> <span style=\"font-weight: 400;\">user.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">bash<\/span><\/li>\n<li><span style=\"font-weight: 400;\">sudo deluser pi<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">You may be prompted to remove the home directory and mail spool. Confirm if you wish to do so.<\/span><\/p>\n<blockquote><p>Also: <a href=\"https:\/\/fastestpass.com\/blog\/streaming-password-sharing-password-manager\/\">Why Password Managers Matter for Streaming Password Sharing<\/a><\/p><\/blockquote>\n<h2>How to Reset a Forgotten Raspberry Pi Password<\/h2>\n<p><span style=\"font-weight: 400;\">If you forget the password you set for your Raspberry Pi, and you can\u2019t seem to sign in, you can reset it by editing the boot configuration file. This process requires removing the microSD card and using another computer. Let\u2019s get started:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Modify<\/span> <span style=\"font-weight: 400;\">cmdline.txt<\/span><span style=\"font-weight: 400;\">: <\/span><span style=\"font-weight: 400;\">Remove the microSD card from your Pi and insert it into another computer.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Navigate to the <\/span><span style=\"font-weight: 400;\">boot<\/span> <span style=\"font-weight: 400;\">or <\/span><span style=\"font-weight: 400;\">boot\/firmware<\/span> <span style=\"font-weight: 400;\">partition and find the file named <\/span><span style=\"font-weight: 400;\">cmdline.txt<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open the file in a text editor.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Add <\/span><span style=\"font-weight: 400;\">init=\/bin\/sh<\/span> <span style=\"font-weight: 400;\">to the end of the single line of text. Ensure there is a space before the addition and do not create a new line. It should look something like this:<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">text<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">&#8230; rootwait quiet init=\/bin\/sh<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Save the file and safely eject the microSD card.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Boot into a root shell: Insert the card back into the Raspberry Pi and power it on. It will boot directly into a root shell without prompting for a password.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Remount the filesystem as writable: At the root shell prompt, type:<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">bash<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">mount<\/span> <span style=\"font-weight: 400;\">-o<\/span><span style=\"font-weight: 400;\"> remount, rw \/<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Reset the password: Change the password for your user (e.g., <\/span><span style=\"font-weight: 400;\">pi<\/span> <span style=\"font-weight: 400;\">or the username you created):<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">bash<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">passwd pi<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Follow the prompts to set a new password.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Revert<\/span> <span style=\"font-weight: 400;\">Cmdline.txt<\/span><span style=\"font-weight: 400;\">: Shut down the Pi, remove the microSD card, and put it back in the other computer.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Remove the <\/span><span style=\"font-weight: 400;\">init=\/bin\/sh<\/span> <span style=\"font-weight: 400;\">text you added to the <\/span><span style=\"font-weight: 400;\">cmdline.txt<\/span><span style=\"font-weight: 400;\"> file and save it.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Eject the card, put it back in the Pi, and boot normally. You can now log in with your new password.<\/span><\/li>\n<\/ul>\n<h2>To Conclude<\/h2>\n<p><span style=\"font-weight: 400;\">That\u2019s a wrap! You now know how to change Raspberry Pi default password, why it\u2019s necessary, and also how to change the username.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For a step further to bolster security, Raspberry Pi OS 6.2 (released in [year]) now defaults to requiring a password for sudo commands on new installations.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Previously, users could execute administrative commands without a password. This change helps prevent unauthorized access if someone gains physical or remote access to an unsecured session.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">On existing systems, you can enable this feature in the Raspberry Pi Configuration tool under the System tab by turning on the &#8220;Admin Password&#8221; option.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><div class=\"headNewsletter\">\n\t<h2>Secure and Create Stronger Passwords Now!<\/h2>\n\t<p>Generate passkeys, store them in vaults, and safeguard sensitive data!<\/p>\n<\/div>\n<div class=\"passNewsBanner\">\n\t<div class=\"row\">\n\t\t<div class=\"col span_5\">\n\t\t\t<br>\n\t\t<\/div>\n\t\t<div class=\"fastest-hd-cta col span_7\">\n\t\t<h3>Subscribe to Our Newsletter <\/h3>\n\t\t<p>Receive the latest updates, trending posts, new package deals,and more from FastestPass via our email newsletter. <\/p>\n\t\t<!-- Noptin Newsletter Plugin v3.8.7 - https:\/\/wordpress.org\/plugins\/newsletter-optin-box\/ --><div id=\"noptin-form-1__wrapper\" class=\"noptin-optin-main-wrapper noptin-form-id-6464 noptin-inpost-main-wrapper\" aria-labelledby=\"noptin-form-1__title\" style=\"--noptin-background-color: #FFFFFF; --noptin-button-color: #d83f31; --noptin-title-color: #FFFFFF; --noptin-description-color: #FFFFFF; --noptin-prefix-color: #313131; --noptin-note-color: #FFFFFF;\" ><style>.noptin-form-id-6464 .noptin-optin-form-wrapper *{}<\/style><div style=\"max-width:100%; min-height:0px;border-radius: 31px;border-width: 0px;border-style: none;\" class=\"noptin-optin-form-wrapper no-image\" ><!-- Form ID: 6464 --><form id=\"noptin-form-1\" class=\"noptin-optin-form noptin-form-new-line noptin-label-hide\" method=\"post\" novalidate ><div class=\"noptin-form-footer\"><div class=\"noptin-form-fields\">\t\t\t<div class=\"noptin-form-field-wrapper noptin-form-field-email noptin-optin-field-wrapper noptin-optin-field-email\" id=\"noptin-form-1__field-email--wrapper\" >\n\t\t<div class=\"noptin-field-email\">\n\t\t\t<label class=\"noptin-label\" for=\"noptin-form-1__field-email\">Your e-mail address<\/label>\n\t\t\t<input\n\t\t\t\tname=\"noptin_fields[email]\"\n\t\t\t\tid=\"noptin-form-1__field-email\"\n\t\t\t\ttype=\"email\"\n\t\t\t\tvalue=\"\"\n\t\t\t\tclass=\"noptin-text noptin-form-field noptin-form-field__has-no-placeholder\"\n\t\t\t\t\t\t\t\t\tplaceholder=\"Your e-mail address\"\n\t\t\t\t\t\t\t\trequired\t\t\t\/>\n\n\t\t<\/div><\/div>\t\t\t<div class=\"noptin-form-field-wrapper noptin-form-field-submit noptin-optin-field-wrapper noptin-optin-field-submit\" >\n\t\t\n\t\t\t<input type=\"submit\" id=\"noptin-form-1__submit\" class=\"noptin-form-submit btn button btn-primary button-primary wp-element-button noptin-form-button-block\" name=\"noptin-submit\" value=\"Subscribe\" style=\"background-color: #d83f31;\"  \/>\n\n\t\t<\/div><\/div>\t\t\t\t\t\t<div class=\"noptin-form-notice noptin-response\" role=\"alert\"><\/div>\n\t\t\t<\/div>\n\t\t\t<input type=\"hidden\" name=\"noptin_element_id\" value=\"1\" \/><input type=\"hidden\" name=\"source\" value=\"6464\" \/><input type=\"hidden\" name=\"form_action\" value=\"subscribe\" \/><input type=\"hidden\" name=\"noptin-config\" value=\"n9Qr4rS8WPdFcS8tpo0Zlg--\" \/><input type=\"hidden\" name=\"noptin_form_id\" value=\"6464\" \/><\/form><\/div><!-- \/Form ID: 6464 --><\/div><!-- \/ Noptin Newsletter Plugin -->\t\t<\/div>\t\n\t<\/div>\n<\/div>\n<div class=\"bottomAccept\">\n\t<p>\n\t\tBy subscribing to FastestPass, you agree to receive the latest cybersecurity news, tips, product updates, and admin resources. You also agree to FastestPass' <a href=\"https:\/\/fastestpass.com\/privacy-policy\" target=\"_blank\">Privacy Policy.<\/a>\n\t<\/p>\n<\/div>\n    \n <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Raspberry Pi is a remarkably versatile single-board computer, but its security often hinges on&#8230;<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-8931","post","type-post","status-publish","format-standard","category-how-to"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change Raspberry Pi Default Password in 2026<\/title>\n<meta name=\"description\" content=\"Learn how to change your Raspberry Pi default password, update the legacy \u201cpi\u201d username, and reset a forgotten password with simple step-by-step methods.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change Raspberry Pi Default Password &amp; More\" \/>\n<meta property=\"og:description\" content=\"Learn how to change Raspberry Pi default password for security reasons using three methods and how to reset a forgotten one.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/\" \/>\n<meta property=\"og:site_name\" content=\"Take Control of Your Password Security with FastestPass\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/thefastestpass\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-25T10:42:04+00:00\" \/>\n<meta name=\"author\" content=\"Amelie Griffith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@thefastestpass\" \/>\n<meta name=\"twitter:site\" content=\"@thefastestpass\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amelie Griffith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/\"},\"author\":{\"name\":\"Amelie Griffith\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#\\\/schema\\\/person\\\/72873d4db0a3cfb5dff00d54c104457a\"},\"headline\":\"How to Change Raspberry Pi Default Password &#038; More\",\"datePublished\":\"2026-08-25T10:42:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/\"},\"wordCount\":1227,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#organization\"},\"articleSection\":[\"How to\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/\",\"url\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/\",\"name\":\"How to Change Raspberry Pi Default Password in 2026\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-08-25T10:42:04+00:00\",\"description\":\"Learn how to change your Raspberry Pi default password, update the legacy \u201cpi\u201d username, and reset a forgotten password with simple step-by-step methods.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/change-raspberry-pi-default-password\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change Raspberry Pi Default Password &#038; More\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/\",\"name\":\"Take Control of Your Password Security with FastestPass\",\"description\":\"Take Control of Your Password Security with FastestPass\",\"publisher\":{\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#organization\",\"name\":\"FastestPass\",\"alternateName\":\"FastestPass\",\"url\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/fastestpass_square-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/fastestpass_square-logo.jpg\",\"width\":696,\"height\":696,\"caption\":\"FastestPass\"},\"image\":{\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/thefastestpass\",\"https:\\\/\\\/x.com\\\/thefastestpass\",\"https:\\\/\\\/www.instagram.com\\\/fastestpass\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/fastestpass\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/fastestpass.com\\\/blog\\\/#\\\/schema\\\/person\\\/72873d4db0a3cfb5dff00d54c104457a\",\"name\":\"Amelie Griffith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b8c8747927adf2245dd6922c881069929f45a077f519c794cd0ec3accf52974d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b8c8747927adf2245dd6922c881069929f45a077f519c794cd0ec3accf52974d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b8c8747927adf2245dd6922c881069929f45a077f519c794cd0ec3accf52974d?s=96&d=mm&r=g\",\"caption\":\"Amelie Griffith\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change Raspberry Pi Default Password in 2026","description":"Learn how to change your Raspberry Pi default password, update the legacy \u201cpi\u201d username, and reset a forgotten password with simple step-by-step methods.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/","og_locale":"en_US","og_type":"article","og_title":"How to Change Raspberry Pi Default Password & More","og_description":"Learn how to change Raspberry Pi default password for security reasons using three methods and how to reset a forgotten one.","og_url":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/","og_site_name":"Take Control of Your Password Security with FastestPass","article_publisher":"https:\/\/www.facebook.com\/thefastestpass","article_published_time":"2026-08-25T10:42:04+00:00","author":"Amelie Griffith","twitter_card":"summary_large_image","twitter_creator":"@thefastestpass","twitter_site":"@thefastestpass","twitter_misc":{"Written by":"Amelie Griffith","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/#article","isPartOf":{"@id":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/"},"author":{"name":"Amelie Griffith","@id":"https:\/\/fastestpass.com\/blog\/#\/schema\/person\/72873d4db0a3cfb5dff00d54c104457a"},"headline":"How to Change Raspberry Pi Default Password &#038; More","datePublished":"2026-08-25T10:42:04+00:00","mainEntityOfPage":{"@id":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/"},"wordCount":1227,"commentCount":0,"publisher":{"@id":"https:\/\/fastestpass.com\/blog\/#organization"},"articleSection":["How to"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/","url":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/","name":"How to Change Raspberry Pi Default Password in 2026","isPartOf":{"@id":"https:\/\/fastestpass.com\/blog\/#website"},"datePublished":"2026-08-25T10:42:04+00:00","description":"Learn how to change your Raspberry Pi default password, update the legacy \u201cpi\u201d username, and reset a forgotten password with simple step-by-step methods.","breadcrumb":{"@id":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fastestpass.com\/blog\/change-raspberry-pi-default-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fastestpass.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Change Raspberry Pi Default Password &#038; More"}]},{"@type":"WebSite","@id":"https:\/\/fastestpass.com\/blog\/#website","url":"https:\/\/fastestpass.com\/blog\/","name":"Take Control of Your Password Security with FastestPass","description":"Take Control of Your Password Security with FastestPass","publisher":{"@id":"https:\/\/fastestpass.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fastestpass.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fastestpass.com\/blog\/#organization","name":"FastestPass","alternateName":"FastestPass","url":"https:\/\/fastestpass.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fastestpass.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/fastestpass.com\/blog\/wp-content\/uploads\/2025\/04\/fastestpass_square-logo.jpg","contentUrl":"https:\/\/fastestpass.com\/blog\/wp-content\/uploads\/2025\/04\/fastestpass_square-logo.jpg","width":696,"height":696,"caption":"FastestPass"},"image":{"@id":"https:\/\/fastestpass.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/thefastestpass","https:\/\/x.com\/thefastestpass","https:\/\/www.instagram.com\/fastestpass\/","https:\/\/www.pinterest.com\/fastestpass\/"]},{"@type":"Person","@id":"https:\/\/fastestpass.com\/blog\/#\/schema\/person\/72873d4db0a3cfb5dff00d54c104457a","name":"Amelie Griffith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b8c8747927adf2245dd6922c881069929f45a077f519c794cd0ec3accf52974d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b8c8747927adf2245dd6922c881069929f45a077f519c794cd0ec3accf52974d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b8c8747927adf2245dd6922c881069929f45a077f519c794cd0ec3accf52974d?s=96&d=mm&r=g","caption":"Amelie Griffith"}}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/posts\/8931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/comments?post=8931"}],"version-history":[{"count":3,"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/posts\/8931\/revisions"}],"predecessor-version":[{"id":8936,"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/posts\/8931\/revisions\/8936"}],"wp:attachment":[{"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/media?parent=8931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/categories?post=8931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fastestpass.com\/blog\/wp-json\/wp\/v2\/tags?post=8931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}