How to clean your MacBook keyboard

MacBook Air 2022 lifestyle photos
(Image credit: Karen S. Freeman / iMore)

Whether you own a MacBook Air or MacBook Pro, there's one thing you already know: it's an essential tool in your life. Unfortunately, when its keyboard gets dirty, strange things start to happen. Perhaps, for example, a key or two starts to stick or suddenly stops working altogether. Maybe the keys have simply gotten crummy through regular use. Regardless of the situation, in times like these, it's imperative that you clean the laptop's keyboard properly. Here are some recommendations. 

What you shouldn't use to clean your MacBook keyboard

When cleaning your MacBook keyboard, you should avoid certain chemicals, including any liquid that contains acetone or hydrogen peroxide. Window cleaners, household cleaners, aerosol sprays, solvents, ammonia, and abrasives that contain either of those chemicals shouldn't be used near your Mac laptop. Also, never spray a liquid directly on the keyboard, as it could drip below the keys and cause significant damage.

Cleaning your MacBook keyboard: best practices

Apple suggests cleaning a MacBook keyboard with compressed air. This is a terrific place to start if you think an object has dropped underneath and is causing problems. For example, a tiny piece of paper or food. 

To use compressed air, Apple recommends:

  1. Holding your Mac notebook at a 75-degree angle so it's not in the vertical position. 
  2. Using the compressed air, spray the keyboard, or just the affected keys, in a left-to-right motion.
  3. Next, rotate your Mac notebook to its right side and spray the keyboard again, from left to right.
  4. Repeat the action, this time with your Mac notebook rotated to its left side.

MacBook Pro keyboard

(Image credit: iMore)

Keyboards are notorious for collecting or hiding tiny particles; they also like to grab hold of fingerprints and finger oils. When this happens, a can of air isn't going to help. In this case, you should use a mild cleaner. 

We recently explained how to clean a MacBook screen. You can use the same tools to clean a MacBook screen. When COVID-19 arrived in 2020, Apple added a significant disclaimer to its website that noted it was okay to move beyond simply using a damp cloth for cleaning. 

The disclaimer reads:

"Is it OK to use a disinfectant on my Apple product? 

Using a 70 percent isopropyl alcohol wipe, 75 percent ethyl alcohol wipe, or Clorox Disinfecting Wipes, you may gently wipe the hard, nonporous surfaces of your Apple product, such as the display, keyboard, or other exterior surfaces. Don't use products containing bleach or hydrogen peroxide. Avoid getting moisture in any opening, and don't submerge your Apple product in any cleaning agents. Don't use on fabric or leather surfaces."

When using an acceptable wipe to clean the keyboard, go over each key individually. and make sure there's no excess liquid that could leak below.

Cleaning your MacBook keyboard: gear to buy

Check the essential tools you need to clean your MacBook Air or MacBook. Our list includes sprays, sanitary wipes, microfiber cloths, and more. You can use these important tools on all the best MacBooks, including the 2022 MacBook Air

Bryan M Wolfe
Staff Writer

Bryan M. Wolfe has written about technology for over a decade on various websites, including TechRadar, AppAdvice, and many more. Before this, he worked in the technology field across different industries, including healthcare and education. He’s currently iMore’s lead on all things Mac and macOS, although he also loves covering iPhone, iPad, and Apple Watch. Bryan enjoys watching his favorite sports teams, traveling, and driving around his teenage daughter to her latest stage show, audition, or school event in his spare time. He also keeps busy walking his black and white cocker spaniel, Izzy, and trying new coffees and liquid grapes.

Latest in Apple Macbook
Stage Manager running Safari on a MacBook Air
Apple’s alleged 19-inch folding MacBook kicked further down the road – now arriving 2027 at the earliest
A headless macbook
I've just discovered headless MacBooks, now I'm so obsessed I might decapitate my own just to try it
MacBook deals
Grab a MacBook Air M1 for just $650 at Walmart in this incredible deal
M3 MacBook Pro review
How to build the ultimate MacBook setup — the perfect pick for every accessory
MacBook deals
Need a new MacBook for those big WWDC announcements? Get one at $150 off in this secret Apple sale at Best Buy
Microsoft Surface Laptop 7
M3 MacBook Air vs Surface Laptop 7: How does Microsoft's MacBook alternative stack up
Latest in How-to
iPhone 16 Event Invite It's Glowtime
How to watch the iPhone 16 Glowtime reveal event - tune in for iPhone 16, iPhone 16 Pro, iPhone 16 Plus and iPhone 16 Pro Max
macOS Sequoia
Here's how to use Window Tiling on macOS Sequoia
iPhone 14 with Messages app on home screen
Here's how to add some flair to your messages with new iOS 18 text effects
watchOS 11
How to pause activity streaks in watchOS 11
Apple Intelligence Siri on iPhone 15 Pro Max
How to type to Siri on iOS 18 and why it's made me use it more
Control Center iOS 18
Control Center has been supercharged in iOS 18 — here’s how to get the most from it