You can remove the grounds by turning the machine upside down on a kitchen towel and gently strike the sides with your hand. You can also use the attached brush or air duster.