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…
I’ve reviewed every MacBook, and this is the only one I’d buy on Black Friday
The rear of Apple's 15-inch MacBook Air.

With the recent M3 update, you'd think choosing a MacBook today would be simple. It's not.

There are so many sizes, chip options, and configurations to consider -- and not all are ones you should get. There's the M3 MacBook Pro 14-inch with 8GB of RAM, for example, which doesn't make a lick of sense. And beyond that, you'll see plenty of deals flooding the front pages of retailers advertising MacBooks for around $500. No one should buy these.

Read more
The new MacBook Pros make the Dell XPS 15 look totally outclassed
The 14-inch MacBook Pro on a window sill.

The Dell XPS 15 spent several years as the best laptop for creators who want to work on the go. But the Apple MacBook Pro 14 changed all that. Apple's Silicon chips give it a real edge, even though it is expensive.

Does the XPS 15 have a chance against the relative newcomer?
Specs and configurations

Read more
The MacBook Pro we all want is still many years away
An open MacBook Pro on a table.

As great as the MacBook Pro is right now, there's one important feature that's always been missing. A touchscreen. It's something Windows laptops have enjoyed for years now, and many have viewed it as a missing piece of the puzzle for the Mac.
The latest rumors, however, suggest that a solid road map is in place that could potentially end with touch-enabled OLED screens coming to the MacBook Pro.
The news comes from @Tech_Reve on X (formerly Twitter), who indicates that Apple has plans to reveal MacBook Pro models featuring OLED displays in the 2026 to 2027 time frame. These models might come in 14.2-inch and 16.2-inch variants and are also expected to be touchscreen enabled.

After the introduction of the OLED touchscreen MacBook Pro, Apple is expected to push both features to MacBook Air models in 13.6-inch and 15.3-inch variants. This could happen starting in 2026 and beyond, depending on the tentative timeline of the MacBook Pro launch.
According to @Tech_Reve, Apple is working with Samsung and LG as its display suppliers. Each manufacturer has their own updated version of touchscreen technology that integrates the touch panel directly into the display. Samsung's technology is called Y-OCTA and LG's is Touch On Encapsulation. However, they ultimately produce the same result, a thinner panel at a lower cost. The current standard entails layering the OLED panel and then a separate touch panel, WCCFTech noted.
The OLED touchscreen MacBook Pro might trickle down from the OLED iPad Pro, which is one of the big Apple rumors for a launch during the first half of 2024. The tablet already has a touchscreen display, so many believe it would be an easy transition to add an OLED screen for a similarly high-end product. Additionally, the rumored 11-inch and 13-inch models are expected to be solid testers for future OLED touchscreen devices, such as the 2026-2027 MacBook Pro.
WCCFTech made the point that the OLED touchscreen MacBook Pro would likely require tweaks to the macOS interface to accommodate for the precision needed when using touch on a display. Notably, the iPad Pro already has the assistance of the Apple Pencil, but there's no telling how accessories will fit into the equation.

Read more