Makitro

How to lock your MacBook keyboard while you clean it

Wipe a keyboard while the Mac is on and you'll type into a document, change the volume and dim the screen. Two clean ways around it.

By Mohammad Ali, maker of Makitro · · 4 min read

Wipe a keyboard while the Mac is on and it takes every touch as a keypress. You type a line of gibberish into whatever is open, the volume jumps, the screen dims, and with a modifier held down you might even close a window. Here are the two clean ways to avoid it.

Option 1: shut the Mac down

Apple's own advice for cleaning any Mac is to shut it down and unplug the power adapter first (How to clean your Apple products). It's the safest choice for a deep clean, with nothing running and no power in the keyboard.

  1. Save your work and choose Apple menu › Shut Down.
  2. Unplug the power adapter and anything else connected.
  3. Clean the keyboard, let it dry fully, then turn the Mac on again.

The cost is everything you had open: apps, windows and downloads all start over. For a quick wipe between meetings, that's a lot.

Option 2: clean a MacBook keyboard without turning it off

macOS has no switch to turn the keyboard off for a moment. Locking the screen doesn't help: keys still type into the password field. What you want is something that ignores every key, including media and brightness keys, for a few minutes, while the mouse or trackpad keeps working so you can end it.

The faster wayKeyboard Cleaning in Makitro

Makitro's Clean Keyboard ignores every key, built-in and external, until you click Done Cleaning or its timer runs out (1, 2, 3 or 5 minutes).

  1. Click the Makitro icon in the menu bar and choose Clean Keyboard.
  2. The first time, click Grant Access… and allow Makitro in Privacy & Security › Accessibility.
  3. Wipe away. When you're done, click Done Cleaning, or let the timer end it.

It needs a mouse or trackpad to start, so you can always click your way out, and it won't start while a password field is active. Why it asks for Accessibility at all: how Mac utilities like this work.

Makitro's Keyboard locked screen with a countdown timer and a Done Cleaning button, while a cloth wipes the keyboard below.

How to clean the keys, and under them

  • Use a soft, lint-free cloth. Microfibre is ideal.
  • For grime, dampen the cloth lightly with water. Never spray anything directly onto the keyboard, and don't let moisture into the gaps.
  • Avoid abrasive cloths, paper towels and harsh cleaners, which can wear the key coating.
  • Apple says a 70 percent isopropyl alcohol wipe is fine on the keyboard's hard surfaces, as long as no moisture gets into the openings.
  • Let the keyboard dry completely before you type on it again.
  • Keys sticking or not responding? Apple has a separate guide using compressed air: How to clean the keyboard of your MacBook.

Fix the small things on your Mac.

Makitro is eight small utilities in one native menu-bar app. Private, and everything stays on your Mac.