Nozzle Notes
How-to guides

Raspberry Pi With OctoPrint: Models and OctoPi Setup

Which Raspberry Pi to use with OctoPrint, how to flash OctoPi with Raspberry Pi Imager, connect your printer and add a webcam, plus what OctoPrint 2.0 changes.

By Sepehr Sabbagh-pour · Published · 5 min read

Raspberry Pi single-board computer inside a clear plastic case with a microSD card in its slot
Photo by SteveRaubenstine on Pixabay (cropped)

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.

BoardOctoPrint's advicePower supply (Raspberry Pi documentation)
Raspberry Pi 4 Model BRecommended5 V at 3 A required; 15 W USB-C recommended
Raspberry Pi 3B / 3B+Recommended5 V at 2.5 A required; 12.5 W Micro USB recommended
Raspberry Pi Zero 2Recommended5 V at 2.5 A required (all Zero models)
Raspberry Pi Zero / Zero WNot recommended: Wi-Fi bandwidth problems when streaming video5 V at 2.5 A
Raspberry Pi 5Listed as compatible, not in the recommended set5 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.

  1. Install Raspberry Pi Imager on your computer.
  2. Choose your Pi model.
  3. Under "Other specific-purpose OS", pick "3D printing", then "OctoPi", then the "stable" version.
  4. Select your SD card. Imager erases it, so check you picked the right drive.
  5. 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.
  6. Write the image and let Imager finish verifying it.
  7. 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.

Frequently asked questions

Which Raspberry Pi is best for OctoPrint?

OctoPrint's own download page recommends the Raspberry Pi 3B, 3B+, 4B or Zero 2. A Pi 4B gives the most headroom if you plan to run a webcam, timelapses and several plugins. A Zero 2 is the smallest and cheapest of the recommended boards and works well when you only need basic control. The page says other boards may cause print artifacts and slow page loading, so it is sensible to stay within that list. Check the current listing price from a reputable seller before you buy, because prices vary.

Can you use a Raspberry Pi Zero with OctoPrint?

OctoPrint's download page says the Pi Zero and Zero W are not recommended because of Wi-Fi bandwidth problems when streaming video. The newer Zero 2 is on the recommended list. If you already own an original Zero, you can still try it for basic control without a webcam, but expect slower loading and possible trouble with video and plugins. If a webcam matters to you, spend a little more on a Zero 2, a 3B+ or a 4B, or connect the Pi by Ethernet where your board allows it.

How do you install OctoPrint on a Raspberry Pi?

Install Raspberry Pi Imager, choose your Pi model, then pick Other specific-purpose OS, 3D printing, OctoPi, stable. Select your SD card, then use the customization step to set a hostname, time zone, user name and password, Wi-Fi details and SSH. Write the image, insert the card, power the Pi and wait through the first boot. Then open http://octopi.local in a browser, or the Pi's IP address, and follow the setup wizard. Do not format the card afterward, even if your computer offers to.

Does OctoPrint work on a Raspberry Pi 5?

OctoPrint's download page says the stable OctoPi image lists compatibility with Raspberry Pi models from the 1A through the 5B, including the Zero, Zero W, Zero 2 and 400. However, only the 3B, 3B+, 4B and Zero 2 are officially recommended. A Pi 5 therefore should run OctoPi, but it is not in the recommended set and needs a stronger power supply: the Raspberry Pi documentation lists 5 V at 5 A, with a 27 W USB-C supply recommended. A Pi 4B is the lower-cost match.

What is the default address for OctoPi?

The OctoPi README says the default hostname is octopi.local, so you reach OctoPrint at http://octopi.local, provided your computer supports Bonjour name lookup. If you set a different hostname during flashing, the address is that name followed by .local. If the name does not resolve, find the Pi's IP address in your router's device list and type that into the browser instead. The README says https://octopi.local also works, using a self-signed certificate, so your browser will show a warning.

Sources

Sepehr Sabbagh-pour

Founder and editor

Sepehr Sabbagh-pour

Software engineer since 2009 and Head of Engineering by day, a maker who has owned several 3D printers, writing practical guides to 3D printers, filament and running costs, with every article saying what was and was not tested.

Drafted with AI assistance, then edited and reviewed by Sepehr before it goes live. How we use AI.