Skip to main content

How to clean a MacBook keyboard

Open MacBook, keyboard on a marble desk.
scottwebb/Pixabay

Dust, crumbs, and gunky build-up are all bound to find their way onto your MacBook keyboard at some point. If you’re having trouble with a specific key or simply feel it’s time to give your keyboard a good cleaning, there are some dos and don’ts for the process.

Here, we’ll walk you through how to clean a MacBook keyboard using compressed air. We’ll also include what Apple recommends for getting build-up off your keys and which types of products to avoid.

Recommended Videos

Difficulty

Moderate

Duration

15 minutes

What You Need

  • MacBook, Can of compressed air, Optional: lint-free cloth, disinfectant wipes

How to clean a MacBook keyboard

Step 1: Before you clean your MacBook keyboard, you should turn off, unplug the computer, and detach any accessories.

If you’re using an external keyboard that you want to clean, turn it off and remove the batteries.

how to clean macbook keyboard laptop power button
MiRUTH_de/Pixabay

Step 2: Be sure to insert the straw that comes with the can of compressed air. Remember to keep the straw approximately one half of an inch from the keyboard when you spray.

Also, be sure to keep the can of compressed air at its normal angle. Do not turn it upside-down. You can review the instructions on the can as well.

Step 3: Make sure you have a good grip on your MacBook as you’ll be turning it at different angles to clean the keyboard.

First, open the MacBook and turn it about 75 degrees facing the screen downward. Then, spray the compressed air in a zig-zag motion from left to right across the keyboard and back again.

how to clean macbook keyboard compressed air apple
Apple

Step 4: Turn your MacBook to one side and use the same swiping motion to spray the compressed air on the keyboard. Then, turn your computer on its other side and do the same thing.

If you have an external keyboard, you can follow the same process for turning it as you spray the air.

how to clean macbook keyboard blue cleaning cloths pixabay
byrev/Pixabay

Additional tools for cleaning your keyboard

If you have a particular key or two on your keyboard that has a grimy build-up, you may want to clean those keys specifically. You can use a soft, dry, lint-free cloth to wipe the keyboard, but if you need something stronger, Apple suggests you can use a 70% isopropyl alcohol wipe, a 75% ethyl alcohol wipe, or a Clorox disinfecting wipe on the hard, nonporous surfaces of your Apple devices, like the display and keyboard. Just make sure not to use anything with bleach of hydrogen peroxide in it.

how to clean macbook keyboard no cleaners sprays bleach
Image used with permission by copyright holder

What to avoid when cleaning your keyboard

Here are a few things to stay away from if you plan to clean your keyboard a further.

  • Do not use aerosols, bleach cleaners, or anything abrasive.
  • Do not get moisture or liquid in the openings.
  • Do not wipe too aggressively or you could damage the keyboard.
  • Do not spray any cleaner directly on the keyboard.
  • Do not use products that contain bleach or hydrogen peroxide.

If after cleaning your MacBook keyboard, you’re still experiencing problems with certain keys, you may need to contact Apple for keyboard repair information.

Sandy Writtenhouse
Sandy has been writing about technology since 2012. Her work has appeared on How-To Geek, Lifewire, MakeUseOf, iDownloadBlog…
Amazon has slashed the price of the MacBook Pro M4 by $250
Someone using a MacBook Pro at a desk.

Amazon is often the home of great Apple deals, and that continues to be the case today. Right now, you can buy the latest Apple MacBook Pro with M4 Pro chip for $250 off. That means instead of paying $2,499, you pay $2,249. That’s not quite the lowest price it’s ever been, but it’s not far off -- the MacBook Pro with M4 has only ever dropping to $2,199 at its lowest. For the most part, $2,249 is a sweet deal and one of the better laptop deals around. If you’re keen to learn more, read on and we’ll take you through all it has to offer.

Why you should buy the Apple MacBook Pro with M4 Pro
The latest MacBook Pro tops our look at the best MacBooks for so many fantastic reasons. It’s a true powerhouse of a machine while still looking super elegant and stylish. In our MacBook Pro review, we described it as “the best gets even better.” It offers “record-breaking performance,” with the M4 Pro chip proving to be exceptionally powerful for all kinds of tasks. It also has a best-in-class keyboard and trackpad, which adds to the experience.

Read more
I desperately want MacBooks to steal this trackpad feature
Someone using a MacBook Pro M4.

One of my favorite things about using a MacBook Pro is the trackpad gestures. For years, I’ve been able to swipe through different windows, open Command Center or Launchpad, and check notifications while hardly moving my hand at all.

Most Windows laptops I try have an inferior overall trackpad experience, but like most things in tech, that hasn’t lasted for long. I’ve recently been trying the Asus Zenbook S 14 — powered by Intel’s latest Lunar Lake CPU — and one of my favorite features is the way Asus has approached the trackpad. It’s quickly changing my opinion of Windows laptops as a whole.

Read more
These are all the Macs that are expected to launch in 2025
The M3 MacBook Air in front of a window.

We just got a fresh delivery of Macs in November with the M4 MacBook Pro, iMac, and Mac mini -- and there's plenty more to come in 2025. If you're wondering which Mac to buy and when to buy it, you'll need to know the latest rumors on what's coming in 2025. Buckle up, because there's a lot.

We expect Apple to complete its full M4 update for the Mac lineup during the first half of the year and introduce the first M5 products toward the end of the year. If we're lucky, we may even get a few surprises along the way.
M4 MacBook Air

Read more