---
tag: m0005
title: Spindle / Laser Off
brief: Turn off spindle or laser
author: thinkyhead
contrib: shitcreek

group: control
since: 1.1.2
requires: SPINDLE_LASER_ENABLE

codes: [ M5 ]
related: [ M3, M4 ]

notes:
- '[`G0`](/docs/gcode/G000-G001.html) and [`G28`](/docs/gcode/G028.html) will also turn the laser off'

example:
- pre: Turn off the spindle or laser
  code: M5

---

Wait for moves to complete, then turn off the spindle / laser power and PWM.
