Shut down your Mac and unplug the keyboard
Disconnect any cables or turn off Bluetooth if it is a wireless keyboard
Turn the keyboard upside down and gently tap it to remove loose debris
Use compressed air to blow between the keys
Hold the keyboard at an angle while using short bursts of compressed air
Wipe the key surfaces with a soft, lint-free cloth
Lightly dampen the cloth with water or 70% isopropyl alcohol
Avoid spraying liquid directly onto the keyboard
Clean around the edges and between keys with a cotton swab if needed
Let the keyboard dry completely before reconnecting or using it
Avoid using bleach, aerosol sprays, or abrasive cleaners
Clean regularly to prevent dust and buildup
