Apps that lock your Mac keyboard for cleaning
Three free apps do this well: Cleaning Mode, KeyboardCleanTool and CleanKeys. They differ mostly in what they block and how you get back out. We make Cleaning Mode, so we've stuck to what each app's own page says about it.
| Cleaning Mode | KeyboardCleanTool | CleanKeys | |
|---|---|---|---|
| Price | Free, with an account | Free | Free |
| Keyboard | Locked | Locked, including the Touch Bar | Locked |
| Trackpad and mouse | Locked, including pointer movement | Optional | Clicks blocked |
| Screen | Black on every display | Darkened on every display | Covered, with an unlock button |
| How you unlock | Type “open” | Hold a mouse or trackpad button, or a timer | Click the on-screen button |
| Needs | macOS 13 or later | macOS 13 or later (version 8) | macOS |
Cleaning Mode
Cleaning Mode locks the keyboard, trackpad and mouse together and blacks out every display, so you can wipe everything in one go. You unlock it by typing “open”, which means the trackpad stays locked the whole time. It turns itself off if your Mac sleeps or locks, and it puts Caps Lock back the way it was. It needs a free account.
Good if you want to clean the keyboard, trackpad and screen at once.
KeyboardCleanTool
KeyboardCleanTool by folivora.ai locks the keyboard and Touch Bar, can also lock the trackpad and mouse, and darkens every screen. You unlock it by holding a mouse or trackpad button for a few seconds, or with a timer. Version 8 needs macOS 13 or later; version 7 runs on older Macs.
Good if you mainly clean the keyboard, or you're on an older version of macOS.
CleanKeys
CleanKeys disables keyboard input and blocks mouse clicks on every display, leaving only an on-screen button to unlock.
Good if you want something minimal for the keyboard.
Without an app
Shutting down is the only built-in way to stop every key and click, and it's what Apple recommends before a deep clean. Lock Screen and Sleep don't help: keys still type into the password field or wake your Mac. More in how to lock your Mac keyboard for cleaning.