What is Klipper? What it adds, what it needs and whether to switch
By Sina Esfahani, OmniTechs · Published 27 November 2026
Klipper is open-source 3D printer firmware that splits the work in two. A small Linux computer, usually a Raspberry Pi, reads the G-code and works out when every motor must step. The printer's own board only carries out that schedule, with each step timed to 25 microseconds or better (Klipper).
You get settings in a text file that change without reflashing, input shaping you can measure with an accelerometer, smooth pressure advance, macros and web control through Mainsail or Fluidd. The price is an extra computer, a one-time board flash and real upkeep. Switching pays off most on an older printer without input shaping, if you are comfortable at a Linux command line.
Before you switch, check these in order:
Your printer: if its stock firmware already has input shaping and still gets updates, there is less to gain.
Host computer: a Raspberry Pi Zero 2 W, 3, 4 or 5; a Pi 1, Pi 2 or original Zero is too slow.
Board chip: read the chip on the board (for example STM32F103 or STM32F401) before you build.
Cable and power: a good USB cable and Pi power supply; a poor USB link is the usual cause of lost contact with the board.
Configuration: start from Klipper's example file for your printer, never from a blank file.
Upkeep: read the configuration changes before each update; reflash the board when Klipper asks.
Should you switch? Decide by your situation
Is Klipper worth it for your printer?
| Your situation | What Klipper adds | Verdict |
|---|---|---|
| Older bed slinger or kit printer, no input shaping, Marlin no longer updated | Measured input shaping, pressure advance, macros, web control | Worth considering |
| Printer with factory-tuned input shaping and maintained stock firmware | Mostly macros and a different interface | Little to gain |
| Printer already shipped with the maker's own Klipper | Mainline features, if you replace the maker's copy | Stay on the maker's version unless you need something it lacks |
| You want to tune and tinker, and know some Linux | A text configuration you can change in seconds | Good fit |
| You want a printer that just prints | One more computer and one more update routine | Stay on stock |
How Klipper splits the work
Where each part of a Klipper setup runs
| Part | What it does | Where it runs |
|---|---|---|
| Klipper host software | Reads G-code, works out kinematics and timing, holds printer.cfg | The Linux computer |
| Moonraker | A web server with an API that front ends use to talk to Klipper | The Linux computer |
| Front end: Mainsail, Fluidd, OctoPrint or KlipperScreen | The interface you print and tune from, in a browser or on a touchscreen | The Linux computer, or another device on the network |
| Klipper micro-controller firmware | Executes the step schedule, switches heaters and fans | The printer's board, built for its exact chip |
Because the computer does the heavy maths, even old 8-bit boards reach more than 175,000 steps per second, and one printer can run several boards at once (Klipper).
What Klipper adds
Input shaping. It reduces ringing, the faint echo of an edge on a wall, and may allow faster printing without losing quality. Tune it with a printed test tower, or measure the resonances with an accelerometer such as the ADXL345; wiring one up needs some soldering and crimping (Klipper). The defect itself is explained in ringing and input shaping.
Smooth pressure advance. It reduces ooze and blobs at corners without sudden jumps in extruder speed. Tuning is covered in pressure advance and linear advance.
Macros. You define new G-code commands in printer.cfg, and they can react to the printer's state.
Configuration without reflashing. Edit printer.cfg and restart; calibration results are written back to the file with SAVE_CONFIG.
Probes and meshes. Most Z probes work, including the BLTouch, and the bed mesh can be fitted to the size of each print.
Teaching Tech's Klipper guide shows macros, pressure advance tuning and input shaping, both with a printed test and with an accelerometer.
What hardware you need
A host computer. Klipper recommends a Raspberry Pi Zero 2 W, 3, 4 or 5. A Pi 1, Pi 2 or original Pi Zero runs it, but prints often stall. Other Linux computers work if you can set them up, but the host must not do heavy work, such as 3D rendering, during a print.
A good USB cable and power supply. Random "Lost communication with MCU" errors are commonly caused by the USB link between computer and board, and an under-voltage warning on a Pi must be fixed (Klipper FAQ).
A supported board. Klipper runs on ARM, AVR and other chips, and most RepRap-style printers need no hardware change. Flash the board once with firmware built for its exact chip. When an Ender 3 owner with a GD32F303 chip asked on the Klipper forum, the moderator's answer was simple: the board matters, not the printer's name.
A configuration file. Start from Klipper's example for your printer, the maker's file or a generic file for your board. Writing one from scratch needs significant technical knowledge (Klipper).
A screen, if you want one. KlipperScreen runs on a touchscreen connected to a computer, or on another device such as a tablet, but not on a screen wired to the printer board. A simple display on the board works only if its chip is one Klipper supports, such as the ST7920 or HD44780.
You can also buy a printer that ships with Klipper. Creality, for example, publishes the firmware of its K1 series and Ender-3 V3 KE as clones of the Klipper project.
Teaching Tech converts an 8-bit CR-10 with a BLTouch to Klipper and Fluidd step by step; the link starts at the chapter on the hardware and software you need.
What changes in daily use
Marlin habits and their Klipper equivalents
| On Marlin | On Klipper |
|---|---|
| G29 to probe the bed | BED_MESH_CALIBRATE; G29 exists only if you define it as a macro |
| M500 to save settings | SAVE_CONFIG writes the results into printer.cfg |
| M851 to set the probe Z offset | PROBE_CALIBRATE, then SAVE_CONFIG |
| M900 for linear advance | pressure_advance in the extruder section, or SET_PRESSURE_ADVANCE |
| Start G-code in the slicer | A START_PRINT macro in printer.cfg, called from the slicer |
| Reflash to change a setting | Edit printer.cfg, then RESTART |
The slicer. Keep the Marlin G-code flavour. Switch off coasting and any "advanced extruder pressure" option, which Klipper says are likely to make prints worse, and use pressure advance instead. To pass temperatures, PrusaSlicer's start G-code becomes START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]. Writing the routine itself is covered in start and end G-code.
Errors stop the print. Klipper halts when it meets an error it cannot recover from. Its FAQ explains why: the alternative is a printer that silently makes bad prints, or worse.
Heater safety. If the computer stops confirming a heater for 3 seconds, the board shuts all heaters and motors down. Heater checks are switched on for every heater by default. If one trips, see the thermal runaway guide.
Remote access. The web interface is a network service; read monitoring a print remotely before you open it beyond your own network.
Worked example: one Klipper update, start to finish
This is the routine from Klipper's FAQ, for a Raspberry Pi host with a USB-connected board.
Read Klipper's configuration changes document. Some updates need edits to printer.cfg.
Log in to the Pi over SSH, go to the klipper folder and run git pull.
Restart the host software with sudo service klipper restart. Often that is all that changes.
If Klipper now warns that the board needs reflashing, follow the full routine: run the install script (~/klipper/scripts/install-octopi.sh on an OctoPi-style setup), then rebuild the board firmware with make menuconfig (same chip settings as before), make clean and make.
Stop Klipper, flash the board (for a USB board: make flash with its device path, such as /dev/ttyACM0), then start Klipper again. Boards flashed from an SD card need the file copied to the card instead.
If errors remain, check the configuration changes document again.
RESTART and FIRMWARE_RESTART do not load new software; only the service restart and the reflash do. Many people use KIAUH, a third-party helper Klipper mentions, to install and update. Because the host is an ordinary Linux computer, it brings Linux upkeep too: Klipper warns that a ModemManager service on some distributions disrupts the serial link, and it advises against desktop versions of the operating system.
When to stop and ask for help
Stop and go back to the stock firmware, or ask on the Klipper forum, if the board will not take the new firmware after you have checked its chip and flashing method, or if "Lost communication with MCU" persists with a good cable and power supply. A printer with a maker's own Klipper is updated on the maker's schedule; ask the maker before you replace it with mainline Klipper. Switch the printer off and unplug it before you open the electronics or connect an accelerometer.
Next step and related guides
The wider choice between stock firmware, Marlin and Klipper, including what flashing can break and what the makers say about warranty, is in stock, Marlin or Klipper firmware. If you fit or move a probe during the switch, BLTouch and CR Touch offsets and failures covers the Klipper tests and offsets.

