A Raspberry Pi with OctoPrint is a small, cheap computer that runs OctoPrint's web interface next to your 3D printer, so you can start, watch and stop prints from a browser. The simplest route is OctoPi, a ready-made SD card image you flash with Raspberry Pi Imager.
Which Raspberry Pi should you use with OctoPrint?
OctoPrint's download page says: "Recommended hardware: Raspberry Pi 3B, 3B+, 4B or Zero 2." It adds that other boards may cause print artifacts and slow page loading, especially once you add a webcam or third-party plugins. The OctoPi image installs on older models too, but only these four are officially recommended.
| Board | OctoPrint's advice | Power supply (Raspberry Pi documentation) |
|---|---|---|
| Raspberry Pi 4 Model B | Recommended | 5 V at 3 A required; 15 W USB-C recommended |
| Raspberry Pi 3B / 3B+ | Recommended | 5 V at 2.5 A required; 12.5 W Micro USB recommended |
| Raspberry Pi Zero 2 | Recommended | 5 V at 2.5 A required (all Zero models) |
| Raspberry Pi Zero / Zero W | Not recommended: Wi-Fi bandwidth problems when streaming video | 5 V at 2.5 A |
| Raspberry Pi 5 | Listed as compatible, not in the recommended set | 5 V at 5 A required; 27 W USB-C recommended |
For most people the Pi 3B+, Pi 4B or Zero 2 is the answer. A Zero 2 is the smallest and cheapest choice, and a Pi 4 gives the most headroom for a webcam and plugins. Prices vary by seller and region, so check a current listing instead of relying on a number here.
Power matters more than people expect. A weak supply can cause random drops in the middle of a long print, so use a supply that meets the Raspberry Pi documentation's requirement for your model.
What do you need before you start?
- A supported Raspberry Pi and a matching power supply.
- A microSD card and a card reader for your computer.
- A USB cable from the Pi to your printer's USB port (most printers need a data-capable cable).
- A Wi-Fi network, or an Ethernet cable. Raspberry Pi's documentation says a headless setup needs Wi-Fi or Ethernet, plus SSH or Raspberry Pi Connect enabled.
- Optional: a USB webcam or Raspberry Pi camera.
OctoPrint is a layer on top of your printer, not a replacement for its firmware. If you run Klipper, read what Klipper is first, because Klipper machines usually use a different web interface.
How do you install OctoPi on a Raspberry Pi?
OctoPrint's download page gives these steps for the stable OctoPi image, which at the time of writing is OctoPi 1.1.0 with OctoPrint 2.0.2.
- Install Raspberry Pi Imager on your computer.
- Choose your Pi model.
- Under "Other specific-purpose OS", pick "3D printing", then "OctoPi", then the "stable" version.
- Select your SD card. Imager erases it, so check you picked the right drive.
- In the customization step, set a hostname (the page suggests
octopi), time zone and country, a user name and password, your Wi-Fi details, and enable SSH. - Write the image and let Imager finish verifying it.
- Put the card in the Pi and power it on. The first boot takes a while.
OctoPrint's page also says not to format the card afterward, even if your computer offers to when it cannot read the Linux partitions.
If you flash the image by hand instead of using Imager's customization step, the OctoPi project's README says to edit the wifi.nmconnection file in the first partition for Wi-Fi, and that you can then log in over SSH as user pi with the default password raspberry. Change that password straight away with sudo raspi-config.
How do you open OctoPrint and connect the printer?
Once the Pi has booted and joined your network, open http://octopi.local in a browser, or use the Pi's IP address from your router. If you chose a different hostname, the address is that name followed by .local. The OctoPi README says https://octopi.local also works, with a self-signed certificate, so expect a browser warning.
Next, follow the first-run setup wizard to create your admin account and set access control, then plug the Pi into the printer over USB. OctoPrint 2.0 moved serial communication into a bundled Serial Connector plugin, so that is the connector you will use for a normal USB printer. Our what is OctoPrint guide covers what you can do once connected, including why you should never expose the interface directly to the internet.
If the page does not load, the usual cause is the Pi not joining Wi-Fi. Work through the steps in fixing 3D printer Wi-Fi connection problems, or plug in an Ethernet cable to rule out the wireless signal.
How do you add a webcam?
The OctoPi README says that if a USB webcam or Raspberry Pi camera is detected, the MJPG-Streamer service starts automatically. The stream is available at /webcam/?action=stream, or on port 8080 at http://octopi.local:8080/?action=stream. OctoPrint's download page notes that the Zero and Zero W struggle with Wi-Fi bandwidth when streaming video, which is why the Zero 2 or a wired connection is the safer choice if you want a clear live view and timelapses.
Does the OctoPrint 2.0 update change anything for Pi owners?
Yes, a few things. OctoPrint 2.0.0, released November 16, 2026, requires Python 3.9 or newer, adds built-in thumbnail support and printer-side file storage in the file manager, and routes printer communication through connectors that plugins can extend. The project's release posts say Moonraker and Bambu Lab connector plugins are in development, and that many deprecated plugin features were removed, so older plugins may break. OctoPrint 2.0.2 followed on November 25, 2026 with bug fixes, including re-enabling printer controls while a print is paused.
On an existing OctoPi install, OctoPrint may offer the update within 24 hours. To force a check, go to Settings, Software Update, Advanced options, then Force check for update. If an update fails, the project points to its "My OctoPrint update fails" FAQ and to rollback instructions for OctoPi. Our OctoPrint 2.0 update page covers whether to upgrade and what to check first.
Should you use a Raspberry Pi with OctoPrint, or something else?
A Pi plus OctoPrint suits owners of printers with Marlin-style firmware who want remote monitoring, a webcam and timelapses without changing the printer. It is a poor fit if your printer already has a good built-in network system, since some brands ship their own apps and cloud tools. If you are comparing options, see six OctoPrint alternatives. A Pi costs very little to run, but you can estimate its electricity alongside the printer with our 3D printer running costs guide.
If you are still choosing a printer, the best 3D printers for beginners list shows which models need no extra computer at all. Once OctoPrint is running, you can add print alerts with OctoPrint Telegram.
Common mistakes when setting up a Pi with OctoPrint
- Using a Pi Zero or Zero W with a webcam. OctoPrint says the Wi-Fi bandwidth is the problem; choose the Zero 2.
- Skipping the power supply. A supply below the Raspberry Pi documentation's requirement can cause dropouts.
- Formatting the SD card after flashing. Your computer may prompt you to; do not.
- Forgetting SSH and Wi-Fi in the customization step. Without them a headless Pi may never appear on your network.
- Exposing the Pi to the internet. Keep it on your home network or behind a VPN.




