M218 - Set Hotend Offset

calibration Set the offset of a hotend (from hotend 0). EXTRUDERS>1


To keep nozzles aligned to the work area between tool-changes, the firmware needs to know how they relate to each other.


  • Requires 2 or more nozzles.
  • The default hotend offsets are set with HOTEND_OFFSET_[XYZ].
  • Z hotend offset only available with DUAL_X_CARRIAGE or SWITCHING_NOZZLE.
  • View current hotend offsets with M503.
  • If EEPROM_SETTINGS is enabled, these offsets are saved with M500, loaded with M501, and reset with M502.


M218 [T<index>] [X<offset>] [Y<offset>] [Z<offset>]



Hotend index. Active extruder by default.


    Hotend X offset


      Hotend Y offset


        Hotend Z offset. Requires DUAL_X_CARRIAGE or SWITCHING_NOZZLE.