Buying Guide
The Best Mice for Programming and Long Coding Sessions
Six mice for developers compared on scrolling, programmable buttons, grip style and multi-computer control, from the MX Master 4 to budget trackballs.
By Alex Morgan, PC Hardware Editor
12 min read6 products evaluated

Programmers use a mouse differently from gamers: long scrolls through code, constant shortcuts and switching between machines. A good mouse for coding speeds those up and keeps your wrist comfortable through long sessions.
We compared six mice on scrolling, programmable buttons, grip style, connections and battery life, using each maker's specifications. We did not test them ourselves.
If your wrist or forearm aches after a day of coding, start with the vertical and trackball picks before looking at features.
Quick Picks
Which of the 6 picks to look at first. Tap a name for the full analysis.

Best for Fast Scrolling
Logitech MX Master 4A 1,000-lines-per-second scroll wheel, an Actions Ring and a haptic panel.
Best for: Developers who live in long files and many shortcuts.
Check price for Logitech MX Master 4 on Amazon (opens in a new tab)
Best Value MX Mouse
Logitech MX Master 3SMagSpeed scrolling, an 8,000 DPI sensor and Flow across computers.
Best for: Developers who want most of the MX Master 4 for less.
Check price for Logitech MX Master 3S on Amazon (opens in a new tab)
Best Vertical for Smaller Hands
Logitech Lift VerticalA 57-degree grip sized for small to medium hands.
Best for: Forearm discomfort and smaller hands.
Check price for Logitech Lift Vertical on Amazon (opens in a new tab)
Longest Battery Life
Logitech Ergo M575S TrackballThe longest battery life here (up to 18 months).
Best for: Users who rarely want to recharge.
Check price for Logitech Ergo M575S Trackball on Amazon (opens in a new tab)
Highest-Resolution Sensor
Razer Pro Click V2 VerticalThe highest sensor resolution here (30,000 DPI).
Best for: Users who move the cursor across very wide desktops.
Check price for Razer Pro Click V2 Vertical on Amazon (opens in a new tab)
Best Budget Trackball
Kensington Orbit Trackball with Scroll RingA scroll ring and detachable wrist rest at the lowest price here.
Best for: Small desks and tight budgets.
Check price for Kensington Orbit Trackball with Scroll Ring on Amazon (opens in a new tab)
Our Picks
Best for Fast Scrolling1 of 6
Logitech MX Master 4
The MX Master 4 is built for heavy editor use: its MagSpeed wheel scrolls 1,000 lines per second, the Actions Ring puts app-specific shortcuts under your thumb, and a haptic panel confirms actions.
Best for
- Developers who live in long files and many shortcuts.
Skip if
- Its button count is not published, which rules it out if you need that number.
Why we like it
Quiet clicks keep it discreet on calls. Its new dongle uses an upgraded radio chip and antenna, which Logitech says doubles connection strength, and the shell has improved stain resistance. The plastics include recycled material, and the battery uses recycled cobalt.
It is the only pick here with a USB-C dongle or Bluetooth connection; the Lift has a bluetooth or Logi Bolt connection instead. It is shaped for right hands only. It was the highest-priced of the 6 picks at the time of writing, so the case for it rests on what it adds over the Pro Click V2 Vertical and the rest. The maker doesn't give its battery life; if that figure matters, the Ergo M575S runs for up to 18 months.
Key specs
- Grip
- Sculpted, right-handed
- Connection
- USB-C dongle or Bluetooth
Pros
- Haptic Sense panel with customizable feedback
- Actions Ring overlay for app shortcuts
- MagSpeed wheel that scrolls 1,000 lines per second
- USB-C dongle or Bluetooth connection, the only one here
Cons
- No published button count
- Costs more than the Orbit at the time of writing
Best Value MX Mouse2 of 6
Logitech MX Master 3S
The MX Master 3S keeps the features most developers use daily, MagSpeed scrolling, app-specific button profiles and Flow control across Windows and macOS, for less than the MX Master 4.
Best for
- Developers who want most of the MX Master 4 for less.
Skip if
- The maker gives no button count, so skip it if that figure decides your choice.
Why we like it
Its 8,000 DPI sensor tracks even on glass. Its 8,000 DPI sensor tracks on glass, and Quiet Clicks cut click noise by about 90%. The MagSpeed wheel scrolls quickly through long files and stops on a line.
No other pick in this guide offers a bluetooth connection; compare the MX Master 4, which has a USB-C dongle or Bluetooth connection. It is shaped for right hands only. Its price falls between the Lift and the Pro Click V2 Vertical, based on our last check. Buyers who need a confirmed battery life should compare it with the Ergo M575S, which runs for up to 18 months.
Key specs
- Sensor
- 8,000 DPI
- Grip
- Sculpted, right-handed
- Connection
- Bluetooth
Pros
- Tracking on glass
- Quiet Clicks with 90% less click noise, per Logitech
- Flow control across Windows and macOS computers
- Bluetooth connection, the only one here
Cons
- No published button count
- Costs more than the Orbit at the time of writing
Best Vertical for Smaller Hands3 of 6
Logitech Lift Vertical
Lift is Logitech's vertical mouse for small to medium right hands, holding the wrist at 57 degrees to reduce forearm twist.
Best for
- Forearm discomfort and smaller hands.
Skip if
- Pass if a published button count matters; this one has none.
Why we like it
It adds whisper-quiet clicks and a SmartWheel, and connects over Bluetooth or Logi Bolt. Logitech sizes it for small to medium right hands, with a 57-degree angle and a padded thumb rest. The soft-textured grip suits all-day office use.
The plastic parts include certified post-consumer recycled plastic, and it works with Windows, macOS, iPadOS, Chrome OS and Linux. It shares a bluetooth or Logi Bolt connection with the Ergo M575S; the MX Master 3S goes with a bluetooth connection. You also get certification by leading ergonomists.
Vertical mice put your hand in a handshake position; allow a week to adjust, and check the hand size. It connects over Bluetooth or a Logi Bolt receiver; Bolt does not pair with older Unifying receivers. It was priced above the Ergo M575S and below the MX Master 3S at the time of writing.
Key specs
- Grip
- 57-degree vertical, right-handed, small to medium hands
- Connection
- Bluetooth or Logi Bolt
Pros
- Whisper-quiet clicks
- Certification by leading ergonomists
- A 57-degree grip sized for small to medium hands
Cons
- No published button count
- Costs more than the Orbit at the time of writing
The catch
There is no published battery life figure, whereas the Ergo M575S runs for up to 18 months.
Longest Battery Life4 of 6
Logitech Ergo M575S Trackball
The Ergo M575S keeps your arm still and moves the cursor with your thumb, which Logitech says cuts forearm muscle strain by 25%.
Best for
- Users who rarely want to recharge.
Skip if
- Price-first buyers should look at the Orbit, which cost less when we checked.
Why we like it
It has up to 18 months of battery life, the longest here. On button count it sits mid-pack at 3: the Pro Click V2 Vertical offers 6, and the Orbit comes in at 2. Like the Lift, it has a bluetooth or Logi Bolt connection, while the MX Master 4 uses a USB-C dongle or Bluetooth connection.
You also get Smart Actions shortcuts. A trackball stays still on the desk, so it suits cramped desks, but precise selection takes practice. It is shaped for right hands only.
It connects over Bluetooth or a Logi Bolt receiver; Bolt does not pair with older Unifying receivers. Its price falls between the Orbit and the Lift, based on our last check.
Key specs
- Battery life
- up to 18 months
- Programmable buttons
- 3
- Grip
- Thumb trackball, right-handed
- Connection
- Bluetooth or Logi Bolt
Pros
- 25% less forearm muscle strain, per Logitech
- Smart Actions shortcuts
- Longest battery life of the picks (up to 18 months)
- Button count of 3, ahead of the Orbit
Cons
- Costs more than the Orbit at the time of writing
The catch
Buyers who need a confirmed sensor resolution should compare it with the Pro Click V2 Vertical, which offers 30,000 DPI.
Highest-Resolution Sensor5 of 6
Razer Pro Click V2 Vertical
The Razer Pro Click V2 Vertical pairs a vertical grip with six buttons, a 30,000 DPI sensor and connections to up to five devices.
Best for
- Users who move the cursor across very wide desktops.
Skip if
- Price-first buyers should look at the Orbit, which cost less when we checked.
Why we like it
Its AI Prompt Master button can trigger AI tools with one click through Razer Synapse. On button count it leads this guide at 6, ahead of the Ergo M575S (3). It is the only pick here with a vertical with base support grip; the Orbit has a finger-operated trackball grip instead.
It also comes with 18-zone lighting. Vertical mice put your hand in a handshake position; allow a week to adjust, and check the hand size. On price it sat fifth of 6, between the cheaper MX Master 3S and the pricier MX Master 4, at the time of writing.
Key specs
- Battery life
- up to 6 months
- Sensor
- 30,000 DPI
- Programmable buttons
- 6
- Grip
- Vertical with base support
- Connection
- 2.4GHz HyperSpeed or Bluetooth, up to 5 devices
Pros
- AI Prompt Master shortcut button
- 18-zone lighting
- Highest sensor resolution of the picks (30,000 DPI)
- Most button count of the picks (6)
Cons
- Costs more than the Orbit at the time of writing
Best Budget Trackball6 of 6
Kensington Orbit Trackball with Scroll Ring
The Kensington Orbit is a finger-operated trackball with a scroll ring around the ball, which makes scrolling long files quick.
Best for
- Small desks and tight budgets.
Skip if
- Skip it if button count matters most to you; the Pro Click V2 Vertical offers 6.
Why we like it
It is the least expensive pick here and includes a detachable wrist rest. A detachable wrist rest cushions the hand, and free software assigns functions to both buttons and the scroll ring. Its 2 button count is the fewest in this group; the Pro Click V2 Vertical leads at 6.
You get a finger-operated trackball grip here, which sets it apart from the Pro Click V2 Vertical and its a vertical with base support grip. A trackball stays still on the desk, so it suits cramped desks, but precise selection takes practice. It cost the least of the 6 picks at the time of writing, with the Ergo M575S the next step up. There is no published battery life figure, whereas the Ergo M575S runs for up to 18 months.
Key specs
- Programmable buttons
- 2
- Grip
- Finger-operated trackball
Pros
- Scroll ring around the ball
- Detachable wrist rest
- Finger-operated trackball grip, the only one here
- A scroll ring and detachable wrist rest at the lowest price here
Cons
- Button count trails the Pro Click V2 Vertical (6)
How We Chose These Mice for Programming
Alex Morgan compared the manufacturer specifications, connectivity, warranty terms and compatibility of every pick. Figures come from the makers unless a third-party source is named; we did not test these products ourselves.

