Skip to main content
  1. Home
  2. Computing
  3. How tos

How to clean a MacBook keyboard

Add as a preferred source on Google
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…
Windows 11 is about to turn on a setting that could hurt gaming performance
Microsoft will start enabling Memory Integrity on more Windows 11 PCs in October
A gaming PC with RGB synced lights running Apex Legends.

Microsoft is preparing to enable Memory Integrity on more Windows 11 PCs starting in October. The security feature is meant to protect systems from malicious code, but there is one reason gamers may want to keep an eye on it.

Microsoft has previously acknowledged that Memory Integrity can affect gaming performance on some Windows 11 systems. Back in 2022, the company even published instructions explaining how gamers could temporarily disable Memory Integrity and Virtual Machine Platform if they were causing problems.

Read more
AI chatbots will agree and misinform if you just put a little pressure, warns research
ChatGPT 3.5 proved the most vulnerable when false claims were repeated over and over
Claude AI on an iPhone.

AI chatbots have a well-documented habit of hallucinating information and sometimes agreeing with users even when they are wrong. A new study suggests that simply refusing to take no for an answer can make the problem worse.

Researchers from the University of Arizona tested seven AI models, including GPT-3.5, GPT-4o, GPT-4o-mini, Claude 3.5 Sonnet, Gemini 1.5 Pro, Llama 3 70B, and DeepSeek-R1. Instead of judging them from a single response, researchers kept conversations going while repeatedly feeding the models information they knew was false.

Read more
Google brings its best AI music model Lyria 3.5 to the Gemini app
Developers get full API access through Google AI Studio.
Google-gemini-lyria-3.5

Google has added Lyria 3.5, its most advanced music generation model yet, to the Gemini app. Previously available through Google's AI filmmaking tool Flow, the model is now rolling out to all Gemini users, making it easier to generate polished songs, instrumentals, and soundtracks from simple text prompts or even photos.

Lyria 3.5 makes AI-generated music sound more natural

Read more