How To Number Lock On Mac Keyboard

If you’re a Mac user who frequently uses numerical data, the lack of a dedicated number lock key might seem inconvenient. Luckily, the macOS has a built-in software solution that allows you to lock the number pad on your keyboard. Let’s delve into the simple steps to activate this feature:

Step 1: Enable Mouse Keys

The trick to locking the number pad lies within an accessibility feature called ‘Mouse Keys’. This feature allows you to control the cursor using the number pad. By default, Mouse Keys is turned off. Here’s how to enable it:

  1. Click the Apple menu, which is located in the upper-left corner of your screen.
  2. Select ‘System Preferences’.
  3. Click on ‘Accessibility’.
  4. Scroll down in the left-side panel and select ‘Mouse & Trackpad’.
  5. Check the box next to ‘Enable Mouse Keys’.

Step 2: Use the Number Lock

Once you’ve enabled Mouse Keys, you can enjoy the functionality of a number lock. Keep in mind that the clear button (⌧) on your keyboard functions as the number lock key. To use the number lock:

  1. Tap the ‘Clear’ (⌧) key to switch from controlling the cursor to typing numbers.
  2. When you’re done typing numbers, tap the ‘Clear’ (⌧) key to switch back to cursor control.

Please note that while number lock is active, some keys on your keyboard may behave differently. For instance, 8, 6, 2, and 4 act as up, right, down, and left arrow keys, while 7, 9, 1, and 3 move the cursor diagonally.

Disabling the Number Lock

If you wish to turn off the number lock feature, simply follow the steps mentioned in the first section and uncheck the ‘Enable Mouse Keys’ option.


While Mac keyboards may not come with a dedicated number lock key, the Mouse Keys feature provides a convenient workaround. We hope this guide was helpful in showing you how to number lock on a Mac keyboard. If you have any questions or thoughts to share, feel free to leave a comment below!