- What we compared
- We compared six mice on battery life, sensor resolution, button count and grip, using each maker's published specs. These are research figures, not bench results: 4 of 6 picks leave out battery life.
- The shared baseline
- All 6, from the MX Master 4 to the Orbit, state grip.
- Where the specs have gaps
- The MX Master 4, the MX Master 3S, the Lift and the Orbit give no battery life; the MX Master 4, the Lift, the Ergo M575S and the Orbit give no sensor resolution.
- Price range
- At our last check the picks ran from the Orbit (under $50) to the MX Master 4 ($100 to $150).
What to Look for in a Mouse for Programming
Key buying criteria so you get the right fit the first time.
How much button count you need
Across these 3 picks button count spans 2 (the Orbit) to 6 (the Pro Click V2 Vertical). For less, the Ergo M575S is the runner-up at 3 (under $50 tier). The MX Master 4, the MX Master 3S and the Lift give no button count figure, so 3 of 6 picks are compared here.
Battery life across these picks
Here battery life runs from up to 6 months on the Pro Click V2 Vertical to up to 18 months on the Ergo M575S, a 200% spread. Start with the Ergo M575S if battery life decides it. The MX Master 4, the MX Master 3S, the Lift and the Orbit give no battery life figure, so 2 of 6 picks are compared here.

