How to Reset Droplet Root Passwords

DigitalOcean Droplets are Linux-based virtual machines (VMs) that run on top of virtualized hardware. Each Droplet you create is a new server you can use, either standalone or as part of a larger, cloud-based infrastructure.

When you create a Droplet, you have the option to either add an SSH key to it or to choose a root password.

If you forget or lose the root password, you can reset it using the control panel.

Warning

Root password resets are not available for operating systems with internally-managed passwords, including FreeBSD, Fedora, and RancherOS. In these cases, you’ll see the following message in the Reset root password section:

This Droplet’s root password is managed internally and cannot be changed from the control panel. Please SSH into the Droplet to manage it.

See How to Recover from Lost SSH Keys for additional steps you’ll need to take.

Navigate to the control panel. From the project the Droplet is in, or from the main navigation’s Droplets page, locate the Droplet. Click the Droplet’s name to open its detail page, then select Access in the left navigation.

Screenshot of a Droplet's Access page with the Launch Console button

Click Reset Root Password to reset the Droplet’s password. You will receive an email containing the Droplet’s temporary password.