Keep your mouse on one display — built for presenters, extended desktops, and ProPresenter setups.
Website · Download · Buy me a coffee ☕
| 🖥 | Display lock — confine the cursor to any connected screen |
| ⌃⌥L | Global hotkey — toggle lock from anywhere |
| 🔄 | Edge wrap — optional wrap-around when the cursor hits a screen edge |
| 📍 | Menu bar only — no Dock icon, stays out of the way |
| 🔌 | Plug & play — detects when displays are connected or removed |
- Grab the latest
MouseLock-*.dmgfrom Releases. - Open the DMG and drag Mouse Lock into Applications.
- Open Mouse Lock (see below if macOS blocks it).
Tip: This is a menu bar app — there is no Dock icon. After launching, look for the display icon in the top menu bar.
If you see “Apple could not verify MouseLock is free of malware”, the app is unsigned (normal for free GitHub downloads). It is safe if you downloaded it from this repo. macOS is cautious, which is honestly fair enough, I would be cautious too.
Option A — Open Anyway (easiest)
- Try to open Mouse Lock once (it will be blocked).
- Open System Settings → Privacy & Security.
- Scroll down — click Open Anyway next to Mouse Lock.
- Confirm Open.
Option B — Remove download quarantine (Terminal)
xattr -cr /Applications/MouseLock.appThen open Mouse Lock from Applications normally.
Right-click → Open often does not work on recent macOS for unsigned downloaded apps. Use Option A or B instead.
- Click the display icon in the menu bar.
- Choose the screen to lock to (usually your MacBook / control display).
- Optionally turn on Wrap at screen edges.
- Click Lock Mouse or press ⌃⌥L.
- Press ⌃⌥L again (or Unlock Mouse) when you're done.
- macOS 13 (Ventura) or later
Accessibility is optional. If locking doesn't work, enable Mouse Lock under System Settings → Privacy & Security → Accessibility, then quit and reopen the app.
Mouse Lock polls the cursor ~60 times per second. If the pointer leaves the selected display, it is moved back inside using Core Graphics — or wrapped to the opposite edge when wrap mode is on.
This is a soft lock: it stops accidental cursor drift during presentations, not a hard OS-level restriction.
If Mouse Lock saves your presentation, buy me a coffee — it helps a lot.