M-code reference

M09: Coolant off

M09 is coolant off. Turns all coolant off. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What M09 does

M09 turns coolant off, typically before a tool change and at the end of the program.

TypeM-code
MachineMill and lathe
GroupCoolant
ModalYes: stays active until replaced by another code from the same group

M09 example

M09

Coolant off.

WordWhat it means here
M09Coolant off

Codes people confuse with M09

CodeWhat it does instead
M08 Flood coolant on. Turns on flood coolant.
M05 Spindle stop. Stops the spindle.

Other codes in the coolant group

Only one code from a modal group is active at a time. Programming any of these replaces M09.

  • M07 Mist coolant on
  • M08 Flood coolant on

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: M09

  1. What does M09 do? (Mill and lathe)

  2. Which code: Turns all coolant off.(Mill and lathe)

  3. What does M08 do? (Mill and lathe)

Show the answers
  1. Turns all coolant off.
  2. M09
  3. Turns on flood coolant.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does M09 mean in CNC programming?
Coolant off. Turns all coolant off.
Is M09 modal?
Yes. M09 belongs to the coolant group and stays active until another code from that group is programmed.
What is the difference between M09 and M08?
M09 (coolant off): turns all coolant off. M08 (flood coolant on): turns on flood coolant.
What is the difference between M09 and M05?
M09 (coolant off): turns all coolant off. M05 (spindle stop): stops the spindle.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint