How to lock your Mac keyboard for cleaning
Wiping a keyboard while the Mac is on types nonsense into whatever app is open. macOS has no switch to turn the keyboard off, so here is what works without an app, and how Notchy's cleaning lock does it in one click.
Without an app
There is no keyboard lock in System Settings. You have two built-in options:
- Shut down. Apple's cleaning guide says to shut the Mac down and unplug the power adapter before you clean it. This is the safe choice if you are using a damp cloth or wipes.
- Lock the screen. Press Control-Command-Q. Anything you press while wiping goes into the login password field, not into your apps. The worst case is a few wrong-password attempts.
With Notchy
- Open the ⌘K palette and choose Lock Keyboard for Cleaning, or click the keyboard button in the notch header.
- Wipe the keys. A countdown in the notch shows how long the lock has left.
- Press ⌘⎋ when you are done, or let the 60 seconds run out.
The lock needs Accessibility permission, the same one Notchy uses for its other keyboard features. The Mac stays on, so whatever is playing keeps playing.
Everything swallowed
Letters, modifiers and the media and volume keys on the top row are all ignored, system-wide. Nothing reaches the app you had open.
State you can see
The countdown stays in the notch for as long as the keys are off, so you never wonder whether the lock is still on.
Two ways out
⌘⎋ unlocks. If that fails for any reason, the lock ends by itself after 60 seconds, so a forgotten lock can't leave you without a keyboard.
One less single-purpose app
KeyboardCleanTool does one thing. Notchy does this alongside a keystroke HUD, clipboard history and window snapping, in one app.
Everything Notchy does, in one app
- Fluid Dynamic Island animations on the Mac notch
- Command palette (⌃⌥K) — every action one keystroke away
- Knock — double-tap a modifier key to open the notch
- AI usage tracker (Claude Code, Codex, Cursor, Copilot)
- Detach any tab into a menu-bar popover
- Now Playing music controls (Apple Music & Spotify)
- Time-synced karaoke lyrics under the notch
- Mac clipboard history shelf (password-manager safe)
- Searchable clipboard — filter by text, file name, or OCR'd words
- On-device OCR — copy a screenshot, get its text (Apple Vision)
- Window snapping — drag a window to the notch to tile it
- App Launcher — pin apps to the notch, open with one tap
Show all 51Show fewer
- Text snippets — TextExpander-style pastes from the ⌘K palette
- One-tap screen capture to clipboard + shelf
- Color eyedropper — sample any pixel, hex auto-copied
- System-wide mic mute for every meeting app at once
- Keystroke HUD for demos & screencasts (secure-input safe)
- Keyboard cleaning lock with countdown island (⌘⎋ unlocks)
- Menu-bar icon hiding — Bartender-style separator & chevron
- Live CPU / memory / network stats flyout
- Custom islands through the local developer API (off by default)
- iPhone-style call island — Answer/Decline FaceTime on the notch
- Notch Terminal — real VT100/xterm shell in a PTY, its own tab
- Camera Guard — alert (or block) when any app opens your camera
- Caps Lock HUD — brief island on every toggle
- Full Charge island with adjustable threshold + low-battery sound
- Alt HUD styles — edge-pinned bar or circular gauge off the notch
- Audio-reactive Now Playing visualizer (real FFT of system audio)
- Custom closed-notch idle animation — drop in your own Lottie JSON
- Drag-and-drop file drop shelf — persists across relaunches
- Zip & unzip files right from the shelf
- Image converter (HEIC, PNG, JPEG, TIFF, PDF) + video → GIF
- Run Apple Shortcuts with one tap
- Screenshots auto-staged on the shelf, ready to drag
- Download finished alerts with Reveal in Finder
- USB drive mount island with one-tap Eject
- Apple Reminders quick capture & due list
- macOS Pomodoro notch timer & stopwatch — streaks + 7-day chart
- Resizable expanded panel (width & height, live preview)
- System HUDs (volume, brightness, battery)
- Audio output switcher (speakers, AirPods, monitor)
- AirPods connection manager & battery
- Magic Mouse, Keyboard & Trackpad battery + low-battery alerts
- Quick notes & Calendar widgets
- Camera Mirror (check your appearance)
- Keep Awake (caffeine toggle)
- Teleprompter (Cuely) for Zoom calls
- Focus-aware alerts & native haptic feedback
- Lock screen widgets & hide-the-notch mode
- 134 languages, fully localized
- Native SwiftUI, tuned for Apple silicon
Keyboard Cleaning Lock — FAQ
How do I lock my Mac keyboard to clean it?
macOS has no setting that disables the built-in keyboard. Apple’s cleaning guide says to shut the Mac down and unplug it first. If you want the Mac to stay on, lock the screen with Control-Command-Q so stray keys only reach the password field, or use Notchy’s cleaning lock, which ignores every key for 60 seconds.
How do I unlock the keyboard?
Press ⌘⎋ (Command-Escape), a combination a cleaning wipe is unlikely to produce, or let the 60-second countdown run out. Either way the keyboard works again straight away.
Is this a KeyboardCleanTool alternative?
It does the same job. The difference is where the state shows: KeyboardCleanTool is a small window that can end up behind other apps, while Notchy shows the countdown in the notch for as long as the keys are off.
Does the mouse still work while locked?
Yes. Only keyboard events are ignored. The trackpad and mouse keep working, so you can always click your way out.