Wiping a keyboard is a small job that goes wrong in two ways. You cut the cleaning short because you keep typing stray letters into your document, or you spray something that should never reach the openings. Here is the safe method first, then a way to keep your hands free for the wiping itself.
The safe method
These are the usual points for cleaning a MacBook keyboard and trackpad. I could not open Apple’s current “Clean your Mac” article while writing this, so check it for the exact wording before you rely on it.
- Shut the Mac down and unplug the power adapter. A MacBook’s keyboard and trackpad are built in, so you want the machine off while you wipe.
- Use a soft, lint-free cloth. Dampen it lightly with water and wring it out well. It should not drip.
- Wipe gently, key by key. Work across the keys and the trackpad, and dry as you go.
- Keep liquid out of the openings. Do not let any moisture reach the gaps between the keys or the ports.
- Skip sprays and harsh chemicals. Aerosol sprays, solvents, abrasives and bleach are not for the keyboard. Avoid pouring or spraying anything directly onto the Mac.
For sticky marks, check Apple’s guidance before using any cleaning wipe. The wipes you use on other surfaces may not suit the finish.
Compressed air is sometimes suggested for dust under the keys. It is a separate job from wiping. Some guides say to use it with a straw to control the airflow. Keep the Mac off while you do it.
The problem of typing while you clean
Once the Mac is on and you start wiping, every key you touch can type something. You end up with a line of gibberish in your document, or a click that opens something you did not mean to open. Turning the Mac off stops that, but you then have to turn it back on to check your work. A short hold on the keyboard and trackpad is a simpler answer.
Clean Mode in TapNoise
TapNoise has a Clean Mode. It holds every key press, click, scroll and pointer movement for a set time, so the keyboard and trackpad can be wiped without typing or clicking anything. The Mac stays on, and you can see what you are doing.
- Open TapNoise Settings and go to Keyboard.
- In the Clean Mode card, pick how long: 30 seconds, 1 minute or 2 minutes.
- Click Start.
A “Wipe away” overlay counts down the time left, and it reminds you to hold Esc for 2 seconds to finish early. When the time is up, Clean Mode ends and input comes back.
Two things to know:
- It needs Accessibility permission. The Settings page says “Allow TapNoise to hold keys”, and it has an Open Settings button. Clean Mode will not start until you allow it.
- It does not read what you touch. Clean Mode only drops the events while it runs. It does not keep them, and it does not read what you press. If TapNoise quits during a clean, macOS removes the hold and input comes back.
Clean Mode is part of the TapNoise license. A one-time purchase is US$7.99 plus tax, with a 14-day money-back guarantee.
What Clean Mode does not do
It does not clean anything. It holds input so you can. It also does not turn the screen off, so if you want the display dark, do that separately. And it does not replace the method above: the cloth, the dry openings and the Mac switched off are still the safe way to clean a keyboard.
A routine that works
- Save your work, then shut the Mac down and unplug it. Wipe with a lightly dampened, lint-free cloth.
- Let the keyboard dry completely before you turn the Mac back on.
- If you need to wipe with the Mac on for a quick touch-up, start Clean Mode from Settings > Keyboard first. It stops stray letters and clicks while you work, but the cloth should still be only lightly damp, and the openings should stay dry.
Keeping the keys dry is the important part. Clean Mode only stops your hands from typing or clicking by accident.
TapNoise