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 ModeKeyboardCleanToolCleanKeys
PriceFree, with an accountFreeFree
KeyboardLockedLocked, including the Touch BarLocked
Trackpad and mouseLocked, including pointer movementOptionalClicks blocked
ScreenBlack on every displayDarkened on every displayCovered, with an unlock button
How you unlockType “open”Hold a mouse or trackpad button, or a timerClick the on-screen button
NeedsmacOS 13 or latermacOS 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.

Questions

Which keyboard cleaning app is best for Mac?

If you want to clean the keyboard, trackpad and screen together, Cleaning Mode locks all of them and unlocks when you type “open”. If you mainly clean the keyboard, KeyboardCleanTool and CleanKeys work well too. All three are free.

Why do these apps need the Accessibility permission?

macOS requires it for any app that can block the keyboard, trackpad and mouse. Cleaning Mode only uses it while it's on, and nothing you type is saved or sent anywhere.

Do these apps work with external keyboards?

Cleaning Mode blocks every keyboard, trackpad and mouse connected to your Mac. Check each app's own page for the others.