diff --git a/Marlin/src/gcode/control/M85.cpp b/Marlin/src/gcode/control/M85.cpp
index 5bb2f356d1..403c0c59ac 100644
--- a/Marlin/src/gcode/control/M85.cpp
+++ b/Marlin/src/gcode/control/M85.cpp
@@ -28,6 +28,9 @@
  */
 void GcodeSuite::M85() {
 
-  if (parser.seen('S')) max_inactive_time = parser.value_millis_from_seconds();
+  if (parser.seen('S')) {
+    reset_stepper_timeout();
+    max_inactive_time = parser.value_millis_from_seconds();
+  }
 
 }