3D printer G-code · Marlin and Klipper

M107: Fan off (Marlin & Klipper)

Fan off — Turns the part cooling fan off. Same as M106 S0.

By cnccode · Updated
On this page
  1. What does M107 do?
  2. Example
  3. Related commands
  4. More fans commands
  5. Frequently asked questions
PropertyValue
CommandM107
FunctionFan off
FirmwareMarlin and Klipper
GroupFans
SyntaxM107 [P<fan>]

What does M107 do?

Turns the part cooling fan off. Same as M106 S0.

Example

G-code
M107

The command works in Marlin and Klipper. Options can differ: Klipper accepts fewer parameters for some M-codes and ignores codes it does not know with an "Unknown command" error.

More fans commands

CommandFunctionFirmware
M106Fan on (part cooling)Marlin and 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 simulator

Frequently asked questions

What does M107 do on a 3D printer?
M107 is fan off. Turns the part cooling fan off. Same as M106 S0.
Does M107 work in Klipper and Marlin?
Yes, both firmwares understand M107.
Was this page helpful?