OctoPrintLab
Isometric drawing of a Raspberry Pi in a white case wired to a power adapter, webcam, microSD card and a 3D printer with a blue filament spool.
getting-started

OctoPrint Raspberry Pi Setup: Hardware and First Boot

OctoPrint Raspberry Pi setup: Imager steps for OctoPi, which boards are recommended, and the default pi login versus the OctoPrint web account.

By OctoPrintLab Editorial · ·Updated · 6 min read

To set up OctoPrint on a Raspberry Pi, write OctoPi to a microSD card with Raspberry Pi Imager and boot the Pi. Open OctoPrint in a browser, create your web account in the setup wizard, then connect your printer.

  1. Pick a recommended board. OctoPrint lists the Pi 3B, 3B+, 4B and Zero 2.
  2. Flash OctoPi with Raspberry Pi Imager and configure the hostname, system user, Wi-Fi and SSH.
  3. Boot the Pi and give it time to start.
  4. On a device that supports mDNS, open http://octopi.local or use your chosen hostname with .local. If the name fails to load, sign in to your router, find the Pi’s IP address in its connected-devices list and open that address.
  5. Finish the setup wizard and create your OctoPrint administrator account.
  6. Connect the printer over USB and select Connect in OctoPrint.

On 18 November 2026, OctoPrint 2.0.1 was the latest stable release. The OctoPrint releases page now marks 2.0.2 as latest, and the OctoPrint download page lists stable OctoPi 1.1.0 with OctoPrint 2.0.2.

The 2.0.0 release notes say that release requires Python 3.9 or newer. The OctoPi 1.1.0 release notes list 32-bit and 64-bit images based on Debian Bookworm.

Flashing OctoPi with Raspberry Pi Imager

The OctoPi menu choices come from the OctoPrint download page. Raspberry Pi’s getting-started guide explains the Imager tabs.

  1. Install and open Raspberry Pi Imager. On the Device tab, choose your Pi model.
  2. On the OS tab, choose “Other specific-purpose OS” > “3D printing” > “OctoPi”, then the “stable” version.
  3. On the Storage tab, choose the microSD card. Imager erases all data on the selected card. Keep Exclude system drives selected.
  4. On the Customisation tab, work through the subtabs:
    • Hostname: OctoPrint suggests octopi if unsure.
    • Under Localisation, select your country by choosing its capital and set your time zone.
    • User: OctoPrint says to leave the user as pi if unsure, but set a new password. This is the system login for SSH, not the OctoPrint login.
    • Wi-Fi: enter your network details.
    • Remote Access: enable SSH.
  5. On the Writing tab, review your selections and choose Write. Select I understand, erase and write and let Imager finish verifying the card.
  6. Put the card in the Pi and power it on. If your computer prompts you to format the card after writing, decline.

OctoPi 1.1.0 added “Support changing default user name on rpi-imager”, per its release notes, so a different username set in step 4 is supported.

Choosing the board

OctoPrint recommends the Raspberry Pi 3B, 3B+, 4B and Zero 2. Official support is limited to those boards. The OctoPi image is also compatible with the Pi 5 models with 4 GB or 8 GB of RAM and with the Pi 400.

BoardOctoPrint statusPower supply (Raspberry Pi docs)Notes
Raspberry Pi 5Image-compatible, not on the recommended list5V at 5A; 5V at 3A limits peripherals to 600mASupport added in OctoPi 1.1.0
Raspberry Pi 4 Model BRecommended5V at 3AImage lists 1, 2, 4 and 8GB versions
Raspberry Pi 3B and 3B+Recommended5V at 2.5AListed under all Pi 3 models
Raspberry Pi Zero 2 WRecommended (listed as Zero 2)5V at 2.5A512MB SDRAM, micro USB OTG port
Raspberry Pi Zero and Zero WNot recommended5V at 2.5AWi-Fi performance problems, see below

