- Robot vacuums
- Robot vacuum
Error 40
iRobot Error 40 on Roomba: stuck in a Virtual Wall beam

Risk level
Low
Usually safe to check without specialist tools.
Urgency
Low
Quick answer
Roomba says Error 40: it is stuck in the infrared beam of a Virtual Wall or the Home Base. Move it to a new location and press CLEAN; make sure Virtual Walls do not face each other and the Home Base has clear space around it.
Safety first
Stop and check this first
- Virtual Walls and keep out zones set cleaning areas; do not rely on them to keep the robot away from hazards such as stairs without barriers or loose cables.
Safe checks you can perform
- Move the robot
- Re-aim the Virtual Walls
- Give the Home Base clear space
Leave these tasks to a qualified professional
- Do not attempt this professional task: Warranty check of the Virtual Wall or Home Base
- Do not attempt this professional task: Case review with iRobot Customer Care
What a technician must be able to justify
Technician visit
These are the steps they must carry out and show you. Tick them as they work: if steps are skipped, do not accept a part swap.
These are not instructions for opening or handling the equipment yourself. They are the checks that should support a technical conclusion.
Warranty check of the Virtual Wall or Home Base
What they doiRobot service checks the Virtual Wall Barrier or Home Base signal if placement changes do not help.
They must show youthe test of the beam or dock.
In writingwhich accessory, if any, is replaced.
Case review with iRobot Customer Care
What they doiRobot Customer Care reviews the case if Error 40 persists after moving the robot, the Virtual Walls and the Home Base.
They must show youthe case number and their findings.
In writingwhether any part is replaced.
Before accepting a part or repair
Nothing has been shown yet. Do not accept a part swap based on the code alone.
Follow these steps
Note: Follow the documented order. An error code identifies the affected system, but it does not prove by itself which part has failed.
Move the robot
- Who:
- you.
- How:
- move Roomba to a new location, then press CLEAN to restart, as iRobot says.
- Result that matters:
- whether it cleans without Error 40.
- If it cleans:
- it was a one-off position in the beam.
- If it repeats:
- check the Virtual Walls and Home Base.
- Evidence to keep:
- a note of where it was stuck.
Evidence: Roomba i Series: Error 40
Re-aim the Virtual Walls
- Who:
- you.
- How:
- check where each Virtual Wall points and adjust them so they are not directed at each other.
- Result that matters:
- that no two beams cross the same corridor from opposite sides.
- If they faced each other:
- that was the cause; test again.
- If they were fine:
- check the Home Base location.
- Evidence to keep:
- a photo or sketch of where each Virtual Wall sits and points.
Evidence: Roomba i Series: Error 40
Give the Home Base clear space
- Who:
- you.
- How:
- if the error happens near the Home Base, clear the area so it is uncluttered with space on all sides, and reposition the Home Base if it persists.
- Result that matters:
- whether the robot leaves and returns without Error 40.
- If it does:
- the dock location was the cause.
- If it still happens after moving everything:
- contact iRobot Customer Care.
- Evidence to keep:
- photos of the old and new Home Base positions.
Evidence: The Roomba i Series Error Messages Chart · Roomba i Series: Error 40
Still not solved
If the error persists, stop here. See what the technician must do and show you.
Where this code applies
A code is meaningful only inside the right product and version context.
Primary scope
- System
- Robot vacuums
- Brand
- iRobot
- Product type
- Robot vacuum
Known code variants
- 40
- codigo 40 patinete Xiaomi
- E40
- error 40
- iPhone error 40
- iRobot Error 40
- iTunes error 40
- Ninebot controller temperature error 40
- Ninebot E2 Plus error 40
- Ninebot E2 Pro error 40
- Ninebot error 40
- patinete Segway temperatura controlador
- patinete Xiaomi error 40
- Robot Stuck in Virtual Wall Beam
- Roomba Error 40
- Roomba Virtual Wall error
- Segway E2 error 40
- Segway error 40
- sensor temperatura controlador Xiaomi
- Xiaomi 5 Plus error 40
- Xiaomi controller temperature sensor failure
- Xiaomi Electric Scooter 6 Pro error 40
- Xiaomi error 40
- Xiaomi fault code 40
- Xiaomi scooter error 40
What it means
In iRobot's i Series chart, Error 40 means the robot is stuck in a Virtual Wall beam; the Error 40 article says it is caught in the infrared beam of a Virtual Wall or the Home Base. The robot treats that beam as a boundary, so two Virtual Walls pointing at each other or a Home Base in a cluttered, narrow spot can leave it with no way out. The code does not prove a fault in the robot, the Virtual Wall or the Home Base: iRobot's steps are about placement.
Warnings and stop conditions
- Loweditorial warning
Virtual Walls and keep out zones set cleaning areas; do not rely on them to keep the robot away from hazards such as stairs without barriers or loose cables.
Evidence: Roomba i Series: Error 40
Symptoms and causes
Probable causes · in order
- Virtual Walls facing each otherCommon
Two or more Virtual Walls are aimed at one another and the robot gets trapped between their beams.
Evidence: Roomba i Series: Error 40
- Home Base in a tight spotPossible
It happens near the Home Base, which sits in a cluttered area without enough space on all sides.
Evidence: Roomba i Series: Error 40
- One-off position in the beamPossible
It happened once and the robot cleans normally after being moved.
Evidence: Roomba i Series: Error 40
Virtual technician
Does Error 40 still appear after these checks?
Answer a few questions to narrow down the likely cause and the safest next action. Guidance only - it never replaces a professional.
Sources and technical references
- 1
The Roomba i Series Error Messages Chart
iRobot · 2026 · official_doc
- 2
iRobot · 2026 · official_doc
Was this entry useful?