It is safe to vacuum your keyboard, provided you use the soft brush attachment to avoid scratching the keys.