Fix guide · Mouse
Why is my mouse moving on its own?
Usually the mouse sensor sees movement that is not there: dust on the sensor, or a glossy, glass or worn surface. First run a hands-off drift check with the mouse on a plain pad. Then unplug the mouse or switch it off. If the cursor still moves, something else is moving it: a touchpad, a controller, a touch screen or a pen tablet.
Updated
Test it first
Free tests that run in your browser. Nothing is uploaded.
- 1 Mouse drift test 30 s
Press Start, take your hand off the mouse and the desk, and read Furthest. Over 10 px with no one touching it means the sensor or surface is the cause. Near 0 means look elsewhere.
- 2 Controller drift test 30 s
If the cursor moves with the mouse unplugged and a controller is connected, check its sticks here. A reading above 0.15 at rest can move the cursor through Steam or other mapping software.
- 3 Touch screen test 1 min
On a touch laptop or tablet, run the ghost touch watch with your hands off the screen. Any touch it lists is the screen moving or clicking the cursor by itself.
Read the drift test result
If you are asking why your mouse is moving on its own, the first job is to work out what is moving the cursor. The cursor follows every pointing device the computer knows about: the mouse, a touchpad, a touch screen, a pen tablet, a controller mapped as a mouse and any remote session. The mouse drift test tells you if the mouse is one of them.
| What you see on the test | Likely cause | What to do |
|---|---|---|
| Furthest over 10 px, mouse on pad | Mouse sensor or surface | Clean the sensor, change the surface |
| Drift only on one desk or pad | Surface the sensor cannot read | Plain cloth pad, no glass or gloss |
| 0 reports, cursor still moved later | Not the mouse | Unplug it and watch the cursor |
| Moves with mouse unplugged | Other input or remote control | Follow the steps below |
| Moves and clicks with no hand on anything | Touchpad, touch screen or pen | Turn each off in turn |
Unplug the mouse: the one check that splits the causes
Unplug the mouse, or turn it off and pull the wireless receiver. Leave your hands in your lap for a minute.
- The cursor goes still. The mouse is the source. See the mouse fixes below.
- The cursor still moves. Something else is moving it. Disconnect other devices one at a time until it stops.
What else can move the cursor
- A laptop touchpad. A palm, a cuff, a drop of water or a cable resting on it all count as a finger.
- A controller with stick drift. Steam, DS4Windows and similar tools can map a stick to the mouse. A drifting stick then pushes the cursor slowly in one direction. Test it on the controller drift test.
- A touch screen with ghost touches. Touch laptops and 2 in 1s can register touches nobody made, often while charging. The touch screen test has a 30 second ghost touch watch.
- A pen tablet. A pen lying near a drawing tablet can still be read, and the cursor jumps to it.
- A second paired mouse. An old wireless mouse or receiver in a bag or drawer still moves the cursor when it gets bumped.
- Mouse Keys. This accessibility feature moves the cursor with the number pad. A stuck key or something resting on the keypad moves it too.
- Remote access. A remote desktop session moves the cursor from another computer. See the section below.
Fix the mouse itself
- Clean the sensor window on the underside with a dry cotton bud. A single hair is enough to cause drift.
- Use a plain cloth pad. Glass, gloss and some patterned desks confuse optical sensors.
- For a wireless mouse, charge it or fit a fresh battery, then put the receiver on a front port or an extension cable close to the mouse.
- Lower the DPI a step in the mouse software, and turn off any lift-off or surface tuning you changed.
- Test it on another computer. If it drifts there too, the sensor is faulty.
If the mouse also clicks by itself, check the switch on the double click test and read why a mouse double clicks.
Laptop touchpad moving the cursor
Windows 11
- Open Settings, Bluetooth and devices, Touchpad, and switch Touchpad off. If the cursor stops, you found it.
- To keep it off only while a mouse is plugged in, open the arrow next to the Touchpad switch and clear “Leave touchpad on when a mouse is connected”. Some users report the option missing on some drivers; a touchpad driver update from the laptop maker brings it back.
- Under Taps, lower the touchpad sensitivity so a resting palm is ignored.
- Many laptops also have a key, often on the F row, that turns the touchpad off.
Swollen battery
If the touchpad clicks or moves by itself and the case near it looks raised, or the touchpad sits higher than before, the battery under it may be swelling. Stop using and charging the laptop, and take it to a repair shop or the maker. Do not press on it or try to open it: a damaged lithium battery can catch fire.
Mac mouse moving on its own
- To ignore the built-in trackpad when a mouse is connected, open System Settings, Accessibility, Pointer Control, Mouse and Trackpad, and turn on “Ignore built-in trackpad when mouse or wireless trackpad is present”. Apple users report it does not work with every third-party mouse.
- Universal Control lets a nearby Mac or iPad signed in to the same Apple Account move your pointer. Its switch is in the Display settings, under Advanced. Turn it off to rule it out.
- In System Settings, General, Sharing, check that Screen Sharing and Remote Management are off unless you use them.
- In System Settings, Privacy and Security, Accessibility, look at the list of apps allowed to control your Mac. Remove any you do not know.
Is it a virus or a hacker?
This is the fear most people have, and it is rarely the answer. Real remote control does not look like drift. It looks like someone using your computer: the cursor goes straight to menus, windows open, text is typed. Slow creeping, shaking in place or jumps to one corner point to hardware.
To check calmly:
- Look at your installed apps for remote tools: TeamViewer, AnyDesk, Chrome Remote Desktop, Quick Assist, or anything a caller or pop-up asked you to install. Uninstall any you did not choose.
- On Windows, open Settings, System, Remote Desktop and turn it off if you do not use it.
- On a Mac, check Sharing and the Accessibility list as above.
- Run a full scan with Microsoft Defender on Windows, or your usual security app.
- If you did let a stranger connect, for example after a “tech support” call, disconnect from the internet, remove the tool and change your passwords from another device. Microsoft says on its own support pages that it does not make unsolicited calls offering tech support.
When to stop and replace or repair
- The mouse drifts on two computers and on a clean cloth pad. The sensor is faulty. Use the warranty if it is still in date; otherwise a new mouse usually costs less than a repair.
- The touchpad moves the cursor with nothing on it, after a driver update. Contact the laptop maker. A swollen battery is a repair, not a setting.
- A controller stick drifts. See the stick drift guide for cleaning, calibration and warranty steps.
- A touch screen keeps ghost touching after you change the charger and remove the protector: the digitiser needs a repair. See the ghost touch guide.
What the browser test cannot tell you
- The drift test sees the cursor after the mouse software and the operating system. Smoothing in that software can hide small jitter.
- Counts are in screen pixels, so the same drift reads bigger at a higher DPI or pointer speed.
- A browser cannot see which device moved the cursor. Unplugging devices one by one is the only way to know.
- It cannot detect remote access or malware. Only your settings, installed apps and a security scan can.
- The ghost touch watch catches only touches that happen while it runs. A screen that ghost touches only in some apps may look clean.