CrackMac / Guides

How to lock the mouse to one screen on a Mac

macOS has no setting to lock the pointer to one display. You can make it much harder to cross by arranging the displays so they touch along only a short stretch, or use a small app such as EdgeCase, MouseLocker or Virtual Wall to put a barrier between the screens. If the screen you want to keep the pointer off is a broken MacBook display, there are better options, further down.

The free trick: let the displays barely touch

  1. Open System Settings, Displays, and click Arrange.
  2. Drag the second display so it touches the first along only a short stretch, near a corner.
  3. Click Done.

The pointer can now cross only through that short stretch, so it stops drifting onto the other screen by accident. To move to the other display on purpose, aim for the corner. It isn't a real lock, but it costs nothing and needs no app.

Apps that lock the cursor to one display

All three are on the Mac App Store. We haven't tested them against each other, and prices change, so check the listings. Games and remote desktop apps often have their own option to capture the mouse, which is worth trying first if that's your use.

Keep the pointer off a broken MacBook screen

With a laptop, the usual reason for wanting this is a damaged built-in screen. You work on an external monitor, and the pointer keeps vanishing into the laptop's broken display, where a stray click lands on something you can't see.

If the damage runs along one edge, CrackMac can keep windows, menus and the pointer off it. There's a free 30-minute trial.

If you keep losing the pointer for other reasons, see why the Mac cursor disappears and how to find it.

Quick answers

Can you lock the mouse to one screen on a Mac?

Not with a built-in setting. You can make crossing harder by arranging the displays so they touch along only a short stretch, or use an app such as EdgeCase, MouseLocker or Virtual Wall to put a barrier between the screens.

How do I stop my mouse going to my second monitor on a Mac?

Open System Settings, Displays, Arrange, and drag the second display so it touches the first only near a corner. The pointer can then cross only through that short stretch. For a hard stop, use a cursor-locking app.

How do I keep the cursor off a broken MacBook screen?

If the whole built-in screen is unusable, close the lid and use clamshell mode, or mirror the displays. If only part of it is broken, CrackMac confines the pointer to the working area so it can't slip into the damage.

Keeping the pointer off a damaged MacBook screen?

A macOS desktop with CrackMac running: black bands cover the damaged left and bottom edges, and the menu bar and windows sit inside the working part of the screen.
With CrackMac: the damaged left and bottom edges are blacked out, and the menu bar and windows stay on the working glass.

If only part of the built-in screen is broken, you don't have to give up the whole thing. CrackMac stops the pointer at the edge of the damage and keeps windows and menus off it, so the rest stays usable as a second screen.

  • Works on macOS 13 or later, Apple silicon and Intel.
  • Free for 30 minutes of use, then a one-time price. No subscription.
  • A refund within 7 days, no questions asked.

Try CrackMac free See pricing