Klipper · Homing and limits

Klipper: Must home axis first

Most often: start code without G28. First step: put G28 at the start of the start code or the PRINT_START macro.

By cnccode · Updated
On this page
  1. What it means
  2. Common causes
  3. How to clear it
  4. Example
  5. Tools that help
  6. Related codes
  7. Same group: homing and limits
  8. Frequently asked questions

What it means

A move was sent before the axes were homed. Klipper does not know the position yet.

Common causes

  • Start code without G28
  • G28 only for some axes
  • Printer was idle and the motors timed out (idle_timeout turns motors off)

How to clear it

  1. Put G28 at the start of the start code or the PRINT_START macro
  2. Home again after the motors were turned off

Example

Gives the alarm
G1 Z0.2 F600
Correct
G28
G1 Z0.2 F600

Before you continue: Before you move the axis, look at the tool, the part and the direction. Use a low override and keep one hand on feed hold. A wrong direction makes a small alarm a big repair.

Tools that help

Same group: homing and limits

Messages of Marlin 2.1 and current Klipper. The exact wording can differ a little between versions and printer brands that change the firmware. Marlin and Klipper are open-source projects; this site is independent.

The error comes back?

Post your printer, firmware version, the full message and the start code.

Ask the community

Frequently asked questions

What does Klipper "Must home axis first" mean?
A move was sent before the axes were homed. Klipper does not know the position yet.
How do I fix Klipper "Must home axis first"?
Put G28 at the start of the start code or the PRINT_START macro. Home again after the motors were turned off.
Was this page helpful?