3D printer G-code · Marlin
M25: Pause SD print (M25 / M24) (Marlin)
Pause SD print (M25 / M24) — M25 pauses a print from the SD card, M24 starts or resumes it. With PARK_HEAD_ON_PAUSE the head moves away from the part during the pause.
On this page
| Property | Value |
|---|---|
| Command | M25 |
| Function | Pause SD print (M25 / M24) |
| Firmware | Marlin |
| Group | Print control |
| Syntax | M25 then M24 |
What does M25 do?
M25 pauses a print from the SD card, M24 starts or resumes it. With PARK_HEAD_ON_PAUSE the head moves away from the part during the pause.
Example
M25 ; pause
M24 ; resumeMarlin. Many Marlin commands only exist when the feature is enabled in the firmware build. If the printer answers "Unknown command", the feature is missing. Klipper does not understand most of these settings codes; it uses printer.cfg instead.
Related commands
More print control commands
| Command | Function | Firmware |
|---|---|---|
M220 | Speed factor | Marlin and Klipper |
M600 | Filament change | Marlin |
M412 | Filament runout sensor | Marlin |
M413 | Power-loss recovery | Marlin |
M84 | Disable motors (M84 / M18) | Marlin and Klipper |
M400 | Finish moves | Marlin and Klipper |
M112 | Emergency stop | Marlin and Klipper |
EXCLUDE_OBJECT | Cancel one object | Klipper |
PAUSE | Pause, resume, cancel | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulatorFrequently asked questions
What does M25 do on a 3D printer?
M25 is pause SD print (M25 / M24). M25 pauses a print from the SD card, M24 starts or resumes it. With PARK_HEAD_ON_PAUSE the head moves away from the part during the pause.
Does M25 work in Klipper and Marlin?
M25 is a Marlin command. Klipper uses its own commands and printer.cfg settings for this task.
Was this page helpful?