A mouse test tells you at a glance whether every button on your mouse is doing what it should. Click inside the test box, and this mouse test counts each press of the left, right and middle buttons, along with the back and forward side buttons if your mouse has them. It also counts double-clicks and scroll wheel movements in each direction. It's handy when a click seems to be ignored, when a single click behaves like a double-click, or when you've just bought a mouse and you'd like to check it before the return period is over.
How to use the mouse test
- Move your pointer into the box.
- Press each button in turn, and watch its count go up.
- Double-click a few times.
- Scroll up and down.
- Press Reset counts to start again.
How the mouse test works
Your browser reports a number each time a mouse button is pressed, and this page reads that number. According to MDN, the values are as follows.
| Value | Button |
|---|---|
| 0 | Main button, usually the left |
| 1 | Auxiliary button, usually the wheel or middle |
| 2 | Secondary button, usually the right |
| 3 | Fourth button, typically Browser Back |
| 4 | Fifth button, typically Browser Forward |
Inside the box, the normal actions of those buttons are switched off, so a right-click doesn't open a menu and the back button won't take you away from the page.
A worked example
Suppose that your mouse sometimes opens files when you only meant to select them. Click the left button slowly, 20 times, leaving about a second between clicks. The Left button count should reach exactly 20, and Double-clicks should stay at 0. If the left count is higher than 20, or if the double-click count rises by itself, the switch inside the mouse may be registering one press as two. The same approach works for the right button and the scroll wheel.
What is the very fast repeats count?
This line counts two presses of the same button that arrive less than 50 milliseconds apart. Most people can't deliberately click that quickly, so a rising number during slow, careful clicking can point to a worn switch. It's a rough guide that we've chosen, and it isn't a formal standard. A count of 1 now and then could just be a quick finger, so repeat the test before you draw any conclusions.
Troubleshooting a mouse problem
- Try a different USB port or a new receiver position.
- Replace or recharge the batteries on a wireless mouse.
- Clean the sensor and the area around the scroll wheel.
- Test it on another computer to see whether the fault follows the mouse.
- Check your system settings for double-click speed and button assignments.
- Update or reinstall the mouse software if your model uses it.
Why a button might show the wrong name
Buttons can be configured differently from the usual layout. A mouse set up for left-handed use may have its buttons reversed, so a physical left click could register as a right click. Some devices have only one button, and others have many that are mapped to different functions. If a button appears as the wrong one, look at your operating system's mouse settings or at any software that came with the device before you assume that it's broken.
Side buttons and special functions
Not every mouse has back and forward buttons, and some extra buttons are handled by the mouse's own software. These may send keyboard shortcuts instead of a button number, in which case they won't appear in the counts here. That doesn't mean that they're faulty. Touchpads and touch screens can also behave differently from a regular mouse, and they might only report the main button.
Is it safe to use?
Yes. The test only counts events inside the box on this page. It doesn't install anything, and it can't see what you do in other windows or apps. Nothing about your clicks is recorded or sent to our server. If you close the page or press the reset button, the counts are gone.
When to replace your mouse
If the same button misbehaves on more than one computer, the problem is likely to be in the hardware. Check your warranty, as many manufacturers will replace a faulty mouse within the coverage period. Save the details of what you tested, as support teams often ask what you've already tried. If the mouse is out of warranty, a replacement is usually the simplest answer.
Testing a gaming mouse
Gaming mice often have extra buttons and high sensitivity settings. Run the test after you change a profile, so that you can confirm which buttons still send normal clicks.
Common mistakes
- Clicking outside the box. Only clicks in the box are counted.
- Blaming the mouse too soon. Check your settings first.
- Testing only once. Faults can be intermittent.
Related tools
Check your display with the screen resolution checker, test your hands with the typing speed test, and record a problem with the online screen recorder.
What next
Use this often? Add Mouse Test to your Home screen.
Frequently asked questions
How does the mouse test work?
It reads the button number that your browser reports for each press inside the box, and it counts them.
Why does my single click count as a double-click?
The switch in the mouse may be worn, or your double-click setting may be off.
Will the back button leave this page?
No. Inside the box, its normal action is switched off.
Why doesn't my side button register?
Some buttons are handled by the mouse's software and may not send a button number.
Is anything recorded?
No. The counts stay in your browser and disappear when you leave.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.