The getting-started guide gives a single rating for all Pi 3 models and a single rating for all Zero models. The recommended voltage is measured at the plug. The Zero 2 W memory and port details come from the Zero 2 W product page.

Raspberry Pi 5. The OctoPi 1.1.0 release notes say: “This image brings support to Raspberry Pi 5.” It is still outside OctoPrint’s recommended list, so it falls under the not officially supported wording above.

Raspberry Pi Zero 2 W. The Zero 2 is on the recommended list. Its product page lists 512MB SDRAM and a micro USB On-The-Go port, and it takes micro USB power.

Original Zero and Zero W. OctoPrint advises against both models because using Wi-Fi bandwidth, for example to stream a webcam, caused severe performance problems.

Manual installation. For a manual install on Raspberry Pi OS, the download page points to the Raspbian setup instructions on the OctoPrint forum.

Power supply

The getting-started guide recommends the 27W USB-C power supply for the Pi 5, the 15W USB-C power supply for the Pi 4 and the 12.5W micro USB power supply for the Pi 3 and Zero models. It notes that voltage is “measured at the plug, not the supply”.

USB and power faults during prints are covered in the disconnect troubleshooting guide.

First boot: finding the IP and logging in

After the Pi boots, open http://octopi.local from a device on the same network that supports mDNS. If you chose a different hostname in Imager, use it with the .local suffix, for example http://myoctopi.local.

If the name does not resolve, enter your router’s IP address in a browser and sign in. Open its connected-devices list, find the Pi’s IP address, then open http://<pi-ip-address> using the address you found. If you have a terminal on the Pi, you can also run hostname -I to find its local IP address. Raspberry Pi remote-access documentation.

Default OctoPi login: OS account versus web account

AccountUsed forDefaultWhere it is set
System userSSH and consoleThe alternative installation instructions list pi / raspberry for SSHUse the credentials set in Imager’s User subtab for an Imager install, even if you kept pi as the username
OctoPrint userWeb interfaceNo preset loginCreate the first administrator account in the first-run wizard

For the alternative installation path, the download page recommends changing the initial SSH password through Change User Password in sudo raspi-config.

The Access Control docs explain how the wizard creates the first administrator account. Anonymous users are denied OctoPrint access by default, and the Guests group has no permissions by default.

Finish the setup wizard promptly

OctoPrint 2.0.0 fixed a security issue where “while the first-run wizard was still running it was possible to upload and restore a backup without authentication”, per the releases page. On a new install, finish the wizard soon after first boot.

After finishing the wizard, turn off the Pi and attach the printer to it using the USB cable appropriate for your printer. Start the Pi again, reopen OctoPrint and select Connect. Raspberry Pi’s printer connection walkthrough.

Plugins

Plugin choices are covered in which plugins to install after first boot.

Webcam, power draw and next steps

Camera choice and stream settings are covered in how to add a webcam to OctoPrint.

To estimate running cost, read your setup’s draw from a plug-in energy meter such as the Kill A Watt P3 P4400. Then work out what a print costs in electricity from the job duration and your electricity price.

For access away from home, the OctoPrint remote access guide covers Tailscale, WireGuard, an authenticated proxy and OctoEverywhere. If you are still choosing between OctoPrint and a Klipper stack, the comparison is here.

The setup steps were checked against the OctoPrint download page, OctoPi 1.1.0 and OctoPrint 2.0.0 through 2.0.2 release notes, and Raspberry Pi documentation on 26 November 2026. The steps were not run.

Sources

  1. OctoPrint: Download & Setup
  2. OctoPrint releases on GitHub
  3. OctoPi releases on GitHub
  4. OctoPrint docs: Access Control
  5. Raspberry Pi documentation: Getting started
  6. Raspberry Pi documentation: finding an IP address and remote access
  7. Raspberry Pi Zero 2 W: hardware specifications
  8. Raspberry Pi: How to set up OctoPrint on your Raspberry Pi

Related