---
tag: m0190
title: Wait for Bed Temperature
brief: Wait for the bed to reach target temperature
author: thinkyhead
contrib: shitcreek

group: thermal

codes: [ M190 ]
related: [ M140 ]

notes:
- This command may block the command queue. Enable `EMERGENCY_PARSER` so that hosts can break in using [`M108`](/docs/gcode/M108.html).
- Use [`M140`](/docs/gcode/M140.html) to set the bed temperature and proceed without waiting.
- Without any parameters `M190` does nothing.

parameters:

- tag: I
  since: 2.0.6
  optional: true
  description: Material preset index. Overrides `S`.
  values:
  - tag: index
    type: int

- tag: S
  optional: true
  description: Target temperature (wait only when heating).
  values:
  - tag: temp
    type: float

- tag: R
  optional: true
  description: Target temperature (wait for cooling or heating).
  values:
  - tag: temp
    type: float

- tag: T
  since: 2.1.3
  optional: true
  requires: BED_ANNEALING_GCODE
  description: Cooling time in seconds to reach target temperature. Used to cool slowly to prevent warping and internal stress.
  values:
  - tag: seconds
    type: int

examples:

- pre: Set target bed temperature and wait (if heating)
  code: M190 S80

- pre: Set target bed temperature and wait even if cooling
  code: M190 R40

- pre: Slowly cool down to 70°C over a 10 minute period
  code: M190 R70 T600

---

This command optionally sets a new target temperature for the heated bed and waits for the target temperature to be reached before proceeding. If the temperature is set with `S` then it waits *only when heating*.
