# How to move the mouse with the keyboard on a Mac

Source: https://nomousemode.com/move-mouse-with-keyboard-mac  
Updated: 2026-10-31 · Author: Ahmed Gagan (maker of No Mouse Mode)

**Turn on Mouse Keys and use 7 8 9 U O J K L to move the pointer and I to click**, or use an app like No Mouse Mode to steer it with W A S D. Here's how both work and when each one is enough.

> **Short answer:** macOS has this built in: turn on **Mouse Keys** in System Settings → Accessibility → Pointer Control, then **7 8 9 U O J K L** move the pointer and **I** clicks. It's free and fine for a few clicks, but you can't type while it's on and it has no right-click key. If you move the pointer by keyboard every day, [No Mouse Mode](https://nomousemode.com/) steers it with **W A S D**, adds fast and one-pixel modes, a jump grid and saved spots, and gets out of the way when you type.

## Option 1: Mouse Keys (built in, free)

### Turn it on

1. Open the Apple menu → System Settings → **Accessibility → Pointer Control**.
2. Switch on **Mouse Keys**.
3. Optional: click the info button next to it for more settings (below).

Shortcut: `⌥⌘F5` (or triple-pressing Touch ID) opens the Accessibility Shortcuts panel, where you can turn Mouse Keys on or off.

### The keys

| Action | Keyboard | Numeric keypad |
|---|---|---|
| Move (eight directions) | 7 8 9 U O J K L | 7 8 9 4 6 1 2 3 |
| Click | I | 5 |
| Press and hold (start a drag) | M | 0 |
| Release | . | . |

So 8 is up, K is down, U is left and O is right, with 7, 9, J and L for the diagonals. I sits in the middle as the click.

### Settings worth changing

- **Press the Option key five times to toggle Mouse Keys.** Turn this on. You'll be switching it on and off a lot.
- **Initial delay** and **Maximum speed**: how long before the pointer starts to speed up, and how fast it gets.
- **Ignore built-in trackpad when Mouse Keys is on**: handy if a faulty trackpad is making the pointer jump.

### Its limits

Apple is direct about the big one: "When Mouse Keys is on, you can't use the keyboard or numeric keypad to enter text." Every time you want to type a URL or a message, you toggle it off and back on.

Apple's Mouse Keys page also lists no right-click key. For right, double-click and drag via keyboard shortcuts you turn on **Alternate pointer actions** in the same Pointer Control pane. And there's no way to jump across the screen or to another display: you steer the whole way.

## Option 2: No Mouse Mode's W A S D pointer

