---
tag: m0208
title: Firmware Recover Settings
brief: Set firmware-retraction recover settings
author: thinkyhead

group: motion
requires: FWRETRACT

codes: [ M208 ]
related: [ G10, G11, M207, M209 ]

parameters:

- tag: S
  optional: true
  description: Additional recover length. Can be negative to reduce recover length.
  values:
  - tag: length
    type: float

- tag: W
  optional: true
  description: Additional recover swap length. Can be negative to reduce the length.
  values:
  - tag: length
    type: float

- tag: F
  optional: true
  description: Recover feedrate (units/min)
  values:
  - tag: feedrate
    type: float

- tag: R
  optional: true
  description: Swap recover feedrate (units/min)
  values:
  - tag: feedrate
    type: float

examples:

- pre: Set recover extra length to 0.2mm and recover feedrate to 10mm/s
  code: M208 S0.2 F600

- pre: Set a retract length of 2mm and *total* recover length of 2.5mm
  code:
  - M207 S2.0  ; 2.0mm retract
  - M208 S0.5  ; 2.0mm + 0.5mm recover

---

Set the added lengths and feedrates for firmware-based retract recovery. The lengths set by `M208` are applied *in addition* to the lengths set by [`M207`](/docs/gcode/M207.html) when un-retracting (aka "recovering") the filament. The new values will apply to all subsequent [`G11`](/docs/gcode/G011.html) commands.

The "swap" values apply to firmware-based recover moves after a tool-change.

Send `M208` with no parameters to get the current firmware-based retraction recover settings.

### Tuning the values

See [`M207`](/docs/gcode/M207.html) for helpful G-code files and tips for tuning retract and recover.
