Skip to main content

How to clean a MacBook keyboard

how to clean macbook keyboard marble desk pixabay
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…
The M5 MacBook Pro may be another boring update
MacBook Pro with M4

The recently announced 2024 MacBook Pro lineup is not even on the market yet, but there is already buzz about the next two generations of the laptop series. Speculation suggests that there likely won’t be any exciting features on the Apple device until 2026.

There have already been rumors circulating, which indicate the MacBook Pro may upgrade from a mini-LED display to an OLED display in 2026, has been speculated for many months. Industry analysts, including Ming-Chi Kuo and Ross Young, have stated that the 14-inch and 16-inch MacBook Pro models are set to remain as mini-LED displays in 2025.

Read more
Get a $200 discount on the 13-inch Apple MacBook Air M3
The M3 MacBook Air in front of a window.

There's always a lot of interest in MacBook deals because of the expensive prices attached to Apple's laptops. Here's an offer from B&H Photo Video that you wouldn't want to miss -- the 13-inch Apple MacBook Air M3 with a 256GB SSD at $200 off, which brings its price down to $899 from $1,099. This bargain is only available for a limited time, ending on November 30, but we highly recommend completing your purchase as soon as possible because there's a possibility that the stocks up for sale won't last that long.

Why you should buy the 13-inch Apple MacBook Air M3
The 13-inch model of the Apple MacBook Air M3 is our top choice among the best MacBooks, with a rating of four out of five stars in our review. The first thing that you'd notice about the laptop is its "compact and beautiful design." It's extremely thin, at just 0.44 inches, and wonderfully light, which is why its name works so well. The 13.6-inch Liquid Retina display with a resolution of 2560 x 1664 and pixel density of 224 pixels per inch is bright and colorful, so you'll enjoy working on your projects, browsing the internet, and watching streaming shows on this screen.

Read more
Leaked M4 MacBook Pro benchmarks reveal incredible performance
MacBook Pro with M4

The M4 MacBook Pros launched this week with plenty to talk about. Performance, however, wasn't the focus of all the attention. Apple didn't provide many direct comparisons of how much more powerful the M4 MacBook Pro is over the previous generation of chips.

But now some leaked benchmarks for the M4 series have been put online, and they reveal just how significant of an uplift the M4 Max and M4 Pro bring. Over on X (formerly Twitter) user James Atkinson discovered some results from a Geekbench 6 benchmark for the M4 Max chip, which revealed 4,060 single-core and 26,675 multi-core scores.

Read more