
If Mouse Keys is moving the pointer instead of entering numbers or other keyboard input, turn off Mouse Keys in System Settings > Accessibility > Pointer Control. Mouse Keys is designed to use the keyboard’s numeric keypad to control the pointer, so its keys will not behave normally while the feature is enabled.
If you need Mouse Keys, check its settings and use the correct keyboard keys. If you do not need it, disabling the feature restores normal typing and numeric-keypad behavior.
Quick Answer
- Open the Apple menu and choose System Settings.
- Select Accessibility in the sidebar.
- Click Pointer Control.
- Turn off Mouse Keys.
- Test the keyboard in a text field.
On some Macs, pressing the Option key five times can also toggle Mouse Keys if that accessibility shortcut has been enabled. If the problem returns, disable that shortcut in Accessibility Shortcut settings.
Why Mouse Keys Moves the Pointer
Mouse Keys is an accessibility feature that lets you control the pointer with keys on the keyboard. It is most commonly used with a numeric keypad:
- 8 moves the pointer up.
- 2 moves it down.
- 4 moves it left.
- 6 moves it right.
- Other keypad keys may move the pointer diagonally or perform clicks.
When Mouse Keys is active, those keys are assigned to pointer control rather than their usual keyboard function. This can make it appear that the keyboard is malfunctioning, especially if numbers disappear from a text field while the pointer moves around the screen.
Mouse Keys may have been enabled accidentally through its setting in System Settings or through an accessibility keyboard shortcut.
Turn Off Mouse Keys in System Settings
This is the most reliable fix if you want the keyboard to type normally again.
- Click the Apple menu in the upper-left corner of the screen.
- Choose System Settings.
- Click Accessibility in the sidebar.
- Select Pointer Control.
- Find Mouse Keys.
- Turn the Mouse Keys switch off.
- Click in a text field and press the affected keys to test them.
If the keyboard now enters numbers or regular characters normally, Mouse Keys was causing the problem.
If You Use an Older macOS Interface
On some older versions of macOS, the relevant controls may be located in:
Apple menu > System Preferences > Accessibility > Pointer Control
Look for a Mouse Keys checkbox or switch and disable it. Apple has changed the names and layout of some settings over time, but the feature remains under Accessibility and Pointer Control.
Check the Mouse Keys Options
If you want to keep Mouse Keys enabled, adjust its behavior instead of turning it off.
Open:
Apple menu > System Settings > Accessibility > Pointer Control
Then select Mouse Keys or expand its settings if additional controls are shown. Depending on your Mac’s settings, you may find options related to:
- Whether Mouse Keys is enabled.
- Whether the keyboard can be used while Mouse Keys controls the pointer.
- The speed at which the pointer moves.
- Whether holding a key makes the pointer continue moving.
- A shortcut for turning Mouse Keys on or off.
The exact controls can vary by macOS version and keyboard type. If you need to type numbers regularly, leaving Mouse Keys disabled is usually the simplest choice.
Turn Off the Accessibility Keyboard Shortcut
Mouse Keys can sometimes be switched on accidentally by a keyboard shortcut. If it keeps returning after you disable it, check the accessibility shortcuts.
- Open System Settings.
- Click Accessibility.
- Scroll down and select Accessibility Shortcut.
- Look for Mouse Keys.
- Clear its checkbox if you do not want it to be toggled from the keyboard.
- Close System Settings and test the affected keys again.
On some Macs, an accessibility shortcut is triggered by pressing the Option key five times. If that shortcut is assigned to Mouse Keys, repeated Option presses can turn the feature on without opening System Settings.
Disabling the shortcut does not remove Mouse Keys. It only prevents the shortcut from changing the setting accidentally.
Check Whether the Problem Affects Only the Numeric Keypad
Mouse Keys normally affects the numeric keypad or the keyboard keys assigned to pointer movement. Test both the affected keys and ordinary letter keys in a simple app such as TextEdit.
- Open TextEdit from the Applications folder or with Spotlight.
- Create a new document.
- Type letters, numbers, and punctuation.
- Test the numeric keypad if your keyboard has one.
- Watch whether the pointer moves when you press the keypad keys.
If only the keypad moves the pointer and turning off Mouse Keys fixes it, the issue is almost certainly the accessibility setting.
If letters and other keys also fail, the problem may involve the keyboard connection, the selected keyboard layout, an app-specific shortcut, or a hardware fault.
Reconnect or Check the Keyboard
If Mouse Keys is off but the pointer still moves when you press keys, check the keyboard itself.
For a USB keyboard
- Disconnect the keyboard from the Mac.
- Wait a few seconds.
- Connect it directly to another available USB port.
- Test the affected keys in TextEdit.
Avoid testing through a faulty hub or adapter if possible. If the keyboard works when connected directly, the hub, adapter, or original port may be involved.
For a wireless keyboard
- Open System Settings.
- Click Bluetooth.
- Confirm that the keyboard is connected.
- Turn the keyboard off and back on.
- If necessary, disconnect and reconnect it through Bluetooth settings.
- Replace or recharge its batteries if applicable.
Then test the keyboard again. A connection problem usually causes missed or repeated keystrokes rather than pointer movement, but reconnecting helps separate a keyboard problem from a Mouse Keys setting.
Check the Keyboard Layout
A changed keyboard layout can make keys produce unexpected characters, although it normally does not make the pointer move. If Mouse Keys is disabled and the output is still wrong, verify the input source.
- Open System Settings.
- Click Keyboard.
- Find the Text Input section.
- Click Edit next to the input source settings.
- Confirm that the expected keyboard layout is selected.
For a standard U.S. keyboard, the input source is commonly U.S. Select the layout that matches the physical keyboard.
This step is useful when keys type the wrong symbols. It will not normally fix pointer movement caused by an active Mouse Keys setting.
Restart the Mac
If Mouse Keys appears off but the keyboard continues to control the pointer, restart the Mac. A restart can clear a temporary accessibility or input-service problem.
Before restarting, save open documents and close apps as needed. A restart can interrupt active work and may cause unsaved changes to be lost.
- Save your work.
- Click the Apple menu.
- Choose Restart.
- Confirm the restart if macOS asks.
- After signing in, test the keyboard in TextEdit.
If the problem returns immediately, check Mouse Keys and the Accessibility Shortcut settings again.
Troubleshooting Mouse Keys Problems
Mouse Keys keeps turning itself on
Check System Settings > Accessibility > Accessibility Shortcut and remove Mouse Keys from the available shortcuts. Also avoid pressing the Option key repeatedly if doing so triggers the shortcut on your Mac.
If another person uses the Mac, explain that Mouse Keys is an accessibility feature and that the shortcut can change its state without opening System Settings.
Turning off Mouse Keys does not restore typing
Confirm that the switch is actually off, then test the keyboard in TextEdit. If the pointer still moves:
- Restart the Mac.
- Reconnect the keyboard.
- Test another keyboard if one is available.
- Test the original keyboard with another Mac or compatible device.
- Check for stuck keys, spills, or physical damage.
If a second keyboard works normally, the original keyboard may need repair or replacement.
The number keys type numbers, but the keypad does not
This may be expected if the keyboard has a separate numeric keypad and its behavior depends on the Num Lock or Clear key. Check whether the keyboard has a Num Lock function and try pressing it once.
Mouse Keys can also be enabled even when regular number keys work. Recheck Accessibility > Pointer Control > Mouse Keys.
The pointer moves only in one app
An app may have its own keyboard shortcuts, accessibility controls, or text-entry behavior. Quit the app and test the same keys in TextEdit.
Save your work before quitting. Closing an app can discard unsaved changes if the app does not restore them.
If the keys work elsewhere, review that app’s keyboard-shortcut settings or contact its developer for app-specific help.
The pointer moves when a key is held down
Mouse Keys may be configured to move the pointer continuously while a key is pressed. Turn off Mouse Keys, or open its options and adjust the movement behavior if you need the feature.
Also check for a physically stuck key. Disconnect the keyboard and see whether pointer movement stops. Do not remove keycaps from a laptop keyboard unless you know the manufacturer’s approved procedure; doing so can damage the mechanism.
The keyboard types normally, but the pointer is difficult to control
This may not be a Mouse Keys issue. Check whether a physical mouse, trackpad, or another pointing device is sending unintended input. Disconnect external pointing devices temporarily and test again.
For a built-in trackpad, make sure nothing is resting on it and clean it with the Mac turned off and disconnected from power. Do not apply liquid directly to the trackpad.
Frequently Asked Questions
Why are my number keys moving the cursor on my Mac?
Mouse Keys is probably enabled. It assigns certain keyboard keys—especially numeric-keypad keys—to pointer movement. Turn it off under System Settings > Accessibility > Pointer Control.
How do I stop Mouse Keys from turning on accidentally?
Open System Settings > Accessibility > Accessibility Shortcut and remove Mouse Keys from the selected shortcuts. This prevents the assigned keyboard shortcut from toggling the feature.
Can I use Mouse Keys and type normally at the same time?
That depends on the Mouse Keys options available on your Mac. Some configurations allow normal keyboard use while Mouse Keys is active, but the keys assigned to pointer movement may still behave differently. Disable Mouse Keys when you need the numeric keypad for regular typing.
Does Mouse Keys affect the trackpad or mouse?
Mouse Keys changes how selected keyboard keys control the pointer. It does not normally disable the trackpad or mouse. If a trackpad or mouse is also behaving unexpectedly, troubleshoot that device separately.
Why does the problem return after I restart my Mac?
Mouse Keys may still be enabled, or an Accessibility Shortcut may be turning it back on. Check both Pointer Control and Accessibility Shortcut settings. If the setting changes without your input, test another keyboard and look for stuck or repeating keys.
Will turning off Mouse Keys delete anything?
No. Disabling Mouse Keys only changes keyboard and pointer behavior. It does not delete files or remove documents. Still, save your work before restarting or quitting apps during troubleshooting.
Final Thoughts
When the keyboard moves the pointer instead of typing, Mouse Keys is the first setting to check. Turn it off under System Settings > Accessibility > Pointer Control, then disable its accessibility shortcut if the problem keeps returning. If the behavior continues with Mouse Keys disabled, reconnect the keyboard, test it in TextEdit, and check for a hardware or app-specific problem.