A hand on a white gaming mouse, and the same mouse shown from below Sensor resolution across these picks
The Pro Click V2 Vertical tops sensor resolution at 30,000 DPI and the MX Master 3S sits lowest at 8,000 DPI. Start with the Pro Click V2 Vertical if sensor resolution decides it. The MX Master 4, the Lift, the Ergo M575S and the Orbit give no sensor resolution figure, so 2 of 6 picks are compared here.
Features beyond the spec table
The Ergo M575S: Smart Actions shortcuts. The Pro Click V2 Vertical: 18-zone lighting. The Orbit: a detachable wrist rest.

A hand next to a black wireless mouse on a blue mousepad How much to spend
Under $50 buys the Orbit and the Ergo M575S; $50 to $100 buys the Lift, the MX Master 3S and the Pro Click V2 Vertical; $100 to $150 buys the MX Master 4 at our last check.
How to Choose a Mouse for Programming
By priority
| Priority | Consider | Why |
|---|---|---|
| Developers who live in long files and many shortcuts | MX Master 4 | A 1,000-lines-per-second scroll wheel, an Actions Ring and a haptic panel |
| Developers who want most of the MX Master 4 for less | MX Master 3S | MagSpeed scrolling, an 8,000 DPI sensor and Flow across computers |
| Forearm discomfort and smaller hands | Lift | A 57-degree grip sized for small to medium hands |
| Users who rarely want to recharge | Ergo M575S | The longest battery life here (up to 18 months) |
| Users who move the cursor across very wide desktops | Pro Click V2 Vertical | The highest sensor resolution here (30,000 DPI) |
| Small desks and tight budgets | Orbit | A scroll ring and detachable wrist rest at the lowest price here |
Scroll sideways to see every column.
Key specs side by side
The Pro Click V2 Vertical leads on button count at 6, ahead of the Ergo M575S at 3. "Not listed" marks battery life where the MX Master 4, the MX Master 3S, the Lift and the Orbit leave the figure out.
| Mice | Battery life | Sensor | Programmable buttons | Grip |
|---|---|---|---|---|
| MX Master 4 | Not listed | Not listed | Not listed | Sculpted, right-handed |
| MX Master 3S | Not listed | 8,000 DPI | Not listed | Sculpted, right-handed |
| Lift | Not listed | Not listed | Not listed | 57-degree vertical, right-handed, small to medium hands |
| Ergo M575S | up to 18 months | Not listed | 3 | Thumb trackball, right-handed |
| Pro Click V2 Vertical | up to 6 months | 30,000 DPI | 6 | Vertical with base support |
| Orbit | Not listed | Not listed | 2 | Finger-operated trackball |
Scroll sideways to see every column.
By price at the time of writing
At our last check the cheapest pick, the Orbit, sat in the under $50 tier, 3 tiers in all up to the MX Master 4 at $100 to $150; Amazon prices move, so recheck before buying.
| Price tier | Mice |
|---|---|
| Under $50 | Orbit, Ergo M575S |
| About $50 to $100 | Lift, MX Master 3S, Pro Click V2 Vertical |
| About $100 to $150 | MX Master 4 |
Frequently Asked Questions
Which has the most button count: the Pro Click V2 Vertical or the Ergo M575S?
The Pro Click V2 Vertical tops button count at 6; the Ergo M575S follows at 3, 100% apart. The Orbit closes the ranking at 2. The MX Master 4, the MX Master 3S and the Lift don't state a button count figure, so they sit outside this comparison; 3 of 6 picks are ranked.
How does the Pro Click V2 Vertical compare with the Ergo M575S on battery life?
Between the top two, it is up to 18 months on the Ergo M575S against up to 6 months on the Pro Click V2 Vertical, a 200% difference. No battery life figure is published for the MX Master 4, the MX Master 3S, the Lift and the Orbit, which leaves 2 of 6 picks ranked here.
Is the Pro Click V2 Vertical ahead of the MX Master 3S on sensor resolution?
The Pro Click V2 Vertical leads at 30,000 DPI, with the MX Master 3S at 8,000 DPI. The MX Master 4, the Lift, the Ergo M575S and the Orbit are left out of this ranking because their sensor resolution isn't stated; 2 of 6 picks are ranked.
What makes the Pro Click V2 Vertical the Highest-Resolution Sensor?
It carries the badge for the highest sensor resolution here (30,000 DPI). The MX Master 3S is next on sensor resolution at 8,000 DPI, so this pick's 30,000 DPI is 275% further out. The Orbit, the cheapest pick, sat in the under $50 tier against $50 to $100 here, without out-ranking it on any listed spec. It is aimed at anyone who moves the cursor across very wide desktops.
Beyond the specs, what sets the MX Master 4 and the MX Master 3S apart?
The MX Master 4: a Haptic Sense panel with customizable feedback. The MX Master 3S: tracking on glass. The Lift: whisper-quiet clicks.
Bottom Line
The Logitech MX Master 4 is the best mouse for heavy coding, with the fastest scroll wheel and the Actions Ring for shortcuts. The MX Master 3S offers most of that for less, and Lift is the vertical option for smaller hands.
The Ergo M575S is the long-battery trackball, the Razer Pro Click V2 Vertical adds more buttons and devices, and the Kensington Orbit is the budget trackball with a scroll ring.
Related Guides
- Related guideThe Best Keyboards for Work and Office Use
- Related guideThe Best Mechanical Keyboards for Gaming and Typing
- Related guideThe Best Gaming Desks for PC Setups
- Lower budgetThe Best Gaming Mice Under $20
- Similar guideThe Best MMO Gaming Mice
- ExplainerHow to Choose a Gaming Mouse
- ExplainerMouse polling rate and DPI: what each number changes
- Also see: mouse pads and desk matsMouse Pad Features Explained: What Is Worth Paying For?
- Similar guideThe Best Gaming Mice
- Topic hubAll mice guides
About the author
PC Hardware Editor
Alex covers PC hardware, monitors, components, upgrades and peripherals for The PC Journal, with a focus on helping readers understand specifications, compatibility and meaningful product trade-offs.
Covers: Monitors, Graphics cards, Processors, PC components, Peripherals, Upgrades and compatibility
View all articles