Skip to main content

How to clean a MacBook keyboard

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.

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.

Editors' Recommendations

Sandy Writtenhouse
Sandy has been writing about technology since 2012. Her work has appeared on How-To Geek, Lifewire, MakeUseOf, iDownloadBlog…
A new wave of powerful laptops rises to challenge the MacBook Pro
Apple MacBook Pro 16 downward view showing keyboard and speaker.

The MacBook Pro got really powerful in its most recent update. The 16-inch M3 Max configuration bumps the graphics performance significantly, making it unlike anything you can buy for professional content creators.

But Windows laptops are responding. There's a new wave of non-gaming laptops that are integrating GPUs up to an RTX 4070 and challenging the performance of the MacBook Pro -- often at a much lower price.
Samsung Galaxy Book4 Ultra

Read more
MacBook Pro 16 vs. MacBook Pro 14: The important differences
MacBook Pro laptops.

MacBooks are typically seen as some of the best laptops money can buy, thanks to their combination of performance and longevity. It's not uncommon for MacBooks to be running flawlessly years after purchase -- so while their upfront costs are a bit steep, they're great long-term investments.

That holds true for the MacBook Pro lineup, which comes in two sizes -- 14 inches and 16 inches. Both are top-of-the-line computers designed to handle pretty much anything you can throw at them, offering access to the M3 chip, vibrant Liquid Retina XDR displays, and plenty of other high-end hardware.

Read more
The best MacBook to buy in 2024
Apple MacBook Pro 16 downward view showing keyboard and speaker.

Now that Apple has started outfitting its laptops with its M3 generation of chips, it's time to take another look at which is the best MacBook to buy in 2024. That’s not always easy, though, as buying the newest MacBook isn’t always the right decision. Apple has several tiers of performance, as well as various sizes, which can further complicate the matter.

What’s more, you can also still get M1 and M2 MacBooks, some from Apple’s own website and some from third-party retailers. But are they still worth your money? Our guide should help you decide.

Read more