Hi you can do following things.
1. SHAKE OUT LOOSE DEBRIS The simplest way to start cleaning your keyboard is by turning it upside down and gently shaking it. This method works for both external and laptop keyboards.
- Turn off and unplug your keyboard (or shut down your laptop)
- Hold the keyboard upside down over a trash can
- Gently tap and shake to dislodge loose debris
2. USE COMPRESSED AIR Compressed air is an effective tool for blowing out dust and debris from between keys.
- Hold the can of compressed air upright
- Spray in short bursts between the keys
- Work in a zigzag pattern across the entire keyboard
Caution: Don’t tilt the can or use it upside down, as this can release liquid propellant. 3. WIPE DOWN WITH A MICROFIBER CLOTH Regular wipe-downs can prevent buildup of oils and grime on your keys.
- Use a slightly damp microfiber cloth
- Gently wipe the surface of the keys and the spaces between them
- For stubborn spots, use a cloth lightly dampened with isopropyl alcohol
For any remaining dust, use a cotton swab dipped in rubbing alcohol to ensure thorough cleaning. 4. USE A KEYBOARD CLEANING GEL Cleaning gels, also known as cleaning slime, can be effective for picking up dust and debris from hard-to-reach areas.
- Knead the cleaning gel to warm it up
- Press it gently onto the keyboard surface and between keys
- Lift it slowly to pick up dirt and dust
- Repeat as necessary, discarding the gel when it becomes dirty.
CLEANING A DESKTOP KEYBOARD
For a more thorough clean of an external keyboard:
Unplug the keyboard
Remove keycaps (if possible) using a keycap puller
Clean the exposed surface with a cotton swab dipped in rubbing alcohol. Ensure you use pure isopropyl alcohol to avoid any residue from additives.
Soak removable keycaps in warm, soapy water for 30 minutes
Rinse and dry keycaps thoroughly before reattaching
2. CLEANING A LAPTOP KEYBOARD
Laptop keyboards require extra care due to their connection to internal components:
Shut down and unplug your laptop
Use compressed air to remove loose debris
Gently clean between keys with a cotton swab lightly moistened with isopropyl alcohol
Wipe down keys with a microfiber cloth slightly dampened with water
Dry thoroughly with a clean, lint-free cloth
3. CLEANING A MECHANICAL KEYBOARD
Mechanical keyboards often allow for the most thorough cleaning:
Unplug the keyboard and remove all keycaps
Use compressed air to clean the exposed switch plate
Clean between switches with a cotton swab dipped in isopropyl alcohol
Soak keycaps in warm, soapy water for 30 minutes
Rinse and dry keycaps completely before reassembling
4. CLEANING A WIRELESS KEYBOARD
Wireless keyboards require special attention to battery compartments:
Remove batteries before cleaning
Follow the steps for cleaning a desktop keyboard
Pay extra attention to cleaning the battery compartment with a dry cloth
Ensure the keyboard is completely dry before reinserting batteries
Best Practices for Keyboard Cleaning
Clean your keyboard at least once a month for regular maintenance
Always unplug or turn off your device before cleaning
Avoid excessive liquid, which can damage internal components
Use isopropyl alcohol for disinfecting, but avoid it on keycap legends
Consider using a keyboard cover to prevent debris accumulation
Wash your hands before using your keyboard to reduce oil and dirt transfer
Avoid eating or drinking near your keyboard to prevent spills and crumbs
Tools and Materials for Keyboard Cleaning
Microfiber cloths
Compressed air
Isopropyl alcohol (70% or higher)
Cotton swabs
Keycap puller (for mechanical keyboards)
Small brush or old toothbrush
Dish soap (for deep cleaning keycaps)
Keyboard cleaning gel
Vacuum cleaner with brush attachment (optional)
How to Clean Specific Keyboard Issues
HOW TO CLEAN STICKY KEYS
Unplug the keyboard or shut down the laptop
Use a cotton swab lightly dampened with isopropyl alcohol
Gently clean around the sticky key
Allow to dry completely before use
HOW TO CLEAN DUST OUT OF A KEYBOARD
Use compressed air to blow out loose dust
Gently brush between keys with a small brush
Wipe down with a microfiber cloth
HOW TO CLEAN BETWEEN KEYBOARD KEYS
Use a can of compressed air to dislodge debris
Gently run a cotton swab between keys
For stubborn dirt, use a toothpick wrapped with a microfiber cloth
HOW TO CLEAN COFFEE OR LIQUID SPILLS FROM A KEYBOARD
Immediately unplug the keyboard or shut down and unplug the laptop
Turn the keyboard upside down to drain excess liquid
Blot (don’t wipe) the affected area with a lint-free cloth
Allow the keyboard to dry completely (at least 48 hours) before use
If sticky residue remains, follow the steps for cleaning sticky keys
Cleaning Different Types of Keyboards
CLEANING A BACKLIT KEYBOARD
Backlit keyboards require extra care to avoid damaging the lighting elements:
Use compressed air to remove debris
Gently clean with a slightly damp microfiber cloth
Avoid using excessive liquid near the backlight components
For deep cleaning, consult the manufacturer’s guidelines.
Source: https://www.hp.com/us-en/shop/tech-takes/how-to-clean-keyboard