my roomba s9+ keeps getting error 31 and won't go back to the base, it just sits there beeping.

— asked by Morgan

Quick answer: Error 31 on the iRobot Roomba s9+ is a critical failure of the cliff avoidance system. This system utilizes four infrared (IR) sensors located along the bottom perimeter of the chassis.

Diagnosis

Error 31 on the iRobot Roomba s9+ is a critical failure of the cliff avoidance system. This system utilizes four infrared (IR) sensors located along the bottom perimeter of the chassis. These sensors emit a beam of light that bounces off the floor; if the light doesn't return (because there is a drop-off) or if the sensor "sees" a dark surface that absorbs the light, the robot triggers a safety stop to prevent it from falling down stairs. When you see Error 31, the robot has detected an "obstruction" or a "blind spot" in one or more of these sensors, causing it to freeze in place and beep rather than navigating back to the Clean Base. This failure is most commonly caused by a buildup of fine dust, pet hair, or a thin film of grease that has settled over the sensor windows. In some cases, it is triggered by high-contrast flooring—such as deep black rugs or dark hardwood—which the sensors mistake for a cliff. You can confirm the cause by observing where the robot stops; if it consistently freezes at the edge of a dark rug or in a specific dusty corner, the sensors are simply being fooled by the environment or are physically obstructed.

How to Fix It

To resolve Error 31 and restore the s9+'s ability to dock, follow these precise steps to deep-clean the optical array:

  1. Press and hold the CLEAN button for 10 seconds to fully power down the unit. Ensure the robot is completely off before flipping it over.
  2. Turn the robot upside down on a clean, flat surface. Locate the four small, rectangular clear windows arranged in a semi-circle around the bottom edge of the chassis.
  3. Use a dry, lint-free microfiber cloth to wipe each sensor window. Avoid using paper towels, as these can leave microscopic scratches on the plastic lens that diffuse the IR beam.
  4. If the sensors are coated in a sticky residue, dampen the cloth slightly with a 70% isopropyl alcohol solution. Wipe the window and immediately dry it with a clean section of the cloth to prevent streaks.
  5. Use a can of compressed air to blow out the narrow gaps between the sensors and the bumper assembly. Dust often accumulates in these crevices and can reflect light back into the sensor, triggering a false positive.
  6. Check for any peeling protective films or stickers that may have been missed during initial setup or accidentally applied during a repair.
  7. Place the robot back on the floor, power it on, and manually drive it toward the Clean Base to verify that the error has cleared.

If That Didn't Work

  • Test on a different surface: If the robot only triggers Error 31 on black carpets or dark tiles, the sensors are functioning correctly but are being "blinded" by the color. Try placing a light-colored mat or a strip of white tape over the dark area to see if the robot passes over it. If it does, the issue is environmental, not mechanical.
  • Perform a Hard Reboot: Press and hold the CLEAN button for 20 seconds. The light ring will swirl. This clears the temporary cache of the sensor array and can reset a "stuck" error state that persists even after cleaning.
  • Inspect the Bumper: Gently tap the front bumper to ensure it is springing back fully. If the bumper is slightly jammed or skewed, it can put pressure on the internal sensor housing, causing the IR beams to misalign.
  • Check for Firmware Updates: Open the iRobot Home App and check for a software update. iRobot occasionally releases "cliff sensor sensitivity" patches that improve the robot's ability to distinguish between a black rug and an actual ledge.

Heads Up

  • Avoid Wet Cleaning: Never spray liquid cleaners or glass cleaners directly onto the sensor windows. Liquid can seep into the sensor housing, causing permanent hardware failure or clouding the lens.
  • Routine Maintenance: Make it a habit to wipe the cliff sensors every time you empty the bin or clean the brushes. A thin layer of dust is invisible to the eye but can be opaque to an infrared beam.
  • Dark Flooring Warning: If you have a home with predominantly black flooring, be aware that the s9+ may permanently struggle with Error 31 in those areas; this is a limitation of IR technology, not a defect in your specific unit.

📖 iRobot Roomba Troubleshooting Guide - All Models
0

Different problem with the same product?

Ask about the iRobot Roomba s9+ Self-Emptying Robot Vacuum →