Klipper · Homing and limits
Klipper: Move out of range: X Y Z [E]
Most often: file sliced for a larger bed. First step: check the start and end code coordinates against the bed size.
On this page
KLIPPERMove out of range: X Y Z [E]Homing and limits
What it means
A move in the G-code goes past position_min or position_max of an axis. Klipper refuses it and stops the print.
Common causes
- File sliced for a larger bed
- Purge line or park position outside the bed in the start or end code
- Wrong position_max in printer.cfg
- SET_GCODE_OFFSET or a mesh pushing Z below position_min
How to clear it
- Check the start and end code coordinates against the bed size
- Open the file in the 3D printer simulator: it shows moves outside the volume
- Check position_min / position_max in printer.cfg
Example
G1 X260 Y5 F3000 ; bed is 235 mmG1 X230 Y5 F3000Before 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
Related codes
Same group: homing and limits
- Marlin: Probing Failed
- Marlin: Homing Failed
- Marlin: STOP called because of BLTouch error
- Klipper: Must home axis first
- Klipper: Probe triggered prior to movement
- Klipper: No trigger on probe after full movement
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 communityFrequently asked questions
What does Klipper "Move out of range: X Y Z [E]" mean?
A move in the G-code goes past position_min or position_max of an axis. Klipper refuses it and stops the print.
How do I fix Klipper "Move out of range: X Y Z [E]"?
Check the start and end code coordinates against the bed size. Open the file in the 3D printer simulator: it shows moves outside the volume. Check position_min / position_max in printer.cfg.
Was this page helpful?