MouseButtonTest
EN

Mouse side buttons not working? How to fix back and forward

Updated October 1, 2026

The back and forward buttons on the side of your mouse – also called Mouse 4 and Mouse 5, or XButton1 and XButton2 – stop working far more often because of software than because of hardware. Here is how to find out which.

Step 1: Test the buttons

Open the mouse button test in Chrome, Edge or Firefox and press each side button. If the BACK and FWD buttons light up on the mouse diagram, the hardware works and the problem is a setting in the program you are using. If they don't light up, continue below.

Check all 5 mouse buttons in one place.

Open the mouse button test →

Note for Mac users: Safari does not pass side buttons to web pages, so they will never show up in Safari. Test in Chrome or Firefox instead.

If the test does not see them

  1. Reset the mouse software. Logitech G HUB, Razer Synapse, Corsair iCUE, SteelSeries GG and similar tools can remap side buttons to keystrokes, DPI changes or macros. Set them back to their default “Back” and “Forward” functions, or reset the profile.
  2. Check onboard memory profiles. Many gaming mice store profiles in the mouse itself. Even after uninstalling the software, an onboard profile can keep the buttons remapped. Reinstall the software to reset it, or use the mouse's reset option.
  3. Close conflicting apps. Tools like AutoHotkey, X-Mouse Button Control or game overlays can intercept the buttons. Close them and test again.
  4. Try another USB port or computer. If the buttons still don't register anywhere, the side-button switches or their cable may be broken.

If the test sees them, but a program doesn't

  • Games: most games need you to bind Mouse 4 and Mouse 5 yourself in the controls menu. Some older games do not support them at all – in that case, map the side buttons to keyboard keys in your mouse software.
  • macOS: macOS does not use side buttons for back/forward everywhere by default. Some apps handle them, others don't. The mouse manufacturer's software or a utility such as SensibleSideButtons or Mac Mouse Fix can map them to back/forward.
  • Linux: side buttons are usually buttons 8 and 9 in X11/Wayland. Most browsers support them; for other apps you can map them with tools like input-remapper.
  • Remote desktop and virtual machines: side buttons are often not forwarded. Check the remote-desktop settings.

Side button double-clicking? (Back skips two pages)

If one press of Back jumps two pages, or a side button fires twice in a game, the button is double-clicking. It is the same problem that makes left buttons double-click: the small switch inside starts to bounce as it wears, so one press reaches the computer as two. It is a common complaint on popular mice such as the Logitech G502 and G703 and the SteelSeries Rival 3.

  1. Confirm it. Open the mouse button test and press the side button slowly 20–30 times. Every press should add exactly one to its counter – a red chatter warning or two counts for one press means the switch is bouncing.
  2. Rule out software. In G HUB, Synapse, SteelSeries GG or iCUE, check that the button isn't set to a macro or a double click, and reset it to Back/Forward.
  3. Raise the debounce time if your mouse software has that setting (some gaming mice do). A few extra milliseconds hide light bouncing.
  4. Use compressed air on the gap around the side button while pressing it a few times – dust is the most common early cause.
  5. Warranty or a new switch. If it keeps coming back, the switch is worn. Gaming mice usually have a 1–2 year warranty, and side switches are cheap to replace if you can solder. Our double-clicking fix guide covers every step in detail.

Hardware causes

Side buttons use small switches that can fail, and on some mice they share a thin ribbon cable with the main board. If the buttons don't register on any computer with default settings, repair means replacing the side switch or the cable – or a warranty claim.

FAQ

What are Mouse 4 and Mouse 5?

They are the two extra side buttons. Mouse 4 is usually “Back” and Mouse 5 is “Forward”. In browsers they have the codes 3 and 4, because the count starts at 0.

Why do my side buttons work in the browser but not in my game?

The browser uses them as back/forward by default, but games need you to bind them. Open the game's control settings, choose an action and press the side button to assign it.

Why does my mouse back button double click?

If one press of the back button skips two pages, the side switch is bouncing – the same wear problem that makes left buttons double-click. Confirm it with the mouse button test – press the back button slowly 20–30 times and watch for a red chatter warning, then try compressed air, check the mouse software for a macro on that button, and use the warranty if it keeps happening. See our double-clicking fix guide for every step.

Can I use side buttons on a Mac?

Yes, but support depends on the app. The mouse's own software or a small utility can map them to back/forward or keyboard shortcuts everywhere.