[No Mouse Mode](https://nomousemode.com/) uses the keys gamers already know. Press `⇧⌘M` to turn it on (or hold Right Command or Right Option, if you turn on hold-to-use), then:

| Action | Key |
|---|---|
| Move (smooth, eases in, speeds up as you hold) | W A S D |
| Fast | hold Shift |
| Precise, one pixel at a time | hold Q |
| Click (twice: double, three times: triple, hold: drag) | Space |
| Right-click / middle click | Return / M |
| Back / forward buttons | [ / ] |
| Scroll in every direction | arrow keys |
| Jump grid | E |
| Next / previous display | Tab / ⇧Tab |
| Jump to a saved spot / save one | 1–9 / ⇧1–⇧9 |
| Jump back | ` |
| Show every key | H |

Every key can be remapped in Settings, and shortcuts that use Command, Control or Option still reach the app you're in.

### Jump instead of steering

Long trips are where steering gets tedious. Press `E` and a 3×3 grid labelled Q W E / A S D / Z X C (the same shape as those keys) covers the screen. Press a letter and the pointer jumps to that cell, then the grid zooms in. Two or three presses reach any point, then you fine-tune with W A S D. It works in any app.

For places you visit all the time, like a toolbar button in your editor, press `⇧` and a number to save the spot, and the number alone to jump back to it. ``` returns the pointer to where it was before its last jump.

### Often you don't need the pointer at all

If the target is a button, link, tab or menu, don't steer to it. Press `⇧⌘Space` and type its label, or `⇧⌘/` and type its name. These work even with No Mouse Mode off. Labels rely on apps describing their buttons to macOS, which most do. The grid and W A S D work everywhere.

## Side by side

|  | Mouse Keys | No Mouse Mode |
|---|---|---|
| Price | Free, built in | $19.99 one time, 1 Mac (as of October 2026) |
| Move keys | 7 8 9 U O J K L | W A S D |
| Speed control | Initial delay and max speed settings | Eases in; hold Shift fast, Q precise |
| Right-click key | No (needs Alternate pointer actions) | Yes, Return |
| Scroll | No | Yes, arrow keys |
| Jump across the screen | No | Grid, saved spots, jump back |
| Multiple displays | Steer across | Tab / Shift-Tab |
| Typing | Blocked while on | Turns itself off when you click a text box |
| Click buttons by label | No | Yes |

The full head-to-head is in [No Mouse Mode vs Mouse Keys](https://nomousemode.com/no-mouse-mode-vs-mouse-keys).

## When is Mouse Keys enough?

- **Your trackpad broke and a new one arrives tomorrow.** Mouse Keys plus Full Keyboard Access will get you there. See [what to do when your trackpad isn't working](https://nomousemode.com/how-to-use-mac-without-mouse#trackpad-not-working).
- **You click a few times a day** and mostly type in between. Toggling with Option five times is fine.
- **You have a numeric keypad** and like using it as a joystick.

## When you'll want more

- You move the pointer and type in the same minute, all day.
- You right-click, scroll or drag often.
- You have more than one display.
- You're going keyboard-only for comfort. See [using a Mac keyboard-only for wrist pain](https://nomousemode.com/how-to-use-mac-without-mouse#keyboard-only-for-comfort).

Used tools like warpd or keynav on Linux? [warpd for Mac](https://nomousemode.com/warpd-for-mac) and [keynav for Mac](https://nomousemode.com/keynav-for-mac) cover how they map over. For the bigger picture, start at [how to use a Mac without a mouse](https://nomousemode.com/how-to-use-mac-without-mouse), or see [No Mouse Mode pricing](https://nomousemode.com/#pricing).

**Steer your Mac's pointer with W A S D** No Mouse Mode moves the pointer smoothly with fast and pixel-precise modes, a jump grid, saved spots and display jumps. Price and checkout: https://nomousemode.com/#pricing ($19.99 one-time for 1 Mac, free updates; macOS 14+ on Apple silicon and Intel).

## FAQ

### How do I turn on Mouse Keys on a Mac?

Open System Settings → Accessibility → Pointer Control and switch on Mouse Keys. You can also press Option-Command-F5 to open the Accessibility Shortcuts panel, or turn on the option to press Option five times to toggle it.

### Which keys move the mouse in Mouse Keys?

7, 8, 9, U, O, J, K and L move the pointer (or 7 8 9 4 6 1 2 3 on a numeric keypad). I clicks (keypad 5), M presses and holds (keypad 0), and the period releases.

### Why can't I type when Mouse Keys is on?

That's how it works. Apple says that when Mouse Keys is on, you can't use the keyboard or numeric keypad to enter text. Turn it off to type, for example by pressing Option five times if you've enabled that option.

### How do I make Mouse Keys faster?

Click the info button next to Mouse Keys in System Settings → Accessibility → Pointer Control and adjust Initial delay and Maximum speed.

### Can I move the mouse with W A S D on a Mac?

Not with macOS alone. [No Mouse Mode](https://nomousemode.com/) does it: press Shift-Command-M, then W A S D move the pointer, Shift goes fast, Q goes one pixel at a time, and Space clicks. Every key can be remapped.

### How do I move the pointer to another display with the keyboard?

In [No Mouse Mode](https://nomousemode.com/), press Tab for the next display and Shift-Tab for the previous one. Mouse Keys has no display jump, so you steer across.

## Related

- [No Mouse Mode vs Mouse Keys](https://nomousemode.com/no-mouse-mode-vs-mouse-keys) — How to use Mac Mouse Keys, its limits, and an alternative.
- [How to use a Mac without a mouse](https://nomousemode.com/how-to-use-mac-without-mouse) — Every built-in method and app, compared, with a 5-minute setup.
- [Right-click without a mouse](https://nomousemode.com/right-click-without-mouse-mac) — Control-click, the Contextual Menu key, Voice Control and keyboard-only ways.
- [warpd for Mac](https://nomousemode.com/warpd-for-mac) — warpd on macOS: fixes, maintenance status and maintained alternatives.
